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()
1357 mii_write (dev, phy_addr, miidata->reg_num, miidata->val_in); in rio_ioctl()
1455 mii_write (struct net_device *dev, int phy_addr, int reg_num, u16 data) in mii_write() function
1604 mii_write (dev, phy_addr, MII_ADVERTISE, anar); in mii_set_media()
1609 mii_write (dev, phy_addr, MII_PHY_SCR, pscr); in mii_set_media()
1612 mii_write (dev, phy_addr, MII_BMCR, BMCR_RESET); in mii_set_media()
1614 mii_write (dev, phy_addr, MII_BMCR, bmcr); in mii_set_media()
1621 mii_write (dev, phy_addr, MII_PHY_SCR, pscr); in mii_set_media()
1626 mii_write (dev, phy_addr, MII_BMCR, bmcr); in mii_set_media()
1630 mii_write (dev, phy_addr, MII_BMCR, bmcr); in mii_set_media()
1634 mii_write (dev, phy_addr, MII_ADVERTISE, 0); in mii_set_media()
1656 mii_write (dev, phy_addr, MII_BMCR, bmcr); in mii_set_media()
1741 mii_write (dev, phy_addr, MII_ADVERTISE, anar); in mii_set_media_pcs()
1744 mii_write (dev, phy_addr, MII_BMCR, BMCR_RESET); in mii_set_media_pcs()
1746 mii_write (dev, phy_addr, MII_BMCR, bmcr); in mii_set_media_pcs()
1752 mii_write (dev, phy_addr, MII_BMCR, bmcr); in mii_set_media_pcs()
1761 mii_write (dev, phy_addr, MII_BMCR, bmcr); in mii_set_media_pcs()
1765 mii_write (dev, phy_addr, MII_ADVERTISE, 0); in mii_set_media_pcs()