Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_hwtstamp.c23 writel(data, ioaddr + PTP_TCR); in config_hw_tstamping()
29 u32 value = readl(ioaddr + PTP_TCR); in config_sub_second_increment()
77 val = readl(ioaddr + PTP_TCR); in hwtstamp_correct_latency()
112 value = readl(ioaddr + PTP_TCR); in init_systime()
114 writel(value, ioaddr + PTP_TCR); in init_systime()
117 return readl_poll_timeout_atomic(ioaddr + PTP_TCR, value, in init_systime()
129 value = readl(ioaddr + PTP_TCR); in config_addend()
131 writel(value, ioaddr + PTP_TCR); in config_addend()
136 if (!(readl(ioaddr + PTP_TCR) & PTP_TCR_TSADDREG)) in config_addend()
160 value = readl(ioaddr + PTP_TCR); in adjust_systime()
[all …]
H A Dstmmac_ptp.h19 #define PTP_TCR 0x00 /* Timestamp Control Reg */ macro