Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mscc/
A Docelot_ptp.c194 s64 wf_high; in ocelot_ptp_enable() local
256 wf_high = timespec64_to_ns(&ts_on); in ocelot_ptp_enable()
259 wf_high = 1000; in ocelot_ptp_enable()
261 wf_high = timespec64_to_ns(&ts_period); in ocelot_ptp_enable()
262 wf_high = div_s64(wf_high, 2); in ocelot_ptp_enable()
267 wf_low -= wf_high; in ocelot_ptp_enable()
274 ocelot_write_rix(ocelot, wf_high, in ocelot_ptp_enable()
284 if (wf_high > 0x3fffffff || wf_high <= 0x6) in ocelot_ptp_enable()
292 ocelot_write_rix(ocelot, wf_high, PTP_PIN_WF_HIGH_PERIOD, in ocelot_ptp_enable()
/linux/drivers/net/ethernet/microchip/
A Dlan743x_ptp.c548 s64 wf_high, period64, half; in lan743x_ptp_perout() local
553 wf_high = timespec64_to_ns(&ts_on); in lan743x_ptp_perout()
564 if (wf_high >= period64) { in lan743x_ptp_perout()
578 if (half == wf_high) { in lan743x_ptp_perout()
590 if (wf_high == 200000000) { in lan743x_ptp_perout()
592 } else if (wf_high == 10000000) { in lan743x_ptp_perout()
594 } else if (wf_high == 1000000) { in lan743x_ptp_perout()
596 } else if (wf_high == 100000) { in lan743x_ptp_perout()
598 } else if (wf_high == 10000) { in lan743x_ptp_perout()
600 } else if (wf_high == 100) { in lan743x_ptp_perout()

Completed in 6 milliseconds