Lines Matching refs:cur_phy
119 unsigned int cur_phy;
611 status = sis900_reset_phy(net_dev, sis_priv->cur_phy);
615 mdio_write(net_dev, sis_priv->cur_phy, 0x0018, 0xD200);
621 poll_bit ^= (mdio_read(net_dev, sis_priv->cur_phy, MII_STATUS) & poll_bit);
632 mdio_write(net_dev, sis_priv->cur_phy, MII_ANADV, 0x05e1);
633 mdio_write(net_dev, sis_priv->cur_phy, MII_CONFIG1, 0x22);
634 mdio_write(net_dev, sis_priv->cur_phy, MII_CONFIG2, 0xff00);
635 mdio_write(net_dev, sis_priv->cur_phy, MII_MASK, 0xffc0);
636 //mdio_write(net_dev, sis_priv->cur_phy, MII_CONTROL, 0x1000);
691 sis_priv->cur_phy = default_phy->phy_addr;
693 pci_name(sis_priv->pci_dev), sis_priv->cur_phy);
696 sis_priv->mii_info.phy_id = sis_priv->cur_phy;
698 status = mdio_read(net_dev, sis_priv->cur_phy, MII_CONTROL);
701 mdio_write(net_dev, sis_priv->cur_phy, MII_CONTROL, status);
702 status = mdio_read(net_dev, sis_priv->cur_phy, MII_STATUS);
703 status = mdio_read(net_dev, sis_priv->cur_phy, MII_STATUS);
1136 reg14h = mdio_read(net_dev, sis_priv->cur_phy, MII_RESV);
1137 mdio_write(net_dev, sis_priv->cur_phy, MII_RESV,
1141 sis_priv->cur_phy, MII_RESV)) >> 3;
1171 reg14h = mdio_read(net_dev, sis_priv->cur_phy, MII_RESV);
1174 mdio_write(net_dev, sis_priv->cur_phy, MII_RESV, reg14h);
1176 reg14h = mdio_read(net_dev, sis_priv->cur_phy, MII_RESV);
1180 mdio_write(net_dev, sis_priv->cur_phy, MII_RESV,
1183 mdio_write(net_dev, sis_priv->cur_phy, MII_RESV,
1219 status = mdio_read(net_dev, sis_priv->cur_phy, MII_STATUS);
1220 status = mdio_read(net_dev, sis_priv->cur_phy, MII_STATUS);
1243 sis900_reset_phy(net_dev, sis_priv->cur_phy);
1276 sis900_auto_negotiate(net_dev, sis_priv->cur_phy);
1385 int phy_addr = sis_priv->cur_phy;