Lines Matching full:producer
277 u32 producer; in qlcnic_82xx_change_filter() local
280 producer = tx_ring->producer; in qlcnic_82xx_change_filter()
281 hwdesc = &tx_ring->desc_head[tx_ring->producer]; in qlcnic_82xx_change_filter()
297 tx_ring->producer = get_next_index(producer, tx_ring->num_desc); in qlcnic_82xx_change_filter()
377 u32 producer = tx_ring->producer; in qlcnic_tx_encap_pkt() local
407 hwdesc = &tx_ring->desc_head[producer]; in qlcnic_tx_encap_pkt()
408 tx_ring->cmd_buf_arr[producer].skb = NULL; in qlcnic_tx_encap_pkt()
413 producer = get_next_index(producer, tx_ring->num_desc); in qlcnic_tx_encap_pkt()
416 tx_ring->producer = producer; in qlcnic_tx_encap_pkt()
418 /* Make sure updated tx_ring->producer is visible in qlcnic_tx_encap_pkt()
467 u32 producer = tx_ring->producer; in qlcnic_tx_pkt() local
519 hwdesc = &tx_ring->desc_head[producer]; in qlcnic_tx_pkt()
520 tx_ring->cmd_buf_arr[producer].skb = NULL; in qlcnic_tx_pkt()
535 producer = get_next_index(producer, tx_ring->num_desc); in qlcnic_tx_pkt()
541 hwdesc = &tx_ring->desc_head[producer]; in qlcnic_tx_pkt()
542 tx_ring->cmd_buf_arr[producer].skb = NULL; in qlcnic_tx_pkt()
548 producer = get_next_index(producer, tx_ring->num_desc); in qlcnic_tx_pkt()
551 tx_ring->producer = producer; in qlcnic_tx_pkt()
658 u32 producer, num_txd; in qlcnic_xmit_frame() local
701 producer = tx_ring->producer; in qlcnic_xmit_frame()
702 pbuf = &tx_ring->cmd_buf_arr[producer]; in qlcnic_xmit_frame()
704 first_desc = &tx_ring->desc_head[producer]; in qlcnic_xmit_frame()
705 hwdesc = &tx_ring->desc_head[producer]; in qlcnic_xmit_frame()
724 producer = get_next_index(producer, num_txd); in qlcnic_xmit_frame()
725 hwdesc = &tx_ring->desc_head[producer]; in qlcnic_xmit_frame()
727 tx_ring->cmd_buf_arr[producer].skb = NULL; in qlcnic_xmit_frame()
748 tx_ring->producer = get_next_index(producer, num_txd); in qlcnic_xmit_frame()
850 uint32_t producer, handle; in qlcnic_post_rx_buffers_nodb() local
856 producer = rds_ring->producer; in qlcnic_post_rx_buffers_nodb()
869 pdesc = &rds_ring->desc_head[producer]; in qlcnic_post_rx_buffers_nodb()
875 producer = get_next_index(producer, rds_ring->num_desc); in qlcnic_post_rx_buffers_nodb()
878 rds_ring->producer = producer; in qlcnic_post_rx_buffers_nodb()
879 writel((producer - 1) & (rds_ring->num_desc - 1), in qlcnic_post_rx_buffers_nodb()
1443 u32 producer, handle; in qlcnic_post_rx_buffers() local
1446 producer = rds_ring->producer; in qlcnic_post_rx_buffers()
1462 pdesc = &rds_ring->desc_head[producer]; in qlcnic_post_rx_buffers()
1468 producer = get_next_index(producer, rds_ring->num_desc); in qlcnic_post_rx_buffers()
1472 rds_ring->producer = producer; in qlcnic_post_rx_buffers()
1473 writel((producer-1) & (rds_ring->num_desc-1), in qlcnic_post_rx_buffers()