STRUCT FSL_QDMA_FORMAT(9)
π struct fsl_qdma_format(9) π
okay bestie, so this page is from the Kernel API Manual and it's all about struct fsl_qdma_format β literally the struct that holds and describes the compound descriptor format for qDMA. that's the whole vibe. π¦
β¨ NAME β¨
struct fsl_qdma_format β this is the struct holding describing compound descriptor format with qDMA. (yes, that's the official wording, we're not touching it, it's iconic as-is π)
πΈ SYNOPSIS πΈ
struct fsl_qdma_format {
__le32 status;
__le32 cfg;
union {
struct {
__le32 addr_lo;
u8 addr_hi;
u8 __reserved1[2];
u8 cfg8b_w1;
};
struct {
__le32 __reserved2;
__le32 cmd;
};
__le64 data;
};
};
look at that nesting, it's giving main character energy fr fr π
π Members π
statusβ command status plus enqueue status notification. it's the vibe check of the descriptor basically β¨cfgβ frame offset and frame format. the formatting queen π- {unnamed_union} β anonymous. no name, all mystery π«Ά
- {unnamed_struct} β anonymous. also mysterious, also slaying π«
addr_loβ holding the compound descriptor of the lower 32-bits address in memory 40-bit address. the low bits are carrying the whole squad ngl πaddr_hiβ same as the above member, but point high 8-bits in memory 40-bit address. the high bits said "not me being the upper half" π__reserved1β reserved field. reserved for greatness (and for later, but mostly later) πcfg8b_w1β compound descriptor command queue origin produced by qDMA and dynamic debug field. it's lowkey doing two jobs and honestly? obsessed π- {unnamed_struct} β anonymous. third one, still iconic β
__reserved2β reserved field. chilling. unbothered. reserved πcmdβ command for QDMA (seeFSL_QDMA_CMD_RWTTYPEand others). the boss of the operation π₯dataβ pointer to the memory 40-bit address, describes DMA source information and DMA destination information. it ate and left no crumbs π
π§ SEE ALSO π§
- Kernel file
./drivers/dma/fsl-qdma.cβ go read it bestie, it's where all the lore lives πβ¨
πΈ quick reminder: the two fields marked reserved? they're reserved. don't be out here inventing lore for them, iykyk π
that's the whole page, hope it slayed π
from the ./drivers/dma crew, dated October 2026, struct fsl_qdma_format(9) and out π¦ππ
π¦ 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