Lines Matching refs:pkt_count
96 u32 pkt_count = 0; in octeon_droq_check_hw_for_pkts() local
99 pkt_count = readl(droq->pkts_sent_reg); in octeon_droq_check_hw_for_pkts()
101 last_count = pkt_count - droq->pkt_count; in octeon_droq_check_hw_for_pkts()
102 droq->pkt_count = pkt_count; in octeon_droq_check_hw_for_pkts()
597 u32 pkt, total_len = 0, pkt_count, retval; in octeon_droq_fast_process_packets() local
601 pkt_count = pkts_to_process; in octeon_droq_fast_process_packets()
603 for (pkt = 0; pkt < pkt_count; pkt++) { in octeon_droq_fast_process_packets()
616 droq->q_no, droq->read_idx, pkt_count); in octeon_droq_fast_process_packets()
745 u32 pkt_count = 0; in octeon_droq_process_packets() local
749 pkt_count = atomic_read(&droq->pkts_pending); in octeon_droq_process_packets()
751 if (!pkt_count) in octeon_droq_process_packets()
754 if (pkt_count > budget) in octeon_droq_process_packets()
755 pkt_count = budget; in octeon_droq_process_packets()
757 octeon_droq_fast_process_packets(oct, droq, pkt_count); in octeon_droq_process_packets()