STRUCT V4L2_SUBDEV_ROUTE(9)
π NAME π
Okay so this is struct v4l2_subdev_route(9), straight outta the Kernel API Manual, bestie. It describes a route inside a subdev β thatβs literally the whole vibe. A tiny route struct living its main character life inside a subdev. π
β¨
β¨ SYNOPSIS β¨
Hereβs the exact shape, no cap:
struct v4l2_subdev_route {
__u32 sink_pad;
__u32 sink_stream;
__u32 source_pad;
__u32 source_stream;
__u32 flags;
__u32 reserved[5];
};
π Members π
sink_padβ the sink pad index. Thatβs it, thatβs the field. π«Άsink_streamβ the sink stream identifier.source_padβ the source pad index.source_streamβ the source stream identifier.flagsβ route flags, and theyβre literallyV4L2_SUBDEV_ROUTE_FL_*.reservedβ drivers and applications must zero this array. Not optional, not a suggestion, not a maybe. Itβs giving βzero it or elseβ energy. π
π SEE ALSO π
- Kernel file
./include/uapi/linux/v4l2-subdev.henumv4l2_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_capability(9)struct v4l2_subdev_routing(9)struct v4l2_subdev_client_capability(9)
And thatβs the tea π: this page lives at ./include/uapi/linux, itβs dated October 2026, and the footer title is struct v4l2_subdev_route(9). Go forth and zero your reserved array, bestie. πβ¨
π¦ 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