mmc_regulator_set_vqmmc(9)
π mmc_regulator_set_vqmmc(9) π
okay bestie, welcome to the Kernel API Manual β¨ this is the page for mmc_regulator_set_vqmmc(9) and we're gonna get you so comfy with it, no cap π«Ά
πΈ NAME πΈ
mmc_regulator_set_vqmmc β set VQMMC as per the ios π literally what it says on the tin
β SYNOPSIS β
int mmc_regulator_set_vqmmc (struct mmc_host *mmc , struct mmc_ios *ios
);
it's giving "two pointers in, one int out" π
π ARGUMENTS π
mmcβ the host to regulate π this is the card host we're out here voltage-matching foriosβ io bus settings π¦ the settings we're reading the vibe (and the volts) from
π₯ DESCRIPTION π₯
okay so for 3.3V signaling, we try to match VQMMC to VMMC as closely as possible. that's on purpose β it matches the behavior of old boards where VQMMC and VMMC were supplied by the same supply π«Ά and the Bus Operating conditions for 3.3V signaling in the SD card spec also define VQMMC in terms of VMMC, so likeβ¦ we're just following the lore π if this is not possible we'll try the full 2.7-3.6V of the spec. slay π
for 1.2V and 1.8V signaling we'll try to get as close as possible to the requested voltage π― this is definitely a good idea for UHS, where there's a separate regulator on the card that's trying to make 1.8V and it's best if we match. like, bestie, matching is the move. periodt β¨
this function is expected to be used by a controller's start_signal_voltage_switch function π main character energy fr fr
π¦ SEE ALSO π¦
Kernel file ./drivers/mmc/core/regulator.c and its whole friend group π:
mmc_ocrbitnum_to_vdd(9)mmc_regulator_get_ocrmask(9)mmc_regulator_set_ocr(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)mmc_regulator_disable_vqmmc(9)
ngl that's the whole page, go forth and regulate ππ§
and that's a wrap, bestie π this lil drop came from ./drivers/mmc/core, dated October 2026 β mwah, 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