STRUCT FSL_QDMA_FORMAT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ 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 (see FSL_QDMA_CMD_RWTTYPE and 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