STRUCT V4L2_SUBDEV_CAPABILITY(9)
okay so bestie, this is the Kernel API Manual page for struct v4l2_subdev_capability(9) β and it is lowkey iconic how much this little struct is doing β¨π
β¨ NAME β¨
struct v4l2_subdev_capability β subdev capabilities. That's the name, that's the vibe, no notes π
π¦ SYNOPSIS π¦
Here is the struct exactly as the page serves it, no copy-paste crimes, no edits:
struct v4l2_subdev_capability {
__u32 version;
__u32 capabilities;
__u32 reserved[14];
};
π Members π
Three members, all __u32, all doing their little thing:
versionβ the driver versioning number. Literally the driver's version number, bestie π«Άcapabilitiesβ the subdev capabilities, seeV4L2_SUBDEV_CAP_*πreserved(__u32 reserved[14];) β for future use, set to zero for now π
π SEE ALSO π
If you're going down the subdev rabbit hole, these are the pages to have open in other tabs, periodt π:
- Kernel file
./include/uapi/linux/v4l2-subdev.henum v4l2_subdev_format_whence(9)struct v4l2_subdev_format(9)struct v4l2_subdev_crop(9)struct v4l2_subdev_mbus_code_enum(9)struct v4l2_subdev_frame_size_enum(9)struct v4l2_subdev_frame_interval(9)struct v4l2_subdev_frame_interval_enum(9)struct v4l2_subdev_selection(9)struct v4l2_subdev_route(9)struct v4l2_subdev_routing(9)struct v4l2_subdev_client_capability(9)
okay that's the whole page, bestie π«Ά β source path is ./include/uapi/linux, the date is October 2026, it's from the Kernel API Manual, and yes it's that struct v4l2_subdev_capability(9) page. stay iconic and zero that reserved field πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms