Home
last modified time | relevance | path

Searched refs:num_prec (Results 1 – 2 of 2) sorted by relevance

/hardware/broadcom/wlan/bcm4329/src/shared/
Dbcmutils.c156 ASSERT(prec >= 0 && prec < pq->num_prec); in pktq_penq()
185 ASSERT(prec >= 0 && prec < pq->num_prec); in pktq_penq_head()
214 ASSERT(prec >= 0 && prec < pq->num_prec); in pktq_pdeq()
239 ASSERT(prec >= 0 && prec < pq->num_prec); in pktq_pdeq_tail()
288 ASSERT(prec >= 0 && prec < pq->num_prec); in pktq_pdel()
316 pktq_init(struct pktq *pq, int num_prec, int max_len) in pktq_init() argument
320 ASSERT(num_prec > 0 && num_prec <= PKTQ_MAX_PREC); in pktq_init()
323 bzero(pq, OFFSETOF(struct pktq, q) + (sizeof(struct pktq_prec) * num_prec)); in pktq_init()
325 pq->num_prec = (uint16)num_prec; in pktq_init()
329 for (prec = 0; prec < num_prec; prec++) in pktq_init()
[all …]
/hardware/broadcom/wlan/bcm4329/src/include/
Dbcmutils.h104 uint16 num_prec; member
114 uint16 num_prec; member
122 #define PKTQ_PREC_ITER(pq, prec) for (prec = (pq)->num_prec - 1; prec >= 0; prec--)
175 extern void pktq_init(struct pktq *pq, int num_prec, int max_len);