STRUCT IMX335_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct imx335_mode(9) 🌸

okay bestie, welcome to the Kernel API Manual ✨ β€” today's main character is struct imx335_mode(9), and no cap, she's kind of a big deal. Let's get into it πŸ’…


πŸ’– NAME πŸ’–

struct imx335_mode β€” the imx335 sensor mode structure πŸŽ€ (yes, that's literally her whole job and she does it flawlessly)


✨ SYNOPSIS ✨

here's the whole glow-up, bestie β€” read it and weep 😭

struct imx335_mode {
    enum imx335_scan_mode scan_mode;
    u32 width;
    u32 height;
    u32 code;
    u32 hblank;
    u32 vblank;
    u32 vblank_min;
    u32 vblank_max;
    u64 pclk;
    struct imx335_reg_list reg_list;
    struct imx335_reg_list vflip_normal;
    struct imx335_reg_list vflip_inverted;
 };

like… look at all those fields. she's organized. she has range. πŸ¦‹


🫢 Members 🫢

okay so these are all the little fields inside her, and honestly each one is serving a purpose. let's do a vibe check on all of them πŸ’–

  • scan_mode β€” the configuration scan mode (All pixel / 2x2Binning) πŸ”₯ β€” which mode we're scanning in, that's the whole assignment
  • width β€” frame width ⭐ β€” how wide the frame is, periodt
  • height β€” frame height ✨ β€” and how tall it is, obviously
  • code β€” format code πŸŽ€ β€” the format code, iykyk
  • hblank β€” horizontal blanking in lines 🌸 β€” the horizontal blanking, measured in lines bestie, don't forget the units
  • vblank β€” vertical blanking in lines 🌈 β€” vertical blanking, also in lines, keeping it consistent πŸ’…
  • vblank_min β€” minimum vertical blanking in lines πŸ¦‹ β€” the lowest the vertical blanking can go, in lines
  • vblank_max β€” maximum vertical blanking in lines πŸ‘‘ β€” and the highest it can go, also in lines. she contains multitudes ✨
  • pclk β€” sensor pixel clock πŸ“ β€” the sensor pixel clock, the heartbeat of the whole operation tbh
  • reg_list β€” register list for sensor mode 🧚 β€” the register list for the sensor mode, the receipts if you will
  • vflip_normal β€” register list vflip (normal readout) πŸ’œ β€” the register list for vflip during normal readout
  • vflip_inverted β€” register list vflip (inverted readout) πŸ”₯ β€” and the register list for vflip when the readout is inverted. not me having TWO vflip lists 😭 iconic

πŸ’€ SEE ALSO πŸ’€

go read these next, bestie β€” the lore goes deep, fr fr 🫢


that's the whole page, bestie β€” you ate that reading session up πŸ’…βœ¨

sign-off time πŸŽ€: this one lives in ./drivers/media/i2c, it's dated October 2026, and it answers to the name struct imx335_mode(9) β€” mwah, go slay your kernel work πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from