mmc_regulator_disable_vqmmc(9)
β¨ 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 thestruct 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:
mmc_ocrbitnum_to_vdd(9)mmc_regulator_get_ocrmask(9)mmc_regulator_set_ocr(9)mmc_regulator_set_vqmmc(9)mmc_regulator_set_vqmmc2(9)mmc_regulator_register_undervoltage_notifier(9)mmc_regulator_unregister_undervoltage_notifier(9)mmc_regulator_get_supply(9)mmc_regulator_enable_vqmmc(9)
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
- 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