set_prescale_div(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… set_prescale_div β€” Kernel API Manual ✨

okay so bestie, welcome to the Kernel API Manual entry for set_prescale_div. This one is short and sweet: it's the function that handles setting up the prescaler divider. No cap, that's the whole vibe of the NAME section. πŸ’–

✨ NAME ✨

set_prescale_div β€” Set up the prescaler divider function. literally what it says, bestie. It's giving "do one job and slay." πŸ’…

🌸 SYNOPSIS 🌸

int set_prescale_div (unsigned long rqst_prescaler , u16 *prescale_div , u16 *tb_clk_div );

So yeah, it takes those three parameters and returns an int. That's the signature, character for character β€” no remixing. 🫢

πŸŽ€ ARGUMENTS πŸŽ€

  • rqst_prescaler β€” prescaler value min. The note literally says "min," bestie, so I'm keeping it exactly like that. minimum vibes only. ✨
  • prescale_div β€” prescaler value set. That's the note, periodt. πŸ’–
  • tb_clk_div β€” Time Base Control prescaler bits. Time Base Control + prescaler bits, iykyk. πŸŽ€
These are the exact argument descriptions from the page, so don't come for me if you wanted extra lore β€” there isn't any here. πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

Peep the kernel file for this one: ./drivers/pwm/pwm-tiehrpwm.c. That's the reference, bestie β€” go read the source if you want the full main character energy. πŸ”₯


mwah πŸ’‹ this little page lives under ./drivers/pwm, dated October 2026, and it's the set_prescale_div(9) manual entry β€” periodt. 🌈

πŸ“¦ where this page comes from