__i3c_maste...c_dev_locked(9)
π 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, iykykprobeβ a bool that says "probe to see if the device is really present ataddr" π 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 π
i3c_bus_maintenance_lock(9)i3c_bus_maintenance_unlock(9)i3c_bus_normaluse_lock(9)i3c_bus_normaluse_unlock(9)i3c_master_queue_hotjoin(9)i3c_master_send_ccc_cmd_locked(9)i3c_master_get_free_addr(9)i3c_master_setaasa_locked(9)i3c_master_entdaa_locked(9)i3c_master_enec_disec_locked(9)i3c_master_disec_locked(9)i3c_master_enec_locked(9)i3c_master_defslvs_locked(9)i3c_master_reattach_i3c_dev_locked(9)i3c_master_has_wakeup_enabled_devs(9)i3c_master_dma_map_single(9)i3c_master_dma_unmap_single(9)i3c_master_set_info(9)i3c_master_bus_init(9)i3c_master_add_i3c_dev_locked(9)i3c_master_do_daa_ext(9)i3c_master_do_daa(9)i3c_master_queue_ibi(9)i3c_generic_ibi_free_pool(9)i3c_generic_ibi_alloc_pool(9)i3c_generic_ibi_get_free_slot(9)i3c_generic_ibi_recycle_slot(9)i3c_master_register(9)i3c_master_unregister(9)i3c_dev_disable_ibi_locked(9)i3c_dev_enable_ibi_locked(9)i3c_dev_request_ibi_locked(9)i3c_dev_free_ibi_locked(9)
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
- 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