Home
last modified time | relevance | path

Searched refs:q_len (Results 1 – 5 of 5) sorted by relevance

/u-boot/drivers/net/octeontx/
A Dnicvf_queues.c40 int q_len, int desc_size, int align_bytes) in nicvf_alloc_q_desc_mem() argument
42 dmem->q_len = q_len; in nicvf_alloc_q_desc_mem()
43 dmem->size = (desc_size * q_len) + align_bytes; in nicvf_alloc_q_desc_mem()
180 struct cmp_queue *cq, int q_len) in nicvf_init_cmp_queue() argument
209 struct snd_queue *sq, int q_len) in nicvf_init_snd_queue() argument
219 sq->skbuff = calloc(q_len, sizeof(u64)); in nicvf_init_snd_queue()
222 sq->free_cnt = q_len - 1; in nicvf_init_snd_queue()
667 sq->tail &= (sq->dmem.q_len - 1); in nicvf_get_sq_desc()
677 sq->head &= (sq->dmem.q_len - 1); in nicvf_put_sq_desc()
683 qentry &= (sq->dmem.q_len - 1); in nicvf_get_nxt_sqentry()
[all …]
A Dnicvf_queues.h227 u16 q_len; member
A Dnicvf_main.c281 cqe_head &= (cq->dmem.q_len - 1); in nicvf_cq_handler()
/u-boot/drivers/net/octeontx2/
A Dnix.c141 npa->q_len[NPA_POOL_RX] = RQ_QLEN; in npa_lf_setup()
142 npa->q_len[NPA_POOL_TX] = SQ_QLEN; in npa_lf_setup()
143 npa->q_len[NPA_POOL_SQB] = SQB_QLEN; in npa_lf_setup()
192 aura->s.shift = 64 - __builtin_clzll(npa->q_len[idx]) - 8; in npa_lf_setup()
193 aura->s.count = npa->q_len[idx]; in npa_lf_setup()
194 aura->s.limit = npa->q_len[idx]; in npa_lf_setup()
220 npa->buffers[idx] = nix_memalloc(npa->q_len[idx], in npa_lf_setup()
231 npa->q_len[idx], npa->buffers[idx]); in npa_lf_setup()
A Dnix.h140 u32 q_len[NPA_POOL_COUNT]; member

Completed in 11 milliseconds