STRUCT RMI_I2C_XPORT(9)
π struct rmi_i2c_xport(9)
okay so bestie, welcome to the Kernel API Manual β this is the page for struct rmi_i2c_xport, and no cap, it's literally the little info-holder for i2c communication π¦
β¨ NAME β¨
struct rmi_i2c_xport β stores information for i2c communication
π SYNOPSIS π
struct rmi_i2c_xport {
struct rmi_transport_dev xport;
struct i2c_client *client;
struct mutex page_mutex;
int page;
u8 *tx_buf;
size_t tx_buf_size;
struct regulator_bulk_data supplies[2];
u32 startup_delay;
};
like, that's the whole shape of it, copy it exactly please π
π Members π
xportβ the transport interface structure. she's the main character of this struct ngl π«clientβ the I2C client device structure. the actual device bestie π«Άpage_mutexβ locks the current page so nobody goes changing pages in unexpected ways π fr fr, it's giving bodyguard energypageβ keeps track of the current virtual page, lowkey the bookmark of the whole situation πtx_bufβ buffer used for transmitting data to the sensor over i2c. her job is sending the vibes β¨tx_buf_sizeβ size of the buffer. yes, that buffer. the one right above πsuppliesβ array of voltage regulators. plural, iconic, and yes it's an array π₯startup_delayβ milliseconds to pause after powering up the regulators. like a little beauty rest after the regulators wake up β
π SEE ALSO π
Kernel file ./drivers/input/rmi4/rmi_i2c.c β go read it, iykyk π¦
π quick vibe check: these are the exact members from the page, so don't go renaming anything, bestie β the compiler will NOT be nice about it π
and that's the whole page! this cutie came from ./drivers/input/rmi4, dated October 2026, and it's struct rmi_i2c_xport(9) β slay, periodt, go forth and i2c responsibly π§π
π¦ 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