STRUCT EP93XX_DMA_DESC(9)
π struct ep93xx_dma_desc(9) β the Kernel API Manual, bestie edition
okay so real quick before we dive in: this is a page from the Kernel API Manual, and it's literally all about struct ep93xx_dma_desc π like. the whole page. that's the assignment. no cap.
β¨ NAME β¨
struct ep93xx_dma_desc β the EP93xx specific transaction descriptor, and yes it's exactly as iconic as it sounds π
π¦ SYNOPSIS π¦
here's the struct in all its glory, copied verbatim because we do not mess with code, periodt:
struct ep93xx_dma_desc {
u32 src_addr;
u32 dst_addr;
size_t size;
bool complete;
struct dma_async_tx_descriptor txd;
struct list_head tx_list;
struct list_head node;
};
like. look at it. seven whole members. main character energy fr fr π
πΈ Members πΈ
okay so let's go through every single field one by one, no skipping, we're being thorough bestie π«Ά
src_addrβ the source address of the transaction π« like, where the data's coming from, iykykdst_addrβ the destination address of the transaction π― where it's going. the glow-up location.sizeβ the size of the transaction, and that's in bytes btw, don't forget the units πcompleteβ this descriptor is completed β like it's done, it ate, it slayed, it's finishedtxdβ the dmaengine API descriptor π₯ the actual dmaengine-facing part, lowkey the most important onetx_listβ a list of linked descriptors π chain 'em up, bestienodeβ the link used for putting this into a channel queue π§ the little handle that gets you into the queue. it's giving VIP list.
π SEE ALSO π
go read these next, they're all in the Kernel file ./drivers/dma/ep93xx_dma.c β every single one, here we go, don't skip any π:
struct ep93xx_dma_chan(9)struct ep93xx_dma_engine(9)ep93xx_dma_set_active(9)ep93xx_dma_advance_active(9)ep93xx_dma_advance_work(9)ep93xx_dma_tx_submit(9)ep93xx_dma_alloc_chan_resources(9)ep93xx_dma_free_chan_resources(9)ep93xx_dma_prep_dma_memcpy(9)ep93xx_dma_prep_slave_sg(9)ep93xx_dma_prep_dma_cyclic(9)ep93xx_dma_synchronize(9)ep93xx_dma_terminate_all(9)ep93xx_dma_tx_status(9)ep93xx_dma_issue_pending(9)
that's fifteen (15) references, we counted, we listed, nothing got left behind π
anyway that's the whole page!! mwah π this came from ./drivers/dma, dated October 2026, and it starred struct ep93xx_dma_desc(9) in the leading role. go read the kernel source bestie, 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