set_prescale_div(9)
π
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms