Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/dec/tulip/
H A Dtimer.c41 struct medialeaf *mleaf; in tulip_media_task() local
53 mleaf = &tp->mtable->mleaf[tp->cur_index]; in tulip_media_task()
54 p = mleaf->leafdata; in tulip_media_task()
55 switch (mleaf->type) { in tulip_media_task()
58 int offset = mleaf->type == 4 ? 5 : 2; in tulip_media_task()
64 if (mleaf->type == 4) { in tulip_media_task()
65 if (mleaf->media == 3 && (csr12 & 0x02)) in tulip_media_task()
80 medianame[mleaf->media & MEDIA_MASK]); in tulip_media_task()
94 dev->if_port = tp->mtable->mleaf[tp->cur_index].media; in tulip_media_task()
99 medianame[mleaf->media & MEDIA_MASK], in tulip_media_task()
[all …]
H A Dmedia.c176 struct medialeaf *mleaf = &mtable->mleaf[tp->cur_index]; in tulip_select_media() local
177 unsigned char *p = mleaf->leafdata; in tulip_select_media()
178 switch (mleaf->type) { in tulip_select_media()
200 struct medialeaf *rleaf = &mtable->mleaf[mtable->has_reset]; in tulip_select_media()
239 if (mleaf->type == 4) in tulip_select_media()
252 if (mleaf->type == 3) { /* 21142 */ in tulip_select_media()
325 struct medialeaf *rleaf = &mtable->mleaf[mtable->has_reset]; in tulip_select_media()
337 mleaf->type); in tulip_select_media()
H A Deeprom.c133 tp->mtable->mleaf[0].type = 1; in tulip_build_fake_mediatable()
134 tp->mtable->mleaf[0].media = 11; in tulip_build_fake_mediatable()
135 tp->mtable->mleaf[0].leafdata = &leafdata[0]; in tulip_build_fake_mediatable()
227 mtable = devm_kmalloc(&tp->pdev->dev, struct_size(mtable, mleaf, count), in tulip_parse_eeprom()
243 struct medialeaf *leaf = &mtable->mleaf[i]; in tulip_parse_eeprom()
H A D21142.c189 if (tp->mtable->mleaf[i].media == dev->if_port) { in t21142_lnk_change()
H A Dtulip.h384 struct medialeaf mleaf[] __counted_by(leafcount);
H A Dtulip_core.c379 if (tp->mtable->mleaf[i].media == looking_for) { in tulip_up()
389 if (tp->mtable->mleaf[i].media == looking_for) { in tulip_up()
398 (tulip_media_cap[tp->mtable->mleaf[i].media] & MediaAlwaysFD) && i > 0; i--) in tulip_up()
1673 if (tp->mtable->mleaf[i].media == 11) { in tulip_init_one()