Lines Matching refs:mdio_write
222 static void mdio_write(struct net_device *net_dev, int phy_id, int location, int val);
514 sis_priv->mii_info.mdio_write = mdio_write; in sis900_probe()
684 mdio_write(net_dev, sis_priv->cur_phy, 0x0018, 0xD200); in sis900_mii_probe()
701 mdio_write(net_dev, sis_priv->cur_phy, MII_ANADV, 0x05e1); in sis900_mii_probe()
702 mdio_write(net_dev, sis_priv->cur_phy, MII_CONFIG1, 0x22); in sis900_mii_probe()
703 mdio_write(net_dev, sis_priv->cur_phy, MII_CONFIG2, 0xff00); in sis900_mii_probe()
704 mdio_write(net_dev, sis_priv->cur_phy, MII_MASK, 0xffc0); in sis900_mii_probe()
742 mdio_write(net_dev, phy->phy_addr, MII_CONTROL, in sis900_default_phy()
770 mdio_write(net_dev, sis_priv->cur_phy, MII_CONTROL, status); in sis900_default_phy()
800 mdio_write(net_dev, phy->phy_addr, MII_ANADV, cap); in sis900_set_capability()
940 static void mdio_write(struct net_device *net_dev, int phy_id, int location, in mdio_write() function
1002 mdio_write( net_dev, phy_addr, MII_CONTROL, MII_CNTL_RESET ); in sis900_reset_phy()
1249 mdio_write(net_dev, sis_priv->cur_phy, MII_RESV, in sis630_set_eq()
1286 mdio_write(net_dev, sis_priv->cur_phy, MII_RESV, reg14h); in sis630_set_eq()
1292 mdio_write(net_dev, sis_priv->cur_phy, MII_RESV, in sis630_set_eq()
1295 mdio_write(net_dev, sis_priv->cur_phy, MII_RESV, in sis630_set_eq()
1469 mdio_write(net_dev, phy_addr, MII_CONTROL, in sis900_auto_negotiate()
2236 mdio_write(net_dev, data->phy_id & 0x1f, data->reg_num & 0x1f, data->val_in); in mii_ioctl()
2284 mdio_write(dev, mii_phy->phy_addr, in sis900_set_config()
2304 mdio_write(dev, mii_phy->phy_addr, in sis900_set_config()
2323 mdio_write(dev, mii_phy->phy_addr, in sis900_set_config()