STRUCT IMX335_MODE(9)
πΈ 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 assignmentwidthβ frame width β β how wide the frame is, periodtheightβ frame height β¨ β and how tall it is, obviouslycodeβ format code π β the format code, iykykhblankβ horizontal blanking in lines πΈ β the horizontal blanking, measured in lines bestie, don't forget the unitsvblankβ 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 linesvblank_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 tbhreg_listβ register list for sensor mode π§ β the register list for the sensor mode, the receipts if you willvflip_normalβ register list vflip (normal readout) π β the register list for vflip during normal readoutvflip_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 π«Ά
- Kernel file
./drivers/media/i2c/imx335.c struct imx335_reg_list(9)struct imx335(9)to_imx335(9)imx335_update_controls(9)imx335_update_exp_gain(9)imx335_fill_pad_format(9)imx335_detect(9)imx335_parse_hw_config(9)imx335_power_on(9)imx335_init_controls(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms