Lines Matching refs:phy_write
182 static inline void phy_write(struct gem *gp, int reg, u16 val) in phy_write() function
1108 phy_write(gp, MII_BMCR, ctl); in gem_begin_auto_negotiation()
1277 phy_write(gp, MII_BMCR, gp->link_fcntl); in gem_mdio_link_not_up()
1290 phy_write(gp, MII_BMCR, val); in gem_mdio_link_not_up()
1301 phy_write(gp, MII_BMCR, val); in gem_mdio_link_not_up()
1387 phy_write(gp, MII_BMCR, in gem_link_timer()
1566 phy_write(gp, MII_BCM5201_MULTIPHY, data); in gem_init_bcm5201_phy()
1577 phy_write(gp, MII_BCM5400_AUXCONTROL, data); in gem_init_bcm5400_phy()
1581 phy_write(gp, MII_BCM5400_GB_CONTROL, data); in gem_init_bcm5400_phy()
1594 phy_write(gp, MII_BCM5400_AUXCONTROL, data); in gem_init_bcm5400_phy()
1616 phy_write(gp, 0x18, 0x0c20); in gem_init_bcm5401_phy()
1617 phy_write(gp, 0x17, 0x0012); in gem_init_bcm5401_phy()
1618 phy_write(gp, 0x15, 0x1804); in gem_init_bcm5401_phy()
1619 phy_write(gp, 0x17, 0x0013); in gem_init_bcm5401_phy()
1620 phy_write(gp, 0x15, 0x1204); in gem_init_bcm5401_phy()
1621 phy_write(gp, 0x17, 0x8006); in gem_init_bcm5401_phy()
1622 phy_write(gp, 0x15, 0x0132); in gem_init_bcm5401_phy()
1623 phy_write(gp, 0x17, 0x8006); in gem_init_bcm5401_phy()
1624 phy_write(gp, 0x15, 0x0232); in gem_init_bcm5401_phy()
1625 phy_write(gp, 0x17, 0x201f); in gem_init_bcm5401_phy()
1626 phy_write(gp, 0x15, 0x0a20); in gem_init_bcm5401_phy()
1632 phy_write(gp, MII_BCM5400_GB_CONTROL, data); in gem_init_bcm5401_phy()
1652 phy_write(gp, 0x1c, 0x8c23); in gem_init_bcm5411_phy()
1653 phy_write(gp, 0x1c, 0x8ca3); in gem_init_bcm5411_phy()
1654 phy_write(gp, 0x1c, 0x8c23); in gem_init_bcm5411_phy()
1659 phy_write(gp, MII_BMCR, BMCR_RESET); in gem_init_bcm5411_phy()
1662 phy_write(gp, MII_BMCR, in gem_init_bcm5411_phy()
1668 phy_write(gp, MII_BCM5400_GB_CONTROL, data); in gem_init_bcm5411_phy()
1677 phy_write(gp, MII_BCM5201_INTERRUPT, 0); in gem_init_phy()
1787 phy_write(gp, MII_BMCR, val); in gem_init_phy()
1790 phy_write(gp, MII_ADVERTISE, in gem_init_phy()
2216 phy_write(gp, MII_BCM5201_INTERRUPT, 0); in gem_stop_phy()
2226 phy_write(gp, MII_LPA, phy_read(gp, MII_LPA)); in gem_stop_phy()
2244 phy_write(gp, MII_BMCR, BMCR_PDOWN); in gem_stop_phy()
2249 phy_write(gp, MII_BCM5201_AUXMODE2, in gem_stop_phy()
2252 phy_write(gp, MII_BCM5201_MULTIPHY, MII_BCM5201_MULTIPHY_SUPERISOLATE); in gem_stop_phy()
2254 phy_write(gp, MII_BMCR, BMCR_PDOWN); in gem_stop_phy()