__i3c_maste...c_dev_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

__i3c_master_add_i3c_dev_locked β€” bestie, this is the one that adds an I3C slave to the bus πŸ¦‹


✨ SYNOPSIS ✨

void __i3c_master_add_i3c_dev_locked (struct i3c_master_controller
*master , u8 addr , bool probe );

πŸŽ€ ARGUMENTS πŸŽ€

  • master β€” the master that's out here sending frames on the bus, no cap 🌈
  • addr β€” the I3C slave dynamic address that got assigned to the device, iykyk
  • probe β€” a bool that says "probe to see if the device is really present at addr" πŸ‘€ like we're checking if it actually showed up to the party

🫢 DESCRIPTION 🫢

Okay so picture this: this function instantiates an I3C device object and adds it to the I3C device list. That's the whole vibe. ✨ All the device information? Retrieved using standard CCC commands. Every single bit of it. Iconic behavior honestly.

⚠️ hard requirement alert β€” this function must be called with the bus lock held in write mode. Not read mode. Not "eh, close enough" mode. Write mode, periodt. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/i3c/master.c and its whole friend group β€” the way this list ate, fr fr πŸ‘‘


okay that's the whole page bestie, go forth and lock that bus in write mode πŸ’œ

source / version: ./drivers/i3c 🌸 dated October 2026 πŸŽ€ mwah, ily, happy hacking βœ¨πŸ¦‹

πŸ“¦ where this page comes from