STRUCT I2C_NMK_CLIENT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


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