Lines Matching refs:max_count
137 droq->max_empty_descs = droq->max_count - droq->max_empty_descs; in octeon_droq_compute_max_packet_bufs()
155 for (i = 0; i < droq->max_count; i++) { in octeon_droq_destroy_ring_buffers()
183 for (i = 0; i < droq->max_count; i++) { in octeon_droq_setup_ring_buffers()
228 lio_dma_free(oct, (droq->max_count * OCT_DROQ_DESC_SIZE), in octeon_delete_droq()
267 droq->max_count = c_num_descs; in octeon_init_droq()
270 desc_ring_size = droq->max_count * OCT_DROQ_DESC_SIZE; in octeon_init_droq()
283 droq->max_count); in octeon_init_droq()
287 (droq->max_count * OCT_DROQ_INFO_SIZE), in octeon_init_droq()
294 lio_dma_free(oct, (droq->max_count * OCT_DROQ_DESC_SIZE), in octeon_init_droq()
300 vmalloc(droq->max_count * in octeon_init_droq()
389 INCR_INDEX_BY1(idx, droq->max_count); in octeon_create_recv_info()
421 droq->max_count); in octeon_droq_refill_pullup_descs()
427 INCR_INDEX_BY1(refill_index, droq->max_count); in octeon_droq_refill_pullup_descs()
455 while (droq->refill_count && (desc_refilled < droq->max_count)) { in octeon_droq_refill()
487 INCR_INDEX_BY1(droq->refill_idx, droq->max_count); in octeon_droq_refill()
570 INCR_INDEX(droq->read_idx, buf_cnt, droq->max_count); in octeon_droq_drop_packets()
613 INCR_INDEX(droq->read_idx, buf_cnt, droq->max_count); in octeon_droq_fast_process_packets()
626 INCR_INDEX_BY1(droq->read_idx, droq->max_count); in octeon_droq_fast_process_packets()
665 droq->max_count); in octeon_droq_fast_process_packets()
765 if (budget > droq->max_count) in octeon_droq_process_poll_pkts()
766 budget = droq->max_count; in octeon_droq_process_poll_pkts()