Searched refs:phy_idx (Results 1 – 3 of 3) sorted by relevance
111 unsigned int phy, phy_idx; in epic100_probe() local185 for (phy = 0, phy_idx = 0; phy < 32 && phy_idx < sizeof(phys); phy++) { in epic100_probe()189 phys[phy_idx++] = phy; in epic100_probe()195 if (phy_idx == 0) { in epic100_probe()
669 int phy, phy_idx = 0; in w89c840_probe() local670 for (phy = 1; phy < 32 && phy_idx < 4; phy++) { in w89c840_probe()673 w840private.phys[phy_idx++] = phy; in w89c840_probe()684 w840private.mii_cnt = phy_idx; in w89c840_probe()686 if (phy_idx == 0) { in w89c840_probe()
1403 unsigned int phy, phy_idx; in start_link() local1416 for (phy = 0, phy_idx = 0; phy < 32 && phy_idx < sizeof(tp->phys); in start_link()1427 else if (tp->advertising[phy_idx]) in start_link()1428 to_advert = tp->advertising[phy_idx]; in start_link()1432 tp->phys[phy_idx++] = phy; in start_link()1447 tp->mii_cnt = phy_idx; in start_link()1448 if (tp->mtable && tp->mtable->has_mii && phy_idx == 0) { in start_link()