Lines Matching refs:PAGE4

260 	ext_write(bc, dev, PAGE4, PTP_TDR, ts->tv_nsec & 0xffff);/* ns[15:0]  */  in tdr_write()
261 ext_write(bc, dev, PAGE4, PTP_TDR, ts->tv_nsec >> 16); /* ns[31:16] */ in tdr_write()
262 ext_write(bc, dev, PAGE4, PTP_TDR, ts->tv_sec & 0xffff); /* sec[15:0] */ in tdr_write()
263 ext_write(bc, dev, PAGE4, PTP_TDR, ts->tv_sec >> 16); /* sec[31:16]*/ in tdr_write()
265 ext_write(bc, dev, PAGE4, PTP_CTL, cmd); in tdr_write()
333 ext_write(0, phydev, PAGE4, PTP_CTL, val); in periodic_output()
350 ext_write(0, phydev, PAGE4, PTP_CTL, val); in periodic_output()
351 ext_write(0, phydev, PAGE4, PTP_TDR, nsec & 0xffff); /* ns[15:0] */ in periodic_output()
352 ext_write(0, phydev, PAGE4, PTP_TDR, nsec >> 16); /* ns[31:16] */ in periodic_output()
353 ext_write(0, phydev, PAGE4, PTP_TDR, sec & 0xffff); /* sec[15:0] */ in periodic_output()
354 ext_write(0, phydev, PAGE4, PTP_TDR, sec >> 16); /* sec[31:16] */ in periodic_output()
355 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth & 0xffff); /* ns[15:0] */ in periodic_output()
356 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth >> 16); /* ns[31:16] */ in periodic_output()
359 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth & 0xffff); in periodic_output()
360 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth >> 16); in periodic_output()
366 ext_write(0, phydev, PAGE4, PTP_CTL, val); in periodic_output()
399 ext_write(1, phydev, PAGE4, PTP_RATEH, hi); in ptp_dp83640_adjfine()
400 ext_write(1, phydev, PAGE4, PTP_RATEL, lo); in ptp_dp83640_adjfine()
438 ext_write(0, phydev, PAGE4, PTP_CTL, PTP_RD_CLK); in ptp_dp83640_gettime()
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()
656 ext_write(0, tmp->phydev, PAGE4, PTP_CTL, PTP_ENABLE); in recalibrate()
661 ext_write(0, master, PAGE4, PTP_CTL, PTP_ENABLE); in recalibrate()
687 ext_write(0, master, PAGE4, PTP_CTL, val); in recalibrate()
692 ext_write(0, master, PAGE4, PTP_CTL, val); in recalibrate()
697 ext_write(0, master, PAGE4, PTP_CTL, val); 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()
1126 ext_write(0, phydev, PAGE4, PTP_CTL, PTP_ENABLE); in dp83640_config_init()