STRUCT MMC_SLOT(9)
π NAME π
struct mmc_slot β MMC slot functions. That's the whole vibe, bestie: it's the struct situation for MMC slot functions. π
β¨ SYNOPSIS β¨
struct mmc_slot {
int cd_irq;
bool cd_wake_enabled;
void *handler_priv;
};
π Members π
cd_irqβ the MMC/SD-card slot hotplug detection IRQ, or-EINVAL. That's the member, no cap. β‘cd_wake_enabledβ it's in the struct as abool; this page doesn't give it its own separate description, so we are not inventing extra lore, periodt. π«Άhandler_privβ the MMC/SD-card slot context. Your little context stash. π
π¦ Description π¦
Okay so picture this: some MMC/SD host controllers implement slot-functions like card and write-protect detection natively. Iconic of them, honestly. π But a large number of controllers leave these functions to the CPU β and that's where this struct comes in. It provides a hook to attach such slot-function drivers. That's the whole point, fr fr. β¨
π₯ SEE ALSO π₯
- Kernel file
./include/linux/mmc/host.hβ go read it, iykyk. π
mwah π β source/version ./include/linux/mmc, dated October 2026, and we're talking about struct mmc_slot(9). π
π¦ 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