cci_write(9)
πΈ NAME πΈ
okay bestie, meet cci_write(9) from the Kernel API Manual β it writes a value to a single CCI register. slay, that's literally the whole vibe. π
β¨ SYNOPSIS β¨
int cci_write (struct regmap *map , u32 reg , u64 val , int *err );
π ARGUMENTS π
mapβ the register map you're writing to, bestie. main character energy. πΊοΈregβ the register address to write. use theCCI_REG#()macros to encode the reg width, okay? iykyk β¨valβ the value being written. that's it, that's the value. πerrβ optional pointer to store errors. if a previous error is already set, then the write will be skipped. no cap, it just skips. π«Ά
π¦ RETURN π¦
0 on success, or a negative error code on failure. periodt. πβ¨
π SEE ALSO π
- Kernel file
./include/media/v4l2-cci.h struct cci_reg_sequence(9)cci_read(9)cci_update_bits(9)cci_multi_reg_write(9)devm_cci_regmap_init_i2c(9)
bestie, this page came from ./include/media, October 2026 β mwah, go read the whole CCI cinematic universe π
π
π¦ 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