stmmac_adjust_freq(9)
okay bestie, you found the stmmac_adjust_freq(9) page, and yes, it lives in the Kernel API Manual. we're about to make hardware-clock frequency adjustment make sense, and we're keeping every tiny detail intact. no cap. π
π NAME π
stmmac_adjust_freq -
that's it. that's the name line. the description side of the dash is literally empty on this page, so we're not inventing lore. iconic mystery, honestly. π
β¨ SYNOPSIS β¨
int stmmac_adjust_freq (struct ptp_clock_info *ptp , long scaled_ppm );
π«Ά ARGUMENTS π«Ά
ptpβ pointer toptp_clock_infostructure. yes bestie, it's a pointer, and it points at that struct. π¦scaled_ppmβ desired period change in scaled parts per million. that's the number you're handing over for the frequency adjustment. π
πΈ DESCRIPTION πΈ
this function will adjust the frequency of hardware clock. periodt. that's the whole mission. π₯
scaled parts per million is ppm with a 16-bit binary fractional field. so when you see scaled ppm, picture ppm with a cute lil 16-bit binary fractional field attached. iykyk. β¨
lowkey important: "scaled parts per million" is not just regular ppm in this page's lore β it's ppm with a 16-bit binary fractional field. keep that in your notes app. π
π¦ SEE ALSO π¦
- the kernel file
./drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.cβ go read the source, bestie. π stmmac_adjust_time(9)stmmac_get_time(9)stmmac_set_time(9)stmmac_get_syncdevicetime(9)stmmac_ptp_register(9)stmmac_ptp_unregister(9)
mwah π this page's source/version is ./drivers/net/ethernet/stmicro... and it's dated October 2026; the manual page is stmmac_adjust_freq(9). slay, you made it to the end. π
π¦ 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