€•:Œ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”ŒC/translations/zh_CN/userspace-api/gpio/gpio-handle-set-config-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”ŒC/translations/zh_TW/userspace-api/gpio/gpio-handle-set-config-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒC/translations/it_IT/userspace-api/gpio/gpio-handle-set-config-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒC/translations/ja_JP/userspace-api/gpio/gpio-handle-set-config-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒC/translations/ko_KR/userspace-api/gpio/gpio-handle-set-config-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒC/translations/pt_BR/userspace-api/gpio/gpio-handle-set-config-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒC/translations/sp_SP/userspace-api/gpio/gpio-handle-set-config-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³Œ]/var/lib/git/docbuild/linux/Documentation/userspace-api/gpio/gpio-handle-set-config-ioctl.rst”h´KubhŒtarget”“”)”}”(hŒ .. _GPIOHANDLE_SET_CONFIG_IOCTL:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œgpiohandle-set-config-ioctl”uh1hÈh´Khhh²hh³hÇubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒGPIOHANDLE_SET_CONFIG_IOCTL”h]”hŒGPIOHANDLE_SET_CONFIG_IOCTL”…””}”(hhÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhØh²hh³hÇh´KubhŒwarning”“”)”}”(hŒ[This ioctl is part of chardev_v1.rst and is obsoleted by gpio-v2-line-set-config-ioctl.rst.”h]”hŒ paragraph”“”)”}”(hŒ[This ioctl is part of chardev_v1.rst and is obsoleted by gpio-v2-line-set-config-ioctl.rst.”h]”hŒ[This ioctl is part of chardev_v1.rst and is obsoleted by gpio-v2-line-set-config-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ŒUGPIOHANDLE_SET_CONFIG_IOCTL - Update the configuration of previously requested lines.”h]”hŒUGPIOHANDLE_SET_CONFIG_IOCTL - Update the configuration of previously requested lines.”…””}”(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”Œ%GPIOHANDLE_SET_CONFIG_IOCTL (C macro)”Œc.GPIOHANDLE_SET_CONFIG_IOCTL”hNt”auh1j?hj.h²hh³Nh´NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒGPIOHANDLE_SET_CONFIG_IOCTL”h]”hŒdesc_signature_line”“”)”}”(hŒGPIOHANDLE_SET_CONFIG_IOCTL”h]”hŒ desc_name”“”)”}”(hŒGPIOHANDLE_SET_CONFIG_IOCTL”h]”hŒ desc_sig_name”“”)”}”(hjYh]”hŒGPIOHANDLE_SET_CONFIG_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Œ[``int ioctl(int handle_fd, GPIOHANDLE_SET_CONFIG_IOCTL, struct gpiohandle_config *config)``”h]”hŒliteral”“”)”}”(hj®h]”hŒWint ioctl(int handle_fd, GPIOHANDLE_SET_CONFIG_IOCTL, struct gpiohandle_config *config)”…””}”(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Œž``handle_fd`` The file descriptor of the GPIO character device, as returned in the :c:type:`request.fd` by gpio-get-linehandle-ioctl.rst. ”h]”(hŒterm”“”)”}”(hŒ ``handle_fd``”h]”j±)”}”(hjíh]”hŒ handle_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ŒThe file descriptor of the GPIO character device, as returned in the :c:type:`request.fd` by gpio-get-linehandle-ioctl.rst.”h]”(hŒEThe file descriptor of the GPIO character device, as returned in the ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ(:c:type:`request.fd`”h]”j±)”}”(hjh]”hŒ request.fd”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”(Œxref”j¡Œc-type”eh"]”h$]”h&]”uh1j°hjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ/userspace-api/gpio/gpio-handle-set-config-ioctl”Œ refdomain”j¡Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰Œ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)”}”Œdata”]”sbŒ reftarget”Œgpiohandle_request”uh1hh³hÇh´KhjubhŒ" by gpio-get-linehandle-ioctl.rst.”…””}”(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Œ_``config`` The new :c:type:`configuration` to apply to the requested lines. ”h]”(jê)”}”(hŒ ``config``”h]”j±)”}”(hjUh]”hŒconfig”…””}”(hjWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j°hjSubah}”(h]”h ]”h"]”h$]”h&]”uh1jéh³hÇh´K"hjOubj)”}”(hhh]”hò)”}”(hŒSThe new :c:type:`configuration` to apply to the requested lines.”h]”(hŒThe new ”…””}”(hjmh²hh³Nh´Nubh)”}”(hŒ*:c:type:`configuration`”h]”j±)”}”(hjwh]”hŒ configuration”…””}”(hjyh²hh³Nh´Nubah}”(h]”h ]”(jj¡Œc-type”eh"]”h$]”h&]”uh1j°hjuubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j)Œ refdomain”j¡Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰j/j3j7Œgpiohandle_config”uh1hh³hÇh´K!hjmubhŒ! to apply to the requested lines.”…””}”(hjmh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´K!hjjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjOubeh}”(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ŒuUpdate the configuration of previously requested lines, without releasing the line or introducing potential glitches.”h]”hŒuUpdate the configuration of previously requested lines, without releasing the line or introducing potential glitches.”…””}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´K'hj¸h²hubhò)”}”(hŒ1The configuration applies to all requested lines.”h]”hŒ1The configuration applies to all requested lines.”…””}”(hj×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´K*hj¸h²hubhò)”}”(hX^The same :ref:`gpio-get-linehandle-config-rules` and :ref:`gpio-get-linehandle-config-support` that apply when requesting the lines also apply when updating the line configuration, with the additional restriction that a direction flag must be set. Requesting an invalid configuration, including without a direction flag set, is an error (**EINVAL**).”h]”(hŒ The same ”…””}”(hjåh²hh³Nh´Nubh)”}”(hŒ':ref:`gpio-get-linehandle-config-rules`”h]”hŒinline”“”)”}”(hjïh]”hŒ gpio-get-linehandle-config-rules”…””}”(hjóh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jñhjíubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j)Œ refdomain”jýŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj7Œ gpio-get-linehandle-config-rules”uh1hh³hÇh´K,hjåubhŒ and ”…””}”(hjåh²hh³Nh´Nubh)”}”(hŒ):ref:`gpio-get-linehandle-config-support`”h]”jò)”}”(hjh]”hŒ"gpio-get-linehandle-config-support”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jñhjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j)Œ refdomain”j!Œreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj7Œ"gpio-get-linehandle-config-support”uh1hh³hÇh´K,hjåubhŒô that apply when requesting the lines also apply when updating the line configuration, with the additional restriction that a direction flag must be set. Requesting an invalid configuration, including without a direction flag set, is an error (”…””}”(hjåh²hh³Nh´NubhŒstrong”“”)”}”(hŒ **EINVAL**”h]”hŒEINVAL”…””}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j7hjåubhŒ).”…””}”(hjåh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´K,hj¸h²hubhò)”}”(hŒÔThe motivating use case for this command is changing direction of bi-directional lines between input and output, but it may be used more generally to move lines seamlessly from one configuration state to another.”h]”hŒÔThe motivating use case for this command is changing direction of bi-directional lines between input and output, but it may be used more generally to move lines seamlessly from one configuration state to another.”…””}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´K3hj¸h²hubhò)”}”(hŒTTo only change the value of output lines, use gpio-handle-set-line-values-ioctl.rst.”h]”hŒTTo only change the value of output lines, use gpio-handle-set-line-values-ioctl.rst.”…””}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´K7hj¸h²hubhò)”}”(hŒFirst added in 5.5.”h]”hŒFirst added in 5.5.”…””}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´K:hj¸h²hubeh}”(h]”Œ description”ah ]”h"]”Œ description”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K%ubh×)”}”(hhh]”(hÜ)”}”(hŒ Return Value”h]”hŒ Return Value”…””}”(hj†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjƒh²hh³hÇh´K=ubhò)”}”(hŒ On success 0.”h]”hŒ On success 0.”…””}”(hj”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñh³hÇh´K?hjƒh²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”…””}”(hjªh²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´KAhjƒh²hubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K=ubeh}”(h]”(hÕŒid1”eh ]”h"]”Œgpiohandle_set_config_ioctl”ah$]”Œgpiohandle_set_config_ioctl”ah&]”uh1hÖhhh²hh³hÇh´KŒ referenced”KŒexpect_referenced_by_name”}”jÏhÊsŒexpect_referenced_by_id”}”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”Œentry”Œ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ÊasŒnameids”}”(jÏhÕj+j(jÊjÇjµj²j€j}jÇjÄuŒ nametypes”}”(jψj+‰jʉjµ‰j€‰jljuh}”(hÕhØjÌhØj(jjÇj.jNjWj²jÍj}j¸jÄjƒuŒ 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Œ>Duplicate implicit target name: "gpiohandle_set_config_ioctl".”h]”hŒBDuplicate implicit target name: “gpiohandle_set_config_ioctlâ€.”…””}”(hjch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj`ubah}”(h]”h ]”h"]”h$]”h&]”jÌaŒlevel”KŒtype”ŒINFO”Œsource”hÇŒline”Kuh1j^hhØh²hh³hÇh´KubaŒtransform_messages”]”j_)”}”(hhh]”hò)”}”(hhh]”hŒAHyperlink target "gpiohandle-set-config-ioctl" is not referenced.”…””}”hjsbah}”(h]”h ]”h"]”h$]”h&]”uh1hñhj~ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jyŒsource”hÇŒline”Kuh1j^ubaŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.