STRUCT D40_LOG_LLI_FULL(9)
π struct d40_log_lli_full(9) β a Kernel API Manual moment
okay bestie, so we're in the Kernel API Manual today and the main character is struct d40_log_lli_full(9). yes it's a struct. yes it's iconic. let's get into it β¨
πΈ NAME πΈ
struct d40_log_lli_full β the LCPA layout, fr fr
π SYNOPSIS π
ok so here's the whole vibe, literally the entire struct, no cap:
struct d40_log_lli_full {
u32 lcsp0;
u32 lcsp1;
u32 lcsp2;
u32 lcsp3;
};
that's it. four u32s. four. count 'em. she's lowkey minimal and I respect it π«Ά
π¦ Members π¦
lcsp0β Logical Channel Standard Param 0 β Src. it's the source one, slay πlcsp1β Logical Channel Standard Param 1 β Src. another source param, she's giving sequel energy β¨lcsp2β Logical Channel Standard Param 2 β Dst. plot twist, we switched to destination πlcsp3β Logical Channel Standard Param 3 β Dst. and the last one's destination too, periodt π
π Description π
so this struct maps directly to the LCPA physical memory layout. and here's the part where you pay attention bestie: it must map to the hw. like, that's not optional. that's the whole point. that's her job π
no wiggle room here β the layout has to line up with the hardware, or it's not doing the thing it exists to do π
π₯ SEE ALSO π₯
go look at the kernel file ./drivers/dma/ste_dma40_ll.h for the whole friend group, because these structs literally all hang out together:
struct d40_phy_lli(9)struct d40_phy_lli_bidir(9)struct d40_log_lli(9)struct d40_log_lli_bidir(9)struct d40_def_lcsp(9)
and that's the page!! mwah π this one comes to you from ./drivers/dma, dated October 2026, and yes it's the Kernel API Manual β go read some structs, ily, bye π§π
π¦ 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