Lines Matching refs:writel
136 writel(FEC_T_TF_MASK, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
145 writel(val, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
160 writel(tempval, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_enable_pps()
192 writel(val, fep->hwp + FEC_TCCR(fep->pps_channel)); in fec_ptp_enable_pps()
200 writel(val, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_enable_pps()
208 writel(val, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
213 writel(fep->next_counter, fep->hwp + FEC_TCCR(fep->pps_channel)); in fec_ptp_enable_pps()
216 writel(0, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
243 writel(tempval, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read()
271 writel(inc << FEC_T_INC_OFFSET, fep->hwp + FEC_ATIME_INC); in fec_ptp_start_cyclecounter()
274 writel(FEC_COUNTER_PERIOD, fep->hwp + FEC_ATIME_EVT_PERIOD); in fec_ptp_start_cyclecounter()
276 writel(FEC_T_CTRL_ENABLE | FEC_T_CTRL_PERIOD_RST, in fec_ptp_start_cyclecounter()
353 writel(tmp, fep->hwp + FEC_ATIME_INC); in fec_ptp_adjfreq()
355 writel(corr_period, fep->hwp + FEC_ATIME_CORR); in fec_ptp_adjfreq()
440 writel(counter, fep->hwp + FEC_ATIME); in fec_ptp_settime()
626 writel(fep->next_counter, fep->hwp + FEC_TCCR(channel)); in fec_ptp_check_pps_event()
628 writel(val, fep->hwp + FEC_TCSR(channel)); in fec_ptp_check_pps_event()