STRUCT D40_DESC(9)
πΈ NAME πΈ
okay bestie, meet struct d40_desc from the Kernel API Manual β a descriptor is literally one DMA job. π
π SYNOPSIS π
struct d40_desc {
struct d40_phy_lli_bidir lli_phy;
struct d40_log_lli_bidir lli_log;
struct d40_lli_pool lli_pool;
int lli_len;
int lli_current;
int lcla_alloc;
struct dma_async_tx_descriptor txd;
struct list_head node;
bool is_in_client_list;
bool cyclic;
};
π«Ά Members π«Ά
lli_phyβ LLI settings for the physical channel. Bothsrcanddst=point into thelli_poolβ tobasewhenlli_len > 1, or topre_alloc_lliwhenlli_lenequals one. β¨lli_logβ same as above, but for logical channels. π¦lli_poolβ the pool, with two entries pre-allocated. πlli_lenβ number ofllisof the current descriptor. π’lli_currentβ number of transferredllis. πlcla_allocβ number of LCLA entries allocated. πtxdβ DMA engine struct. Among other things, itβs used for communication during a transfer. π‘nodeβ a list entry. πis_in_client_listβtrueif the client owns this descriptor. π«Άcyclicβtrueif this is a cyclic job. π
π Description π
This descriptor is used for both logical and physical transfers. no cap. β¨
π SEE ALSO π
- Kernel file
./drivers/dma/ste_dma40.c struct stedma40_platform_data(9)enum d40_command(9)struct d40_interrupt_lookup(9)struct d40_reg_val(9)struct d40_lli_pool(9)struct d40_lcla_pool(9)struct d40_phy_res(9)struct d40_chan(9)struct d40_gen_dmac(9)struct d40_base(9)
mwah π this pageβs source/version is ./drivers/dma, itβs dated October 2026, and itβs still struct d40_desc(9) β bye bestie! π«Άπ
π¦ 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