mmc_of_parse_voltage(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ mmc_of_parse_voltage(9) ✨

okay so bestie, welcome to the Kernel API Manual β€” this is the whole vibe on mmc_of_parse_voltage, and honestly? it's giving "small function, big responsibility" πŸ’…


🌸 NAME 🌸

mmc_of_parse_voltage β€” return mask of supported voltages

πŸ¦‹ SYNOPSIS πŸ¦‹

int mmc_of_parse_voltage (struct mmc_host *host , u32 *mask );

πŸŽ€ ARGUMENTS πŸŽ€

  • host β€” the host whose properties should be parsed. yes, that host 🫢
  • mask β€” mask of voltages available for MMC/SD/SDIO ✨

πŸ‘‘ DESCRIPTION πŸ‘‘

So here's the tea β˜• β€” this function parses the "voltage-ranges" property. That's literally its whole main character moment.

And it returns one of three things, no cap:

  1. zero β€” if the property is not found πŸ™ˆ
  2. a negative errno β€” if the voltage-range specification is invalid πŸ’€
  3. one β€” if the voltage-range is specified and successfully parsed πŸŽ‰

like, it ate and left no crumbs. three exits, all accounted for, fr fr.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/mmc/core/host.c β€” and while you're in the neighborhood, go say hi to these icons πŸ‘‘:


okay that's the whole page bestie, go forth and parse those voltage ranges responsibly πŸ§šπŸ’œ

source: ./drivers/mmc/core Β· dated: October 2026 Β· and that's the sign-off, mwah πŸ’‹ slay

πŸ“¦ where this page comes from