Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_hwtstamp.c29 writel(data, ioaddr + PTP_TCR); in config_hw_tstamping()
35 u32 value = readl(ioaddr + PTP_TCR); in config_sub_second_increment()
72 value = readl(ioaddr + PTP_TCR); in init_systime()
74 writel(value, ioaddr + PTP_TCR); in init_systime()
79 if (!(readl(ioaddr + PTP_TCR) & PTP_TCR_TSINIT)) in init_systime()
96 value = readl(ioaddr + PTP_TCR); in config_addend()
98 writel(value, ioaddr + PTP_TCR); in config_addend()
103 if (!(readl(ioaddr + PTP_TCR) & PTP_TCR_TSADDREG)) in config_addend()
127 value = readl(ioaddr + PTP_TCR); in adjust_systime()
139 value = readl(ioaddr + PTP_TCR); in adjust_systime()
[all …]
Dstmmac_ptp.h29 #define PTP_TCR 0x00 /* Timestamp Control Reg */ macro