Home
last modified time | relevance | path

Searched refs:wf_high (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_ptp.c206 s64 wf_high; in ocelot_ptp_enable() local
268 wf_high = timespec64_to_ns(&ts_on); in ocelot_ptp_enable()
271 wf_high = 1000; in ocelot_ptp_enable()
273 wf_high = timespec64_to_ns(&ts_period); in ocelot_ptp_enable()
274 wf_high = div_s64(wf_high, 2); in ocelot_ptp_enable()
279 wf_low -= wf_high; in ocelot_ptp_enable()
286 ocelot_write_rix(ocelot, wf_high, in ocelot_ptp_enable()
296 if (wf_high > 0x3fffffff || wf_high <= 0x6) in ocelot_ptp_enable()
304 ocelot_write_rix(ocelot, wf_high, PTP_PIN_WF_HIGH_PERIOD, in ocelot_ptp_enable()
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
Dlan966x_ptp.c599 s64 wf_high, wf_low; in lan966x_ptp_perout() local
648 wf_high = timespec64_to_ns(&ts_on); in lan966x_ptp_perout()
650 wf_high = 5000; in lan966x_ptp_perout()
657 lan_wr(PTP_WF_HIGH_PERIOD_PIN_WFH(wf_high), in lan966x_ptp_perout()
674 wf_low -= wf_high; in lan966x_ptp_perout()
679 lan_wr(PTP_WF_HIGH_PERIOD_PIN_WFH(wf_high), in lan966x_ptp_perout()
/linux-6.1.9/drivers/net/ethernet/microchip/
Dlan743x_ptp.c566 s64 wf_high, period64, half; in lan743x_ptp_perout() local
571 wf_high = timespec64_to_ns(&ts_on); in lan743x_ptp_perout()
582 if (wf_high >= period64) { in lan743x_ptp_perout()
596 if (half == wf_high) { in lan743x_ptp_perout()
608 if (wf_high == 200000000) { in lan743x_ptp_perout()
610 } else if (wf_high == 10000000) { in lan743x_ptp_perout()
612 } else if (wf_high == 1000000) { in lan743x_ptp_perout()
614 } else if (wf_high == 100000) { in lan743x_ptp_perout()
616 } else if (wf_high == 10000) { in lan743x_ptp_perout()
618 } else if (wf_high == 100) { in lan743x_ptp_perout()