Searched refs:nstids (Results 1 - 5 of 5) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/cxgb3/
H A Dcxgb3_defs.h84 if (tid < t->stid_base || tid >= t->stid_base + t->nstids)
H A Dcxgb3_offload.h163 unsigned int nstids; member in struct:tid_info
H A Dcxgb3_offload.c1188 unsigned int natids, unsigned int nstids,
1192 natids * sizeof(*t->atid_tab) + nstids * sizeof(*t->stid_tab);
1199 t->atid_tab = (union active_open_entry *)&t->stid_tab[nstids];
1201 t->nstids = nstids;
1215 if (nstids) {
1216 while (--nstids)
1217 t->stid_tab[nstids - 1].next = &t->stid_tab[nstids];
1187 init_tid_tabs(struct tid_info *t, unsigned int ntids, unsigned int natids, unsigned int nstids, unsigned int atid_base, unsigned int stid_base) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/cxgb4/
H A Dcxgb4_uld.h95 unsigned int nstids; member in struct:tid_info
127 return stid < t->nstids ? t->stid_tab[stid].data : NULL;
H A Dcxgb4_main.c2112 stid = find_first_zero_bit(t->stid_bmap, t->nstids);
2113 if (stid < t->nstids)
2118 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 2);
2249 t->nstids * sizeof(*t->stid_tab) +
2250 BITS_TO_LONGS(t->nstids) * sizeof(long);
2257 t->stid_bmap = (unsigned long *)&t->stid_tab[t->nstids];
2272 bitmap_zero(t->stid_bmap, t->nstids);
3086 adap->tids.nstids = val[2] - val[1] + 1;

Completed in 78 milliseconds