Searched refs:PTP_TCR (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | stmmac_hwtstamp.c | 31 u32 regval = readl(ioaddr + PTP_TCR); in config_hw_tstamping() 36 writel(regval, ioaddr + PTP_TCR); in config_hw_tstamping() 42 u32 value = readl(ioaddr + PTP_TCR); in config_sub_second_increment() 90 val = readl(ioaddr + PTP_TCR); in hwtstamp_correct_latency() 125 value = readl(ioaddr + PTP_TCR); in init_systime() 127 writel(value, ioaddr + PTP_TCR); in init_systime() 130 return readl_poll_timeout_atomic(ioaddr + PTP_TCR, value, in init_systime() 141 value = readl(ioaddr + PTP_TCR); in config_addend() 143 writel(value, ioaddr + PTP_TCR); in config_addend() 146 return readl_poll_timeout_atomic(ioaddr + PTP_TCR, value, in config_addend() [all …]
|
| H A D | stmmac_ptp.h | 19 #define PTP_TCR 0x00 /* Timestamp Control Reg */ macro
|
| H A D | dwmac1000_core.c | 577 tcr_val = readl(ptpaddr + PTP_TCR); in dwmac1000_ptp_enable() 590 writel(tcr_val, ptpaddr + PTP_TCR); in dwmac1000_ptp_enable() 593 ret = readl_poll_timeout(ptpaddr + PTP_TCR, tcr_val, in dwmac1000_ptp_enable()
|