video_is_registered(9)
π video_is_registered(9) π
okay so bestie, welcome to the kernel API manual, section 9 β this little page lives in the ./include/media corner of the kernel docs and it's dated October 2026, so mark your calendar or whatever π
β¨ NAME β¨
video_is_registered β lowkey the vibe-check function: it returns true if the &struct video_device is registered. that's it. that's the whole job. and honestly? iconic. π
πΈ SYNOPSIS πΈ
int video_is_registered (struct video_device *vdev );
like, that's the whole signature. no cap, no extra params, no drama. π
π¦ ARGUMENTS π¦
vdevβ pointer tostruct video_device. yes bestie, a pointer β you gotta hand it the address of your video_device, not a copy of the poor thing. π«Ά
π₯ SEE ALSO π₯
okay this list is long and I am obsessed, so buckle in. first up, the kernel file it all lives in:
- Kernel file
./include/media/v4l2-dev.h
and then the whole friend group, fr fr:
enum vfl_devnode_type(9)enum vfl_devnode_direction(9)enum v4l2_video_device_flags(9)struct v4l2_prio_state(9)v4l2_prio_init(9)v4l2_prio_change(9)v4l2_prio_open(9)v4l2_prio_close(9)v4l2_prio_max(9)v4l2_prio_check(9)struct v4l2_file_operations(9)struct video_device(9)media_entity_to_video_device(9)to_video_device(9)__video_register_device(9)video_register_device(9)video_register_device_no_warn(9)video_unregister_device(9)video_device_alloc(9)video_device_release(9)video_device_release_empty(9)v4l2_disable_ioctl(9)video_get_drvdata(9)video_set_drvdata(9)video_devdata(9)video_drvdata(9)video_device_node_name(9)v4l2_debugfs_root(9)video_device_pipeline_start(9)__video_device_pipeline_start(9)video_device_pipeline_stop(9)__video_device_pipeline_stop(9)video_device_pipeline_alloc_start(9)video_device_pipeline(9)
bestie that's a lot of cross-references and every single one of them is here β I did not skip a single one, don't @ me π
mwah, that's the page! π signed off from ./include/media, October 2026, on the video_is_registered(9) manual page itself. go check if your video device is registered, you absolute main character. πβ¨
π¦ 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