i3c_dev_free_ibi_locked(9)
π i3c_dev_free_ibi_locked(9) π
okay so this is a page straight out of the Kernel API Manual, and honestly? she's a little cleanup queen and we stan her for it π§Ήβ¨
β¨ NAME β¨
i3c_dev_free_ibi_locked β frees up all the resources you need for IBI handling π
πΈ SYNOPSIS πΈ
void i3c_dev_free_ibi_locked (struct i3c_dev_desc *dev );
π¦ ARGUMENTS π¦
devβ the device you wanna release the IBI resources on, bestie. that's the whole vibe check π«Ά
π DESCRIPTION π
so this function's whole job β her main character moment β is de-allocating the resources that were previously allocated by i3c_device_request_ibi πβ¨
and like, important: you should call her after you've disabled IBIs with i3c_device_disable_ibi. order matters, no cap π₯
π CONTEXT π
ngl this one's non-negotiable: must be called with mutex_lock(dev->desc->ibi_lock) held. held! as in already locked by you. don't come in here unlocked, that's giving undefined behaviour energy ππ
π SEE ALSO π
- Kernel file
./drivers/i3c/master.c 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_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)
and that's the whole page, bestie π this one lives in ./drivers/i3c, dated October 2026 β mwah, go free those IBIs 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