Home
last modified time | relevance | path

Searched refs:phy_idx (Results 1 – 6 of 6) sorted by relevance

/external/syslinux/gpxe/src/drivers/net/
Depic100.c113 unsigned int phy, phy_idx; in epic100_probe() local
195 for (phy = 0, phy_idx = 0; phy < 32 && phy_idx < sizeof(phys); phy++) { in epic100_probe()
199 phys[phy_idx++] = phy; in epic100_probe()
205 if (phy_idx == 0) { in epic100_probe()
Dmtd80x.c644 int phy, phy_idx = 0; in mtd_probe() local
646 for (phy = 1; phy < 32 && phy_idx < 1; phy++) { in mtd_probe()
650 mtdx.phys[phy_idx] = phy; in mtd_probe()
658 data = mdio_read(nic, mtdx.phys[phy_idx], 2); in mtd_probe()
672 phy_idx++; in mtd_probe()
676 mtdx.mii_cnt = phy_idx; in mtd_probe()
677 if (phy_idx == 0) { in mtd_probe()
Dw89c840.c690 int phy, phy_idx = 0; in w89c840_probe() local
691 for (phy = 1; phy < 32 && phy_idx < 4; phy++) { in w89c840_probe()
694 w840private.phys[phy_idx++] = phy; in w89c840_probe()
705 w840private.mii_cnt = phy_idx; in w89c840_probe()
707 if (phy_idx == 0) { in w89c840_probe()
Dsundance.c612 int phy, phy_idx = 0; in sundance_probe() local
615 for (phy = 1; phy < 32 && phy_idx < MII_CNT; phy++) { in sundance_probe()
618 sdc->phys[phy_idx++] = phy; in sundance_probe()
628 if (phy_idx == 0) in sundance_probe()
Dpcnet32.c911 int phy, phy_idx = 0; in pcnet32_probe() local
914 for (phy = 1; phy < 32 && phy_idx < MII_CNT; phy++) { in pcnet32_probe()
917 lp->phys[phy_idx++] = phy; in pcnet32_probe()
928 if (phy_idx == 0) in pcnet32_probe()
Dtulip.c1459 unsigned int phy, phy_idx; in start_link() local
1472 for (phy = 0, phy_idx = 0; phy < 32 && phy_idx < sizeof(tp->phys); in start_link()
1483 else if (tp->advertising[phy_idx]) in start_link()
1484 to_advert = tp->advertising[phy_idx]; in start_link()
1488 tp->phys[phy_idx++] = phy; in start_link()
1503 tp->mii_cnt = phy_idx; in start_link()
1504 if (tp->mtable && tp->mtable->has_mii && phy_idx == 0) { in start_link()