mmc_regulator_disable_vqmmc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ mmc_regulator_disable_vqmmc(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– β€” this one's called mmc_regulator_disable_vqmmc(9) and it's literally the "turn the VQMMC regulator off for a host" girlie. short page, big vibes, let's go πŸŽ€


🌸 NAME 🌸

mmc_regulator_disable_vqmmc β€” disable VQMMC regulator for a host πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void mmc_regulator_disable_vqmmc (struct mmc_host *mmc );

that's it. that's the whole signature. no return value, no drama, she's void and she knows it 😌


πŸŽ€ ARGUMENTS πŸŽ€

  • mmc β€” the host to regulate 🫢 like, this is the struct mmc_host * you're handing over so the function knows which host's regulator situation we're talking about. main character pointer energy.

πŸ’œ DESCRIPTION πŸ’œ

okay so first things first, and ngl this is a lil iconic: the page says it returns 0 or errno 😭 which is a whole mood given the signature up there is void β€” but that's what the doc says, so I'm telling you what the doc says, periodt. no notes, no corrections, I don't make the rules.

what it actually does: it disables the regulator for vqmmc ✨ that's the whole job, she's a one-task legend.

and the important part β€” the way that it does it: it keeps track of the enable status πŸ‘‘ so that calls to regulator_enable/disable stay balanced. like, it's the friend who remembers who already paid for the iced coffee so nobody double-charges. if you enable and disable willy-nilly you get unbalanced calls, and this little bookkeeping is what prevents that mess. lowkey the most responsible member of the group chat 🧚

no cap β€” the balancing thing is the whole point here. the disable only makes sense in a world where the enable side got counted too.

πŸ“ SEE ALSO πŸ“

kernel file ./drivers/mmc/core/regulator.c πŸ“ and the rest of the regulator crew, all linked up:

literally the whole friend group, go say hi 🫢


🌈 sign-off 🌈

and that's the page!! πŸŽ‰ big thank you to ./drivers/mmc/core for being the source of all this, dated October 2026, and this whole thing is filed under mmc_regulator_disable_vqmmc(9) β€” okay bye bestie, go balance your regulators, mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from