STRUCT MIPS_CDMM_BUS(9)
π struct mips_cdmm_bus(9) β like, the Kernel API Manual page, bestie
okay so picture this: it's a page from the Kernel API Manual, and the star of the show is struct mips_cdmm_bus β literally just a little info packet about the CDMM bus. that's it. that's the whole vibe. no cap.
β¨ NAME β¨
struct mips_cdmm_bus β the info-about-the-CDMM-bus struct. she's a data holder, she's iconic, she's not doing anything dramatic, she just knows things. π
πΈ SYNOPSIS πΈ
here's the whole glow-up, verbatim, don't touch her:
struct mips_cdmm_bus {
phys_addr_t phys;
void __iomem *regs;
unsigned int drbs;
unsigned int drbs_reserved;
bool discovered;
bool offline;
};
π¦ Members π¦
okay so let's meet the cast, one member at a time, because they each have main character energy in their own way:
physβ aphys_addr_t, and it's the physical address where the thing is mapped. like, its actual real-world home address. π‘regsβ avoid __iomem *, the virtual address where the registers can be accessed. this is the door you knock on to talk to the hardware, iykyk.drbsβ anunsigned int, the total number of DRBs. all of them. the whole squad. π₯drbs_reservedβ also anunsigned int, and it's the number of DRBs that are reserved. so like, the ones already spoken for. not available. taken. πdiscoveredβ aboolthat tells you whether the devices on the bus have been discovered yet. have we found them? yes or no. mystery status: pending or solved. πofflineβ abool, and this one's a little dramatic ngl. it tells you whether the CDMM bus is going offline (or very early coming back online), and in that case it should be reconfigured each time. so basically: whenofflineis doing its thing, expect reconfiguration every single time. no shortcuts. π«Ά
π SEE ALSO π
the lore expands, bestie. go read the Kernel file ./drivers/bus/mips_cdmm.c, plus all of these beautiful related pages:
struct mips_cdmm_work_dev(9)mips_cdmm_void_work(9)mips_cdmm_int_work(9)BUILD_PERCPU_HELPER(9)mips_cdmm_driver_register(9)mips_cdmm_driver_unregister(9)mips_cdmm_get_bus(9)mips_cdmm_cur_base(9)mips_cdmm_phys_base(9)mips_cdmm_setup(9)mips_cdmm_early_probe(9)mips_cdmm_release(9)mips_cdmm_bus_discover(9)BUILD_PERDEV_HELPER(9)mips_cdmm_cpu_down_prep(9)mips_cdmm_cpu_online(9)mips_cdmm_init(9)
π and that's the whole page, bestie. go forth and configure. periodt.
okay and finally, the cute little sign-off β this page lives under ./drivers/bus, it's dated October 2026, and the manual name is struct mips_cdmm_bus(9). slay. π
β¨π
π¦ 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