i3c_master_dma_map_single(9)
okay so you found the Kernel API Manual page for i3c_master_dma_map_single, and honestly? Itβs giving βtiny but important DMA helperβ energy π«Άπ
π NAME π
i3c_master_dma_map_single β map a buffer for a single DMA transfer. Slay.
β¨ SYNOPSIS β¨
struct i3c_dma * i3c_master_dma_map_single (struct device *dev , void
*buf , size_t len , bool force_bounce , enum dma_data_direction dir );
π ARGUMENTS π
devβ the device object of a device doing DMA. Main character device energy β¨bufβ the destination/source buffer for DMA. Itβs literally the buffer bestie πlenβ length of transfer. Gotta know how much weβre moving π«Άforce_bounceβtruemeans force to use a bounce buffer;falsemeans the function will auto check is a bounce buffer required. Sheβs flexible like that πdirβ DMA direction. Which way are we going? π
πΈ DESCRIPTION πΈ
Map buffer for a DMA transfer and allocate a bounce buffer if required. Thatβs the whole vibe: map it, and if a bounce buffer is required, she allocates one π¦
π RETURN π
I3C DMA transfer descriptor or NULL in case of error. So you either get the descriptor or a lil NULL heartbreak π
π¦ SEE ALSO π¦
Kernel file ./drivers/i3c/master.c is part of the friend group, along with:
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_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)
okay bye bestie β this pageβs source/version is ./drivers/i3c, itβs dated October 2026, and itβs the i3c_master_dma_map_single(9) page. mwah πβ¨
π¦ 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