Searched refs:dma_head (Results 1 - 6 of 6) sorted by relevance

/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_controlq.h42 void *dma_head; /* Virtual address to DMA head */ member in struct:ice_ctl_q_ring
H A Dice_controlq.c165 cq->rq.dma_head = devm_kcalloc(ice_hw_to_dev(hw), cq->num_rq_entries,
167 if (!cq->rq.dma_head)
169 cq->rq.r.rq_bi = (struct ice_dma_mem *)cq->rq.dma_head;
218 devm_kfree(ice_hw_to_dev(hw), cq->rq.dma_head);
219 cq->rq.dma_head = NULL;
235 cq->sq.dma_head = devm_kcalloc(ice_hw_to_dev(hw), cq->num_sq_entries,
237 if (!cq->sq.dma_head)
239 cq->sq.r.sq_bi = (struct ice_dma_mem *)cq->sq.dma_head;
266 devm_kfree(ice_hw_to_dev(hw), cq->sq.dma_head);
267 cq->sq.dma_head
[all...]
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_adminq.h17 struct iavf_virt_mem dma_head; /* space for dma structures */ member in struct:iavf_adminq_ring
H A Diavf_adminq.c94 ret_code = iavf_allocate_virt_mem(hw, &hw->aq.arq.dma_head,
99 hw->aq.arq.r.arq_bi = (struct iavf_dma_mem *)hw->aq.arq.dma_head.va;
141 iavf_free_virt_mem(hw, &hw->aq.arq.dma_head);
157 ret_code = iavf_allocate_virt_mem(hw, &hw->aq.asq.dma_head,
162 hw->aq.asq.r.asq_bi = (struct iavf_dma_mem *)hw->aq.asq.dma_head.va;
182 iavf_free_virt_mem(hw, &hw->aq.asq.dma_head);
203 iavf_free_virt_mem(hw, &hw->aq.arq.dma_head);
226 iavf_free_virt_mem(hw, &hw->aq.asq.dma_head);
346 iavf_free_virt_mem(hw, &hw->aq.asq.dma_head);
411 iavf_free_virt_mem(hw, &hw->aq.arq.dma_head);
[all...]
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_adminq.h17 struct i40e_virt_mem dma_head; /* space for dma structures */ member in struct:i40e_adminq_ring
H A Di40e_adminq.c93 ret_code = i40e_allocate_virt_mem(hw, &hw->aq.arq.dma_head,
97 hw->aq.arq.r.arq_bi = (struct i40e_dma_mem *)hw->aq.arq.dma_head.va;
138 i40e_free_virt_mem(hw, &hw->aq.arq.dma_head);
154 ret_code = i40e_allocate_virt_mem(hw, &hw->aq.asq.dma_head,
158 hw->aq.asq.r.asq_bi = (struct i40e_dma_mem *)hw->aq.asq.dma_head.va;
177 i40e_free_virt_mem(hw, &hw->aq.asq.dma_head);
198 i40e_free_virt_mem(hw, &hw->aq.arq.dma_head);
221 i40e_free_virt_mem(hw, &hw->aq.asq.dma_head);

Completed in 143 milliseconds