v4l2_subdev_...pad_interdep(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… v4l2_subdev_has_pad_interdep πŸ’…

okay bestie, welcome to the Kernel API Manual entry for v4l2_subdev_...pad_interdep(9) β€” yes the title is abridged with dots, that's just how it's printed, no cap. this is the whole vibe, let's go ✨


🌸 NAME 🌸

v4l2_subdev_has_pad_interdep β€” literally the MC has_pad_interdep implementation for subdevs. that's it, that's the name πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

bool v4l2_subdev_has_pad_interdep (struct media_entity *entity ,
unsigned int pad0 , unsigned int pad1 );

πŸ’– ARGUMENTS πŸ’–

  • entity β€” pointer to struct media_entity. it's giving "here's the entity we're checking", iconic.
  • pad0 β€” pad number for the first pad. the first one. the main character of the two 🫢
  • pad1 β€” pad number for the second pad. the other one. also important.

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so here's the tea πŸ“ β€” this function is an implementation of the media_entity_operations.has_pad_interdep operation, specifically for subdevs that implement the multiplexed streams API. and how do you know a subdev is in that club? it's indicated by the V4L2_SUBDEV_FL_STREAMS subdev flag. iykyk πŸ’…

and what does it actually do? simple, bestie: it considers two pads interdependent if there is an active route between pad0 and pad1. that's the whole vibe check β€” active route = interdependent, periodt. ✨


πŸ”₯ SEE ALSO πŸ”₯

start with the kernel file, obviously:

  • Kernel file ./include/media/v4l2-subdev.h

then the whole extended friend group 🌈 β€” every single one, in order, because we do not skip anyone:

like, that's a lot of friends but we love them all πŸ’œ


🧚 tiny reminder bestie: this one only makes sense for subdevs using the multiplexed streams API, flagged by V4L2_SUBDEV_FL_STREAMS. if your subdev isn't in that club, this function's whole personality doesn't apply. keep that in mind fr fr πŸ’€

and that's a wrap, babe πŸŽ€ this page lives under ./include/media and it's dated October 2026, rocking the v4l2_subdev_...pad_interdep(9) manual name all the way through. slay, go read some v4l2_subdev docs now βœ¨πŸ’–

πŸ“¦ where this page comes from