€•Ñ5Œ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”ŒD/translations/zh_CN/userspace-api/gpio/gpio-v2-line-set-values-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”ŒD/translations/zh_TW/userspace-api/gpio/gpio-v2-line-set-values-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒD/translations/it_IT/userspace-api/gpio/gpio-v2-line-set-values-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒD/translations/ja_JP/userspace-api/gpio/gpio-v2-line-set-values-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒD/translations/ko_KR/userspace-api/gpio/gpio-v2-line-set-values-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒD/translations/pt_BR/userspace-api/gpio/gpio-v2-line-set-values-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒD/translations/sp_SP/userspace-api/gpio/gpio-v2-line-set-values-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-v2-line-set-values-ioctl.rst”h´KubhŒtarget”“”)”}”(hŒ".. _GPIO_V2_LINE_SET_VALUES_IOCTL:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œgpio-v2-line-set-values-ioctl”uh1hÈh´Khhh²hh³hÇubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒGPIO_V2_LINE_SET_VALUES_IOCTL”h]”hŒGPIO_V2_LINE_SET_VALUES_IOCTL”…””}”(hhÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒName”h]”hŒName”…””}”(hhîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhëh²hh³hÇh´K ubhŒ paragraph”“”)”}”(hŒIGPIO_V2_LINE_SET_VALUES_IOCTL - Set the values of requested output lines.”h]”hŒIGPIO_V2_LINE_SET_VALUES_IOCTL - Set the values of requested output lines.”…””}”(hhþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K hhëh²hubeh}”(h]”Œname”ah ]”h"]”Œname”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K ubh×)”}”(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”Œ'GPIO_V2_LINE_SET_VALUES_IOCTL (C macro)”Œc.GPIO_V2_LINE_SET_VALUES_IOCTL”hNt”auh1j%hjh²hh³Nh´NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒGPIO_V2_LINE_SET_VALUES_IOCTL”h]”hŒdesc_signature_line”“”)”}”(hŒGPIO_V2_LINE_SET_VALUES_IOCTL”h]”hŒ desc_name”“”)”}”(hŒGPIO_V2_LINE_SET_VALUES_IOCTL”h]”hŒ desc_sig_name”“”)”}”(hj?h]”hŒGPIO_V2_LINE_SET_VALUES_IOCTL”…””}”(hjOh²hh³Nh´Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1jMhjIubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”hÅhÆuh1jGhjCh²hh³hÇh´Kubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆŒ add_permalink”ˆuh1jAŒsphinx_line_type”Œ declarator”hj=h²hh³hÇh´Kubah}”(h]”j4ah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1j;h³hÇh´Khj8h²hubhŒ desc_content”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jyhj8h²hh³hÇh´Kubeh}”(h]”h ]”(Œc”Œmacro”eh"]”h$]”h&]”Œdomain”j‡Œobjtype”jˆŒdesctype”jˆŒnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1j6h²hhjh³Nh´Nubhý)”}”(hŒ\``int ioctl(int req_fd, GPIO_V2_LINE_SET_VALUES_IOCTL, struct gpio_v2_line_values *values)``”h]”hŒliteral”“”)”}”(hj”h]”hŒXint ioctl(int req_fd, GPIO_V2_LINE_SET_VALUES_IOCTL, struct gpio_v2_line_values *values)”…””}”(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Œš``req_fd`` The file descriptor of the GPIO character device, as returned in the :c:type:`request.fd` by gpio-v2-get-line-ioctl.rst. ”h]”(hŒterm”“”)”}”(hŒ ``req_fd``”h]”j—)”}”(hjÓh]”hŒreq_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-v2-get-line-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”Œ0userspace-api/gpio/gpio-v2-line-set-values-ioctl”Œ refdomain”j‡Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰Œ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)”}”Œdata”]”sbŒ reftarget”Œgpio_v2_line_request”uh1hh³hÇh´KhjíubhŒ by gpio-v2-get-line-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Œ´``values`` The :c:type:`line_values` to set with the ``mask`` set to indicate the subset of requested lines to set and ``bits`` set to indicate the new value. ”h]”(jÐ)”}”(hŒ ``values``”h]”j—)”}”(hj;h]”hŒvalues”…””}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÏh³hÇh´Khj5ubjé)”}”(hhh]”hý)”}”(hŒ¨The :c:type:`line_values` to set with the ``mask`` set to indicate the subset of requested lines to set and ``bits`` set to indicate the new value.”h]”(hŒThe ”…””}”(hjSh²hh³Nh´Nubh)”}”(hŒ*:c:type:`line_values`”h]”j—)”}”(hj]h]”hŒ line_values”…””}”(hj_h²hh³Nh´Nubah}”(h]”h ]”(jj‡Œc-type”eh"]”h$]”h&]”uh1j–hj[ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰jjjŒgpio_v2_line_values”uh1hh³hÇh´KhjSubhŒ to set with the ”…””}”(hjSh²hh³Nh´Nubj—)”}”(hŒ``mask``”h]”hŒmask”…””}”(hj~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjSubhŒ: set to indicate the subset of requested lines to set and ”…””}”(hjSh²hh³Nh´Nubj—)”}”(hŒ``bits``”h]”hŒbits”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjSubhŒ set to indicate the new value.”…””}”(hjSh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KhjPubah}”(h]”h ]”h"]”h$]”h&]”uh1jèhj5ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÇh´KhjÆ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Œ)Set the values of requested output lines.”h]”hŒ)Set the values of requested output lines.”…””}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K$hjÂh²hubhý)”}”(hX„The values set are logical, indicating if the line is to be active or inactive. The ``GPIO_V2_LINE_FLAG_ACTIVE_LOW`` flag controls the mapping between logical values (active/inactive) and physical values (high/low). If ``GPIO_V2_LINE_FLAG_ACTIVE_LOW`` is not set then active is high and inactive is low. If ``GPIO_V2_LINE_FLAG_ACTIVE_LOW`` is set then active is low and inactive is high.”h]”(hŒTThe values set are logical, indicating if the line is to be active or inactive. The ”…””}”(hjáh²hh³Nh´Nubj—)”}”(hŒ ``GPIO_V2_LINE_FLAG_ACTIVE_LOW``”h]”hŒGPIO_V2_LINE_FLAG_ACTIVE_LOW”…””}”(hjéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjáubhŒg flag controls the mapping between logical values (active/inactive) and physical values (high/low). If ”…””}”(hjáh²hh³Nh´Nubj—)”}”(hŒ ``GPIO_V2_LINE_FLAG_ACTIVE_LOW``”h]”hŒGPIO_V2_LINE_FLAG_ACTIVE_LOW”…””}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjáubhŒ9 is not set then active is high and inactive is low. If ”…””}”(hjáh²hh³Nh´Nubj—)”}”(hŒ ``GPIO_V2_LINE_FLAG_ACTIVE_LOW``”h]”hŒGPIO_V2_LINE_FLAG_ACTIVE_LOW”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjáubhŒ0 is set then active is low and inactive is high.”…””}”(hjáh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K&hjÂh²hubhý)”}”(hŒqOnly the values of output lines may be set. Attempting to set the value of an input line is an error (**EPERM**).”h]”(hŒfOnly the values of output lines may be set. Attempting to set the value of an input line is an error (”…””}”(hj%h²hh³Nh´NubhŒstrong”“”)”}”(hŒ **EPERM**”h]”hŒEPERM”…””}”(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²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´K1ubhý)”}”(hŒ On success 0.”h]”hŒ On success 0.”…””}”(hj`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K3hjOh²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 ”…””}”(hjnh²hh³Nh´Nubj—)”}”(hŒ ``errno``”h]”hŒerrno”…””}”(hjvh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjnubhŒT variable is set appropriately. Common error codes are described in error-codes.rst.”…””}”(hjnh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K5hjOh²hubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K1ubeh}”(h]”(hÕŒid1”eh ]”h"]”Œgpio_v2_line_set_values_ioctl”ah$]”Œgpio_v2_line_set_values_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“juŒ nametypes”}”(j›ˆj‰j°‰j¿‰jL‰j“‰uh}”(hÕhØj˜hØjhëj­jj4j=j¼j³jIjÂjjOuŒ 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: "gpio_v2_line_set_values_ioctl".”h]”hŒDDuplicate implicit target name: “gpio_v2_line_set_values_ioctlâ€.”…””}”(hj/h²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ŒCHyperlink target "gpio-v2-line-set-values-ioctl" is not referenced.”…””}”hjMsbah}”(h]”h ]”h"]”h$]”h&]”uh1hühjJubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jEŒsource”hÇŒline”Kuh1j*ubaŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.