Lines Matching refs:lan_wr
354 lan_wr(BIT(pin), lan966x, PTP_PIN_INTR); in lan966x_ptp_ext_irq_handler()
414 lan_wr((u32)tod_inc & 0xFFFFFFFF, lan966x, in lan966x_ptp_adjfine()
416 lan_wr((u32)(tod_inc >> 32), lan966x, in lan966x_ptp_adjfine()
447 lan_wr(PTP_TOD_SEC_MSB_TOD_SEC_MSB_SET(upper_32_bits(ts->tv_sec)), in lan966x_ptp_settime64()
449 lan_wr(lower_32_bits(ts->tv_sec), in lan966x_ptp_settime64()
451 lan_wr(ts->tv_nsec, lan966x, PTP_TOD_NSEC(TOD_ACC_PIN)); in lan966x_ptp_settime64()
523 lan_wr(PTP_TOD_NSEC_TOD_NSEC_SET(delta), in lan966x_ptp_adjtime()
655 lan_wr(PTP_WF_LOW_PERIOD_PIN_WFL(ts_phase.tv_nsec), in lan966x_ptp_perout()
657 lan_wr(PTP_WF_HIGH_PERIOD_PIN_WFH(wf_high), in lan966x_ptp_perout()
677 lan_wr(PTP_WF_LOW_PERIOD_PIN_WFL(wf_low), in lan966x_ptp_perout()
679 lan_wr(PTP_WF_HIGH_PERIOD_PIN_WFH(wf_high), in lan966x_ptp_perout()
731 lan_wr(val, lan966x, PTP_PIN_INTR_ENA); in lan966x_ptp_extts()
819 lan_wr(PTP_DOM_CFG_ENA_SET(0), lan966x, PTP_DOM_CFG); in lan966x_ptp_init()
827 lan_wr((u32)tod_adj & 0xFFFFFFFF, lan966x, in lan966x_ptp_init()
829 lan_wr((u32)(tod_adj >> 32), lan966x, in lan966x_ptp_init()
838 lan_wr(PTP_DOM_CFG_ENA_SET(0x7), lan966x, PTP_DOM_CFG); in lan966x_ptp_init()