Searched refs:mtable (Results 1 – 12 of 12) sorted by relevance
/drivers/net/ethernet/dec/tulip/ |
D | eeprom.c | 120 tp->mtable = kmalloc(sizeof(struct mediatable) + in tulip_build_fake_mediatable() 123 if (tp->mtable == NULL) in tulip_build_fake_mediatable() 126 tp->mtable->defaultmedia = 0x800; in tulip_build_fake_mediatable() 127 tp->mtable->leafcount = 1; in tulip_build_fake_mediatable() 128 tp->mtable->csr12dir = 0x3f; /* inputs on bit7 for hsc-pci, bit6 for pci-fx */ in tulip_build_fake_mediatable() 129 tp->mtable->has_nonmii = 0; in tulip_build_fake_mediatable() 130 tp->mtable->has_reset = 0; in tulip_build_fake_mediatable() 131 tp->mtable->has_mii = 1; in tulip_build_fake_mediatable() 132 tp->mtable->csr15dir = tp->mtable->csr15val = 0; in tulip_build_fake_mediatable() 133 tp->mtable->mleaf[0].type = 1; in tulip_build_fake_mediatable() [all …]
|
D | media.c | 171 struct mediatable *mtable = tp->mtable; in tulip_select_media() local 175 if (mtable) { in tulip_select_media() 176 struct medialeaf *mleaf = &mtable->mleaf[tp->cur_index]; in tulip_select_media() 185 iowrite32(mtable->csr12dir | 0x100, ioaddr + CSR12); in tulip_select_media() 199 if (startup && mtable->has_reset) { in tulip_select_media() 200 struct medialeaf *rleaf = &mtable->mleaf[mtable->has_reset]; in tulip_select_media() 285 iowrite32(mtable->csr12dir | 0x100, ioaddr + CSR12); in tulip_select_media() 329 if (startup && mtable->has_reset) { in tulip_select_media() 330 struct medialeaf *rleaf = &mtable->mleaf[mtable->has_reset]; in tulip_select_media() 547 if (tp->mtable && tp->mtable->has_mii && phy_idx == 0) { in tulip_find_mii()
|
D | timer.c | 43 if (tp->mtable == NULL) { /* No EEPROM info, use generic code. */ in tulip_media_task() 53 mleaf = &tp->mtable->mleaf[tp->cur_index]; in tulip_media_task() 92 tp->cur_index = tp->mtable->leafcount - 1; in tulip_media_task() 94 dev->if_port = tp->mtable->mleaf[tp->cur_index].media; in tulip_media_task() 100 medianame[tp->mtable->mleaf[tp->cur_index].media]); in tulip_media_task()
|
D | 21142.c | 129 if (tp->mtable && tp->mtable->csr15dir) { in t21142_start_nway() 130 iowrite32(tp->mtable->csr15dir, ioaddr + CSR15); in t21142_start_nway() 131 iowrite32(tp->mtable->csr15val, ioaddr + CSR15); in t21142_start_nway() 186 if (tp->mtable) { in t21142_lnk_change() 188 for (i = 0; i < tp->mtable->leafcount; i++) in t21142_lnk_change() 189 if (tp->mtable->mleaf[i].media == dev->if_port) { in t21142_lnk_change()
|
D | tulip_core.c | 314 if (tp->mii_cnt || (tp->mtable && tp->mtable->has_mii)) in tulip_up() 384 if (tp->mtable == NULL) in tulip_up() 389 for (i = 0; i < tp->mtable->leafcount; i++) in tulip_up() 390 if (tp->mtable->mleaf[i].media == looking_for) { in tulip_up() 397 if ((tp->mtable->defaultmedia & 0x0800) == 0) { in tulip_up() 398 int looking_for = tp->mtable->defaultmedia & MEDIA_MASK; in tulip_up() 399 for (i = 0; i < tp->mtable->leafcount; i++) in tulip_up() 400 if (tp->mtable->mleaf[i].media == looking_for) { in tulip_up() 408 for (i = tp->mtable->leafcount - 1; in tulip_up() 409 (tulip_media_cap[tp->mtable->mleaf[i].media] & MediaAlwaysFD) && i > 0; i--) in tulip_up() [all …]
|
D | tulip.h | 446 struct mediatable *mtable; member
|
/drivers/staging/lustre/lnet/lnet/ |
D | lib-ptl.c | 91 struct lnet_match_table *mtable = ptl->ptl_mtables[cpt]; in lnet_ptl_enable_mt() local 97 mtable->mt_enabled = 1; in lnet_ptl_enable_mt() 116 struct lnet_match_table *mtable = ptl->ptl_mtables[cpt]; in lnet_ptl_disable_mt() local 125 mtable->mt_enabled = 0; in lnet_ptl_disable_mt() 232 struct lnet_match_table *mtable; in lnet_mt_of_attach() local 242 mtable = lnet_match2mt(ptl, id, mbits); in lnet_mt_of_attach() 243 if (mtable != NULL) /* unique portal or only one match-table */ in lnet_mt_of_attach() 244 return mtable; in lnet_mt_of_attach() 264 struct lnet_match_table *mtable; in lnet_mt_of_match() local 277 mtable = lnet_match2mt(ptl, info->mi_id, info->mi_mbits); in lnet_mt_of_match() [all …]
|
D | lib-me.c | 82 struct lnet_match_table *mtable; in LNetMEAttach() local 92 mtable = lnet_mt_of_attach(portal, match_id, in LNetMEAttach() 94 if (mtable == NULL) /* can't match portal type */ in LNetMEAttach() 101 lnet_res_lock(mtable->mt_cpt); in LNetMEAttach() 110 lnet_res_lh_initialize(the_lnet.ln_me_containers[mtable->mt_cpt], in LNetMEAttach() 113 head = &mtable->mt_mhash[LNET_MT_HASH_IGNORE]; in LNetMEAttach() 115 head = lnet_mt_match_head(mtable, match_id, match_bits); in LNetMEAttach() 117 me->me_pos = head - &mtable->mt_mhash[0]; in LNetMEAttach() 125 lnet_res_unlock(mtable->mt_cpt); in LNetMEAttach()
|
/drivers/staging/lustre/include/linux/lnet/ |
D | lib-lnet.h | 713 struct list_head *lnet_mt_match_head(struct lnet_match_table *mtable, 719 int lnet_mt_match_md(struct lnet_match_table *mtable,
|
/drivers/net/ethernet/neterion/vxge/ |
D | vxge-config.c | 3813 u8 *mtable, in vxge_hw_vpath_rts_rth_itable_set() argument 3862 vpath_handles[mtable[itable[j]]], action, in vxge_hw_vpath_rts_rth_itable_set() 3880 if (mtable[itable[j]] != i) { in vxge_hw_vpath_rts_rth_itable_set() 3891 if (mtable[itable[j]] != i) { in vxge_hw_vpath_rts_rth_itable_set() 3902 if (mtable[itable[j]] != i) { in vxge_hw_vpath_rts_rth_itable_set() 3913 if (mtable[itable[j]] != i) { in vxge_hw_vpath_rts_rth_itable_set()
|
D | vxge-config.h | 2077 u8 *mtable,
|
D | vxge-main.c | 1917 u8 mtable[256] = {0}; /* CPU to vpath mapping */ in vxge_rth_configure() local 1927 mtable[index] = index % vdev->no_of_vpath; in vxge_rth_configure() 1933 mtable, itable, in vxge_rth_configure()
|