Searched refs:mleaf (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/dec/tulip/
H A Dtimer.c41 struct medialeaf *mleaf; tulip_media_task() local
53 mleaf = &tp->mtable->mleaf[tp->cur_index]; tulip_media_task()
54 p = mleaf->leafdata; tulip_media_task()
55 switch (mleaf->type) { tulip_media_task()
58 int offset = mleaf->type == 4 ? 5 : 2; tulip_media_task()
64 if (mleaf->type == 4) { tulip_media_task()
65 if (mleaf->media == 3 && (csr12 & 0x02)) tulip_media_task()
80 medianame[mleaf->media & MEDIA_MASK]); tulip_media_task()
94 dev->if_port = tp->mtable->mleaf[tp->cur_index].media; tulip_media_task()
99 medianame[mleaf->media & MEDIA_MASK], tulip_media_task()
100 medianame[tp->mtable->mleaf[tp->cur_index].media]); tulip_media_task()
H A Dmedia.c176 struct medialeaf *mleaf = &mtable->mleaf[tp->cur_index]; tulip_select_media() local
177 unsigned char *p = mleaf->leafdata; tulip_select_media()
178 switch (mleaf->type) { tulip_select_media()
200 struct medialeaf *rleaf = &mtable->mleaf[mtable->has_reset]; tulip_select_media()
239 if (mleaf->type == 4) tulip_select_media()
252 if (mleaf->type == 3) { /* 21142 */ tulip_select_media()
330 struct medialeaf *rleaf = &mtable->mleaf[mtable->has_reset]; tulip_select_media()
342 mleaf->type); tulip_select_media()
H A Deeprom.c133 tp->mtable->mleaf[0].type = 1; tulip_build_fake_mediatable()
134 tp->mtable->mleaf[0].media = 11; tulip_build_fake_mediatable()
135 tp->mtable->mleaf[0].leafdata = &leafdata[0]; tulip_build_fake_mediatable()
244 struct medialeaf *leaf = &mtable->mleaf[i]; tulip_parse_eeprom()
H A D21142.c189 if (tp->mtable->mleaf[i].media == dev->if_port) { t21142_lnk_change()
H A Dtulip.h384 struct medialeaf mleaf[0]; member in struct:mediatable
H A Dtulip_core.c390 if (tp->mtable->mleaf[i].media == looking_for) { tulip_up()
400 if (tp->mtable->mleaf[i].media == looking_for) { tulip_up()
409 (tulip_media_cap[tp->mtable->mleaf[i].media] & MediaAlwaysFD) && i > 0; i--) tulip_up()
1684 if (tp->mtable->mleaf[i].media == 11) { tulip_init_one()

Completed in 210 milliseconds