STRUCT RVIN_GROUP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct rvin_group(9) β€” VIN CSI2 group information 🌸

okay bestie, welcome to the kernel API manual for struct rvin_group β€” yes it's a struct, yes it's in the 9 section, and yes we're gonna get through this together πŸ’– This is the VIN CSI2 group info page, and honestly? It ate.

✨ SYNOPSIS ✨

Like, here's the whole vibe, character for character β€” no cap, don't touch it:

struct rvin_group {
    struct kref refcount;
    struct media_device mdev;
    struct mutex lock;
    unsigned int count;
    struct v4l2_async_notifier notifier;
    const struct rvin_info *info;
    struct rvin_dev *vin[RCAR_VIN_NUM];
    int (*link_setup)(struct rvin_group *group);
    struct {
      struct v4l2_async_connection *asc;
      struct v4l2_subdev *subdev;
    } remotes[RVIN_REMOTES_MAX];
 };

look at her. main character energy fr fr πŸŽ€


πŸ‘‘ Members πŸ‘‘

okay so every member gets its moment, periodt β€” here's the full rundown:

  • refcount β€” the number of VIN instances using the group. it's the little counter keeping track of who's in the group chat 🫢
  • mdev β€” the media device which represents the group. literally the group's whole identity ✨
  • lock β€” protects the count, notifier, vin and csi members. she's the bouncer at the door, nobody in without her πŸ’…
  • count β€” the number of enabled VIN instances found in DT. found in DT, bestie, that's where they're discovered πŸ”
  • notifier β€” the group notifier for CSI-2 async connections. it's giving "don't call us, we'll call you" 🌈
  • info β€” platform dependent information about the VIN instances. every platform's got its own lore, iykyk 🌸
  • vin β€” the VIN instances which are part of the group. the actual members of the squad πŸ¦‹
  • link_setup β€” callback to create all links for the media graph. the matchmaker of the whole operation, lowkey iconic πŸ’–
  • remotes β€” array of pairs of async connection and subdev pointers to all remote subdevices. pairs!! like matching bestie necklaces, except they're struct v4l2_async_connection *asc and struct v4l2_subdev *subdev πŸŽ€
ngl this is a struct so if you're reading it you're probably deep in drivers/media already. hydrate. drink water. πŸ’œ

πŸ”₯ SEE ALSO πŸ”₯

go read these next, bestie, they're all in the family:

  • Kernel file ./drivers/media/platform/renesas/rcar-vin/rcar-vin.h
  • struct rvin_video_format(9)
  • struct rvin_parallel_entity(9)
  • struct rvin_group_route(9)
  • struct rvin_info(9)
  • struct rvin_dev(9)

and that's the page!! this lil drop shipped from ./drivers/media/platform/renes... and it's dated October 2026 β€” so yeah, future-coded of her 🌟 slay, read the source, and remember: struct rvin_group(9) said what she said πŸ’…πŸ’–

πŸ“¦ where this page comes from