stmmac_adjust_time(9)
π stmmac_adjust_time(9) β from the Kernel API Manual, bestie
okay so welcome to the manual page for stmmac_adjust_time, straight out of the Kernel API Manual. yes we're in kernel-land. yes it's hot. let's get into it π«Ά
πΈ NAME
stmmac_adjust_time β (the original literally just leaves this blank, which is SO mysterious of it, honestly iconic π the description is in DESCRIPTION, keep scrolling)
β¨ SYNOPSIS
int stmmac_adjust_time (struct ptp_clock_info *ptp , s64 delta );
like, that's the whole signature. short king energy π
π ARGUMENTS
ptpβ a pointer to theptp_clock_infostructure. that's your clock-info situation right there β¨deltaβ the desired change, in nanoseconds. how much do we want to shift by? that much. exactly that many nanoseconds π°οΈ
π¦ DESCRIPTION
this function will shift/adjust the hardware clock time. that's it, that's the whole vibe β it nudges the hardware clock in time by the amount you asked for π«
π SEE ALSO
bestie the cross-references are giving a whole friend group, look at them all:
- the kernel file
./drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.cπ₯ stmmac_adjust_freq(9)stmmac_get_time(9)stmmac_set_time(9)stmmac_get_syncdevicetime(9)stmmac_ptp_register(9)stmmac_ptp_unregister(9)
ngl if you're messing with the hardware clock, go read the whole little family above. they're all in ./drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c together, main character energy fr fr π
and that's the page!! sourced from ./drivers/net/ethernet/stmicro/... (the kernel tree path up there β¬οΈ), dated October 2026, and the whole thing is filed under stmmac_adjust_time(9). mwah, study it, slay, 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