i3c_bus_for_each_i3cdev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ i3c_bus_for_each_i3cdev(9) ✨

okay bestie so this is from the Kernel API Manual and it's literally the cutest lil loop helper β€” let's get into it πŸŽ€


πŸ’– NAME πŸ’–

i3c_bus_for_each_i3cdev β€” loops over every single I3C device that's chilling on the bus πŸ¦‹


🌸 SYNOPSIS 🌸

i3c_bus_for_each_i3cdev (bus , dev );

🧚 ARGUMENTS 🧚

  • bus β€” the I3C bus, aka the main character of this whole operation πŸ‘‘
  • dev β€” an I3C device descriptor pointer that gets updated to point at the current slot each time the loop goes around πŸ”„ (yes bestie it moves, that's the whole point)

⭐ DESCRIPTION ⭐

Iterate over all the I3C devs that are present on the bus. that's it, that's the vibe ✨ lowkey iconic how simple it is fr fr πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/linux/i3c/master.h and honestly a whole friend group of structs and helpers β€” here's the full roll call:

struct i3c_i2c_dev_desc(9), struct i2c_dev_boardinfo(9), struct i2c_dev_desc(9), struct i3c_ibi_slot(9), struct i3c_device_ibi_info(9), struct i3c_dev_boardinfo(9), struct i3c_dev_desc(9), struct i3c_device(9), enum i3c_bus_mode(9), enum i3c_open_drain_speed(9), enum i3c_addr_slot_status(9), struct i3c_bus(9), struct i3c_master_controller_ops(9), struct i3c_master_controller(9), i3c_bus_for_each_i2cdev(9), struct i3c_dma(9), i3c_dev_get_master_data(9), i3c_dev_set_master_data(9), i2c_dev_get_master_data(9), i2c_dev_set_master_data(9), i3c_dev_get_master(9), i2c_dev_get_master(9), i3c_master_get_bus(9)

all of them ate, no cap πŸ’€πŸ«Ά


aaaand that's the page!! πŸ’œ this lil cutie lives in ./include/linux/i3c, it's dated October 2026, and it goes by i3c_bus_for_each_i3cdev(9) β€” mwah, go loop over some devices bestie πŸŒˆβ­πŸ“

πŸ“¦ where this page comes from