Searched refs:wf_high (Results 1 – 3 of 3) sorted by relevance
| /drivers/net/ethernet/mscc/ |
| A D | ocelot_ptp.c | 208 s64 wf_high; in ocelot_ptp_enable() local 265 wf_high = timespec64_to_ns(&ts_on); in ocelot_ptp_enable() 268 wf_high = 1000; in ocelot_ptp_enable() 270 wf_high = timespec64_to_ns(&ts_period); in ocelot_ptp_enable() 271 wf_high = div_s64(wf_high, 2); in ocelot_ptp_enable() 276 wf_low -= wf_high; in ocelot_ptp_enable() 283 ocelot_write_rix(ocelot, wf_high, in ocelot_ptp_enable() 293 if (wf_high > 0x3fffffff || wf_high <= 0x6) in ocelot_ptp_enable() 301 ocelot_write_rix(ocelot, wf_high, PTP_PIN_WF_HIGH_PERIOD, in ocelot_ptp_enable()
|
| /drivers/net/ethernet/microchip/ |
| A D | lan743x_ptp.c | 514 s64 wf_high, period64, half; in lan743x_ptp_perout() local 519 wf_high = timespec64_to_ns(&ts_on); in lan743x_ptp_perout() 530 if (wf_high >= period64) { in lan743x_ptp_perout() 544 if (half == wf_high) { in lan743x_ptp_perout() 556 if (wf_high == 200000000) { in lan743x_ptp_perout() 558 } else if (wf_high == 10000000) { in lan743x_ptp_perout() 560 } else if (wf_high == 1000000) { in lan743x_ptp_perout() 562 } else if (wf_high == 100000) { in lan743x_ptp_perout() 564 } else if (wf_high == 10000) { in lan743x_ptp_perout() 566 } else if (wf_high == 100) { in lan743x_ptp_perout()
|
| /drivers/net/ethernet/microchip/lan966x/ |
| A D | lan966x_ptp.c | 837 s64 wf_high, wf_low; in lan966x_ptp_perout() local 882 wf_high = timespec64_to_ns(&ts_on); in lan966x_ptp_perout() 884 wf_high = 5000; in lan966x_ptp_perout() 891 lan_wr(PTP_WF_HIGH_PERIOD_PIN_WFH(wf_high), in lan966x_ptp_perout() 908 wf_low -= wf_high; in lan966x_ptp_perout() 913 lan_wr(PTP_WF_HIGH_PERIOD_PIN_WFH(wf_high), in lan966x_ptp_perout()
|
Completed in 16 milliseconds