Lines Matching refs:max_count
38 for (i = 0; i < oq->max_count; i++) { in octep_oq_fill_ring_buffers()
106 if (refill_idx == oq->max_count) in octep_oq_refill()
137 oq->max_count = CFG_GET_OQ_NUM_DESC(oct->conf); in octep_setup_oq()
138 oq->ring_size_mask = oq->max_count - 1; in octep_setup_oq()
151 desc_ring_size = oq->max_count * OCTEP_OQ_DESC_SIZE; in octep_setup_oq()
161 oq->buff_info = vzalloc(oq->max_count * OCTEP_OQ_RECVBUF_SIZE); in octep_setup_oq()
206 for (i = 0; i < oq->max_count; i++) { in octep_oq_free_ring_buffers()
236 oq->max_count * OCTEP_OQ_DESC_SIZE, in octep_free_oq()
287 writel(oct->oq[i]->max_count, oct->oq[i]->pkts_credit_reg); in octep_oq_dbell_init()
401 if (read_idx == oq->max_count) in __octep_oq_process_rx()
415 if (read_idx == oq->max_count) in __octep_oq_process_rx()
440 if (read_idx == oq->max_count) in __octep_oq_process_rx()