Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mscc/
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()