Lines Matching refs:num_desc
297 tx_ring->producer = get_next_index(producer, tx_ring->num_desc); in qlcnic_82xx_change_filter()
413 producer = get_next_index(producer, tx_ring->num_desc); in qlcnic_tx_encap_pkt()
536 producer = get_next_index(producer, tx_ring->num_desc); in qlcnic_tx_pkt()
549 producer = get_next_index(producer, tx_ring->num_desc); in qlcnic_tx_pkt()
675 num_txd = tx_ring->num_desc; in qlcnic_xmit_frame()
876 producer = get_next_index(producer, rds_ring->num_desc); in qlcnic_post_rx_buffers_nodb()
880 writel((producer - 1) & (rds_ring->num_desc - 1), in qlcnic_post_rx_buffers_nodb()
921 sw_consumer = get_next_index(sw_consumer, tx_ring->num_desc); in qlcnic_process_cmd_ring()
1096 index = get_next_index(index, sds_ring->num_desc); in qlcnic_handle_fw_message()
1212 if (unlikely(index >= rds_ring->num_desc)) in qlcnic_process_rcv()
1284 if (unlikely(index >= rds_ring->num_desc)) in qlcnic_process_lro()
1408 consumer = get_next_index(consumer, sds_ring->num_desc); in qlcnic_process_rcv_ring()
1469 producer = get_next_index(producer, rds_ring->num_desc); in qlcnic_post_rx_buffers()
1474 writel((producer-1) & (rds_ring->num_desc-1), in qlcnic_post_rx_buffers()
1507 if (unlikely(index >= rds_ring->num_desc)) in qlcnic_process_rcv_diag()
1567 consumer = get_next_index(consumer, sds_ring->num_desc); in qlcnic_82xx_process_rcv_ring_diag()
1735 if (unlikely(index >= rds_ring->num_desc)) in qlcnic_83xx_process_rcv()
1807 if (unlikely(index >= rds_ring->num_desc)) in qlcnic_83xx_process_lro()
1924 consumer = get_next_index(consumer, sds_ring->num_desc); in qlcnic_83xx_process_rcv_ring()
2182 if (unlikely(index >= rds_ring->num_desc)) in qlcnic_83xx_process_rcv_diag()
2224 consumer = get_next_index(consumer, sds_ring->num_desc); in qlcnic_83xx_process_rcv_ring_diag()