Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/microchip/
H A Dlan743x_ptp.c702 u32 pulse_sec, pulse_nsec; in lan743x_ptp_io_perout() local
739 pulse_nsec = perout_request->on.nsec % 1000000000; in lan743x_ptp_io_perout()
743 pulse_nsec = perout_request->period.nsec % 1000000000; in lan743x_ptp_io_perout()
747 if (pulse_nsec >= 400000000) { in lan743x_ptp_io_perout()
749 } else if (pulse_nsec >= 200000000) { in lan743x_ptp_io_perout()
751 } else if (pulse_nsec >= 100000000) { in lan743x_ptp_io_perout()
753 } else if (pulse_nsec >= 20000000) { in lan743x_ptp_io_perout()
755 } else if (pulse_nsec >= 10000000) { in lan743x_ptp_io_perout()
757 } else if (pulse_nsec >= 2000000) { in lan743x_ptp_io_perout()
759 } else if (pulse_nsec >= 1000000) { in lan743x_ptp_io_perout()
[all …]