Lines Matching refs:buf_cnt
354 u32 buf_cnt, in octeon_create_recv_info() argument
371 recv_pkt->buffer_count = (u16)buf_cnt; in octeon_create_recv_info()
377 while (buf_cnt) { in octeon_create_recv_info()
392 buf_cnt--; in octeon_create_recv_info()
507 u32 buf_cnt = 0; in octeon_droq_get_bufcount() local
509 while (total_len > (buf_size * buf_cnt)) in octeon_droq_get_bufcount()
510 buf_cnt++; in octeon_droq_get_bufcount()
511 return buf_cnt; in octeon_droq_get_bufcount()
553 u32 i = 0, buf_cnt; in octeon_droq_drop_packets() local
563 buf_cnt = octeon_droq_get_bufcount(droq->buffer_size, in octeon_droq_drop_packets()
567 buf_cnt = 1; in octeon_droq_drop_packets()
570 INCR_INDEX(droq->read_idx, buf_cnt, droq->max_count); in octeon_droq_drop_packets()
571 droq->refill_count += buf_cnt; in octeon_droq_drop_packets()
610 u32 buf_cnt; in octeon_droq_fast_process_packets() local
612 buf_cnt = octeon_droq_dispatch_pkt(oct, droq, rh, info); in octeon_droq_fast_process_packets()
613 INCR_INDEX(droq->read_idx, buf_cnt, droq->max_count); in octeon_droq_fast_process_packets()
614 droq->refill_count += buf_cnt; in octeon_droq_fast_process_packets()