Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_hwtstamp.c20 writel(data, ioaddr + PTP_TCR); in config_hw_tstamping()
26 u32 value = readl(ioaddr + PTP_TCR); in config_sub_second_increment()
66 value = readl(ioaddr + PTP_TCR); in init_systime()
68 writel(value, ioaddr + PTP_TCR); in init_systime()
71 return readl_poll_timeout(ioaddr + PTP_TCR, value, in init_systime()
83 value = readl(ioaddr + PTP_TCR); in config_addend()
85 writel(value, ioaddr + PTP_TCR); in config_addend()
90 if (!(readl(ioaddr + PTP_TCR) & PTP_TCR_TSADDREG)) in config_addend()
114 value = readl(ioaddr + PTP_TCR); in adjust_systime()
126 value = readl(ioaddr + PTP_TCR); in adjust_systime()
[all …]
Dstmmac_ptp.h19 #define PTP_TCR 0x00 /* Timestamp Control Reg */ macro