Searched refs:phy_idx (Results 1 - 12 of 12) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/tulip/
H A Dmedia.c462 int phyn, phy_idx = 0; local
470 for (phyn = 1; phyn <= 32 && phy_idx < sizeof (tp->phys); phyn++) {
495 tp->advertising[phy_idx] =
497 } else if (tp->advertising[phy_idx]) {
498 to_advert = tp->advertising[phy_idx];
500 tp->advertising[phy_idx] =
505 tp->phys[phy_idx++] = phy;
558 tp->mii_cnt = phy_idx;
559 if (tp->mtable && tp->mtable->has_mii && phy_idx == 0) {
H A Dxircom_tulip_cb.c439 int phy, phy_idx; local
452 for (phy = 0, phy_idx = 0; phy < 32 && phy_idx < sizeof(tp->phys); phy++) {
460 tp->phys[phy_idx] = phy;
461 tp->advertising[phy_idx++] = reg4;
467 tp->mii_cnt = phy_idx;
468 if (phy_idx == 0) {
H A Dwinbond-840.c444 int phy, phy_idx = 0; local
445 for (phy = 1; phy < 32 && phy_idx < MII_CNT; phy++) {
448 np->phys[phy_idx++] = phy;
457 np->mii_cnt = phy_idx;
459 if (phy_idx == 0) {
H A Dtulip_core.c849 const unsigned int phy_idx = 0; local
850 int phy = tp->phys[phy_idx] & 0x1f;
913 tp->advertising[phy_idx] =
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Depic100.c440 int phy, phy_idx = 0; local
441 for (phy = 1; phy < 32 && phy_idx < sizeof(ep->phys); phy++) {
444 ep->phys[phy_idx++] = phy;
451 ep->mii_phy_cnt = phy_idx;
452 if (phy_idx != 0) {
H A Dfealnx.c573 int phy, phy_idx = 0; local
575 for (phy = 1; phy < 32 && phy_idx < 4; phy++) {
579 np->phys[phy_idx++] = phy;
604 np->mii_cnt = phy_idx;
605 if (phy_idx == 0)
H A Dyellowfin.c494 int phy, phy_idx = 0; local
495 for (phy = 0; phy < 32 && phy_idx < MII_CNT; phy++) {
498 np->phys[phy_idx++] = phy;
505 np->mii_cnt = phy_idx;
H A Dsundance.c469 int phy, phy_idx = 0; local
564 for (phy = 1; phy <= 32 && phy_idx < MII_CNT; phy++) {
568 np->phys[phy_idx++] = phyx;
579 if (phy_idx == 0) {
H A Dhamachi.c759 int phy, phy_idx = 0; local
760 for (phy = 0; phy < 32 && phy_idx < MII_CNT; phy++) {
764 hmp->phys[phy_idx++] = phy;
771 hmp->mii_cnt = phy_idx;
H A Dstarfire.c872 int phy, phy_idx = 0; local
874 for (phy = 0; phy < 32 && phy_idx < PHY_CNT; phy++) {
887 np->phys[phy_idx++] = phy;
896 np->phy_cnt = phy_idx;
H A D8139too.c1046 int phy, phy_idx = 0; local
1047 for (phy = 0; phy < 32 && phy_idx < sizeof(tp->phys); phy++) {
1051 tp->phys[phy_idx++] = phy;
1057 if (phy_idx == 0) {
H A D3c59x.c1303 int phy, phy_idx = 0; local
1310 for (phy = 0; phy < 32 && phy_idx < 1; phy++) {
1325 vp->phys[phy_idx++] = phyx;
1335 if (phy_idx == 0) {

Completed in 121 milliseconds