Home
last modified time | relevance | path

Searched refs:wf_low (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_ptp.c207 s64 wf_low; in ocelot_ptp_enable() local
278 wf_low = timespec64_to_ns(&ts_period); in ocelot_ptp_enable()
279 wf_low -= wf_high; in ocelot_ptp_enable()
298 if (wf_low > 0x3fffffff || wf_low <= 0x6) in ocelot_ptp_enable()
302 ocelot_write_rix(ocelot, wf_low, PTP_PIN_WF_LOW_PERIOD, in ocelot_ptp_enable()
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ptp.c814 s64 wf_high, wf_low; in lan966x_ptp_perout() local
888 wf_low = timespec64_to_ns(&ts_period); in lan966x_ptp_perout()
889 wf_low -= wf_high; in lan966x_ptp_perout()
892 lan_wr(PTP_WF_LOW_PERIOD_PIN_WFL(wf_low), in lan966x_ptp_perout()