Lines Matching refs:writel
137 writel(FEC_T_TF_MASK, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
146 writel(val, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
161 writel(tempval, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_enable_pps()
194 writel(val, fep->hwp + FEC_TCCR(fep->pps_channel)); in fec_ptp_enable_pps()
202 writel(val, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_enable_pps()
210 writel(val, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
215 writel(fep->next_counter, fep->hwp + FEC_TCCR(fep->pps_channel)); in fec_ptp_enable_pps()
218 writel(0, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
245 writel(tempval, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read()
273 writel(inc << FEC_T_INC_OFFSET, fep->hwp + FEC_ATIME_INC); in fec_ptp_start_cyclecounter()
276 writel(FEC_COUNTER_PERIOD, fep->hwp + FEC_ATIME_EVT_PERIOD); in fec_ptp_start_cyclecounter()
278 writel(FEC_T_CTRL_ENABLE | FEC_T_CTRL_PERIOD_RST, in fec_ptp_start_cyclecounter()
355 writel(tmp, fep->hwp + FEC_ATIME_INC); in fec_ptp_adjfreq()
356 writel(corr_period, fep->hwp + FEC_ATIME_CORR); in fec_ptp_adjfreq()
441 writel(counter, fep->hwp + FEC_ATIME); in fec_ptp_settime()
623 writel(fep->next_counter, fep->hwp + FEC_TCCR(channel)); in fec_ptp_check_pps_event()
625 writel(val, fep->hwp + FEC_TCSR(channel)); in fec_ptp_check_pps_event()