Lines Matching refs:ind_bufp

567 	struct ibmvnic_ind_xmit_queue *ind_bufp;  in replenish_rx_pool()  local
585 ind_bufp = &rx_scrq->ind_buf; in replenish_rx_pool()
593 for (i = ind_bufp->index; i < count; ++i) { in replenish_rx_pool()
629 sub_crq = &ind_bufp->indir_arr[ind_bufp->index++]; in replenish_rx_pool()
648 if (ind_bufp->index == IBMVNIC_MAX_IND_DESCS || in replenish_rx_pool()
652 (u64)ind_bufp->indir_dma, in replenish_rx_pool()
653 (u64)ind_bufp->index); in replenish_rx_pool()
656 buffers_added += ind_bufp->index; in replenish_rx_pool()
657 adapter->replenish_add_buff_success += ind_bufp->index; in replenish_rx_pool()
658 ind_bufp->index = 0; in replenish_rx_pool()
667 for (i = ind_bufp->index - 1; i >= 0; --i) { in replenish_rx_pool()
672 sub_crq = &ind_bufp->indir_arr[i]; in replenish_rx_pool()
680 adapter->replenish_add_buff_failure += ind_bufp->index; in replenish_rx_pool()
682 ind_bufp->index = 0; in replenish_rx_pool()
2030 struct ibmvnic_ind_xmit_queue *ind_bufp; in ibmvnic_tx_scrq_clean_buffer() local
2039 ind_bufp = &tx_scrq->ind_buf; in ibmvnic_tx_scrq_clean_buffer()
2040 entries = (u64)ind_bufp->index; in ibmvnic_tx_scrq_clean_buffer()
2044 tx_scrq_entry = ind_bufp->indir_arr[i]; in ibmvnic_tx_scrq_clean_buffer()
2069 ind_bufp->index = 0; in ibmvnic_tx_scrq_clean_buffer()
2089 struct ibmvnic_ind_xmit_queue *ind_bufp; in ibmvnic_tx_scrq_flush() local
2095 ind_bufp = &tx_scrq->ind_buf; in ibmvnic_tx_scrq_flush()
2096 dma_addr = (u64)ind_bufp->indir_dma; in ibmvnic_tx_scrq_flush()
2097 entries = (u64)ind_bufp->index; in ibmvnic_tx_scrq_flush()
2106 ind_bufp->index = 0; in ibmvnic_tx_scrq_flush()
2116 struct ibmvnic_ind_xmit_queue *ind_bufp; in ibmvnic_xmit() local
2154 ind_bufp = &tx_scrq->ind_buf; in ibmvnic_xmit()
2268 if (num_entries + ind_bufp->index > IBMVNIC_MAX_IND_DESCS) { in ibmvnic_xmit()
2275 memcpy(&ind_bufp->indir_arr[ind_bufp->index], &indir_arr[0], in ibmvnic_xmit()
2277 ind_bufp->index += num_entries; in ibmvnic_xmit()
2280 ind_bufp->index < IBMVNIC_MAX_IND_DESCS)) { in ibmvnic_xmit()