STRUCT FSL_MC_BUS(9)
π 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
- 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