Lines Matching refs:lan_wr
569 lan_wr(BIT(pin), lan966x, PTP_PIN_INTR); in lan966x_ptp_ext_irq_handler()
629 lan_wr((u32)tod_inc & 0xFFFFFFFF, lan966x, in lan966x_ptp_adjfine()
631 lan_wr((u32)(tod_inc >> 32), lan966x, in lan966x_ptp_adjfine()
662 lan_wr(PTP_TOD_SEC_MSB_TOD_SEC_MSB_SET(upper_32_bits(ts->tv_sec)), in lan966x_ptp_settime64()
664 lan_wr(lower_32_bits(ts->tv_sec), in lan966x_ptp_settime64()
666 lan_wr(ts->tv_nsec, lan966x, PTP_TOD_NSEC(TOD_ACC_PIN)); in lan966x_ptp_settime64()
738 lan_wr(PTP_TOD_NSEC_TOD_NSEC_SET(delta), in lan966x_ptp_adjtime()
870 lan_wr(PTP_WF_LOW_PERIOD_PIN_WFL(ts_phase.tv_nsec), in lan966x_ptp_perout()
872 lan_wr(PTP_WF_HIGH_PERIOD_PIN_WFH(wf_high), in lan966x_ptp_perout()
892 lan_wr(PTP_WF_LOW_PERIOD_PIN_WFL(wf_low), in lan966x_ptp_perout()
894 lan_wr(PTP_WF_HIGH_PERIOD_PIN_WFH(wf_high), in lan966x_ptp_perout()
946 lan_wr(val, lan966x, PTP_PIN_INTR_ENA); in lan966x_ptp_extts()
1031 lan_wr(PTP_DOM_CFG_ENA_SET(0), lan966x, PTP_DOM_CFG); in lan966x_ptp_init()
1039 lan_wr((u32)tod_adj & 0xFFFFFFFF, lan966x, in lan966x_ptp_init()
1041 lan_wr((u32)(tod_adj >> 32), lan966x, in lan966x_ptp_init()
1050 lan_wr(PTP_DOM_CFG_ENA_SET(0x7), lan966x, PTP_DOM_CFG); in lan966x_ptp_init()