i3c_master_defslvs_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hey bestie πŸ’– welcome to the i3c_master_defslvs_locked(9) page β€” the one where we send a DEFSLVS CCC command and make sure the bus knows what’s up ✨

🌸 NAME 🌸

i3c_master_defslvs_locked β€” send a DEFSLVS CCC command πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

int i3c_master_defslvs_locked (struct i3c_master_controller *master );

πŸŽ€ ARGUMENTS πŸŽ€

  • master β€” the master used to send frames on the bus 🚌

✨ DESCRIPTION ✨

Okay so this function sends a DEFSLVS CCC command that contains all the devices known to the master. This is lowkey iconic when you’ve got secondary masters on the bus and need to propagate device information 🫢

Call it after all I3C devices have been discovered β€” in other words, after the DAA procedure has finished β€” and instantiated in i3c_master_controller_ops->bus_init. It should also be called if a master ACKed a Hot-Join request and assigned a dynamic address to the device joining the bus 🌈

⚠️ bestie, this function must be called with the bus lock held in write mode. That’s not a vibe check, that’s a requirement πŸ’€

πŸ‘‘ RETURN πŸ‘‘

0 in case of success, or a negative error code otherwise 😭

πŸ’œ SEE ALSO πŸ’œ

The kernel file ./drivers/i3c/master.c plus the whole SEE ALSO group chat:


byeee πŸ’– this one’s from ./drivers/i3c, dated October 2026 β€” go forth and DEFSLVS responsibly 🫢✨

πŸ“¦ where this page comes from