STRUCT IMX412_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct imx412_mode(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– β€” this is the page for struct imx412_mode, and it's literally the whole personality of an imx412 sensor mode, no cap. It's the little bundle of numbers that tells everyone how one specific mode of the sensor is set up. Let's get into it πŸŽ€


🌸 NAME 🌸

struct imx412_mode β€” the imx412 sensor mode structure. that's it, that's the vibe πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole thing, exactly as it lives, don't touch a single character:

struct imx412_mode {
    u32 width;
    u32 height;
    u32 code;
    u32 hblank;
    u32 vblank;
    u32 vblank_min;
    u32 vblank_max;
    u64 pclk;
    u32 link_freq_idx;
    struct imx412_reg_list reg_list;
 };

πŸŽ€ Members πŸŽ€

every field got its own little moment, so let's give them all their flowers 🌸

  • width β€” frame width. the width of the frame, bestie. iconic.
  • height β€” frame height. yes, the other dimension. we love a duo 🫢
  • code β€” format code. the whole format situation.
  • hblank β€” horizontal blanking in lines. that's the horizontal blanking, measured in lines ✨
  • vblank β€” vertical blanking in lines. same energy, but vertical, and in lines.
  • vblank_min β€” minimum vertical blanking in lines. the floor, the bare minimum, the "i guess" of vertical blanking πŸ’€
  • vblank_max β€” maximum vertical blanking in lines. the ceiling. the limit. the absolute most.
  • pclk β€” sensor pixel clock. the sensor's pixel clock, clocking pixels πŸ”₯
  • link_freq_idx β€” link frequency index. that's the index for the link frequency, iykyk.
  • reg_list β€” register list for sensor mode. the full register list for this sensor mode. main character behaviour honestly πŸ‘‘

🌈 SEE ALSO 🌈

go read these next, fr fr β€” the kernel file ./drivers/media/i2c/imx412.c plus:


ngl bestie, that's the whole page β€” no hidden lore, no extra tips, just the struct and its friends πŸ’œ

k bye ily, this one came from ./drivers/media/i2c and it's dated October 2026 β€” so like, future iconic behaviour πŸ§šβ€β™€οΈπŸ’– slay!

πŸ“¦ where this page comes from