octeon_i2c_reg_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β€” the struct octeon_i2c bestie 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 πŸ”₯

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