Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_offload.c1158 unsigned int natids, unsigned int nstids, in init_tid_tabs()
1162 natids * sizeof(*t->atid_tab) + nstids * sizeof(*t->stid_tab); in init_tid_tabs()
1169 t->atid_tab = (union active_open_entry *)&t->stid_tab[nstids]; in init_tid_tabs()
1171 t->nstids = nstids; in init_tid_tabs()
1185 if (nstids) { in init_tid_tabs()
1186 while (--nstids) in init_tid_tabs()
1187 t->stid_tab[nstids - 1].next = &t->stid_tab[nstids]; in init_tid_tabs()
1157 init_tid_tabs(struct tid_info *t, unsigned int ntids, unsigned int natids, unsigned int nstids, unsigned int atid_base, unsigned int stid_base) init_tid_tabs() argument
H A Dcxgb3_defs.h79 if (tid < t->stid_base || tid >= t->stid_base + t->nstids) in lookup_stid()
H A Dcxgb3_offload.h163 unsigned int nstids; member
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_offload.c1158 unsigned int natids, unsigned int nstids, in init_tid_tabs()
1162 natids * sizeof(*t->atid_tab) + nstids * sizeof(*t->stid_tab); in init_tid_tabs()
1169 t->atid_tab = (union active_open_entry *)&t->stid_tab[nstids]; in init_tid_tabs()
1171 t->nstids = nstids; in init_tid_tabs()
1185 if (nstids) { in init_tid_tabs()
1186 while (--nstids) in init_tid_tabs()
1187 t->stid_tab[nstids - 1].next = &t->stid_tab[nstids]; in init_tid_tabs()
1157 init_tid_tabs(struct tid_info *t, unsigned int ntids, unsigned int natids, unsigned int nstids, unsigned int atid_base, unsigned int stid_base) init_tid_tabs() argument
H A Dcxgb3_defs.h79 if (tid < t->stid_base || tid >= t->stid_base + t->nstids) in lookup_stid()
H A Dcxgb3_offload.h163 unsigned int nstids; member
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_uld.h112 unsigned int nstids; member
187 stid += t->nstids; in lookup_stid()
192 return stid < (t->nstids + t->nsftids) ? t->stid_tab[stid].data : NULL; in lookup_stid()
H A Dcudbg_entity.h158 u32 nstids; member
H A Dcxgb4_main.c1636 stid = find_first_zero_bit(t->stid_bmap, t->nstids); in cxgb4_alloc_stid()
1637 if (stid < t->nstids) in cxgb4_alloc_stid()
1642 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 1); in cxgb4_alloc_stid()
1674 t->nstids + t->nsftids, t->nstids); in cxgb4_alloc_sftid()
1675 if (stid < (t->nstids + t->nsftids)) in cxgb4_alloc_sftid()
1684 stid -= t->nstids; in cxgb4_alloc_sftid()
1700 stid += t->nstids; in cxgb4_free_stid()
1711 if (stid < t->nstids) { in cxgb4_free_stid()
1844 stid_bmap_size = BITS_TO_LONGS(t->nstids in tid_init()
[all...]
H A Dcudbg_lib.c2191 tid->nstids = padap->tids.nstids; in cudbg_collect_tid()
H A Dcxgb4_debugfs.c3363 if (t->nstids) in tid_info_show()
3368 t->stid_base + t->nstids - 1, in tid_info_show()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_uld.h112 unsigned int nstids; member
187 stid += t->nstids; in lookup_stid()
192 return stid < (t->nstids + t->nsftids) ? t->stid_tab[stid].data : NULL; in lookup_stid()
H A Dcudbg_entity.h158 u32 nstids; member
H A Dcxgb4_main.c1635 stid = find_first_zero_bit(t->stid_bmap, t->nstids); in cxgb4_alloc_stid()
1636 if (stid < t->nstids) in cxgb4_alloc_stid()
1641 stid = bitmap_find_free_region(t->stid_bmap, t->nstids, 1); in cxgb4_alloc_stid()
1673 t->nstids + t->nsftids, t->nstids); in cxgb4_alloc_sftid()
1674 if (stid < (t->nstids + t->nsftids)) in cxgb4_alloc_sftid()
1683 stid -= t->nstids; in cxgb4_alloc_sftid()
1699 stid += t->nstids; in cxgb4_free_stid()
1710 if (stid < t->nstids) { in cxgb4_free_stid()
1843 stid_bmap_size = BITS_TO_LONGS(t->nstids in tid_init()
[all...]
H A Dcudbg_lib.c2191 tid->nstids = padap->tids.nstids; in cudbg_collect_tid()
H A Dcxgb4_debugfs.c3363 if (t->nstids) in tid_info_show()
3368 t->stid_base + t->nstids - 1, in tid_info_show()

Completed in 38 milliseconds