devm_cci_regmap_init_i2c(9)
π devm_cci_regmap_init_i2c(9) π
okay so bestie, this page is from the Kernel API Manual, and it's literally the little helper that gives you a regmap for the cci_*() register access functions. main character energy fr fr β¨
πΈ NAME πΈ
devm_cci_regmap_init_i2c β Create regmap to use with cci_*() register access functions π«Ά
β¨ SYNOPSIS β¨
struct regmap * devm_cci_regmap_init_i2c (struct i2c_client *client , int reg_addr_bits );
π ARGUMENTS π
clientβ thei2c_clientto create the regmap for. that's the whole assignment, bestie πreg_addr_bitsβ register address width to use, and the values are8or16. not me checking the width options for you π
π¦ DESCRIPTION π¦
note the memory for the created regmap is devm managed, tied to the client. so it's giving responsible-resource-management energy β lowkey iconic, no cap π§
β RETURN β
0 on success or a negative error code on failure. that's the vibe check, periodt π
π SEE ALSO π
- Kernel file
./include/media/v4l2-cci.h struct cci_reg_sequence(9)cci_read(9)cci_write(9)cci_update_bits(9)cci_multi_reg_write(9)
mwah π this page is from the Kernel API Manual, source path ./include/media, date/version text October 2026, and it's literally devm_cci_regmap_init_i2c(9) β slay and goodbye π
π¦ 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