zl3073x_dpll_ptp_adjfine(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… zl3073x_dpll_ptp_adjfine πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” today's main character is zl3073x_dpll_ptp_adjfine, and honestly? her whole personality is "adjust PTP clock frequency." that's it, that's the vibe. no cap. πŸŽ€


🌸 NAME 🌸

zl3073x_dpll_ptp_adjfine β€” adjust PTP clock frequency. iconic behaviour, lowkey does exactly what it says on the tin 🫢


⭐ SYNOPSIS ⭐

int zl3073x_dpll_ptp_adjfine (struct ptp_clock_info *info , long
scaled_ppm );

the way she takes two args and returns an int… she's giving "i'm a function signature and i know it" 😭


πŸ¦‹ ARGUMENTS πŸ¦‹

  • info β€” the PTP clock info πŸ’– like, the whole identity of the clock bestie, she needs her paperwork
  • scaled_ppm β€” the frequency adjustment, but in scaled ppm, which is ppm * 2^16. yes, scaled. yes, 2^16. don't ask, just trust the math 🧚

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so real talk: this is only supported for NCO. only NCO, bestie, nobody else gets in the club πŸš«πŸ’…

what she actually does? writes the delta frequency offset register. that's the whole task. she writes the register. slay πŸ’…βœ¨


πŸ”₯ RETURN πŸ”₯

  • 0 β€” success! πŸŽ‰ or, plot twist, scaled_ppm is zero, which means it's a no-op. either way she's thriving 🌈
  • -EOPNOTSUPP β€” sad girl hours 😭 the NCO pin is not connected and scaled_ppm is non-zero. no pin, no adjustment, no service πŸ’€
  • negative β€” some other error πŸ™ˆ like, not great, not terrible, definitely not the vibe

> fr fr: if you're getting -EOPNOTSUPP, check that NCO pin connection before you blame the function, she's literally telling you what's wrong 🫢


πŸ’œ SEE ALSO πŸ’œ

your girl over here in the kernel file ./drivers/dpll/zl3073x/dpll.c has a whole squad β€” here's the full friend group, no one left out, periodt:


okay that's the whole page bestie, go forth and adjust those frequencies πŸ’–βœ¨

sign-off szn: this masterpiece lives in ./drivers/dpll/zl3073x, dated October 2026, and it's page zl3073x_dpll_ptp_adjfine(9) of the Kernel API Manual πŸŽ€ bye pookie, drink water, and may all your returns be 0 πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from