Home
last modified time | relevance | path

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

/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Depic100.c103 unsigned int phy, phy_idx; in epic100_probe() local
184 for (phy = 0, phy_idx = 0; phy < 32 && phy_idx < sizeof(phys); phy++) { in epic100_probe()
188 phys[phy_idx++] = phy; in epic100_probe()
194 if (phy_idx == 0) { in epic100_probe()
H A Dw89c840.c675 int phy, phy_idx = 0; in w89c840_probe() local
676 for (phy = 1; phy < 32 && phy_idx < 4; phy++) { in w89c840_probe()
679 w840private.phys[phy_idx++] = phy; in w89c840_probe()
690 w840private.mii_cnt = phy_idx; in w89c840_probe()
692 if (phy_idx == 0) { in w89c840_probe()
H A Dsundance.c630 int phy, phy_idx = 0; in sundance_probe() local
633 for (phy = 1; phy < 32 && phy_idx < MII_CNT; phy++) { in sundance_probe()
636 sdc->phys[phy_idx++] = phy; in sundance_probe()
646 if (phy_idx == 0) in sundance_probe()
H A Dpcnet32.c910 int phy, phy_idx = 0; in pcnet32_probe() local
913 for (phy = 1; phy < 32 && phy_idx < MII_CNT; phy++) { in pcnet32_probe()
916 lp->phys[phy_idx++] = phy; in pcnet32_probe()
927 if (phy_idx == 0) in pcnet32_probe()
H A Dtulip.c1435 unsigned int phy, phy_idx; in start_link() local
1448 for (phy = 0, phy_idx = 0; phy < 32 && phy_idx < sizeof(tp->phys); in start_link()
1459 else if (tp->advertising[phy_idx]) in start_link()
1460 to_advert = tp->advertising[phy_idx]; in start_link()
1464 tp->phys[phy_idx++] = phy; in start_link()
1479 tp->mii_cnt = phy_idx; in start_link()
1480 if (tp->mtable && tp->mtable->has_mii && phy_idx == 0) { in start_link()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/common/
H A Dbnxe_clc.c6986 u8 phy_idx; in elink_set_led() local
6994 for (phy_idx = ELINK_EXT_PHY1; phy_idx < ELINK_MAX_PHYS; phy_idx++) { in elink_set_led()
6995 if (params->phy[phy_idx].set_link_led) { in elink_set_led()
6996 params->phy[phy_idx].set_link_led( in elink_set_led()
6997 &params->phy[phy_idx], params, mode); in elink_set_led()
7402 u8 phy_idx, port = params->port; in elink_update_link_up() local
7486 for (phy_idx = ELINK_INT_PHY; phy_idx < ELINK_MAX_PHYS; phy_idx++) { in elink_update_link_up()
7487 if (params->phy[phy_idx].flags & ELINK_FLAGS_TX_ERROR_CHECK) { in elink_update_link_up()
8991 u32 sync_offset = 0, phy_idx, media_types; in elink_get_edc_mode() local
9111 for (phy_idx = ELINK_INT_PHY; phy_idx < ELINK_MAX_PHYS; phy_idx++) { in elink_get_edc_mode()
[all …]