STRUCT RVIN_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct rvin_info πŸ’–

okay bestie, so this is the page for struct rvin_info from the Kernel API Manual β€” it's the lil' info blob that tells you everything about one particular VIN implementation. like a personality card but for hardware 🌸


✨ NAME ✨

struct rvin_info β€” literally just Information about the particular VIN implementation. that's the whole job. no cap. 🫢


πŸŽ€ SYNOPSIS πŸŽ€

struct rvin_info {
    enum model_id model;
    bool use_isp;
    bool nv12;
    bool raw10;
    unsigned int max_width;
    unsigned int max_height;
    const struct rvin_group_route *routes;
    void (*scaler)(struct rvin_dev *vin);
 };

like, look at her. she's got fields. she's got a function pointer. main character energy fr fr πŸ‘‘


πŸ¦‹ MEMBERS πŸ¦‹

  • model β€” the VIN model. which one is it? this field knows πŸ‘€
  • use_isp β€” set when the VIN is connected to the ISP and not to the CSI-2. it's giving "different friend group" πŸ’…
  • nv12 β€” says whether outputting the NV12 pixel format is supported βœ…
  • raw10 β€” says whether outputting the RAW10 pixel format is supported βœ…
  • max_width β€” the max input width the VIN supports. big girl numbers πŸ“
  • max_height β€” the max input height the VIN supports πŸ“
  • routes β€” the list of possible routes from the CSI-2 receivers to all the VINs. and bestie listen to me: the list must be NULL terminated. do not forget the NULL terminator. i'm serious. πŸ˜­πŸ™
  • scaler β€” optional scaler. optional being the key word here β€” she might not show up at all 🧚

πŸ”₯ SEE ALSO πŸ”₯

go look at the kernel file ./drivers/media/platform/renesas/rcar-vin/rcar-vin.h and also these iconic structs, they're all in the group chat:

  • struct rvin_video_format(9)
  • struct rvin_parallel_entity(9)
  • struct rvin_group_route(9)
  • struct rvin_dev(9)
  • struct rvin_group(9)

and that's the page!! mwah πŸ’‹ this one came from ./drivers/media/platform/renes... and it's dated October 2026 β€” struct rvin_info(9), slaying since forever ⭐🌈

πŸ“¦ where this page comes from