Lines Matching refs:ext_read
226 static int ext_read(struct phy_device *phydev, int page, u32 regnum) in ext_read() function
440 val[0] = ext_read(phydev, PAGE4, PTP_TDR); /* ns[15:0] */ in ptp_dp83640_gettime()
441 val[1] = ext_read(phydev, PAGE4, PTP_TDR); /* ns[31:16] */ in ptp_dp83640_gettime()
442 val[2] = ext_read(phydev, PAGE4, PTP_TDR); /* sec[15:0] */ in ptp_dp83640_gettime()
443 val[3] = ext_read(phydev, PAGE4, PTP_TDR); /* sec[31:16] */ in ptp_dp83640_gettime()
654 tmp->cfg0 = ext_read(tmp->phydev, PAGE5, PSF_CFG0); in recalibrate()
659 cfg0 = ext_read(master, PAGE5, PSF_CFG0); in recalibrate()
702 val = ext_read(master, PAGE4, PTP_STS); in recalibrate()
704 val = ext_read(master, PAGE4, PTP_ESTS); in recalibrate()
706 event_ts.ns_lo = ext_read(master, PAGE4, PTP_EDATA); in recalibrate()
707 event_ts.ns_hi = ext_read(master, PAGE4, PTP_EDATA); in recalibrate()
708 event_ts.sec_lo = ext_read(master, PAGE4, PTP_EDATA); in recalibrate()
709 event_ts.sec_hi = ext_read(master, PAGE4, PTP_EDATA); in recalibrate()
714 val = ext_read(tmp->phydev, PAGE4, PTP_STS); in recalibrate()
716 val = ext_read(tmp->phydev, PAGE4, PTP_ESTS); in recalibrate()
718 event_ts.ns_lo = ext_read(tmp->phydev, PAGE4, PTP_EDATA); in recalibrate()
719 event_ts.ns_hi = ext_read(tmp->phydev, PAGE4, PTP_EDATA); in recalibrate()
720 event_ts.sec_lo = ext_read(tmp->phydev, PAGE4, PTP_EDATA); in recalibrate()
721 event_ts.sec_hi = ext_read(tmp->phydev, PAGE4, PTP_EDATA); in recalibrate()