STRUCT DPRC_REGION_DESC(9)
π struct dprc_region_desc(9) β Kernel API Manual, bestie edition β¨
okay so this is a page from the Kernel API Manual about struct dprc_region_desc, and no cap it's lowkey one of the cutest little descriptors in the whole fsl-mc situation. Let me put you on π«Ά
π NAME π
struct dprc_region_desc β Mappable region descriptor
like literally it's the descriptor for a region you can map. that's the whole job. iconic behavior honestly π
β¨ SYNOPSIS β¨
struct dprc_region_desc {
u32 base_offset;
u32 size;
u32 flags;
enum dprc_region_type type;
u64 base_address;
};
look at her. five fields. no notes. π
π¦ Members π¦
base_offsetβ the region offset from the region's base address. and bestie this one has lore, so listen up: for DPMCP and DPRC objects, the region base is offset from the SoC MC portals base address. for DPIO, the region base is offset from the SoC QMan portals base address. two different portal bases, iykyk πΈsizeβ region size, in bytes. that's it, that's the field πflagsβ region attributes. the little vibe check flags. πtypeβ portal region type. it's anenum dprc_region_type, literally right there in the synopsis, slay. π₯
not me double-checking that base_address is in the synopsis but doesn't get its own member description β it's listed up there in the struct and that's where it lives, periodt. don't come for me.
π SEE ALSO π
kernel file ./drivers/bus/fsl-mc/fsl-mc-private.h and then the whole friend group:
struct dprc_irq_cfg(9)struct dprc_attributes(9)enum dprc_region_type(9)struct dprc_endpoint(9)struct fsl_mc_resource_pool(9)struct fsl_mc_uapi(9)struct fsl_mc_bus(9)
all of them. go read them. it's giving study group πβ¨
and that's the page!! source is ./drivers/bus/fsl-mc, dated October 2026, and it's all about struct dprc_region_desc(9) β mwah, go map something cute ππ§ββοΈ
π¦ 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