STRUCT KNAV_REGION(9)
β¨ struct knav_region(9) β¨
okay so bestie, welcome to the Kernel API Manual β this one's all about struct knav_region, aka the qmss region info. think of it as the vibe check for a chunk of DMA memory π
quick heads up before we dive in: @dma_start, dma_end are the start and end dma address, and @virt_start, virt_end are the start and end virtual address. that's literally the whole teaser, now let's get into it π
πΈ SYNOPSIS πΈ
struct knav_region {
dma_addr_t dma_start, dma_end;
void *virt_start, *virt_end;
unsigned desc_size;
unsigned used_desc;
unsigned id;
unsigned num_desc;
unsigned link_index;
const char *name;
struct list_head list;
struct list_head pools;
};
like, copy it exactly, no cap β those fields are the whole personality of this struct π«Ά
π Members π
the main characters, one by one:
dma_start,dma_endβ the start and end dma address. the bookends of the DMA world πvirt_start,virt_endβ the start and end virtual address. same energy, virtual flavour β¨desc_sizeβ descriptor size, i.e. how big each lil descriptor is πused_descβ consumed descriptors. literally the "already ate" counter π₯idβ region number, its little ID card π¦num_descβ total descriptors. the full headcount, periodt πΈlink_indexβ index of the first descriptor. where the chain starts, iykyk πnameβ region name. every icon needs a name πlistβ instance in the device's region list. it's giving "part of the group chat" πpoolsβ list of descriptor pools in the region. the whole pool party β
π₯ SEE ALSO π₯
- Kernel file
./drivers/soc/ti/knav_qmss.h struct knav_queue_stats(9)struct knav_reg_queue(9)struct knav_pool(9)struct knav_queue_inst(9)struct knav_queue(9)
go read the whole squad, bestie, they're all linked up π
ngl this page lives in ./drivers/soc/ti and it's dated October 2026 β so yeah, it's from the future, main character energy fr fr π
and that's the whole page, bestie! thanks for reading, mwah π struct knav_region(9) out β see you in the next manpage π§ββοΈπ
π¦ 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