STRUCT MTK_HSDMA_RING(9)
β¨ NAME β¨
okay so bestie, you opened the <pink>struct mtk_hsdma_ring(9)</pink> page from the <purple>Kernel API Manual</purple> β and it's literally the struct that holds info describing the underlying ring space π
π¦ SYNOPSIS π¦
the whole struct, no cap:
struct mtk_hsdma_ring {
struct mtk_hsdma_pdesc *txd;
struct mtk_hsdma_pdesc *rxd;
struct mtk_hsdma_cb *cb;
dma_addr_t tphys;
dma_addr_t rphys;
u16 cur_tptr;
u16 cur_rptr;
};
π Members π
txdβ the descriptor TX ring, and it describes DMA source information β¨rxdβ the descriptor RX ring, and it describes DMA destination information πcbβ the extra information pointed at by the RX ring πtphysβ the physical addr of the TX ring π¦rphysβ the physical addr of the RX ring πΈcur_tptrβ pointer to the next free descriptor used by the host πcur_rptrβ pointer to the last done descriptor by the device π
π SEE ALSO π
fr fr, go peek at these too, iykyk:
- Kernel file
./drivers/dma/mediatek/mtk-hsdma.c struct mtk_hsdma_pdesc(9)struct mtk_hsdma_vdesc(9)struct mtk_hsdma_cb(9)struct mtk_hsdma_pchan(9)struct mtk_hsdma_vchan(9)struct mtk_hsdma_soc(9)struct mtk_hsdma_device(9)
mwah π β source/version: ./drivers/dma/mediatek, date: October 2026, page: struct mtk_hsdma_ring(9). byeee π«Ά
π¦ 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