zl3073x_dpll_ptp_adjphase(9)
π zl3073x_dpll_ptp_adjphase(9)
okay bestie, welcome to the Kernel API Manual β¨ β this is the page for zl3073x_dpll_ptp_adjphase, and honestly it's a lil cutie. one function, one job: nudge the phase of your PTP clock. that's it. that's the whole vibe. π
πΈ NAME
zl3073x_dpll_ptp_adjphase β adjust PTP clock phase π¦
like, literally just adjusting the PTP clock phase. no cap.
β SYNOPSIS
int zl3073x_dpll_ptp_adjphase (struct ptp_clock_info *info , s32 delta
);
she takes two things and returns an int, periodt.
π ARGUMENTS
infoβ the PTP clock info π«Ά your main character struct, fr.deltaβ the phase adjustment, measured in nanoseconds β±οΈ like, how much you wanna shift things.
π DESCRIPTION
okay so here's the tea: this is only supported in AUTO and REFLOCK modes π anywhere else and she's simply not doing it.
and the way she does it? she uses a TIE write to get you nanosecond-resolution phase adjustment β¨ like, precise. iconic. no notes.
π₯ RETURN
the return values, bestie, let's go:
0β success π ordeltais zero, which is a whole no-op, she literally did nothing and that's fine.-EOPNOTSUPPβ the mode doesn't support TIE anddeltais non-zero π can't help you here.- negative β some other error π not great, not terrible, just negative.
ngl, if you're getting that -EOPNOTSUPP bestie, check your mode first. it's giving "wrong mode" energy. π
π§ SEE ALSO
the whole friend group π«Ά go say hi:
Kernel file ./drivers/dpll/zl3073x/dpll.c struct zl3073x_dpll_pin(9), zl3073x_dpll_is_input_pin(9), zl3073x_dpll_is_nco_pin(9), zl3073x_dpll_is_p_pin(9), zl3073x_dpll_connected_ref_get(9), zl3073x_dpll_ref_operstate_get(9), zl3073x_dpll_pin_alloc(9), zl3073x_dpll_pin_free(9), zl3073x_dpll_pin_register(9), zl3073x_dpll_pin_unregister(9), zl3073x_dpll_pins_unregister(9), zl3073x_dpll_pin_is_registrable(9), zl3073x_dpll_pins_register(9), zl3073x_dpll_device_register(9), zl3073x_dpll_device_unregister(9), zl3073x_dpll_pin_phase_offset_check(9), zl3073x_dpll_pin_ffo_check(9), zl3073x_dpll_pin_measured_freq_check(9), zl3073x_dpll_changes_check(9), zl3073x_dpll_init_fine_phase_adjust(9), zl3073x_dpll_ptp_gettimex64(9), zl3073x_dpll_ptp_settime64(9), zl3073x_dpll_ptp_adjtime_phase_step(9), zl3073x_dpll_ptp_adjtime(9), zl3073x_dpll_ptp_adjfine(9), zl3073x_dpll_ptp_register(9), zl3073x_dpll_ptp_unregister(9), zl3073x_dpll_ref_sync_pair_register(9), zl3073x_dpll_ref_sync_pairs_register(9), zl3073x_dpll_alloc(9), zl3073x_dpll_free(9), zl3073x_dpll_register(9), zl3073x_dpll_unregister(9)
and that's the page!! π this one lives over in ./drivers/dpll/zl3073x, dated October 2026 β shoutout to the source and the version, mwah ππ
slay, go adjust some phase, bestie. π
π¦ 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