Lines Matching refs:mii_write

85 static int mii_write (struct net_device *dev, int phy_addr, int reg_num,
540 mii_write(dev, np->phy_addr, 31, 0x0001); in rio_hw_init()
541 mii_write(dev, np->phy_addr, 27, 0x01e0); in rio_hw_init()
542 mii_write(dev, np->phy_addr, 31, 0x0002); in rio_hw_init()
543 mii_write(dev, np->phy_addr, 27, 0xeb8e); in rio_hw_init()
544 mii_write(dev, np->phy_addr, 31, 0x0000); in rio_hw_init()
545 mii_write(dev, np->phy_addr, 30, 0x005e); in rio_hw_init()
547 mii_write(dev, np->phy_addr, MII_CTRL1000, 0x0700); in rio_hw_init()
1356 mii_write (dev, phy_addr, miidata->reg_num, miidata->val_in); in rio_ioctl()
1454 mii_write (struct net_device *dev, int phy_addr, int reg_num, u16 data) in mii_write() function
1603 mii_write (dev, phy_addr, MII_ADVERTISE, anar); in mii_set_media()
1608 mii_write (dev, phy_addr, MII_PHY_SCR, pscr); in mii_set_media()
1611 mii_write (dev, phy_addr, MII_BMCR, BMCR_RESET); in mii_set_media()
1613 mii_write (dev, phy_addr, MII_BMCR, bmcr); in mii_set_media()
1620 mii_write (dev, phy_addr, MII_PHY_SCR, pscr); in mii_set_media()
1625 mii_write (dev, phy_addr, MII_BMCR, bmcr); in mii_set_media()
1629 mii_write (dev, phy_addr, MII_BMCR, bmcr); in mii_set_media()
1633 mii_write (dev, phy_addr, MII_ADVERTISE, 0); in mii_set_media()
1655 mii_write (dev, phy_addr, MII_BMCR, bmcr); in mii_set_media()
1740 mii_write (dev, phy_addr, MII_ADVERTISE, anar); in mii_set_media_pcs()
1743 mii_write (dev, phy_addr, MII_BMCR, BMCR_RESET); in mii_set_media_pcs()
1745 mii_write (dev, phy_addr, MII_BMCR, bmcr); in mii_set_media_pcs()
1751 mii_write (dev, phy_addr, MII_BMCR, bmcr); in mii_set_media_pcs()
1760 mii_write (dev, phy_addr, MII_BMCR, bmcr); in mii_set_media_pcs()
1764 mii_write (dev, phy_addr, MII_ADVERTISE, 0); in mii_set_media_pcs()