Searched refs:mleaf (Results 1 – 6 of 6) sorted by relevance
97 struct medialeaf *mleaf; in tulip_timer() local109 mleaf = &tp->mtable->mleaf[tp->cur_index]; in tulip_timer()110 p = mleaf->leafdata; in tulip_timer()111 switch (mleaf->type) { in tulip_timer()114 int offset = mleaf->type == 4 ? 5 : 2; in tulip_timer()121 if (mleaf->type == 4) { in tulip_timer()122 if (mleaf->media == 3 && (csr12 & 0x02)) in tulip_timer()138 medianame[mleaf->media & MEDIA_MASK]); in tulip_timer()152 dev->if_port = tp->mtable->mleaf[tp->cur_index].media; in tulip_timer()158 dev->name, medianame[mleaf->media & MEDIA_MASK], in tulip_timer()[all …]
187 struct medialeaf *mleaf = &mtable->mleaf[tp->cur_index]; in tulip_select_media() local188 unsigned char *p = mleaf->leafdata; in tulip_select_media()189 switch (mleaf->type) { in tulip_select_media()212 struct medialeaf *rleaf = &mtable->mleaf[mtable->has_reset]; in tulip_select_media()252 if (mleaf->type == 4) in tulip_select_media()265 if (mleaf->type == 3) { /* 21142 */ in tulip_select_media()310 struct medialeaf *rleaf = &mtable->mleaf[mtable->has_reset]; in tulip_select_media()323 dev->name, mleaf->type); in tulip_select_media()
125 tp->mtable->mleaf[0].type = 1; in tulip_build_fake_mediatable()126 tp->mtable->mleaf[0].media = 11; in tulip_build_fake_mediatable()127 tp->mtable->mleaf[0].leafdata = &leafdata[0]; in tulip_build_fake_mediatable()247 struct medialeaf *leaf = &mtable->mleaf[i]; in tulip_parse_eeprom()
169 if (tp->mtable->mleaf[i].media == dev->if_port) { in t21142_lnk_change()
376 if (tp->mtable->mleaf[i].media == looking_for) { in tulip_up()385 if (tp->mtable->mleaf[i].media == looking_for) { in tulip_up()393 (tulip_media_cap[tp->mtable->mleaf[i].media] & MediaAlwaysFD) && i > 0; i--) in tulip_up()598 && (tulip_media_cap[tp->mtable->mleaf[tp->cur_index].media] in tulip_tx_timeout()1708 if (tp->mtable->mleaf[i].media == 11) { in tulip_init_one()
354 struct medialeaf mleaf[0]; member