i3c_master_do_daa(9)
β¨ i3c_master_do_daa β¨
okay so this is a page out of the Kernel API Manual, bestie β it's i3c_master_do_daa(9) and it's literally the glow-up moment for your I3C bus π
π NAME π
i3c_master_do_daa β do a DAA (Dynamic Address Assignment) π¦
β¨ SYNOPSIS β¨
int i3c_master_do_daa (struct i3c_master_controller *master );
π«Ά ARGUMENTS π«Ά
masterβ the master that's doing the DAA. that's it. that's the whole vibe check π
π DESCRIPTION π
so what this function does is: it instantiates I3C device objects π and adds them to the I3C device list. iconic behaviour, no cap.
and the way it gets all the device info? automatically β it retrieves everything using standard CCC commands. you literally don't have to lift a finger, it's giving main character energy fr fr π β¨
π₯ RETURN π₯
it hands back a 0 in case of success β slay π β and a negative error code otherwise π (we don't love that for us, but that's the deal).
π SEE ALSO π
the kernel file is ./drivers/i3c/master.c, and here's the whole squad of related pages β go read them, they're all linked up π§π
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_add_i3c_dev_locked(9)i3c_master_do_daa_ext(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)
bestie this page lives in./drivers/i3c, it's dated October 2026, and the whole thing isi3c_master_do_daa(9)β that's the tea, go forth and assign those dynamic addresses π ππΈ
π¦ 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