Lines Matching refs:phyNum
971 u32 phy = priv->phy[priv->phyNum]; in TLan_ioctl()
1752 phy = priv->phy[priv->phyNum]; in TLan_HandleStatusCheck()
1759 if ( ( net_sts & TLAN_NET_STS_MIRQ ) && ( priv->phyNum == 0 ) ) { in TLan_HandleStatusCheck()
2269 if ( priv->phyNum == 0 ) { in TLan_ResetAdapter()
2299 phy = priv->phy[priv->phyNum]; in TLan_FinishReset()
2307 if ( priv->phyNum == 0 ) { in TLan_FinishReset()
2357 if ( priv->phyNum == 0 ) { in TLan_FinishReset()
2455 phy = priv->phy[priv->phyNum]; in TLan_PhyPrint()
2508 priv->phyNum = 0xFFFF; in TLan_PhyDetect()
2534 priv->phyNum = 1; in TLan_PhyDetect()
2536 priv->phyNum = 0; in TLan_PhyDetect()
2554 TLan_MiiWriteReg( dev, priv->phy[priv->phyNum], MII_GEN_CTL, value ); in TLan_PhyPowerDown()
2555 …if ( ( priv->phyNum == 0 ) && ( priv->phy[1] != TLAN_PHY_NONE ) && ( ! ( priv->adapter->flags & TL… in TLan_PhyPowerDown()
2579 TLan_MiiWriteReg( dev, priv->phy[priv->phyNum], MII_GEN_CTL, value ); in TLan_PhyPowerUp()
2598 phy = priv->phy[priv->phyNum]; in TLan_PhyReset()
2630 phy = priv->phy[priv->phyNum]; in TLan_PhyStartLink()
2672 if ( ( priv->aui ) && ( priv->phyNum != 0 ) ) { in TLan_PhyStartLink()
2673 priv->phyNum = 0; in TLan_PhyStartLink()
2678 } else if ( priv->phyNum == 0 ) { in TLan_PhyStartLink()
2717 phy = priv->phy[priv->phyNum]; in TLan_PhyFinishAutoNeg()
2747 … & 0x0180 ) ) && ( priv->adapter->flags & TLAN_ADAPTER_USE_INTERN_10 ) && ( priv->phyNum != 0 ) ) { in TLan_PhyFinishAutoNeg()
2748 priv->phyNum = 0; in TLan_PhyFinishAutoNeg()
2755 if ( priv->phyNum == 0 ) { in TLan_PhyFinishAutoNeg()
2797 phy = priv->phy[priv->phyNum]; in TLan_PhyMonitor()