ENUM CDNS_I2C_MODE(9)
π¦ 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:
cdns_i2c_slave_state(9)struct cdns_i2c(9)cdns_i2c_init(9)cdns_i2c_runtime_suspend(9)cdns_i2c_runtime_resume(9)cdns_i2c_clear_bus_hold(9)cdns_i2c_slave_isr(9)cdns_i2c_master_isr(9)cdns_i2c_isr(9)cdns_i2c_mrecv(9)cdns_i2c_msend(9)cdns_i2c_master_reset(9)cdns_i2c_master_xfer(9)cdns_i2c_master_xfer_atomic(9)cdns_i2c_func(9)cdns_i2c_calc_divs(9)cdns_i2c_setclk(9)cdns_i2c_clk_notifier_cb(9)cdns_i2c_detect_transfer_size(9)cdns_i2c_probe(9)cdns_i2c_remove(9)cdns_i2c_shutdown(9)
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
- 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