STRUCT DPRC_REGION_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 an enum 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