Searched refs:wf_high (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/ |
H A D | ocelot_ptp.c | 192 s64 wf_high; in ocelot_ptp_enable() local 254 wf_high = timespec64_to_ns(&ts_on); in ocelot_ptp_enable() 257 wf_high = 1000; in ocelot_ptp_enable() 259 wf_high = timespec64_to_ns(&ts_period); in ocelot_ptp_enable() 260 wf_high = div_s64(wf_high, 2); in ocelot_ptp_enable() 265 wf_low -= wf_high; in ocelot_ptp_enable() 272 ocelot_write_rix(ocelot, wf_high, in ocelot_ptp_enable() 282 if (wf_high > 0x3fffffff || wf_high < in ocelot_ptp_enable() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/ |
H A D | ocelot_ptp.c | 206 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 < in ocelot_ptp_enable() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_ptp.c | 814 s64 wf_high, wf_low; in lan966x_ptp_perout() local 863 wf_high = timespec64_to_ns(&ts_on); in lan966x_ptp_perout() 865 wf_high = 5000; in lan966x_ptp_perout() 872 lan_wr(PTP_WF_HIGH_PERIOD_PIN_WFH(wf_high), in lan966x_ptp_perout() 889 wf_low -= wf_high; in lan966x_ptp_perout() 894 lan_wr(PTP_WF_HIGH_PERIOD_PIN_WFH(wf_high), in lan966x_ptp_perout()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/ |
H A D | lan743x_ptp.c | 525 s64 wf_high, period64, half; in lan743x_ptp_perout() local 530 wf_high = timespec64_to_ns(&ts_on); in lan743x_ptp_perout() 541 if (wf_high >= period64) { in lan743x_ptp_perout() 555 if (half == wf_high) { in lan743x_ptp_perout() 567 if (wf_high == 200000000) { in lan743x_ptp_perout() 569 } else if (wf_high == 10000000) { in lan743x_ptp_perout() 571 } else if (wf_high == 1000000) { in lan743x_ptp_perout() 573 } else if (wf_high == 100000) { in lan743x_ptp_perout() 575 } else if (wf_high == 10000) { in lan743x_ptp_perout() 577 } else if (wf_high in lan743x_ptp_perout() [all...] |
Completed in 5 milliseconds