Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dptp.c55 #define PTP_CLOCK_SEC 0xFD0ULL macro
158 sec = readq(ptp->reg_base + PTP_CLOCK_SEC) & 0xFFFFFFFFUL; in read_ptp_tstmp_sec_nsec()
160 sec1 = readq(ptp->reg_base + PTP_CLOCK_SEC) & 0xFFFFFFFFUL; in read_ptp_tstmp_sec_nsec()
/openbmc/linux/drivers/net/ethernet/microchip/
H A Dlan743x_ptp.c1208 (*seconds) = lan743x_csr_read(adapter, PTP_CLOCK_SEC); in lan743x_ptp_clock_get()
1694 lan743x_csr_write(adapter, PTP_CLOCK_SEC, seconds); in lan743x_ptp_clock_set()
H A Dlan743x_main.h525 #define PTP_CLOCK_SEC (0x0A14) macro