€•:Œ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”ŒH/translations/zh_CN/userspace-api/gpio/gpio-handle-get-line-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”ŒH/translations/zh_TW/userspace-api/gpio/gpio-handle-get-line-values-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒH/translations/it_IT/userspace-api/gpio/gpio-handle-get-line-values-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒH/translations/ja_JP/userspace-api/gpio/gpio-handle-get-line-values-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒH/translations/ko_KR/userspace-api/gpio/gpio-handle-get-line-values-ioctl”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒH/translations/sp_SP/userspace-api/gpio/gpio-handle-get-line-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ŸŒb/var/lib/git/docbuild/linux/Documentation/userspace-api/gpio/gpio-handle-get-line-values-ioctl.rst”h KubhŒtarget”“”)”}”(hŒ%.. _GPIOHANDLE_GET_LINE_VALUES_IOCTL:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œ gpiohandle-get-line-values-ioctl”uh1h´h KhhhžhhŸh³ubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒ GPIOHANDLE_GET_LINE_VALUES_IOCTL”h]”hŒ GPIOHANDLE_GET_LINE_VALUES_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-get-values-ioctl.rst.”h]”hŒ paragraph”“”)”}”(hŒ[This ioctl is part of chardev_v1.rst and is obsoleted by gpio-v2-line-get-values-ioctl.rst.”h]”hŒ[This ioctl is part of chardev_v1.rst and is obsoleted by gpio-v2-line-get-values-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 K ubhÞ)”}”(hŒIGPIOHANDLE_GET_LINE_VALUES_IOCTL - Get the values of all requested lines.”h]”hŒIGPIOHANDLE_GET_LINE_VALUES_IOCTL - Get the values of all 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 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”Œ*GPIOHANDLE_GET_LINE_VALUES_IOCTL (C macro)”Œ"c.GPIOHANDLE_GET_LINE_VALUES_IOCTL”hNt”auh1j+hjhžhhŸNh NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒ GPIOHANDLE_GET_LINE_VALUES_IOCTL”h]”hŒdesc_signature_line”“”)”}”(hŒ GPIOHANDLE_GET_LINE_VALUES_IOCTL”h]”hŒ desc_name”“”)”}”(hŒ GPIOHANDLE_GET_LINE_VALUES_IOCTL”h]”hŒ desc_sig_name”“”)”}”(hjEh]”hŒ GPIOHANDLE_GET_LINE_VALUES_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_GET_LINE_VALUES_IOCTL, struct gpiohandle_data *values)``”h]”hŒliteral”“”)”}”(hjšh]”hŒZint ioctl(int handle_fd, GPIOHANDLE_GET_LINE_VALUES_IOCTL, struct gpiohandle_data *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Œž``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”Œ4userspace-api/gpio/gpio-handle-get-line-values-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ŒG``values`` The :c:type:`line_values` to be populated. ”h]”(jÖ)”}”(hŒ ``values``”h]”j)”}”(hjAh]”hŒvalues”…””}”(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Œ;The :c:type:`line_values` to be populated.”h]”(hŒThe ”…””}”(hjYhžhhŸNh Nubh)”}”(hŒ&:c:type:`line_values`”h]”j)”}”(hjch]”hŒ line_values”…””}”(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_data”uh1hhŸh³h K hjYubhŒ to be populated.”…””}”(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Œ&Get the values of all requested lines.”h]”hŒ&Get the values of all requested lines.”…””}”(hjµhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhŸh³h K%hj¤hžhubhÞ)”}”(hX…The values returned are logical, indicating if the line is active or inactive. The ``GPIOHANDLE_REQUEST_ACTIVE_LOW`` flag controls the mapping between physical values (high/low) and logical values (active/inactive). If ``GPIOHANDLE_REQUEST_ACTIVE_LOW`` is not set then high is active and low is inactive. If ``GPIOHANDLE_REQUEST_ACTIVE_LOW`` is set then low is active and high is inactive.”h]”(hŒSThe values returned are logical, indicating if the line is active or inactive. The ”…””}”(hjÃhžhhŸNh Nubj)”}”(hŒ!``GPIOHANDLE_REQUEST_ACTIVE_LOW``”h]”hŒGPIOHANDLE_REQUEST_ACTIVE_LOW”…””}”(hjËhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jœhjÃubhŒg flag controls the mapping between physical values (high/low) and logical values (active/inactive). If ”…””}”(hjÃhžhhŸNh Nubj)”}”(hŒ!``GPIOHANDLE_REQUEST_ACTIVE_LOW``”h]”hŒGPIOHANDLE_REQUEST_ACTIVE_LOW”…””}”(hjÝhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jœhjÃubhŒ8 is not set then high is active and low is inactive. If ”…””}”(hjÃhžhhŸNh Nubj)”}”(hŒ!``GPIOHANDLE_REQUEST_ACTIVE_LOW``”h]”hŒGPIOHANDLE_REQUEST_ACTIVE_LOW”…””}”(hjïhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jœhjÃubhŒ0 is set then low is active and high is inactive.”…””}”(hjÃhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝhŸh³h K'hj¤hžhubhÞ)”}”(hŒ6The values of both input and output lines may be read.”h]”hŒ6The values of both input and output lines may be read.”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhŸh³h K.hj¤hžhubhÞ)”}”(hXFor output lines, the value returned is driver and configuration dependent and may be either the output buffer (the last requested value set) or the input buffer (the actual level of the line), and depending on the hardware and configuration these may differ.”h]”hXFor output lines, the value returned is driver and configuration dependent and may be either the output buffer (the last requested value set) or the input buffer (the actual level of the line), and depending on the hardware and configuration these may differ.”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhŸh³h K0hj¤hžhubhÞ)”}”(hŒÙThis ioctl can also be used to read the line value for line events, substituting the ``event_fd`` for the ``handle_fd``. As there is only one line requested in that case, only the one value is returned in ``values``.”h]”(hŒUThis ioctl can also be used to read the line value for line events, substituting the ”…””}”(hj#hžhhŸNh Nubj)”}”(hŒ ``event_fd``”h]”hŒevent_fd”…””}”(hj+hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jœhj#ubhŒ for the ”…””}”(hj#hžhhŸNh Nubj)”}”(hŒ ``handle_fd``”h]”hŒ handle_fd”…””}”(hj=hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jœhj#ubhŒW. As there is only one line requested in that case, only the one value is returned in ”…””}”(hj#hžhhŸNh Nubj)”}”(hŒ ``values``”h]”hŒvalues”…””}”(hjOhž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 K5hj¤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 and ``values`` populated with the values read.”h]”(hŒOn success 0 and ”…””}”(hj€hžhhŸNh Nubj)”}”(hŒ ``values``”h]”hŒvalues”…””}”(hjˆhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jœhj€ubhŒ populated with the values read.”…””}”(hj€hžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝhŸh³h Khjohžhubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hÂhhÄhžhhŸh³h K:ubeh}”(h]”(hÁŒid1”eh ]”h"]”Œ gpiohandle_get_line_values_ioctl”ah$]”Œ gpiohandle_get_line_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ÅjÂuŒ nametypes”}”(j͈j‰j¶‰j¡‰jl‰jʼnuh}”(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”“”}”jKs…”R”Œparse_messages”]”hŒsystem_message”“”)”}”(hhh]”hÞ)”}”(hŒCDuplicate implicit target name: "gpiohandle_get_line_values_ioctl".”h]”hŒGDuplicate implicit target name: “gpiohandle_get_line_values_ioctlâ€.”…””}”(hjahž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ŒFHyperlink target "gpiohandle-get-line-values-ioctl" is not referenced.”…””}”hjsbah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhj|ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jwŒsource”h³Œline”Kuh1j\ubaŒ transformer”NŒ include_log”]”Œ decoration”Nhžhub.