mips_cdmm_release(9)
π mips_cdmm_release(9) β from the Kernel API Manual, bestie β¨
okay so welcome to the Kernel API Manual, specifically the page for mips_cdmm_release β yes that's the whole title, yes we're gonna get into it π«Ά
β¨ NAME β¨
mips_cdmm_release β bestie, this is the one that releases a removed CDMM device π
like it literally lets it go. no cap.
π¦ SYNOPSIS π¦
void mips_cdmm_release (struct device *dev );
that's it. that's the whole signature. she's short and she knows it β
π ARGUMENTS π
devβ the device object πΈ yep, that's the argument, that's the whole thing, it's giving minimalism
π DESCRIPTION π
so what she actually does: she cleans up the struct mips_cdmm_device for an unused CDMM device π§ like tidying the group chat after everyone's left, lowkey iconic of her.
and here's the part where you don't even have to do anything β this is called automatically by the driver core when a device is removed π so the driver core is the main character here and mips_cdmm_release is just showing up and doing her job. periodt.
π SEE ALSO π
the whole friend group, fr fr π and also the kernel file ./drivers/bus/mips_cdmm.c which is where all of these live:
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)struct mips_cdmm_bus(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_bus_discover(9)BUILD_PERDEV_HELPER(9)mips_cdmm_cpu_down_prep(9)mips_cdmm_cpu_online(9)mips_cdmm_init(9)
go read all of them, i'll wait π (affectionate)
π reminder bestie: mips_cdmm_release is documented for an unused device, and the driver core fires it automatically on removal. nothing extra, nothing invented β that's the vibe check and she passed π
alright that's the page!! big sign-off energy: this one's from ./drivers/bus, dated October 2026, and it's mips_cdmm_release(9) all the way down πβ¨ love u, bye π
π¦ 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