imx334_update_exp_gain(9)
π imx334_update_exp_gain π
okay so bestie, welcome to the Kernel API Manual β this one's all about imx334_update_exp_gain(9), and honestly? It's giving "small function, big responsibilities." π
β¨ NAME β¨
imx334_update_exp_gain β Set updated exposure and gain πΈ
Like, that's literally the whole vibe. You're pushing new exposure and gain values into the sensor. Slay.
π SYNOPSIS π
int imx334_update_exp_gain (struct imx334 *imx334 , u32 exposure , u32
gain );
Yes, the line break in the middle of gain is canon, don't come for me π. Copy it exactly, copy it exactly, copy it exactly. Periodt. π
π¦ ARGUMENTS π¦
imx334β pointer toimx334device. Like, the actual sensor dude you're talking to π«Άexposureβ updated exposure value β¨ (the new number, fresh off the press)gainβ updated analog gain value π₯ (analog specifically, iykyk)
β RETURN β
0 if successful, error code otherwise. That's it, that's the whole tea β β zero means we ate, anything else means something went sideways and you get an error code to deal with. No cap. π
π SEE ALSO π
Kernel file ./drivers/media/i2c/imx334.c and its whole friend group:
struct imx334_reg_list(9)struct imx334_mode(9)struct imx334(9)to_imx334(9)imx334_update_controls(9)imx334_fill_pad_format(9)imx334_detect(9)imx334_parse_hw_config(9)imx334_init_controls(9)
Go read them, they're iconic, they're the main character energy of this driver π§π
real talk though:./drivers/media/i2cis where this lives, this page is from October 2026, and it is literally theimx334_update_exp_gain(9)manual page. Bestie, you're all caught up β mwah ππ
π¦ 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