regulator_list_voltage(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– regulator_list_voltage(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” this is the page for regulator_list_voltage(9), and it's literally all about enumerating supported voltages ✨


🌸 NAME 🌸

regulator_list_voltage β€” enumerate supported voltages πŸ’…


✨ SYNOPSIS ✨

the whole signature, untouched:

int regulator_list_voltage (struct regulator *regulator , unsigned
       selector );

πŸŽ€ ARGUMENTS πŸŽ€

  • regulator β€” regulator source πŸ’– the regulator source you're asking about, bestie.
  • selector β€” identify voltage to list πŸ¦‹ the selector that says which voltage we're listing.

🧚 CONTEXT 🧚

can sleep 😴 β€” yeah, this one can sleep, no cap.


πŸ”₯ RETURN πŸ”₯

it's giving three possible moods:

  • the voltage for the selector, and that value can be passed to regulator_set_voltage ⚑
  • 0 if the selector can't be used on this system πŸ™ˆ
  • a negative error number on failure 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/regulator/core.c, plus the whole bestie squad:


πŸ’Œ that's the page, bestie β€” source/version ./drivers/regulator, dated October 2026, all for regulator_list_voltage(9). byeee 🫢

πŸ“¦ where this page comes from