Lines Matching defs:phy_write
36 static inline void phy_write(struct mii_phy *phy, int reg, int val)
59 phy_write(phy, MII_BMCR, val);
70 phy_write(phy, MII_BMCR, val & ~BMCR_ISOLATE);
122 phy_write(phy, MII_BMCR, ctl);
142 phy_write(phy, MII_ADVERTISE, adv);
154 phy_write(phy, MII_CTRL1000, adv);
160 phy_write(phy, MII_BMCR, ctl);
180 phy_write(phy, MII_BMCR, ctl | BMCR_RESET);
197 phy_write(phy, MII_BMCR, ctl);
327 phy_write(phy, MII_CIS8201_EPCR, epcr);
330 phy_write(phy, MII_CIS8201_ACSR,
334 phy_write(phy, MII_CIS8201_10BTCSR,
366 phy_write(phy, 0x14, 0x0ce3);
367 phy_write(phy, 0x18, 0x4101);
368 phy_write(phy, 0x09, 0x0e00);
369 phy_write(phy, 0x04, 0x01e1);
370 phy_write(phy, 0x00, 0x9140);
371 phy_write(phy, 0x00, 0x1140);
389 phy_write(phy, 0x16, 0x0002);
391 phy_write(phy, 0x00, 0x0040); /* 1Gbps */
394 phy_write(phy, 0x1a, reg_short);
398 phy_write(phy, 0x16, 0x0000);
410 phy_write(phy, 0x16, reg_short);
414 phy_write(phy, 0x17, reg_short);
416 phy_write(phy, 0x1c, 0x74f0);