Lines Matching defs:ext_write
241 static void ext_write(int broadcast, struct phy_device *phydev,
260 ext_write(bc, dev, PAGE4, PTP_TDR, ts->tv_nsec & 0xffff);/* ns[15:0] */
261 ext_write(bc, dev, PAGE4, PTP_TDR, ts->tv_nsec >> 16); /* ns[31:16] */
262 ext_write(bc, dev, PAGE4, PTP_TDR, ts->tv_sec & 0xffff); /* sec[15:0] */
263 ext_write(bc, dev, PAGE4, PTP_TDR, ts->tv_sec >> 16); /* sec[31:16]*/
265 ext_write(bc, dev, PAGE4, PTP_CTL, cmd);
332 ext_write(0, phydev, PAGE5, PTP_TRIG, ptp_trig);
333 ext_write(0, phydev, PAGE4, PTP_CTL, val);
346 ext_write(0, phydev, PAGE5, PTP_TRIG, ptp_trig);
350 ext_write(0, phydev, PAGE4, PTP_CTL, val);
351 ext_write(0, phydev, PAGE4, PTP_TDR, nsec & 0xffff); /* ns[15:0] */
352 ext_write(0, phydev, PAGE4, PTP_TDR, nsec >> 16); /* ns[31:16] */
353 ext_write(0, phydev, PAGE4, PTP_TDR, sec & 0xffff); /* sec[15:0] */
354 ext_write(0, phydev, PAGE4, PTP_TDR, sec >> 16); /* sec[31:16] */
355 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth & 0xffff); /* ns[15:0] */
356 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth >> 16); /* ns[31:16] */
359 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth & 0xffff);
360 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth >> 16);
366 ext_write(0, phydev, PAGE4, PTP_CTL, val);
399 ext_write(1, phydev, PAGE4, PTP_RATEH, hi);
400 ext_write(1, phydev, PAGE4, PTP_RATEL, lo);
438 ext_write(0, phydev, PAGE4, PTP_CTL, PTP_RD_CLK);
511 ext_write(0, phydev, PAGE5, PTP_EVNT, evnt);
562 ext_write(0, phydev, PAGE5, PSF_CFG0, cfg0);
563 ext_write(0, phydev, PAGE6, PSF_CFG1, ver);
653 ext_write(0, tmp->phydev, PAGE5, PSF_CFG0, 0);
654 ext_write(0, tmp->phydev, PAGE4, PTP_CTL, PTP_ENABLE);
658 ext_write(0, master, PAGE5, PSF_CFG0, 0);
659 ext_write(0, master, PAGE4, PTP_CTL, PTP_ENABLE);
669 ext_write(0, tmp->phydev, PAGE5, PTP_EVNT, evnt);
670 ext_write(0, master, PAGE5, PTP_EVNT, evnt);
678 ext_write(0, master, PAGE5, PTP_TRIG, ptp_trig);
683 ext_write(0, master, PAGE4, PTP_CTL, val);
688 ext_write(0, master, PAGE4, PTP_CTL, val);
693 ext_write(0, master, PAGE4, PTP_CTL, val);
729 ext_write(0, tmp->phydev, PAGE5, PSF_CFG0, tmp->cfg0);
730 ext_write(0, master, PAGE5, PSF_CFG0, cfg0);
1119 ext_write(0, phydev, PAGE4, PTP_CTL, PTP_ENABLE);
1290 ext_write(0, dp83640->phydev, PAGE5, PTP_TXCFG0, txcfg0);
1291 ext_write(0, dp83640->phydev, PAGE5, PTP_RXCFG0, rxcfg0);