Searched refs:dma_head (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/intel/iavf/ |
D | iavf_adminq.c | 115 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()
|
D | iavf_adminq.h | 17 struct iavf_virt_mem dma_head; /* space for dma structures */ member
|
/drivers/net/ethernet/intel/ice/ |
D | ice_controlq.c | 165 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 …]
|
D | ice_controlq.h | 43 void *dma_head; /* Virtual address to DMA head */ member
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_adminq.c | 130 ret_code = i40e_allocate_virt_mem(hw, &hw->aq.arq.dma_head, in i40e_alloc_arq_bufs() 134 hw->aq.arq.r.arq_bi = (struct i40e_dma_mem *)hw->aq.arq.dma_head.va; in i40e_alloc_arq_bufs() 176 i40e_free_virt_mem(hw, &hw->aq.arq.dma_head); in i40e_alloc_arq_bufs() 192 ret_code = i40e_allocate_virt_mem(hw, &hw->aq.asq.dma_head, in i40e_alloc_asq_bufs() 196 hw->aq.asq.r.asq_bi = (struct i40e_dma_mem *)hw->aq.asq.dma_head.va; in i40e_alloc_asq_bufs() 216 i40e_free_virt_mem(hw, &hw->aq.asq.dma_head); in i40e_alloc_asq_bufs() 237 i40e_free_virt_mem(hw, &hw->aq.arq.dma_head); in i40e_free_arq_bufs() 260 i40e_free_virt_mem(hw, &hw->aq.asq.dma_head); in i40e_free_asq_bufs()
|
D | i40e_adminq.h | 17 struct i40e_virt_mem dma_head; /* space for dma structures */ member
|