STRUCT I2C_NMK_CLIENT(9)
π struct i2c_nmk_client(9) π
okay bestie, welcome to the Kernel API Manual β¨ β yes we're doing kernel docs today and yes it's gonna slay. this one's all about struct i2c_nmk_client, no cap π«Ά
πΈ NAME πΈ
struct i2c_nmk_client β client specific data, literally that's the whole vibe π
π¦ SYNOPSIS π¦
struct i2c_nmk_client {
unsigned short slave_adr;
unsigned long count;
unsigned char *buffer;
unsigned long xfer_bytes;
enum i2c_operation operation;
};
like, that's the struct. five fields. iconic. copy it exactly pls π
π Members π
slave_adrβ the 7-bit slave address, that's it, that's the whole field πcountβ no. bytes to be transferred, i.e. how many bytes we're moving around π¦bufferβ the client data buffer, where the actual data lives π§xfer_bytesβ bytes transferred till now, the running tally bestie βoperationβ the current I2C operation, like what are we even doing rn π
π SEE ALSO π
Kernel file ./drivers/i2c/busses/i2c-nomadik.c β and like, the whole friend group fr fr:
struct i2c_vendor_data(9)struct nmk_i2c_dev(9)flush_i2c_fifo(9)disable_all_interrupts(9)clear_all_interrupts(9)init_hw(9)load_i2c_mcr_reg(9)setup_i2c_controller(9)read_i2c(9)write_i2c(9)nmk_i2c_xfer_one(9)nmk_i2c_xfer(9)disable_interrupts(9)i2c_irq_handler(9)
lowkey go read them all, iykyk π
and that's the page bestie! π this was brought to you from ./drivers/i2c/busses, dated October 2026, and yeah it's still struct i2c_nmk_client(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