STRUCT I2C_ARBITRATOR_DATA(9)
π struct i2c_arbitrator_data(9) β the Kernel API Manual, bestie edition π
okay so this is a page from the Kernel API Manual (yes, the (9) section, we're in deep kernel territory, main character energy) and it's all about struct i2c_arbitrator_data β literally just the driver data for an I2C arbitrator. that's it. that's the vibe. it's a struct that holds the little contract between two sides who both want the same I2C bus and have to be polite about it π«Ά
β¨ NAME β¨
struct i2c_arbitrator_data β Driver data for I2C arbitrator
like, the whole personality of this thing is "I am the data the arbitrator driver carries around." no cap. π
πΈ SYNOPSIS πΈ
struct i2c_arbitrator_data {
struct gpio_desc *our_gpio;
struct gpio_desc *their_gpio;
unsigned int slew_delay_us;
unsigned int wait_retry_us;
unsigned int wait_free_us;
};
look at her. five fields. absolutely iconic. copy it exactly, don't be weird about it π
π¦ Members π¦
okay bestie, field-by-field breakdown, let's gooo:
our_gpioβ the GPIO descriptor we'll use to claim. it's ours. we're the ones holding it up in the group chat like "hey I need the bus" βtheir_gpioβ the GPIO descriptor that the other side will use to claim. yes, they get one too. it's giving mutual respect, it's giving healthy boundaries πslew_delay_usβ microseconds to wait for a GPIO to go high. like, give it a sec to actually rise, it's not being rude, it's just physics πwait_retry_usβ we'll attempt another claim after this many microseconds. so if at first you don't succeedβ¦ try again after exactly this long. periodt β±οΈwait_free_usβ we'll give up after this many microseconds. that's the deadline, babe. after this, we're done asking. π
fr fr, these are all justunsigned intmicrosecond values plus twostruct gpio_desc *pointers β no hidden fields, no surprises, don't go looking for extra lore π₯
π SEE ALSO π
one single reference, and it's the whole point:
- Kernel file
./drivers/i2c/muxes/i2c-arb-gpio-challenge.cβ the actual driver, the source of truth, the place where all five of these fields get used. go read it, iykyk β
and that's the page!! short, sweet, absolutely slayed π
sign-off time π β this lil beauty lives in ./drivers/i2c/muxes and the man page is dated October 2026. mwah. go forth and arbitrate responsibly, bestie π§ββοΈβ¨
π¦ 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