Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_adminq.c115 ret_code = iavf_allocate_virt_mem(hw, &hw->aq.arq.dma_head, in iavf_alloc_arq_bufs()
120 hw->aq.arq.r.arq_bi = (struct iavf_dma_mem *)hw->aq.arq.dma_head.va; in iavf_alloc_arq_bufs()
162 iavf_free_virt_mem(hw, &hw->aq.arq.dma_head); in iavf_alloc_arq_bufs()
178 ret_code = iavf_allocate_virt_mem(hw, &hw->aq.asq.dma_head, in iavf_alloc_asq_bufs()
183 hw->aq.asq.r.asq_bi = (struct iavf_dma_mem *)hw->aq.asq.dma_head.va; in iavf_alloc_asq_bufs()
203 iavf_free_virt_mem(hw, &hw->aq.asq.dma_head); in iavf_alloc_asq_bufs()
224 iavf_free_virt_mem(hw, &hw->aq.arq.dma_head); in iavf_free_arq_bufs()
247 iavf_free_virt_mem(hw, &hw->aq.asq.dma_head); in iavf_free_asq_bufs()
367 iavf_free_virt_mem(hw, &hw->aq.asq.dma_head); in iavf_init_asq()
432 iavf_free_virt_mem(hw, &hw->aq.arq.dma_head); in iavf_init_arq()
H A Diavf_adminq.h17 struct iavf_virt_mem dma_head; /* space for dma structures */ member
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_controlq.c165 cq->rq.dma_head = devm_kcalloc(ice_hw_to_dev(hw), cq->num_rq_entries, in ice_alloc_rq_bufs()
167 if (!cq->rq.dma_head) in ice_alloc_rq_bufs()
169 cq->rq.r.rq_bi = (struct ice_dma_mem *)cq->rq.dma_head; in ice_alloc_rq_bufs()
218 devm_kfree(ice_hw_to_dev(hw), cq->rq.dma_head); in ice_alloc_rq_bufs()
219 cq->rq.dma_head = NULL; in ice_alloc_rq_bufs()
235 cq->sq.dma_head = devm_kcalloc(ice_hw_to_dev(hw), cq->num_sq_entries, in ice_alloc_sq_bufs()
237 if (!cq->sq.dma_head) in ice_alloc_sq_bufs()
239 cq->sq.r.sq_bi = (struct ice_dma_mem *)cq->sq.dma_head; in ice_alloc_sq_bufs()
266 devm_kfree(ice_hw_to_dev(hw), cq->sq.dma_head); in ice_alloc_sq_bufs()
267 cq->sq.dma_head = NULL; in ice_alloc_sq_bufs()
[all …]
H A Dice_controlq.h42 void *dma_head; /* Virtual address to DMA head */ member
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_adminq.c127 ret_code = i40e_allocate_virt_mem(hw, &hw->aq.arq.dma_head, in i40e_alloc_arq_bufs()
131 hw->aq.arq.r.arq_bi = (struct i40e_dma_mem *)hw->aq.arq.dma_head.va; in i40e_alloc_arq_bufs()
172 i40e_free_virt_mem(hw, &hw->aq.arq.dma_head); in i40e_alloc_arq_bufs()
188 ret_code = i40e_allocate_virt_mem(hw, &hw->aq.asq.dma_head, in i40e_alloc_asq_bufs()
192 hw->aq.asq.r.asq_bi = (struct i40e_dma_mem *)hw->aq.asq.dma_head.va; in i40e_alloc_asq_bufs()
211 i40e_free_virt_mem(hw, &hw->aq.asq.dma_head); in i40e_alloc_asq_bufs()
232 i40e_free_virt_mem(hw, &hw->aq.arq.dma_head); in i40e_free_arq_bufs()
255 i40e_free_virt_mem(hw, &hw->aq.asq.dma_head); in i40e_free_asq_bufs()
H A Di40e_adminq.h17 struct i40e_virt_mem dma_head; /* space for dma structures */ member