mtable 129 drivers/net/ethernet/dec/tulip/21142.c if (tp->mtable && tp->mtable->csr15dir) { mtable 130 drivers/net/ethernet/dec/tulip/21142.c iowrite32(tp->mtable->csr15dir, ioaddr + CSR15); mtable 131 drivers/net/ethernet/dec/tulip/21142.c iowrite32(tp->mtable->csr15val, ioaddr + CSR15); mtable 186 drivers/net/ethernet/dec/tulip/21142.c if (tp->mtable) { mtable 188 drivers/net/ethernet/dec/tulip/21142.c for (i = 0; i < tp->mtable->leafcount; i++) mtable 189 drivers/net/ethernet/dec/tulip/21142.c if (tp->mtable->mleaf[i].media == dev->if_port) { mtable 120 drivers/net/ethernet/dec/tulip/eeprom.c tp->mtable = kmalloc(sizeof(struct mediatable) + mtable 123 drivers/net/ethernet/dec/tulip/eeprom.c if (tp->mtable == NULL) mtable 126 drivers/net/ethernet/dec/tulip/eeprom.c tp->mtable->defaultmedia = 0x800; mtable 127 drivers/net/ethernet/dec/tulip/eeprom.c tp->mtable->leafcount = 1; mtable 128 drivers/net/ethernet/dec/tulip/eeprom.c tp->mtable->csr12dir = 0x3f; /* inputs on bit7 for hsc-pci, bit6 for pci-fx */ mtable 129 drivers/net/ethernet/dec/tulip/eeprom.c tp->mtable->has_nonmii = 0; mtable 130 drivers/net/ethernet/dec/tulip/eeprom.c tp->mtable->has_reset = 0; mtable 131 drivers/net/ethernet/dec/tulip/eeprom.c tp->mtable->has_mii = 1; mtable 132 drivers/net/ethernet/dec/tulip/eeprom.c tp->mtable->csr15dir = tp->mtable->csr15val = 0; mtable 133 drivers/net/ethernet/dec/tulip/eeprom.c tp->mtable->mleaf[0].type = 1; mtable 134 drivers/net/ethernet/dec/tulip/eeprom.c tp->mtable->mleaf[0].media = 11; mtable 135 drivers/net/ethernet/dec/tulip/eeprom.c tp->mtable->mleaf[0].leafdata = &leafdata[0]; mtable 158 drivers/net/ethernet/dec/tulip/eeprom.c tp->mtable = NULL; mtable 170 drivers/net/ethernet/dec/tulip/eeprom.c tp->mtable = last_mediatable; mtable 211 drivers/net/ethernet/dec/tulip/eeprom.c struct mediatable *mtable; mtable 227 drivers/net/ethernet/dec/tulip/eeprom.c mtable = kmalloc(struct_size(mtable, mleaf, count), GFP_KERNEL); mtable 228 drivers/net/ethernet/dec/tulip/eeprom.c if (mtable == NULL) mtable 230 drivers/net/ethernet/dec/tulip/eeprom.c last_mediatable = tp->mtable = mtable; mtable 231 drivers/net/ethernet/dec/tulip/eeprom.c mtable->defaultmedia = media; mtable 232 drivers/net/ethernet/dec/tulip/eeprom.c mtable->leafcount = count; mtable 233 drivers/net/ethernet/dec/tulip/eeprom.c mtable->csr12dir = csr12dir; mtable 234 drivers/net/ethernet/dec/tulip/eeprom.c mtable->has_nonmii = mtable->has_mii = mtable->has_reset = 0; mtable 235 drivers/net/ethernet/dec/tulip/eeprom.c mtable->csr15dir = mtable->csr15val = 0; mtable 242 drivers/net/ethernet/dec/tulip/eeprom.c struct medialeaf *leaf = &mtable->mleaf[i]; mtable 249 drivers/net/ethernet/dec/tulip/eeprom.c mtable->has_mii = 1; mtable 254 drivers/net/ethernet/dec/tulip/eeprom.c mtable->has_reset = i; mtable 258 drivers/net/ethernet/dec/tulip/eeprom.c mtable->leafcount--; mtable 267 drivers/net/ethernet/dec/tulip/eeprom.c mtable->has_mii = 1; mtable 273 drivers/net/ethernet/dec/tulip/eeprom.c mtable->has_nonmii = 1; mtable 288 drivers/net/ethernet/dec/tulip/eeprom.c mtable->csr15dir = mtable 290 drivers/net/ethernet/dec/tulip/eeprom.c mtable->csr15val = mtable 293 drivers/net/ethernet/dec/tulip/eeprom.c mtable->csr15dir = get_unaligned((u16*)&p[3])<<16; mtable 294 drivers/net/ethernet/dec/tulip/eeprom.c mtable->csr15val = get_unaligned((u16*)&p[5])<<16; mtable 171 drivers/net/ethernet/dec/tulip/media.c struct mediatable *mtable = tp->mtable; mtable 175 drivers/net/ethernet/dec/tulip/media.c if (mtable) { mtable 176 drivers/net/ethernet/dec/tulip/media.c struct medialeaf *mleaf = &mtable->mleaf[tp->cur_index]; mtable 185 drivers/net/ethernet/dec/tulip/media.c iowrite32(mtable->csr12dir | 0x100, ioaddr + CSR12); mtable 199 drivers/net/ethernet/dec/tulip/media.c if (startup && mtable->has_reset) { mtable 200 drivers/net/ethernet/dec/tulip/media.c struct medialeaf *rleaf = &mtable->mleaf[mtable->has_reset]; mtable 285 drivers/net/ethernet/dec/tulip/media.c iowrite32(mtable->csr12dir | 0x100, ioaddr + CSR12); mtable 329 drivers/net/ethernet/dec/tulip/media.c if (startup && mtable->has_reset) { mtable 330 drivers/net/ethernet/dec/tulip/media.c struct medialeaf *rleaf = &mtable->mleaf[mtable->has_reset]; mtable 547 drivers/net/ethernet/dec/tulip/media.c if (tp->mtable && tp->mtable->has_mii && phy_idx == 0) { mtable 43 drivers/net/ethernet/dec/tulip/timer.c if (tp->mtable == NULL) { /* No EEPROM info, use generic code. */ mtable 53 drivers/net/ethernet/dec/tulip/timer.c mleaf = &tp->mtable->mleaf[tp->cur_index]; mtable 92 drivers/net/ethernet/dec/tulip/timer.c tp->cur_index = tp->mtable->leafcount - 1; mtable 94 drivers/net/ethernet/dec/tulip/timer.c dev->if_port = tp->mtable->mleaf[tp->cur_index].media; mtable 100 drivers/net/ethernet/dec/tulip/timer.c medianame[tp->mtable->mleaf[tp->cur_index].media]); mtable 446 drivers/net/ethernet/dec/tulip/tulip.h struct mediatable *mtable; mtable 314 drivers/net/ethernet/dec/tulip/tulip_core.c if (tp->mii_cnt || (tp->mtable && tp->mtable->has_mii)) mtable 384 drivers/net/ethernet/dec/tulip/tulip_core.c if (tp->mtable == NULL) mtable 389 drivers/net/ethernet/dec/tulip/tulip_core.c for (i = 0; i < tp->mtable->leafcount; i++) mtable 390 drivers/net/ethernet/dec/tulip/tulip_core.c if (tp->mtable->mleaf[i].media == looking_for) { mtable 397 drivers/net/ethernet/dec/tulip/tulip_core.c if ((tp->mtable->defaultmedia & 0x0800) == 0) { mtable 398 drivers/net/ethernet/dec/tulip/tulip_core.c int looking_for = tp->mtable->defaultmedia & MEDIA_MASK; mtable 399 drivers/net/ethernet/dec/tulip/tulip_core.c for (i = 0; i < tp->mtable->leafcount; i++) mtable 400 drivers/net/ethernet/dec/tulip/tulip_core.c if (tp->mtable->mleaf[i].media == looking_for) { mtable 408 drivers/net/ethernet/dec/tulip/tulip_core.c for (i = tp->mtable->leafcount - 1; mtable 409 drivers/net/ethernet/dec/tulip/tulip_core.c (tulip_media_cap[tp->mtable->mleaf[i].media] & MediaAlwaysFD) && i > 0; i--) mtable 1672 drivers/net/ethernet/dec/tulip/tulip_core.c (tp->mtable && tp->mtable->has_mii) || mtable 1673 drivers/net/ethernet/dec/tulip/tulip_core.c ( ! tp->mtable && (tp->flags & HAS_MII))) { mtable 1674 drivers/net/ethernet/dec/tulip/tulip_core.c if (tp->mtable && tp->mtable->has_mii) { mtable 1675 drivers/net/ethernet/dec/tulip/tulip_core.c for (i = 0; i < tp->mtable->leafcount; i++) mtable 1676 drivers/net/ethernet/dec/tulip/tulip_core.c if (tp->mtable->mleaf[i].media == 11) { mtable 1727 drivers/net/ethernet/dec/tulip/tulip_core.c if (tp->mtable) mtable 1728 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(tp->mtable->csr12dir | 0x100, ioaddr + CSR12); mtable 1783 drivers/net/ethernet/dec/tulip/tulip_core.c kfree (tp->mtable); mtable 1929 drivers/net/ethernet/dec/tulip/tulip_core.c kfree (tp->mtable); mtable 3803 drivers/net/ethernet/neterion/vxge/vxge-config.c u8 *mtable, mtable 3852 drivers/net/ethernet/neterion/vxge/vxge-config.c vpath_handles[mtable[itable[j]]], action, mtable 3870 drivers/net/ethernet/neterion/vxge/vxge-config.c if (mtable[itable[j]] != i) { mtable 3881 drivers/net/ethernet/neterion/vxge/vxge-config.c if (mtable[itable[j]] != i) { mtable 3892 drivers/net/ethernet/neterion/vxge/vxge-config.c if (mtable[itable[j]] != i) { mtable 3903 drivers/net/ethernet/neterion/vxge/vxge-config.c if (mtable[itable[j]] != i) { mtable 2057 drivers/net/ethernet/neterion/vxge/vxge-config.h u8 *mtable, mtable 1912 drivers/net/ethernet/neterion/vxge/vxge-main.c u8 mtable[256] = {0}; /* CPU to vpath mapping */ mtable 1922 drivers/net/ethernet/neterion/vxge/vxge-main.c mtable[index] = index % vdev->no_of_vpath; mtable 1928 drivers/net/ethernet/neterion/vxge/vxge-main.c mtable, itable,