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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/tulip/
H A Deeprom.c124 tp->mtable = (struct mediatable *)
127 if (tp->mtable == NULL)
130 tp->mtable->defaultmedia = 0x800;
131 tp->mtable->leafcount = 1;
132 tp->mtable->csr12dir = 0x3f; /* inputs on bit7 for hsc-pci, bit6 for pci-fx */
133 tp->mtable->has_nonmii = 0;
134 tp->mtable->has_reset = 0;
135 tp->mtable->has_mii = 1;
136 tp->mtable->csr15dir = tp->mtable
212 struct mediatable *mtable; local
[all...]
H A Dtimer.c46 if (tp->mtable == NULL) { /* No EEPROM info, use generic code. */
56 mleaf = &tp->mtable->mleaf[tp->cur_index];
97 tp->cur_index = tp->mtable->leafcount - 1;
99 dev->if_port = tp->mtable->mleaf[tp->cur_index].media;
106 medianame[tp->mtable->mleaf[tp->cur_index].media]);
H A Dmedia.c178 struct mediatable *mtable = tp->mtable; local
182 if (mtable) {
183 struct medialeaf *mleaf = &mtable->mleaf[tp->cur_index];
193 iowrite32(mtable->csr12dir | 0x100, ioaddr + CSR12);
207 if (startup && mtable->has_reset) {
208 struct medialeaf *rleaf = &mtable->mleaf[mtable->has_reset];
294 iowrite32(mtable->csr12dir | 0x100, ioaddr + CSR12);
337 if (startup && mtable
[all...]
H A D21142.c122 if (tp->mtable && tp->mtable->csr15dir) {
123 iowrite32(tp->mtable->csr15dir, ioaddr + CSR15);
124 iowrite32(tp->mtable->csr15val, ioaddr + CSR15);
171 if (tp->mtable) {
173 for (i = 0; i < tp->mtable->leafcount; i++)
174 if (tp->mtable->mleaf[i].media == dev->if_port) {
H A Dtulip_core.c300 if (tp->mii_cnt || (tp->mtable && tp->mtable->has_mii))
370 if (tp->mtable == NULL)
375 for (i = 0; i < tp->mtable->leafcount; i++)
376 if (tp->mtable->mleaf[i].media == looking_for) {
382 if ((tp->mtable->defaultmedia & 0x0800) == 0) {
383 int looking_for = tp->mtable->defaultmedia & MEDIA_MASK;
384 for (i = 0; i < tp->mtable->leafcount; i++)
385 if (tp->mtable->mleaf[i].media == looking_for) {
392 for (i = tp->mtable
[all...]
H A Dtulip.h385 struct mediatable *mtable; member in struct:tulip_private

Completed in 117 milliseconds