Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/tulip/
Dtimer.c97 struct medialeaf *mleaf; in tulip_timer() local
109 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 …]
Dmedia.c187 struct medialeaf *mleaf = &mtable->mleaf[tp->cur_index]; in tulip_select_media() local
188 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()
Deeprom.c125 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()
D21142.c169 if (tp->mtable->mleaf[i].media == dev->if_port) { in t21142_lnk_change()
Dtulip_core.c376 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()
Dtulip.h354 struct medialeaf mleaf[0]; member