i3c_master_defslvs_locked(9)
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:
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_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_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)
byeee π this oneβs from ./drivers/i3c, dated October 2026 β go forth and DEFSLVS responsibly π«Άβ¨
π¦ 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