omap4_calc_volt_ramp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ omap4_calc_volt_ramp(9) ✨

okay bestie, welcome to the Kernel API Manual β€” today's main character is omap4_calc_volt_ramp, and she is literally the reason your omap4 doesn't faceplant when the voltage moves. πŸ¦‹


πŸ’– NAME πŸ’–

omap4_calc_volt_ramp β€” calculates voltage ramping delays on omap4

like, that's her whole job. voltage ramping delays. on omap4. slay. πŸ‘‘


🌸 SYNOPSIS 🌸

u32 omap4_calc_volt_ramp (struct voltagedomain *voltdm , u32
voltage_diff );

that's the whole signature, no cap. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • voltdm β€” the channel you're calculating values for. like, which voltage domain are we doing math for, bestie? πŸ’…
  • voltage_diff β€” the voltage difference, measured in microvolts. tiny units, big consequences. ⚑

🧚 DESCRIPTION 🧚

okay so here's the vibe: this function calculates the voltage ramp prescaler + counter values for a voltage difference on omap4. that's it, that's the whole task, and she ate. πŸ”₯

what you get back is a field value that's suitable for writing to the VOLTSETUP register for a channel, and it comes in this exact format:

  • bits[8:9] prescaler
  • bits[0:5] counter

the original even says "..." between them, so yes, there's a gap in the middle, that's just how it is. πŸ™ˆ

for the full lore, see the OMAP4 TRM for reference. iykyk. πŸ“š


πŸ’€ SEE ALSO πŸ’€

all of these are her mutuals, fr fr. go read them next. 🌈


and that's the whole page, bestie! πŸ’œ this lil gift came to you from ./arch/arm/mach-omap2, dated October 2026 β€” iconic source, iconic date, periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from