Lines Matching refs:mdio_write
192 static void mdio_write(struct net_device *net_dev, int phy_id, int location, int val);
603 mdio_write(net_dev, sis_priv->cur_phy, 0x0018, 0xD200); in sis900_mii_probe()
620 mdio_write(net_dev, sis_priv->cur_phy, MII_ANADV, 0x05e1); in sis900_mii_probe()
621 mdio_write(net_dev, sis_priv->cur_phy, MII_CONFIG1, 0x22); in sis900_mii_probe()
622 mdio_write(net_dev, sis_priv->cur_phy, MII_CONFIG2, 0xff00); in sis900_mii_probe()
623 mdio_write(net_dev, sis_priv->cur_phy, MII_MASK, 0xffc0); in sis900_mii_probe()
659 mdio_write(net_dev, phy->phy_addr, MII_CONTROL, in sis900_default_phy()
680 mdio_write(net_dev, sis_priv->cur_phy, MII_CONTROL, status); in sis900_default_phy()
711 mdio_write(net_dev, phy->phy_addr, MII_ANADV, cap); in sis900_set_capability()
847 static void mdio_write(struct net_device *net_dev, int phy_id, int location, int value) in mdio_write() function
907 mdio_write( net_dev, phy_addr, MII_CONTROL, MII_CNTL_RESET ); in sis900_reset_phy()
1133 mdio_write(net_dev, sis_priv->cur_phy, MII_RESV, (0x2200 | reg14h) & 0xBFFF); in sis630_set_eq()
1164 mdio_write(net_dev, sis_priv->cur_phy, MII_RESV, reg14h); in sis630_set_eq()
1171 mdio_write(net_dev, sis_priv->cur_phy, MII_RESV, (reg14h | 0x2200) & 0xBFFF); in sis630_set_eq()
1173 mdio_write(net_dev, sis_priv->cur_phy, MII_RESV, (reg14h | 0x2000) & 0xBFFF); in sis630_set_eq()
1351 mdio_write(net_dev, phy_addr, MII_CONTROL, in sis900_auto_negotiate()
1924 mdio_write(net_dev, data->phy_id & 0x1f, data->reg_num & 0x1f, data->val_in); in mii_ioctl()
1986 mdio_write(dev, mii_phy->phy_addr, in sis900_set_config()
2005 mdio_write(dev, mii_phy->phy_addr, in sis900_set_config()
2022 mdio_write(dev, mii_phy->phy_addr, in sis900_set_config()