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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/tulip/
H A Deeprom.c123 tp->mtable = kmalloc(sizeof(struct mediatable) +
126 if (tp->mtable == NULL)
129 tp->mtable->defaultmedia = 0x800;
130 tp->mtable->leafcount = 1;
131 tp->mtable->csr12dir = 0x3f; /* inputs on bit7 for hsc-pci, bit6 for pci-fx */
132 tp->mtable->has_nonmii = 0;
133 tp->mtable->has_reset = 0;
134 tp->mtable->has_mii = 1;
135 tp->mtable->csr15dir = tp->mtable
214 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];
96 tp->cur_index = tp->mtable->leafcount - 1;
98 dev->if_port = tp->mtable->mleaf[tp->cur_index].media;
105 medianame[tp->mtable->mleaf[tp->cur_index].media]);
H A Dmedia.c175 struct mediatable *mtable = tp->mtable; local
179 if (mtable) {
180 struct medialeaf *mleaf = &mtable->mleaf[tp->cur_index];
189 iowrite32(mtable->csr12dir | 0x100, ioaddr + CSR12);
203 if (startup && mtable->has_reset) {
204 struct medialeaf *rleaf = &mtable->mleaf[mtable->has_reset];
290 iowrite32(mtable->csr12dir | 0x100, ioaddr + CSR12);
334 if (startup && mtable
[all...]
H A D21142.c132 if (tp->mtable && tp->mtable->csr15dir) {
133 iowrite32(tp->mtable->csr15dir, ioaddr + CSR15);
134 iowrite32(tp->mtable->csr15val, ioaddr + CSR15);
189 if (tp->mtable) {
191 for (i = 0; i < tp->mtable->leafcount; i++)
192 if (tp->mtable->mleaf[i].media == dev->if_port) {
H A Dtulip_core.c317 if (tp->mii_cnt || (tp->mtable && tp->mtable->has_mii))
388 if (tp->mtable == NULL)
393 for (i = 0; i < tp->mtable->leafcount; i++)
394 if (tp->mtable->mleaf[i].media == looking_for) {
401 if ((tp->mtable->defaultmedia & 0x0800) == 0) {
402 int looking_for = tp->mtable->defaultmedia & MEDIA_MASK;
403 for (i = 0; i < tp->mtable->leafcount; i++)
404 if (tp->mtable->mleaf[i].media == looking_for) {
412 for (i = tp->mtable
[all...]
H A Dtulip.h450 struct mediatable *mtable; member in struct:tulip_private
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/vxge/
H A Dvxge-config.c3146 u8 *mtable,
3195 vpath_handles[mtable[itable[j]]], action,
3213 if (mtable[itable[j]] != i) {
3224 if (mtable[itable[j]] != i) {
3235 if (mtable[itable[j]] != i) {
3246 if (mtable[itable[j]] != i) {
3143 vxge_hw_vpath_rts_rth_itable_set( struct __vxge_hw_vpath_handle **vpath_handles, u32 vpath_count, u8 *mtable, u8 *itable, u32 itable_size) argument
H A Dvxge-config.h2267 u8 *mtable,
H A Dvxge-main.c1669 u8 mtable[256] = {0}; /* CPU to vpath mapping */ local
1675 * - mtable with bucket-to-vpath mapping
1679 mtable[index] = index % vdev->no_of_vpath;
1694 mtable, itable,

Completed in 135 milliseconds