ENUM DW_EDMA_CHIP_FLAGS(9)
π enum dw_edma_chip_flags(9)
okay bestie, welcome to the Kernel API Manual β this page is literally all about enum dw_edma_chip_flags, which is a little enum that holds flags specific to an eDMA chip. yes, that's the whole vibe. it's giving "small but important" β¨
π NAME π
enum dw_edma_chip_flags β flags that are specific to an eDMA chip π¦
β¨ SYNOPSIS β¨
enum dw_edma_chip_flags {
DW_EDMA_CHIP_LOCAL ,
DW_EDMA_CHIP_PARTIAL
};
like, that's it. two constants, no cap. let's meet them π«Ά
πΈ Constants πΈ
DW_EDMA_CHIP_LOCALβ okay so this one means the eDMA is used locally by an endpoint. that's the whole story, icon behavior only πDW_EDMA_CHIP_PARTIALβ this is the extra one, so listen up π. it means only the channels described by this instance are owned by this driver. and because of that, controller-wide state must be preserved β don't go stomping on it, fr fr π. also: layouts with shared direction-wide registers must only be shared at direction granularity. but layouts with per-channel registers? those may be shared at channel granularity. get the granularity right or it's a whole situation π
π SEE ALSO π
- Kernel file
./include/linux/dma/edma.h struct dw_edma_plat_ops(9)enum dw_edma_ch_irq_mode(9)struct dw_edma_chip(9)
go read those too, iykyk πβ¨
lowkey a reminder: the granularity rules on DW_EDMA_CHIP_PARTIAL are not a suggestion, bestie β shared registers at the wrong granularity is a bad time π
and that's the page!! slay π this little gem lives in ./include/linux/dma and the version/date on the tin is October 2026 β mwah, 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