Searched refs:FEC_TCSR (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/freescale/
H A Dfec_ptp.c91 #define FEC_TCSR(n) (0x608 + n * 0x08) macro
137 writel(FEC_T_TF_MASK, fep->hwp + FEC_TCSR(fep->pps_channel)); fec_ptp_enable_pps()
143 val = readl(fep->hwp + FEC_TCSR(fep->pps_channel)); fec_ptp_enable_pps()
146 writel(val, fep->hwp + FEC_TCSR(fep->pps_channel)); fec_ptp_enable_pps()
147 val = readl(fep->hwp + FEC_TCSR(fep->pps_channel)); fec_ptp_enable_pps()
205 val = readl(fep->hwp + FEC_TCSR(fep->pps_channel)); fec_ptp_enable_pps()
210 writel(val, fep->hwp + FEC_TCSR(fep->pps_channel)); fec_ptp_enable_pps()
218 writel(0, fep->hwp + FEC_TCSR(fep->pps_channel)); fec_ptp_enable_pps()
618 val = readl(fep->hwp + FEC_TCSR(channel)); fec_ptp_check_pps_event()
625 writel(val, fep->hwp + FEC_TCSR(channel)); fec_ptp_check_pps_event()
626 } while (readl(fep->hwp + FEC_TCSR(channel)) & FEC_T_TF_MASK); fec_ptp_check_pps_event()

Completed in 85 milliseconds