octeon_i2c_reg_write(9)
β¨ octeon_i2c_reg_write(9) β¨
okay bestie, welcome to the Kernel API Manual corner of the group chat π this one is short, iconic, and lowkey all about writing an I2C core register.
πΈ NAME πΈ
octeon_i2c_reg_write β write an I2C core register. that's the whole vibe, no cap π
π¦ SYNOPSIS π¦
void octeon_i2c_reg_write (struct octeon_i2c *i2c , u64 eop_reg , u8
data );
π ARGUMENTS π
i2cβ thestruct octeon_i2cbestie in question π«Άeop_regβ register selector, aka which register we're picking πdataβ the value to be written β¨
π DESCRIPTION π
okay so here's the tea: the I2C core registers are accessed indirectly via the OCTEON_REG_SW_TWSI CSR. that's it. that's the whole indirect-access situation, fr fr π
π₯ SEE ALSO π₯
- Kernel file
./drivers/i2c/busses/i2c-octeon-core.hπ octeon_i2c_reg_read(9)octeon_i2c_read_int(9)octeon_i2c_write_int(9)octeon_i2c_is_otx2(9)
go read these too, iykyk π
mwah π source/version: ./drivers/i2c/busses, dated October 2026, page: octeon_i2c_reg_write(9) β periodt π
π¦ 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