Searched refs:cqmem (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/infiniband/hw/irdma/ |
H A D | puda.c | 787 rsrc->cqmem.size = ALIGN(cqsize + sizeof(struct irdma_cq_shadow_area), in irdma_puda_cq_create() 789 rsrc->cqmem.va = dma_alloc_coherent(dev->hw->device, rsrc->cqmem.size, in irdma_puda_cq_create() 790 &rsrc->cqmem.pa, GFP_KERNEL); in irdma_puda_cq_create() 791 if (!rsrc->cqmem.va) in irdma_puda_cq_create() 794 mem = &rsrc->cqmem; in irdma_puda_cq_create() 819 dma_free_coherent(dev->hw->device, rsrc->cqmem.size, in irdma_puda_cq_create() 820 rsrc->cqmem.va, rsrc->cqmem.pa); in irdma_puda_cq_create() 821 rsrc->cqmem.va = NULL; in irdma_puda_cq_create() 942 dma_free_coherent(dev->hw->device, rsrc->cqmem.size, in irdma_puda_dele_rsrc() 943 rsrc->cqmem.va, rsrc->cqmem.pa); in irdma_puda_dele_rsrc() [all …]
|
H A D | puda.h | 105 struct irdma_dma_mem cqmem; member
|