regulator_ma...ltage_linear(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… regulator_ma...ltage_linear(9) β€” from the Kernel API Manual, bestie ✨

okay so first of all, the title got chopped in half by the terminal, it's literally regulator_ma...ltage_linear(9) and yes it lives in the Kernel API Manual, section 9, kernel-space girlies only, no cap πŸŽ€


✨ NAME ✨

regulator_map_voltage_linear β€” it's the map_voltage() for simple linear mappings, and honestly? she's the low-effort icon we stan 🫢


🌸 SYNOPSIS 🌸

int regulator_map_voltage_linear (struct regulator_dev *rdev , int
min_uV , int max_uV );

the line break is doing its own thing, don't come for her, just copy it exactly fr fr πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • rdev β€” the regulator you're operating on, the main character of this whole function πŸ’–
  • min_uV β€” the lower bound for voltage, the floor, the "at least this much, babe" ✨
  • max_uV β€” the upper bound for voltage, the ceiling, the "okay that's enough" 🌸

πŸ”₯ DESCRIPTION πŸ”₯

so here's the tea β˜• β€” if your driver is out here providing min_uV and uV_step in its regulator_desc, you can just use this bad boy as your map_voltage operation. that's it. that's the whole vibe. simple, linear, iconic, periodt πŸ‘‘

no weird math, no drama, just a straight line from point A to point B. it's giving "graph in 8th grade algebra but make it kernel" πŸ“ˆπŸ’œ


πŸ’€ SEE ALSO πŸ’€

the whole friend group, in order, no one gets left out 🫢


aaaand that's the page, bestie πŸ’œ this whole thing came out of ./drivers/regulator, dated October 2026 β€” like, future girlie hours fr fr β€” and yeah the header and footer both say regulator_ma...ltage_linear(9) because consistency is also a slay βœ¨πŸ¦‹ mwah, go map some voltages πŸŽ€

πŸ“¦ where this page comes from