Lines Matching refs:cur_phy

168 	unsigned int cur_phy;  member
675 status = sis900_reset_phy(net_dev, sis_priv->cur_phy); in sis900_mii_probe()
680 mdio_write(net_dev, sis_priv->cur_phy, 0x0018, 0xD200); in sis900_mii_probe()
686 poll_bit ^= (mdio_read(net_dev, sis_priv->cur_phy, MII_STATUS) & poll_bit); in sis900_mii_probe()
697 mdio_write(net_dev, sis_priv->cur_phy, MII_ANADV, 0x05e1); in sis900_mii_probe()
698 mdio_write(net_dev, sis_priv->cur_phy, MII_CONFIG1, 0x22); in sis900_mii_probe()
699 mdio_write(net_dev, sis_priv->cur_phy, MII_CONFIG2, 0xff00); in sis900_mii_probe()
700 mdio_write(net_dev, sis_priv->cur_phy, MII_MASK, 0xffc0); in sis900_mii_probe()
756 sis_priv->cur_phy = default_phy->phy_addr; in sis900_default_phy()
758 pci_name(sis_priv->pci_dev), sis_priv->cur_phy); in sis900_default_phy()
761 sis_priv->mii_info.phy_id = sis_priv->cur_phy; in sis900_default_phy()
763 status = mdio_read(net_dev, sis_priv->cur_phy, MII_CONTROL); in sis900_default_phy()
766 mdio_write(net_dev, sis_priv->cur_phy, MII_CONTROL, status); in sis900_default_phy()
767 status = mdio_read(net_dev, sis_priv->cur_phy, MII_STATUS); in sis900_default_phy()
768 status = mdio_read(net_dev, sis_priv->cur_phy, MII_STATUS); in sis900_default_phy()
1229 reg14h = mdio_read(net_dev, sis_priv->cur_phy, MII_RESV); in sis630_set_eq()
1230 mdio_write(net_dev, sis_priv->cur_phy, MII_RESV, in sis630_set_eq()
1234 sis_priv->cur_phy, MII_RESV)) >> 3; in sis630_set_eq()
1264 reg14h = mdio_read(net_dev, sis_priv->cur_phy, MII_RESV); in sis630_set_eq()
1267 mdio_write(net_dev, sis_priv->cur_phy, MII_RESV, reg14h); in sis630_set_eq()
1269 reg14h = mdio_read(net_dev, sis_priv->cur_phy, MII_RESV); in sis630_set_eq()
1273 mdio_write(net_dev, sis_priv->cur_phy, MII_RESV, in sis630_set_eq()
1276 mdio_write(net_dev, sis_priv->cur_phy, MII_RESV, in sis630_set_eq()
1312 status = mdio_read(net_dev, sis_priv->cur_phy, MII_STATUS); in sis900_timer()
1313 status = mdio_read(net_dev, sis_priv->cur_phy, MII_STATUS); in sis900_timer()
1336 sis900_reset_phy(net_dev, sis_priv->cur_phy); in sis900_timer()
1369 sis900_auto_negotiate(net_dev, sis_priv->cur_phy); in sis900_check_mode()
1478 int phy_addr = sis_priv->cur_phy; in sis900_read_mode()