STRUCT FSL_MC_BUS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct fsl_mc_bus(9) πŸ’–

okay so this is a page straight out of the Kernel API Manual and bestie, we're talking about struct fsl_mc_bus β€” the logical bus that corresponds to a physical DPRC. that's the whole vibe. a bus, but make it logical, but the DPRC is very physical. slay. πŸ¦‹


✨ NAME ✨

struct fsl_mc_bus β€” the logical bus that corresponds to a physical DPRC. that's it, that's the name, no cap πŸ’…


🌸 SYNOPSIS 🌸

here's the whole struct, character for character, because we do not paraphrase code in this house:

struct fsl_mc_bus {
    struct fsl_mc_device mc_dev;
    struct fsl_mc_resource_pool resource_pools[FSL_MC_NUM_POOL_TYPES];
    struct fsl_mc_device_irq *irq_resources;
    struct mutex scan_mutex;
    struct dprc_attributes dprc_attr;
    struct fsl_mc_uapi uapi_misc;
    int irq_enabled;
 };

look at her. seven members. main character energy, honestly πŸ‘‘


πŸŽ€ Members πŸŽ€

time for the member-by-member breakdown, grab a snack πŸ“

  • mc_dev β€” the fsl-mc device for the bus device itself. she contains herself, iconic.
  • resource_pools β€” an array of resource pools (one pool per resource type) for this MC bus. these resources represent allocatable entities from the physical DPRC. one pool per type, no sharing, no mixing, we keep it organized πŸ’–
  • irq_resources β€” a pointer to an array of IRQ objects for the IRQ pool. pointer. array. IRQ objects. the trifecta ✨
  • scan_mutex β€” serializes bus scanning. one at a time, bestie, form an orderly line 🫢
  • dprc_attr β€” DPRC attributes. short and sweet, the manpage said it, I'm saying it πŸ”₯
  • uapi_misc β€” the struct that abstracts the interaction with userspace. she's the little diplomat between kernel and userspace, we love a bridge 🌈
fun fact: the struct totally declares int irq_enabled; up in the synopsis, but this page doesn't hand it its own description. so I'm not gonna invent one β€” that would be making stuff up and we don't do that here πŸ™ˆ the member is real and present, the blurb just isn't in this page. iykyk πŸ’€

🌟 SEE ALSO 🌟

go read these next, they're the friend group:

  • Kernel file ./drivers/bus/fsl-mc/fsl-mc-private.h β€” the actual header, go touch grass in the source tree 🌱
  • struct dprc_irq_cfg(9)
  • struct dprc_attributes(9)
  • enum dprc_region_type(9)
  • struct dprc_region_desc(9)
  • struct dprc_endpoint(9)
  • struct fsl_mc_resource_pool(9)
  • struct fsl_mc_uapi(9)

and that's the whole page, bestie 🧚 no notes, no cap, fully read πŸ’œ

cute little sign-off time: this one lives in the kernel tree at ./drivers/bus/fsl-mc and the page is dated October 2026. go off, October 2026, we see you ⭐

πŸ“¦ where this page comes from