Lines Matching refs:mtable
305 if (tp->mii_cnt || (tp->mtable && tp->mtable->has_mii)) in tulip_up()
375 if (tp->mtable == NULL) in tulip_up()
380 for (i = 0; i < tp->mtable->leafcount; i++) in tulip_up()
381 if (tp->mtable->mleaf[i].media == looking_for) { in tulip_up()
387 if ((tp->mtable->defaultmedia & 0x0800) == 0) { in tulip_up()
388 int looking_for = tp->mtable->defaultmedia & MEDIA_MASK; in tulip_up()
389 for (i = 0; i < tp->mtable->leafcount; i++) in tulip_up()
390 if (tp->mtable->mleaf[i].media == looking_for) { in tulip_up()
397 for (i = tp->mtable->leafcount - 1; in tulip_up()
398 (tulip_media_cap[tp->mtable->mleaf[i].media] & MediaAlwaysFD) && i > 0; i--) in tulip_up()
1613 (tp->mtable && tp->mtable->has_mii) || in tulip_init_one()
1614 ( ! tp->mtable && (tp->flags & HAS_MII))) { in tulip_init_one()
1615 if (tp->mtable && tp->mtable->has_mii) { in tulip_init_one()
1616 for (i = 0; i < tp->mtable->leafcount; i++) in tulip_init_one()
1617 if (tp->mtable->mleaf[i].media == 11) { in tulip_init_one()
1670 if (tp->mtable) in tulip_init_one()
1671 iowrite32(tp->mtable->csr12dir | 0x100, ioaddr + CSR12); in tulip_init_one()
1726 kfree (tp->mtable); in tulip_init_one()
1813 kfree (tp->mtable); in tulip_remove_one()