Lines Matching defs:ext_write

233 static void ext_write(int broadcast, struct phy_device *phydev,
252 ext_write(bc, dev, PAGE4, PTP_TDR, ts->tv_nsec & 0xffff);/* ns[15:0] */
253 ext_write(bc, dev, PAGE4, PTP_TDR, ts->tv_nsec >> 16); /* ns[31:16] */
254 ext_write(bc, dev, PAGE4, PTP_TDR, ts->tv_sec & 0xffff); /* sec[15:0] */
255 ext_write(bc, dev, PAGE4, PTP_TDR, ts->tv_sec >> 16); /* sec[31:16]*/
257 ext_write(bc, dev, PAGE4, PTP_CTL, cmd);
324 ext_write(0, phydev, PAGE5, PTP_TRIG, ptp_trig);
325 ext_write(0, phydev, PAGE4, PTP_CTL, val);
338 ext_write(0, phydev, PAGE5, PTP_TRIG, ptp_trig);
342 ext_write(0, phydev, PAGE4, PTP_CTL, val);
343 ext_write(0, phydev, PAGE4, PTP_TDR, nsec & 0xffff); /* ns[15:0] */
344 ext_write(0, phydev, PAGE4, PTP_TDR, nsec >> 16); /* ns[31:16] */
345 ext_write(0, phydev, PAGE4, PTP_TDR, sec & 0xffff); /* sec[15:0] */
346 ext_write(0, phydev, PAGE4, PTP_TDR, sec >> 16); /* sec[31:16] */
347 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth & 0xffff); /* ns[15:0] */
348 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth >> 16); /* ns[31:16] */
351 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth & 0xffff);
352 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth >> 16);
358 ext_write(0, phydev, PAGE4, PTP_CTL, val);
391 ext_write(1, phydev, PAGE4, PTP_RATEH, hi);
392 ext_write(1, phydev, PAGE4, PTP_RATEL, lo);
430 ext_write(0, phydev, PAGE4, PTP_CTL, PTP_RD_CLK);
503 ext_write(0, phydev, PAGE5, PTP_EVNT, evnt);
554 ext_write(0, phydev, PAGE5, PSF_CFG0, cfg0);
555 ext_write(0, phydev, PAGE6, PSF_CFG1, ver);
646 ext_write(0, tmp->phydev, PAGE5, PSF_CFG0, 0);
647 ext_write(0, tmp->phydev, PAGE4, PTP_CTL, PTP_ENABLE);
651 ext_write(0, master, PAGE5, PSF_CFG0, 0);
652 ext_write(0, master, PAGE4, PTP_CTL, PTP_ENABLE);
663 ext_write(0, tmp->phydev, PAGE5, PTP_EVNT, evnt);
665 ext_write(0, master, PAGE5, PTP_EVNT, evnt);
673 ext_write(0, master, PAGE5, PTP_TRIG, ptp_trig);
678 ext_write(0, master, PAGE4, PTP_CTL, val);
683 ext_write(0, master, PAGE4, PTP_CTL, val);
688 ext_write(0, master, PAGE4, PTP_CTL, val);
726 ext_write(0, tmp->phydev, PAGE5, PSF_CFG0, tmp->cfg0);
728 ext_write(0, master, PAGE5, PSF_CFG0, cfg0);
1131 ext_write(0, phydev, PAGE4, PTP_CTL, PTP_ENABLE);
1279 ext_write(0, dp83640->phydev, PAGE5, PTP_TXCFG0, txcfg0);
1280 ext_write(0, dp83640->phydev, PAGE5, PTP_RXCFG0, rxcfg0);