STRUCT KEBA_I2C_AUXDEV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct keba_i2c_auxdev β€” the KEBA I2C auxiliary device πŸ’…

okay so this is the lil struct that represents a KEBA I2C auxiliary device, and it's literally the main character of this whole page (from the Kernel API Manual, iykyk). Think of it as the little ID card that says "hi, I'm an auxiliary device, and I have opinions about I2C" πŸŽ€


🌸 SYNOPSIS 🌸

struct keba_i2c_auxdev {
    struct auxiliary_device auxdev;
    struct resource io;
    int info_size;
    struct i2c_board_info *info;
 };

bestie, that's the whole shape of it β€” four members, no cap. read on for the vibe check on each one πŸ‘‡


πŸ¦‹ Members πŸ¦‹

  • auxdev β€” the auxiliary device object itself. this is the actual thing πŸ’–
  • io β€” the address range of the I2C controller IO memory. yes, the memory goblin address range, she's here πŸ”₯
  • info_size β€” the number of I2C devices to be probed. like, how many lil devices we're gonna go knock on the door of πŸšͺ✨
  • info β€” the I2C devices to be probed. the actual roster of devices, periodt πŸ“‹
ngl, info and info_size are giving "array + length" energy, which is honestly iconic of them 🫢

πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./include/linux/misc/keba.h πŸ“
  • struct keba_spi_auxdev(9)
  • struct keba_fan_auxdev(9)
  • struct keba_batt_auxdev(9)
  • struct keba_uart_auxdev(9)

like, go read the whole fam β€” spi, fan, batt, uart, they're all in the group chat πŸ’¬πŸŒΈ


and that's the page!! πŸŽ€ this came from ./include/linux/misc, dated October 2026 β€” mwah, slay, go forth and probe your I2C devices responsibly πŸ˜­πŸ’–πŸ‘‘

πŸ“¦ where this page comes from