€•]UŒ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”ŒB/translations/zh_CN/userspace-api/media/v4l/vidioc-subdev-querycap”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒB/translations/zh_TW/userspace-api/media/v4l/vidioc-subdev-querycap”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒB/translations/it_IT/userspace-api/media/v4l/vidioc-subdev-querycap”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒB/translations/ja_JP/userspace-api/media/v4l/vidioc-subdev-querycap”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒB/translations/ko_KR/userspace-api/media/v4l/vidioc-subdev-querycap”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒB/translations/sp_SP/userspace-api/media/v4l/vidioc-subdev-querycap”Œ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Œ8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later”h]”hŒ8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later”…””}”hh£sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1h¡hhhžhhŸŒ\/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/vidioc-subdev-querycap.rst”h KubhŒtarget”“”)”}”(hŒ.. _VIDIOC_SUBDEV_QUERYCAP:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œvidioc-subdev-querycap”uh1h´h KhhhžhhŸh³ubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒioctl VIDIOC_SUBDEV_QUERYCAP”h]”hŒioctl VIDIOC_SUBDEV_QUERYCAP”…””}”(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Œ6VIDIOC_SUBDEV_QUERYCAP - Query sub-device capabilities”h]”hŒ6VIDIOC_SUBDEV_QUERYCAP - Query sub-device capabilities”…””}”(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”Œ$V4L.VIDIOC_SUBDEV_QUERYCAP (C macro)”Œc.V4L.VIDIOC_SUBDEV_QUERYCAP”hNt”auh1jhjhžhhŸNh NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒVIDIOC_SUBDEV_QUERYCAP”h]”hŒdesc_signature_line”“”)”}”(hŒVIDIOC_SUBDEV_QUERYCAP”h]”hŒ desc_name”“”)”}”(hŒVIDIOC_SUBDEV_QUERYCAP”h]”hŒ desc_sig_name”“”)”}”(hj+h]”hŒVIDIOC_SUBDEV_QUERYCAP”…””}”(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ŒR``int ioctl(int fd, VIDIOC_SUBDEV_QUERYCAP, struct v4l2_subdev_capability *argp)``”h]”hŒliteral”“”)”}”(hj€h]”hŒNint ioctl(int fd, VIDIOC_SUBDEV_QUERYCAP, struct v4l2_subdev_capability *argp)”…””}”(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Œ5``fd`` File descriptor returned by :c:func:`open()`. ”h]”(hŒterm”“”)”}”(hŒ``fd``”h]”jƒ)”}”(hj¿h]”hŒ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Œ-File descriptor returned by :c:func:`open()`.”h]”(hŒFile descriptor returned by ”…””}”(hjÙhžhhŸNh Nubh)”}”(hŒ:c:func:`open()`”h]”jƒ)”}”(hjãh]”hŒopen()”…””}”(hjåhžhhŸNh Nubah}”(h]”h ]”(Œxref”jsŒc-func”eh"]”h$]”h&]”uh1j‚hjáubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ.userspace-api/media/v4l/vidioc-subdev-querycap”Œ refdomain”jsŒreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰Œ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)”}”Œdata”]”jŒ ASTIdentifier”“”)”}”Œ identifier”ŒV4L”sbN†”asbŒ reftarget”Œopen”uh1hhŸh³h KhjÙubhŒ.”…””}”(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Œ=``argp`` Pointer to struct :c:type:`v4l2_subdev_capability`. ”h]”(j¼)”}”(hŒ``argp``”h]”jƒ)”}”(hj.h]”hŒargp”…””}”(hj0hž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Œ3Pointer to struct :c:type:`v4l2_subdev_capability`.”h]”(hŒPointer to struct ”…””}”(hjFhžhhŸNh Nubh)”}”(hŒ :c:type:`v4l2_subdev_capability`”h]”jƒ)”}”(hjPh]”hŒv4l2_subdev_capability”…””}”(hjRhžhhŸNh Nubah}”(h]”h ]”(jïjsŒc-type”eh"]”h$]”h&]”uh1j‚hjNubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jûŒ refdomain”jsŒreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jjjŒv4l2_subdev_capability”uh1hhŸh³h KhjFubhŒ.”…””}”(hjFhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h KhjCubah}”(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é)”}”(hX–All V4L2 sub-devices support the ``VIDIOC_SUBDEV_QUERYCAP`` ioctl. It is used to identify kernel devices compatible with this specification and to obtain information about driver and hardware capabilities. The ioctl takes a pointer to a struct :c:type:`v4l2_subdev_capability` which is filled by the driver. When the driver is not compatible with this specification the ioctl returns ``ENOTTY`` error code.”h]”(hŒ!All V4L2 sub-devices support the ”…””}”(hj¢hžhhŸNh Nubjƒ)”}”(hŒ``VIDIOC_SUBDEV_QUERYCAP``”h]”hŒVIDIOC_SUBDEV_QUERYCAP”…””}”(hjªhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj¢ubhŒ¹ ioctl. It is used to identify kernel devices compatible with this specification and to obtain information about driver and hardware capabilities. The ioctl takes a pointer to a struct ”…””}”(hj¢hžhhŸNh Nubh)”}”(hŒ :c:type:`v4l2_subdev_capability`”h]”jƒ)”}”(hj¾h]”hŒv4l2_subdev_capability”…””}”(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Œv4l2_subdev_capability”uh1hhŸh³h K"hj¢ubhŒl which is filled by the driver. When the driver is not compatible with this specification the ioctl returns ”…””}”(hj¢hžhhŸNh Nubjƒ)”}”(hŒ ``ENOTTY``”h]”hŒENOTTY”…””}”(hjßhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj¢ubhŒ error code.”…””}”(hj¢hžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K"hj‘hžhubhŒtabular_col_spec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œspec”Œ|p{1.5cm}|p{2.9cm}|p{12.9cm}|”uh1j÷hŸh³h K)hj‘hžhubj)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jŒ#V4L.v4l2_subdev_capability (C type)”Œc.V4L.v4l2_subdev_capability”hNt”auh1jhj‘hžhhŸNh Nubj#)”}”(hhh]”(j()”}”(hŒv4l2_subdev_capability”h]”j.)”}”(hŒtype v4l2_subdev_capability”h]”(hŒdesc_sig_keyword”“”)”}”(hŒtype”h]”hŒtype”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”Œk”ah"]”h$]”h&]”uh1jhjhžhhŸh³h K+ubhŒdesc_sig_space”“”)”}”(hŒ ”h]”hŒ ”…””}”(hj0hžhhŸNh Nubah}”(h]”h ]”Œw”ah"]”h$]”h&]”uh1j.hjhžhhŸh³h K+ubj4)”}”(hŒv4l2_subdev_capability”h]”j:)”}”(hjh]”hŒv4l2_subdev_capability”…””}”(hjChžhhŸNh Nubah}”(h]”h ]”jEah"]”h$]”h&]”uh1j9hj?ubah}”(h]”h ]”(jLjMeh"]”h$]”h&]”h±h²uh1j3hjhžhhŸh³h K+ubeh}”(h]”h ]”h"]”h$]”h&]”h±h²jWˆuh1j-jXjYhjhžhhŸh³h K+ubah}”(h]”jah ]”(j]j^eh"]”h$]”h&]”jbˆjc)jdhuh1j'hŸh³h K+hjhžhubjf)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jehjhžhhŸh³h K+ubeh}”(h]”h ]”(jsŒtype”eh"]”h$]”h&]”jxjsjyjnjzjnj{‰j|‰j}‰uh1j"hžhhj‘hŸNh NubhŒtable”“”)”}”(hhh]”(hÈ)”}”(hŒstruct v4l2_subdev_capability”h]”hŒstruct v4l2_subdev_capability”…””}”(hjwhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÇhŸh³h K-hjtubhŒtgroup”“”)”}”(hhh]”(hŒcolspec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jŠhj‡ubj‹)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jŠhj‡ubj‹)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jŠhj‡ubhŒtbody”“”)”}”(hhh]”(hŒrow”“”)”}”(hhh]”(hŒentry”“”)”}”(hhh]”hé)”}”(hŒ__u32”h]”hŒ__u32”…””}”(hj¹hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K2hj¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1j´hj±ubjµ)”}”(hhh]”hé)”}”(hŒ ``version``”h]”jƒ)”}”(hjÒh]”hŒversion”…””}”(hjÔhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjÐubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K3hjÍubah}”(h]”h ]”h"]”h$]”h&]”uh1j´hj±ubjµ)”}”(hhh]”(hé)”}”(hŒVersion number of the driver.”h]”hŒVersion number of the driver.”…””}”(hjðhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K4hjíubhé)”}”(hXThe version reported is provided by the V4L2 subsystem following the kernel numbering scheme. However, it may not always return the same version as the kernel if, for example, a stable or distribution-modified kernel uses the V4L2 stack from a newer kernel.”h]”hXThe version reported is provided by the V4L2 subsystem following the kernel numbering scheme. However, it may not always return the same version as the kernel if, for example, a stable or distribution-modified kernel uses the V4L2 stack from a newer kernel.”…””}”(hjþhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K6hjíubhé)”}”(hŒEThe version number is formatted using the ``KERNEL_VERSION()`` macro:”h]”(hŒ*The version number is formatted using the ”…””}”(hj hžhhŸNh Nubjƒ)”}”(hŒ``KERNEL_VERSION()``”h]”hŒKERNEL_VERSION()”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj ubhŒ macro:”…””}”(hj hžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K;hjíubeh}”(h]”h ]”h"]”h$]”h&]”uh1j´hj±ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¯hj¬ubj°)”}”(hhh]”jµ)”}”(hhh]”(hé)”}”(hŒ :cspan:`2`”h]”h}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K=hj;ubhé)”}”(hŒB``#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))``”h]”jƒ)”}”(hjJh]”hŒ>#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))”…””}”(hjLhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjHubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K?hj;ubhé)”}”(hŒ,``__u32 version = KERNEL_VERSION(0, 8, 1);``”h]”jƒ)”}”(hjah]”hŒ(__u32 version = KERNEL_VERSION(0, 8, 1);”…””}”(hjchžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hj_ubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h KAhj;ubhé)”}”(hŒ#``printf ("Version: %u.%u.%u\\n",``”h]”jƒ)”}”(hŒ#``printf ("Version: %u.%u.%u\\n",``”h]”hŒprintf ("Version: %u.%u.%u\\n",”…””}”(hjzhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjvubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h KChj;ubhé)”}”(hŒC``(version >> 16) & 0xFF, (version >> 8) & 0xFF, version & 0xFF);``”h]”jƒ)”}”(hjh]”hŒ?(version >> 16) & 0xFF, (version >> 8) & 0xFF, version & 0xFF);”…””}”(hj’hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjŽubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h KEhj;ubeh}”(h]”h ]”h"]”h$]”h&]”Œmorecols”Kuh1j´hj8ubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hj¬ubj°)”}”(hhh]”(jµ)”}”(hhh]”hé)”}”(hŒ__u32”h]”hŒ__u32”…””}”(hj¸hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h KFhjµubah}”(h]”h ]”h"]”h$]”h&]”uh1j´hj²ubjµ)”}”(hhh]”hé)”}”(hŒ``capabilities``”h]”jƒ)”}”(hjÑh]”hŒ capabilities”…””}”(hjÓhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjÏubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h KGhjÌubah}”(h]”h ]”h"]”h$]”h&]”uh1j´hj²ubjµ)”}”(hhh]”hé)”}”(hŒPSub-device capabilities of the opened device, see :ref:`subdevice-capabilities`.”h]”(hŒ2Sub-device capabilities of the opened device, see ”…””}”(hjïhžhhŸNh Nubh)”}”(hŒ:ref:`subdevice-capabilities`”h]”hŒinline”“”)”}”(hjùh]”hŒsubdevice-capabilities”…””}”(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Œsubdevice-capabilities”uh1hhŸh³h KHhjïubhŒ.”…””}”(hjïhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h KHhjìubah}”(h]”h ]”h"]”h$]”h&]”uh1j´hj²ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¯hj¬ubj°)”}”(hhh]”(jµ)”}”(hhh]”hé)”}”(hŒ__u32”h]”hŒ__u32”…””}”(hj5hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h KJhj2ubah}”(h]”h ]”h"]”h$]”h&]”uh1j´hj/ubjµ)”}”(hhh]”hé)”}”(hŒ``reserved``\ [14]”h]”(jƒ)”}”(hŒ ``reserved``”h]”hŒreserved”…””}”(hjPhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjLubhŒ [14]”…””}”(hjLhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h KKhjIubah}”(h]”h ]”h"]”h$]”h&]”uh1j´hj/ubjµ)”}”(hhh]”hé)”}”(hŒ:Reserved for future extensions. Set to 0 by the V4L2 core.”h]”hŒ:Reserved for future extensions. Set to 0 by the V4L2 core.”…””}”(hjqhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h KLhjnubah}”(h]”h ]”h"]”h$]”h&]”uh1j´hj/ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¯hj¬ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jªhj‡ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j…hjtubeh}”(h]”Œid1”ah ]”h"]”h$]”h&]”uh1jrhj‘hžhhŸNh Nubjø)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jŒ|p{6.8cm}|p{2.4cm}|p{8.1cm}|”uh1j÷hŸh³h KNhj‘hžhubhµ)”}”(hŒ.. _subdevice-capabilities:”h]”h}”(h]”h ]”h"]”h$]”h&]”hÀŒsubdevice-capabilities”uh1h´h KPhj‘hžhhŸh³ubjs)”}”(hhh]”(hÈ)”}”(hŒSub-Device Capabilities Flags”h]”hŒSub-Device Capabilities Flags”…””}”(hj·hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÇhŸh³h KThj´ubj†)”}”(hhh]”(j‹)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jŠhjÅubj‹)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jŠhjÅubj‹)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jŠhjÅubj«)”}”(hhh]”j°)”}”(hhh]”(jµ)”}”(hhh]”hé)”}”(hŒV4L2_SUBDEV_CAP_RO_SUBDEV”h]”hŒV4L2_SUBDEV_CAP_RO_SUBDEV”…””}”(hjïhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h KYhjìubah}”(h]”h ]”h"]”h$]”h&]”uh1j´hjéubjµ)”}”(hhh]”hé)”}”(hŒ 0x00000001”h]”hŒ 0x00000001”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h KZhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j´hjéubjµ)”}”(hhh]”hé)”}”(hXThe sub-device device node is registered in read-only mode. Access to the sub-device ioctls that modify the device state is restricted. Refer to each individual subdevice ioctl documentation for a description of which restrictions apply to a read-only sub-device.”h]”hXThe sub-device device node is registered in read-only mode. Access to the sub-device ioctls that modify the device state is restricted. Refer to each individual subdevice ioctl documentation for a description of which restrictions apply to a read-only sub-device.”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h K[hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j´hjéubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¯hjæubah}”(h]”h ]”h"]”h$]”h&]”uh1jªhjÅubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j…hj´ubeh}”(h]”(Œid2”j³eh ]”Œ longtable”ah"]”Œsubdevice-capabilities”ah$]”h&]”uh1jrhj‘hžhhŸNh NŒexpect_referenced_by_name”}”jJj©sŒexpect_referenced_by_id”}”j³j©subeh}”(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ÇhjYhžhhŸh³h Kaubhé)”}”(hŒ´On success 0 is returned, on error -1 and the ``errno`` variable is set appropriately. The generic error codes are described at the :ref:`Generic Error Codes ` chapter.”h]”(hŒ.On success 0 is returned, on error -1 and the ”…””}”(hjjhžhhŸNh Nubjƒ)”}”(hŒ ``errno``”h]”hŒerrno”…””}”(hjrhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‚hjjubhŒM variable is set appropriately. The generic error codes are described at the ”…””}”(hjjhžhhŸNh Nubh)”}”(hŒ':ref:`Generic Error Codes `”h]”jü)”}”(hj†h]”hŒGeneric Error Codes”…””}”(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Œ gen-errors”uh1hhŸh³h KchjjubhŒ chapter.”…””}”(hjjhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h KchjYhžhubj±)”}”(hhh]”j¶)”}”(hŒ0ENOTTY The device node is not a V4L2 sub-device.”h]”(j¼)”}”(hŒENOTTY”h]”hŒENOTTY”…””}”(hjµhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j»hŸh³h Kghj±ubjÕ)”}”(hhh]”hé)”}”(hŒ)The device node is not a V4L2 sub-device.”h]”hŒ)The device node is not a V4L2 sub-device.”…””}”(hjÆhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hèhŸh³h KhhjÃubah}”(h]”h ]”h"]”h$]”h&]”uh1jÔhj±ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jµhŸh³h Kghj®ubah}”(h]”h ]”h"]”h$]”h&]”uh1j°hjYhžhhŸh³h Nubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hÂhhÄhžhhŸh³h Kaubeh}”(h]”(Œioctl-vidioc-subdev-querycap”hÁeh ]”h"]”(Œioctl vidioc_subdev_querycap”Œvidioc_subdev_querycap”eh$]”h&]”uh1hÂhhhžhhŸh³h KjM}”jôh¶sjO}”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”j´Œ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¶aj³]”j©auŒnameids”}”(jôhÁjójðhýhújœj™jŽj‹jVjSjJj³jëjèuŒ nametypes”}”(jôˆjó‰hý‰jœ‰jމjV‰jJˆjë‰uh}”(hÁhÄjðhÄhúh×j™jj j)j‹jŸjSj‘jjj³j´jèjYjšjtjFj´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”]”Œtransform_messages”]”(hŒsystem_message”“”)”}”(hhh]”hé)”}”(hhh]”hŒ