€•$7Œ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-get-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-get-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-get-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-get-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-get-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-get-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-get-values-ioctl.rst”h KubhŒtarget”“”)”}”(hŒ".. _GPIO_V2_LINE_GET_VALUES_IOCTL:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œgpio-v2-line-get-values-ioctl”uh1h´h KhhhžhhŸh³ubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒGPIO_V2_LINE_GET_VALUES_IOCTL”h]”hŒGPIO_V2_LINE_GET_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ŒBGPIO_V2_LINE_GET_VALUES_IOCTL - Get the values of requested lines.”h]”hŒBGPIO_V2_LINE_GET_VALUES_IOCTL - Get the values of requested 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_GET_VALUES_IOCTL (C macro)”Œc.GPIO_V2_LINE_GET_VALUES_IOCTL”hNt”auh1jhjhžhhŸNh NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒGPIO_V2_LINE_GET_VALUES_IOCTL”h]”hŒdesc_signature_line”“”)”}”(hŒGPIO_V2_LINE_GET_VALUES_IOCTL”h]”hŒ desc_name”“”)”}”(hŒGPIO_V2_LINE_GET_VALUES_IOCTL”h]”hŒ desc_sig_name”“”)”}”(hj+h]”hŒGPIO_V2_LINE_GET_VALUES_IOCTL”…””}”(hj;hžhhŸNh Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1j9hj5ubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”h±h²uh1j3hj/hžhhŸh³h Kubah}”(h]”h ]”h"]”h$]”h&]”h±h²Œ add_permalink”ˆuh1j-Œsphinx_line_type”Œ declarator”hj)hžhhŸh³h Kubah}”(h]”j ah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1j'hŸh³h Khj$hžhubhŒ desc_content”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jehj$hžhhŸh³h Kubeh}”(h]”h ]”(Œc”Œmacro”eh"]”h$]”h&]”Œdomain”jsŒobjtype”jtŒdesctype”jtŒnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1j"hžhhjhŸNh Nubhé)”}”(hŒ\``int ioctl(int req_fd, GPIO_V2_LINE_GET_VALUES_IOCTL, struct gpio_v2_line_values *values)``”h]”hŒliteral”“”)”}”(hj€h]”hŒXint ioctl(int req_fd, GPIO_V2_LINE_GET_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”jsŒc-type”eh"]”h$]”h&]”uh1j‚hjáubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ0userspace-api/gpio/gpio-v2-line-get-values-ioctl”Œ refdomain”jsŒ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 get with the ``mask`` set to indicate the subset of requested lines to get. ”h]”(j¼)”}”(hŒ ``values``”h]”jƒ)”}”(hj'h]”hŒvalues”…””}”(hj)hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj%ubah}”(h]”h ]”h"]”h$]”h&]”uh1j»hŸh³h Khj!ubjÕ)”}”(hhh]”hé)”}”(hŒ}The :c:type:`line_values` to get with the ``mask`` set to indicate the subset of requested lines to get.”h]”(hŒThe ”…””}”(hj?hžhhŸNh Nubh)”}”(hŒ*:c:type:`line_values`”h]”jƒ)”}”(hjIh]”hŒ line_values”…””}”(hjKhžhhŸNh Nubah}”(h]”h ]”(jïjsŒc-type”eh"]”h$]”h&]”uh1j‚hjGubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jûŒ refdomain”jsŒreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰jjj Œgpio_v2_line_values”uh1hhŸh³h Khj?ubhŒ to get with the ”…””}”(hj?hžhhŸNh Nubjƒ)”}”(hŒ``mask``”h]”hŒmask”…””}”(hjjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj?ubhŒ6 set to indicate the subset of requested lines to get.”…””}”(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²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 requested lines.”h]”hŒ"Get the values of 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 ``GPIO_V2_LINE_FLAG_ACTIVE_LOW`` flag controls the mapping between physical values (high/low) and logical values (active/inactive). If ``GPIO_V2_LINE_FLAG_ACTIVE_LOW`` is not set then high is active and low is inactive. If ``GPIO_V2_LINE_FLAG_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Œ ``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 physical values (high/low) and logical values (active/inactive). 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 high is active and low is inactive. 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 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.”…””}”(hjÿhž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.”…””}”(hj hž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 K4ubhé)”}”(hŒeOn success 0 and the corresponding :c:type:`values.bits` contain the value read.”h]”(hŒ#On success 0 and the corresponding ”…””}”(hj4hžhhŸNh Nubh)”}”(hŒ*:c:type:`values.bits`”h]”jƒ)”}”(hj>h]”hŒ values.bits”…””}”(hj@hžhhŸNh Nubah}”(h]”h ]”(jïjsŒc-type”eh"]”h$]”h&]”uh1j‚hj<ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jûŒ refdomain”jsŒreftype”Œtype”Œ refexplicit”ˆŒrefwarn”‰jjj Œgpio_v2_line_values”uh1hhŸh³h K6hj4ubhŒ contain the value read.”…””}”(hj4hžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K6hj#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 ”…””}”(hjehžhhŸNh Nubjƒ)”}”(hŒ ``errno``”h]”hŒerrno”…””}”(hjmhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjeubhŒT variable is set appropriately. Common error codes are described in error-codes.rst.”…””}”(hjehžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K9hj#hžhubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hÂhhÄhžhhŸh³h K4ubeh}”(h]”(hÁŒid1”eh ]”h"]”Œgpio_v2_line_get_values_ioctl”ah$]”Œgpio_v2_line_get_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Áhýhújœj™j™j–j jjŠj‡uŒ nametypes”}”(j’ˆhý‰jœ‰j™‰j ‰jЉuh}”(hÁhÄjhÄhúh×j™jj j)j–jŸjjœ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: "gpio_v2_line_get_values_ioctl".”h]”hŒDDuplicate implicit target name: “gpio_v2_line_get_values_ioctlâ€.”…””}”(hj&hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhj#ubah}”(h]”h ]”h"]”h$]”h&]”jaŒ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-get-values-ioctl" is not referenced.”…””}”hjDsbah}”(h]”h ]”h"]”h$]”h&]”uh1hèhjAubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j<Œsource”h³Œline”Kuh1j!ubaŒ transformer”NŒ include_log”]”Œ decoration”Nhžhub.