STRUCT D40_LLI_POOL(9)
π struct d40_lli_pool(9) π
okay so bestie, we're in the Kernel API Manual, section 9, and today's main character is struct d40_lli_pool β literally the structure for keeping LLIs in memory. yes. that's the whole vibe. it's not glamorous but it is iconic, and you're gonna understand it fr fr. π
β¨ SYNOPSIS β¨
struct d40_lli_pool {
void *base;
int size;
dma_addr_t dma_addr;
u8 pre_alloc_lli[3 * sizeof(struct d40_phy_lli)];
};
likeβ¦ look at her. four members. no notes. π
πΈ Members πΈ
baseβ a pointer to the memory area that gets used when thepre_alloc_lli's are not large enough β IE bigger than the most common case, which is1dst and1src. and it'sNULLifpre_alloc_lliis what's being used. so like, she's the backup plan, and she knows it. π«Άsizeβ the size in bytes of the memory atbase, or the size ofpre_alloc_lli. either way, she's measuring. πdma_addrβ the DMA address, if mapped. that's it. that's the whole member. conditional queen. β¨pre_alloc_lliβ the pre allocated area for the most common case of transfers: one buffer to one buffer. the everyday workhorse. the girl who shows up and does the job while everyone else is still getting ready. ππ₯
ngl the whole point here is the vibe check between "small, already there, no drama" (pre_alloc_lli) and "okay we need more room, allocate" (base). she's built for the common case and she ate. π
π¦ 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_desc(9)struct d40_lcla_pool(9)struct d40_phy_res(9)struct d40_chan(9)struct d40_gen_dmac(9)struct d40_base(9)
like, go read her friends too, they're all lowkey connected and iykyk π
and that's the whole page bestie!! go forth and slay β¨ this little gem lives in ./drivers/dma and the version vibes are dated October 2026, so you know she's fresh πβπ
π¦ 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