__v4l2_devi...subdev_nodes(9)
β¨ __v4l2_device_register_subdev_nodes(9) β¨
okay so first things first, the manual name is Kernel API Manual and this whole page is about the __v4l2_device_register_subdev_nodes function β yes that's a lot of words, we love her anyway π
π NAME π
__v4l2_device_register_subdev_nodes β registers device nodes for all the subdevs of the v4l2 device that are marked with the %V4L2_SUBDEV_FL_HAS_DEVNODE flag. that's it, that's the whole vibe check πΈ
π SYNOPSIS π
int __v4l2_device_register_subdev_nodes (struct v4l2_device *v4l2_dev,
bool read_only);
π¦ ARGUMENTS π¦
v4l2_devβ pointer tostruct v4l2_device. literally just the v4l2 device you're working with, bestie β¨read_onlyβ the subdevices read-only flag.Trueto register the subdevices' device nodes in read-only mode,falseto allow full access to the subdevice userspace API. so likeβ¦ do you trust them or not π
π SEE ALSO π
Kernel file ./include/media/v4l2-device.h, plus all these icons, no cap:
struct v4l2_device(9)v4l2_device_get(9)v4l2_device_put(9)v4l2_device_register(9)v4l2_device_set_name(9)v4l2_device_disconnect(9)v4l2_device_unregister(9)v4l2_device_register_subdev(9)v4l2_device_unregister_subdev(9)v4l2_device_register_subdev_nodes(9)v4l2_device_register_ro_subdev_nodes(9)v4l2_subdev_notify(9)v4l2_device_supports_requests(9)v4l2_device_for_each_subdev(9)__v4l2_device_call_subdevs_p(9)__v4l2_device_call_subdevs(9)__v4l2_device_call_subdevs_until_err_p(9)__v4l2_device_call_subdevs_until_err(9)v4l2_device_call_all(9)v4l2_device_call_until_err(9)v4l2_device_mask_call_all(9)v4l2_device_mask_call_until_err(9)v4l2_device_has_op(9)v4l2_device_mask_has_op(9)
that's the whole page, you ate that π«Ά and yes, this icon dropped from ./include/media in October 2026, so go forth and register those subdev nodes, bestie β read-only or full access, your call π
β
π¦ 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