Lines Matching refs:lan_rd
225 ts->tv_sec = lan_rd(lan966x, PTP_TOD_SEC_LSB(TOD_ACC_PIN)); in lan966x_get_hwtimestamp()
226 curr_nsec = lan_rd(lan966x, PTP_TOD_NSEC(TOD_ACC_PIN)); in lan966x_get_hwtimestamp()
251 val = lan_rd(lan966x, PTP_TWOSTEP_CTRL); in lan966x_ptp_irq_handler()
269 delay = lan_rd(lan966x, PTP_TWOSTEP_STAMP); in lan966x_ptp_irq_handler()
279 val = lan_rd(lan966x, PTP_TWOSTEP_CTRL); in lan966x_ptp_irq_handler()
286 id = lan_rd(lan966x, PTP_TWOSTEP_STAMP); in lan966x_ptp_irq_handler()
334 if (!(lan_rd(lan966x, PTP_PIN_INTR))) in lan966x_ptp_ext_irq_handler()
346 if (!(lan_rd(lan966x, PTP_PIN_INTR) & BIT(pin))) in lan966x_ptp_ext_irq_handler()
357 s = lan_rd(lan966x, PTP_TOD_SEC_MSB(pin)); in lan966x_ptp_ext_irq_handler()
359 s |= lan_rd(lan966x, PTP_TOD_SEC_LSB(pin)); in lan966x_ptp_ext_irq_handler()
360 ns = lan_rd(lan966x, PTP_TOD_NSEC(pin)); in lan966x_ptp_ext_irq_handler()
486 s = lan_rd(lan966x, PTP_TOD_SEC_MSB(TOD_ACC_PIN)); in lan966x_ptp_gettime64()
488 s |= lan_rd(lan966x, PTP_TOD_SEC_LSB(TOD_ACC_PIN)); in lan966x_ptp_gettime64()
489 ns = lan_rd(lan966x, PTP_TOD_NSEC(TOD_ACC_PIN)); in lan966x_ptp_gettime64()
727 val = lan_rd(lan966x, PTP_PIN_INTR_ENA); in lan966x_ptp_extts()