Lines Matching refs:lan_rd
440 ts->tv_sec = lan_rd(lan966x, PTP_TOD_SEC_LSB(TOD_ACC_PIN)); in lan966x_get_hwtimestamp()
441 curr_nsec = lan_rd(lan966x, PTP_TOD_NSEC(TOD_ACC_PIN)); in lan966x_get_hwtimestamp()
466 val = lan_rd(lan966x, PTP_TWOSTEP_CTRL); in lan966x_ptp_irq_handler()
484 delay = lan_rd(lan966x, PTP_TWOSTEP_STAMP); in lan966x_ptp_irq_handler()
494 val = lan_rd(lan966x, PTP_TWOSTEP_CTRL); in lan966x_ptp_irq_handler()
501 id = lan_rd(lan966x, PTP_TWOSTEP_STAMP); in lan966x_ptp_irq_handler()
549 if (!(lan_rd(lan966x, PTP_PIN_INTR))) in lan966x_ptp_ext_irq_handler()
561 if (!(lan_rd(lan966x, PTP_PIN_INTR) & BIT(pin))) in lan966x_ptp_ext_irq_handler()
572 s = lan_rd(lan966x, PTP_TOD_SEC_MSB(pin)); in lan966x_ptp_ext_irq_handler()
574 s |= lan_rd(lan966x, PTP_TOD_SEC_LSB(pin)); in lan966x_ptp_ext_irq_handler()
575 ns = lan_rd(lan966x, PTP_TOD_NSEC(pin)); in lan966x_ptp_ext_irq_handler()
700 s = lan_rd(lan966x, PTP_TOD_SEC_MSB(TOD_ACC_PIN)); in lan966x_ptp_gettime64()
702 s |= lan_rd(lan966x, PTP_TOD_SEC_LSB(TOD_ACC_PIN)); in lan966x_ptp_gettime64()
703 ns = lan_rd(lan966x, PTP_TOD_NSEC(TOD_ACC_PIN)); in lan966x_ptp_gettime64()
941 val = lan_rd(lan966x, PTP_PIN_INTR_ENA); in lan966x_ptp_extts()