€•)^Œsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ@/translations/zh_CN/userspace-api/gpio/gpio-get-linehandle-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ@/translations/zh_TW/userspace-api/gpio/gpio-get-linehandle-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ@/translations/it_IT/userspace-api/gpio/gpio-get-linehandle-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ@/translations/ja_JP/userspace-api/gpio/gpio-get-linehandle-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ@/translations/ko_KR/userspace-api/gpio/gpio-get-linehandle-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ@/translations/pt_BR/userspace-api/gpio/gpio-get-linehandle-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ@/translations/sp_SP/userspace-api/gpio/gpio-get-linehandle-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ SPDX-License-Identifier: GPL-2.0”h]”hŒ SPDX-License-Identifier: GPL-2.0”…””}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³ŒZ/var/lib/git/docbuild/linux/Documentation/userspace-api/gpio/gpio-get-linehandle-ioctl.rst”h´KubhŒtarget”“”)”}”(hŒ.. _GPIO_GET_LINEHANDLE_IOCTL:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œgpio-get-linehandle-ioctl”uh1hÈh´Khhh²hh³hÇubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒGPIO_GET_LINEHANDLE_IOCTL”h]”hŒGPIO_GET_LINEHANDLE_IOCTL”…””}”(hhÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhØh²hh³hÇh´KubhŒwarning”“”)”}”(hŒTThis ioctl is part of chardev_v1.rst and is obsoleted by gpio-v2-get-line-ioctl.rst.”h]”hŒ paragraph”“”)”}”(hŒTThis ioctl is part of chardev_v1.rst and is obsoleted by gpio-v2-get-line-ioctl.rst.”h]”hŒTThis ioctl is part of chardev_v1.rst and is obsoleted by gpio-v2-get-line-ioctl.rst.”…””}”(hhóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´K hhíubah}”(h]”h ]”h"]”h$]”h&]”uh1hëhhØh²hh³hÇh´Nubh×)”}”(hhh]”(hÜ)”}”(hŒName”h]”hŒName”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjh²hh³hÇh´Kubhò)”}”(hŒDGPIO_GET_LINEHANDLE_IOCTL - Request a line or lines from the kernel.”h]”hŒDGPIO_GET_LINEHANDLE_IOCTL - Request a line or lines from the kernel.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´Khjh²hubeh}”(h]”Œname”ah ]”h"]”Œname”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒSynopsis”h]”hŒSynopsis”…””}”(hj1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj.h²hh³hÇh´KubhŒindex”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(Œsingle”Œ#GPIO_GET_LINEHANDLE_IOCTL (C macro)”Œc.GPIO_GET_LINEHANDLE_IOCTL”hNt”auh1j?hj.h²hh³Nh´NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒGPIO_GET_LINEHANDLE_IOCTL”h]”hŒdesc_signature_line”“”)”}”(hŒGPIO_GET_LINEHANDLE_IOCTL”h]”hŒ desc_name”“”)”}”(hŒGPIO_GET_LINEHANDLE_IOCTL”h]”hŒ desc_sig_name”“”)”}”(hjYh]”hŒGPIO_GET_LINEHANDLE_IOCTL”…””}”(hjih²hh³Nh´Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1jghjcubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”hÅhÆuh1jahj]h²hh³hÇh´Kubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆŒ add_permalink”ˆuh1j[Œsphinx_line_type”Œ declarator”hjWh²hh³hÇh´Kubah}”(h]”jNah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1jUh³hÇh´KhjRh²hubhŒ desc_content”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1j“hjRh²hh³hÇh´Kubeh}”(h]”h ]”(Œc”Œmacro”eh"]”h$]”h&]”Œdomain”j¡Œobjtype”j¢Œdesctype”j¢Œnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1jPh²hhj.h³Nh´Nubhò)”}”(hŒY``int ioctl(int chip_fd, GPIO_GET_LINEHANDLE_IOCTL, struct gpiohandle_request *request)``”h]”hŒliteral”“”)”}”(hj®h]”hŒUint ioctl(int chip_fd, GPIO_GET_LINEHANDLE_IOCTL, struct gpiohandle_request *request)”…””}”(hj²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j°hj¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´Khj.h²hubeh}”(h]”Œsynopsis”ah ]”h"]”Œsynopsis”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒ Arguments”h]”hŒ Arguments”…””}”(hjÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjÍh²hh³hÇh´KubhŒdefinition_list”“”)”}”(hhh]”(hŒdefinition_list_item”“”)”}”(hŒS``chip_fd`` The file descriptor of the GPIO character device returned by `open()`. ”h]”(hŒterm”“”)”}”(hŒ ``chip_fd``”h]”j±)”}”(hjíh]”hŒchip_fd”…””}”(hjïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j°hjëubah}”(h]”h ]”h"]”h$]”h&]”uh1jéh³hÇh´KhjåubhŒ definition”“”)”}”(hhh]”hò)”}”(hŒFThe file descriptor of the GPIO character device returned by `open()`.”h]”(hŒ=The file descriptor of the GPIO character device returned by ”…””}”(hjh²hh³Nh´NubhŒtitle_reference”“”)”}”(hŒ`open()`”h]”hŒopen()”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubhŒ.”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjåubeh}”(h]”h ]”h"]”h$]”h&]”uh1jãh³hÇh´Khjàubjä)”}”(hŒv``request`` The :c:type:`handle_request` specifying the lines to request and their configuration. ”h]”(jê)”}”(hŒ ``request``”h]”j±)”}”(hj;h]”hŒrequest”…””}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j°hj9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jéh³hÇh´K!hj5ubj)”}”(hhh]”hò)”}”(hŒiThe :c:type:`handle_request` specifying the lines to request and their configuration.”h]”(hŒThe ”…””}”(hjSh²hh³Nh´Nubh)”}”(hŒ,:c:type:`handle_request`”h]”j±)”}”(hj]h]”hŒhandle_request”…””}”(hj_h²hh³Nh´Nubah}”(h]”h ]”(Œxref”j¡Œc-type”eh"]”h$]”h&]”uh1j°hj[ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ,userspace-api/gpio/gpio-get-linehandle-ioctl”Œ refdomain”j¡Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰Œ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)”}”Œdata”]”sbŒ reftarget”Œgpiohandle_request”uh1hh³hÇh´K hjSubhŒ9 specifying the lines to request and their configuration.”…””}”(hjSh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´K hjPubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj5ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jãh³hÇh´K!hjàh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÞhjÍh²hh³hÇh´Nubeh}”(h]”Œ arguments”ah ]”h"]”Œ arguments”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒ Description”h]”hŒ Description”…””}”(hj¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj©h²hh³hÇh´K$ubhò)”}”(hŒ(Request a line or lines from the kernel.”h]”hŒ(Request a line or lines from the kernel.”…””}”(hjºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´K&hj©h²hubhò)”}”(hŒbWhile multiple lines may be requested, the same configuration applies to all lines in the request.”h]”hŒbWhile multiple lines may be requested, the same configuration applies to all lines in the request.”…””}”(hjÈh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´K(hj©h²hubhò)”}”(hŒ|On success, the requesting process is granted exclusive access to the line value and write access to the line configuration.”h]”hŒ|On success, the requesting process is granted exclusive access to the line value and write access to the line configuration.”…””}”(hjÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´K+hj©h²hubhò)”}”(hX The state of a line, including the value of output lines, is guaranteed to remain as requested until the returned file descriptor is closed. Once the file descriptor is closed, the state of the line becomes uncontrolled from the userspace perspective, and may revert to its default state.”h]”hX The state of a line, including the value of output lines, is guaranteed to remain as requested until the returned file descriptor is closed. Once the file descriptor is closed, the state of the line becomes uncontrolled from the userspace perspective, and may revert to its default state.”…””}”(hjäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´K.hj©h²hubhò)”}”(hŒ9Requesting a line already in use is an error (**EBUSY**).”h]”(hŒ.Requesting a line already in use is an error (”…””}”(hjòh²hh³Nh´NubhŒstrong”“”)”}”(hŒ **EBUSY**”h]”hŒEBUSY”…””}”(hjüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1júhjòubhŒ).”…””}”(hjòh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´K3hj©h²hubhò)”}”(hŒ?Closing the ``chip_fd`` has no effect on existing line handles.”h]”(hŒ Closing the ”…””}”(hjh²hh³Nh´Nubj±)”}”(hŒ ``chip_fd``”h]”hŒchip_fd”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j°hjubhŒ( has no effect on existing line handles.”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´K5hj©h²hubhÉ)”}”(hŒ%.. _gpio-get-linehandle-config-rules:”h]”h}”(h]”h ]”h"]”h$]”h&]”hÔŒ gpio-get-linehandle-config-rules”uh1hÈh´K7hj©h²hh³hÇubh×)”}”(hhh]”(hÜ)”}”(hŒConfiguration Rules”h]”hŒConfiguration Rules”…””}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj?h²hh³hÇh´K:ubhò)”}”(hŒ(The following configuration rules apply:”h]”hŒ(The following configuration rules apply:”…””}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´Khj?h²hubhò)”}”(hŒºThe drive flags, ``GPIOHANDLE_REQUEST_OPEN_xxx``, require the ``GPIOHANDLE_REQUEST_OUTPUT`` to be set. Only one drive flag may be set. If none are set then the line is assumed push-pull.”h]”(hŒThe drive flags, ”…””}”(hj¢h²hh³Nh´Nubj±)”}”(hŒ``GPIOHANDLE_REQUEST_OPEN_xxx``”h]”hŒGPIOHANDLE_REQUEST_OPEN_xxx”…””}”(hjªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j°hj¢ubhŒ, require the ”…””}”(hj¢h²hh³Nh´Nubj±)”}”(hŒ``GPIOHANDLE_REQUEST_OUTPUT``”h]”hŒGPIOHANDLE_REQUEST_OUTPUT”…””}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j°hj¢ubhŒ_ to be set. Only one drive flag may be set. If none are set then the line is assumed push-pull.”…””}”(hj¢h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´KDhj?h²hubhò)”}”(hŒ¶Only one bias flag, ``GPIOHANDLE_REQUEST_BIAS_xxx``, may be set, and it requires a direction flag to also be set. If no bias flags are set then the bias configuration is not changed.”h]”(hŒOnly one bias flag, ”…””}”(hjÔh²hh³Nh´Nubj±)”}”(hŒ``GPIOHANDLE_REQUEST_BIAS_xxx``”h]”hŒGPIOHANDLE_REQUEST_BIAS_xxx”…””}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j°hjÔubhŒƒ, may be set, and it requires a direction flag to also be set. If no bias flags are set then the bias configuration is not changed.”…””}”(hjÔh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´KIhj?h²hubhò)”}”(hŒ=Requesting an invalid configuration is an error (**EINVAL**).”h]”(hŒ1Requesting an invalid configuration is an error (”…””}”(hjôh²hh³Nh´Nubjû)”}”(hŒ **EINVAL**”h]”hŒEINVAL”…””}”(hjüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1júhjôubhŒ).”…””}”(hjôh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´KMhj?h²hubhÉ)”}”(hŒ'.. _gpio-get-linehandle-config-support:”h]”h}”(h]”h ]”h"]”h$]”h&]”hÔŒ"gpio-get-linehandle-config-support”uh1hÈh´KPhj?h²hh³hÇubeh}”(h]”(Œconfiguration-rules”j>eh ]”h"]”(Œconfiguration rules”Œ gpio-get-linehandle-config-rules”eh$]”h&]”uh1hÖhj©h²hh³hÇh´K:Œexpect_referenced_by_name”}”j%j4sŒexpect_referenced_by_id”}”j>j4subh×)”}”(hhh]”(hÜ)”}”(hŒConfiguration Support”h]”hŒConfiguration Support”…””}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj,h²hh³hÇh´KSubhò)”}”(hŒŽWhere the requested configuration is not directly supported by the underlying hardware and driver, the kernel applies one of these approaches:”h]”hŒŽWhere the requested configuration is not directly supported by the underlying hardware and driver, the kernel applies one of these approaches:”…””}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´KUhj,h²hubhŒ block_quote”“”)”}”(hŒZ- reject the request - emulate the feature in software - treat the feature as best effort ”h]”hŒ bullet_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒreject the request”h]”hò)”}”(hjZh]”hŒreject the request”…””}”(hj\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´KXhjXubah}”(h]”h ]”h"]”h$]”h&]”uh1jVhjSubjW)”}”(hŒemulate the feature in software”h]”hò)”}”(hjqh]”hŒemulate the feature in software”…””}”(hjsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´KYhjoubah}”(h]”h ]”h"]”h$]”h&]”uh1jVhjSubjW)”}”(hŒ!treat the feature as best effort ”h]”hò)”}”(hŒ treat the feature as best effort”h]”hŒ treat the feature as best effort”…””}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´KZhj†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jVhjSubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1jQh³hÇh´KXhjMubah}”(h]”h ]”h"]”h$]”h&]”uh1jKh³hÇh´KXhj,h²hubhò)”}”(hŒÞThe approach applied depends on whether the feature can reasonably be emulated in software, and the impact on the hardware and userspace if the feature is not supported. The approach applied for each feature is as follows:”h]”hŒÞThe approach applied depends on whether the feature can reasonably be emulated in software, and the impact on the hardware and userspace if the feature is not supported. The approach applied for each feature is as follows:”…””}”(hj¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´K\hj,h²hubhŒtable”“”)”}”(hhh]”hŒtgroup”“”)”}”(hhh]”(hŒcolspec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jÄhjÁubjÅ)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K uh1jÄhjÁubhŒthead”“”)”}”(hhh]”hŒrow”“”)”}”(hhh]”(hŒentry”“”)”}”(hhh]”hò)”}”(hŒFeature”h]”hŒFeature”…””}”(hjéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´Kbhjæubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjáubjå)”}”(hhh]”hò)”}”(hŒApproach”h]”hŒApproach”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´Kbhjýubah}”(h]”h ]”h"]”h$]”h&]”uh1jähjáubeh}”(h]”h ]”h"]”h$]”h&]”uh1jßhjÜubah}”(h]”h ]”h"]”h$]”h&]”uh1jÚhjÁubhŒtbody”“”)”}”(hhh]”(jà)”}”(hhh]”(jå)”}”(hhh]”hò)”}”(hŒBias”h]”hŒBias”…””}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´Kdhj(ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj%ubjå)”}”(hhh]”hò)”}”(hŒ best effort”h]”hŒ best effort”…””}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´Kdhj?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj%ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jßhj"ubjà)”}”(hhh]”(jå)”}”(hhh]”hò)”}”(hŒ Direction”h]”hŒ Direction”…””}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´Kehj_ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj\ubjå)”}”(hhh]”hò)”}”(hŒreject”h]”hŒreject”…””}”(hjyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´Kehjvubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj\ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jßhj"ubjà)”}”(hhh]”(jå)”}”(hhh]”hò)”}”(hŒDrive”h]”hŒDrive”…””}”(hj™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´Kfhj–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj“ubjå)”}”(hhh]”hò)”}”(hŒemulate”h]”hŒemulate”…””}”(hj°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´Kfhj­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jähj“ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jßhj"ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j hjÁubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j¿hj¼ubah}”(h]”h ]”h"]”h$]”h&]”uh1jºhj,h²hh³hÇh´Nubhò)”}”(hŒàBias is treated as best effort to allow userspace to apply the same configuration for platforms that support internal bias as those that require external bias. Worst case the line floats rather than being biased as expected.”h]”hŒàBias is treated as best effort to allow userspace to apply the same configuration for platforms that support internal bias as those that require external bias. Worst case the line floats rather than being biased as expected.”…””}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´Kihj,h²hubhò)”}”(hŒWDrive is emulated by switching the line to an input when the line should not be driven.”h]”hŒWDrive is emulated by switching the line to an input when the line should not be driven.”…””}”(hjëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´Knhj,h²hubhò)”}”(hŒóIn all cases, the configuration reported by gpio-get-lineinfo-ioctl.rst is the requested configuration, not the resulting hardware configuration. Userspace cannot determine if a feature is supported in hardware, is emulated, or is best effort.”h]”hŒóIn all cases, the configuration reported by gpio-get-lineinfo-ioctl.rst is the requested configuration, not the resulting hardware configuration. Userspace cannot determine if a feature is supported in hardware, is emulated, or is best effort.”…””}”(hjùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´Kqhj,h²hubeh}”(h]”(Œconfiguration-support”jeh ]”h"]”(Œconfiguration support”Œ"gpio-get-linehandle-config-support”eh$]”h&]”uh1hÖhj©h²hh³hÇh´KSj(}”j jsj*}”jjsubeh}”(h]”Œ description”ah ]”h"]”Œ description”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K$ubh×)”}”(hhh]”(hÜ)”}”(hŒ Return Value”h]”hŒ Return Value”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjh²hh³hÇh´Kwubhò)”}”(hŒkOn success 0 and the :c:type:`request.fd` contains the file descriptor for the request.”h]”(hŒOn success 0 and the ”…””}”(hj+h²hh³Nh´Nubh)”}”(hŒ(:c:type:`request.fd`”h]”j±)”}”(hj5h]”hŒ request.fd”…””}”(hj7h²hh³Nh´Nubah}”(h]”h ]”(jij¡Œc-type”eh"]”h$]”h&]”uh1j°hj3ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”juŒ refdomain”j¡Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰j{jjƒŒgpiohandle_request”uh1hh³hÇh´Kyhj+ubhŒ. contains the file descriptor for the request.”…””}”(hj+h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´Kyhjh²hubhò)”}”(hŒqOn error -1 and the ``errno`` variable is set appropriately. Common error codes are described in error-codes.rst.”h]”(hŒOn error -1 and the ”…””}”(hj\h²hh³Nh´Nubj±)”}”(hŒ ``errno``”h]”hŒerrno”…””}”(hjdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j°hj\ubhŒT variable is set appropriately. Common error codes are described in error-codes.rst.”…””}”(hj\h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´K|hjh²hubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kwubeh}”(h]”(hÕŒid1”eh ]”h"]”Œgpio_get_linehandle_ioctl”ah$]”Œgpio_get_linehandle_ioctl”ah&]”uh1hÖhhh²hh³hÇh´KŒ referenced”Kj(}”j‰hÊsj*}”hÕhÊsubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÇuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(hÛNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”jäŒfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”j²Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÇŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”(hÕ]”hÊaj>]”j4aj]”jauŒnameids”}”(j‰hÕj+j(jÊjÇj¦j£jjj%j>j$j!j jj j jj~uŒ nametypes”}”(j‰ˆj+‰jʉj¦‰j‰j%ˆj$‰j ˆj ‰j‰uh}”(hÕhØj†hØj(jjÇj.jNjWj£jÍjj©j>j?j!j?jj,j j,j~juŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”jÀKs…”R”Œparse_messages”]”hŒsystem_message”“”)”}”(hhh]”hò)”}”(hŒ