ENUM CDNS_I2C_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ enum cdns_i2c_mode(9) πŸ¦‹

okay so bestie, this page is straight out of the Kernel API Manual, and it’s literally about one enum: enum cdns_i2c_mode. It’s giving β€œwhat mode is this I2C controller in rn?” energy. No cap, that’s the whole vibe. πŸ’…


✨ NAME ✨

enum cdns_i2c_mode β€” I2C Controller current operating mode. That’s it, that’s the queen. πŸ‘‘

🌟 SYNOPSIS 🌟

here’s the exact shape of it, bestie:

enum cdns_i2c_mode {
    CDNS_I2C_MODE_SLAVE ,
    CDNS_I2C_MODE_MASTER

};

πŸŽ€ Constants πŸŽ€

  • CDNS_I2C_MODE_SLAVE β€” I2C controller operating in slave mode. slay, it’s in slave mode. 🌸
  • CDNS_I2C_MODE_MASTER β€” I2C Controller operating in master mode. main character mode, obviously. πŸ‘‘

πŸ”Ž SEE ALSO πŸ”Ž

okay so the kernel file is ./drivers/i2c/busses/i2c-cadence.c enum, and the whole friend group is here, fr fr:

okay bye bestie πŸ’– β€” this one came from ./drivers/i2c/busses, October 2026, all about enum cdns_i2c_mode(9). periodt. 🫢

πŸ“¦ where this page comes from