imx334_update_exp_gain(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to imx334 device. 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:

Go read them, they're iconic, they're the main character energy of this driver πŸ§šπŸ’œ


real talk though: ./drivers/media/i2c is where this lives, this page is from October 2026, and it is literally the imx334_update_exp_gain(9) manual page. Bestie, you're all caught up β€” mwah πŸ’–πŸ“
πŸ“¦ where this page comes from