mmc_regulator_get_ocrmask(9)
mmc_regulator_get_ocrmask(9)
okay so this page is from the Kernel API Manual β welcome to the voltage-mask lore, bestie π
β¨ NAME β¨
mmc_regulator_get_ocrmask β return mask of supported voltages π
π SYNOPSIS π
int mmc_regulator_get_ocrmask (struct regulator *supply );
π ARGUMENTS π
supplyβ regulator to use. That's the one, bestie πΈ
π¦ DESCRIPTION π¦
So this function returns either a negative errno or a mask of voltages that can be provided to MMC/SD/SDIO devices using the specified voltage regulator. It's literally giving "which voltages can we feed this thing" energy β¨
This would normally be called before registering the MMC host adapter β like, get the voltage tea sorted first, iykyk π«Ά
π₯ SEE ALSO π₯
The kernel file ./drivers/mmc/core/regulator.c is right there, and these linked besties are iconic:
mmc_ocrbitnum_to_vdd(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)mmc_regulator_disable_vqmmc(9)
xoxo, your kernel bestie π
β source/date check: ./drivers/mmc/core, October 2026, page mmc_regulator_get_ocrmask(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