ENUM DPRC_REGION_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ enum dprc_region_type β€” Kernel API Manual, bestie edition ✨

Okay so picture this: we're deep in the Linux kernel, waaay down in the fsl-mc bus code, and there's this little enum called dprc_region_type. That's literally it β€” it's the region type. It tells you what kind of region you're looking at. Iconic, low-key, does exactly what it says on the tin πŸ’…


πŸŽ€ NAME πŸŽ€

enum dprc_region_type β€” region type. That's the whole vibe, no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

enum dprc_region_type {
    DPRC_REGION_TYPE_MC_PORTAL ,
    DPRC_REGION_TYPE_QBMAN_PORTAL ,
    DPRC_REGION_TYPE_QBMAN_MEM_BACKED_PORTAL

};

Yes bestie, those trailing commas and that blank line before the closing brace are exactly how it's written. Copy it character for character, we don't freestyle here 🫢


🌸 Constants 🌸

  • DPRC_REGION_TYPE_MC_PORTAL β€” an MC portal region. That's the one.
  • DPRC_REGION_TYPE_QBMAN_PORTAL β€” a Qbman portal region. Also a real one.
  • DPRC_REGION_TYPE_QBMAN_MEM_BACKED_PORTAL β€” okay so ngl, the original docs literally say -- undescribed -- for this one 😭 so that's all we've got. It's giving "mystery main character energy" ✨ I'm not gonna make stuff up about it, that would be a whole lie.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/bus/fsl-mc/fsl-mc-private.h, plus these absolute legends:

  • struct dprc_irq_cfg(9)
  • struct dprc_attributes(9)
  • struct dprc_region_desc(9)
  • struct dprc_endpoint(9)
  • struct fsl_mc_resource_pool(9)
  • struct fsl_mc_uapi(9)
  • struct fsl_mc_bus(9)

Go read them, they're cute, iykyk πŸ’–


Reminder bestie: this page is literally just an enum and its three constants. No options, no exit statuses, no environment variables β€” if you were bracing for a 40-flag wall of text, breathe, you're safe 🌈

That's the whole page, periodt. Shoutout to the ./drivers/bus/fsl-mc directory for hosting this little gem, dated October 2026, from the Kernel API Manual β€” bye bestie, go read a struct next πŸ’œπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from