STRUCT IMX412_MODE(9)
β¨ 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:
struct imx412_reg_list(9)struct imx412(9)to_imx412(9)imx412_update_controls(9)imx412_update_exp_gain(9)imx412_fill_pad_format(9)imx412_enable_streams(9)imx412_disable_streams(9)imx412_detect(9)imx412_parse_hw_config(9)imx412_init_controls(9)
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
- 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