€•9Œ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Œ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”…””}”(hhöhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÇhhóhž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 Khhóhžhubeh}”(h]”Œname”ah ]”h"]”Œname”ah$]”h&]”uh1hÂhhÄhžhhŸh³h KubhÃ)”}”(hhh]”(hÈ)”}”(hŒSynopsis”h]”hŒSynopsis”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÇhjhž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+hjhž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”“”)”}”(hjEh]”hŒGPIOHANDLE_SET_CONFIG_IOCTL”…””}”(hjUhžhhŸNh Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1jShjOubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”h±h²uh1jMhjIhžhhŸh³h Kubah}”(h]”h ]”h"]”h$]”h&]”h±h²Œ add_permalink”ˆuh1jGŒsphinx_line_type”Œ declarator”hjChžhhŸh³h Kubah}”(h]”j:ah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1jAhŸh³h Khj>hžhubhŒ desc_content”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jhj>hžhhŸh³h Kubeh}”(h]”h ]”(Œc”Œmacro”eh"]”h$]”h&]”Œdomain”jŒobjtype”jŽŒdesctype”jŽŒnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1j<hžhhjhŸ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 Khjhž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 ”…””}”(hjóhžhhŸNh Nubh)”}”(hŒ(:c:type:`request.fd`”h]”j)”}”(hjýh]”hŒ request.fd”…””}”(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-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 KhjóubhŒ" by gpio-get-linehandle-ioctl.rst.”…””}”(hjóhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝhŸh³h Khjðubah}”(h]”h ]”h"]”h$]”h&]”uh1jîhjÑ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)”}”(hjAh]”hŒconfig”…””}”(hjChžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jœhj?ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÕhŸh³h K"hj;ubjï)”}”(hhh]”hÞ)”}”(hŒSThe new :c:type:`configuration` to apply to the requested lines.”h]”(hŒThe new ”…””}”(hjYhžhhŸNh Nubh)”}”(hŒ*:c:type:`configuration`”h]”j)”}”(hjch]”hŒ configuration”…””}”(hjehžhhŸNh Nubah}”(h]”h ]”(j jŒc-type”eh"]”h$]”h&]”uh1jœhjaubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jŒreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰jjj#Œgpiohandle_config”uh1hhŸh³h K!hjYubhŒ! to apply to the requested lines.”…””}”(hjYhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝhŸh³h K!hjVubah}”(h]”h ]”h"]”h$]”h&]”uh1jîhj;ubeh}”(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”ˆj#Œ 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Ýhjÿubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j Œreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj#Œ"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”…””}”(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 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.”…””}”(hj=hž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.”…””}”(hjKhž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.”…””}”(hjYhž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”…””}”(hjrhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÇhjohž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?hjohž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 KAhjohž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Ájjj¶j³j¡jžjljij³j°uŒ nametypes”}”(j»ˆj‰j¶‰j¡‰jl‰j³‰uh}”(hÁhÄj¸hÄjhój³jj:jCjžj¹jij¤j°jouŒ 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â€.”…””}”(hjOhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhjLubah}”(h]”h ]”h"]”h$]”h&]”j¸aŒlevel”KŒtype”ŒINFO”Œsource”h³Œline”Kuh1jJhhÄhžhhŸh³h KubaŒtransform_messages”]”jK)”}”(hhh]”hÞ)”}”(hhh]”hŒAHyperlink target "gpiohandle-set-config-ioctl" is not referenced.”…””}”hjmsbah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhjjubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jeŒsource”h³Œline”Kuh1jJubaŒ transformer”NŒ include_log”]”Œ decoration”Nhžhub.