Lines Matching refs:alloc_dma
151 struct dma_mem *dma_mem = &ib_q->alloc_dma; in pqisrc_allocate_and_init_inbound_q()
168 ret = os_dma_mem_alloc(softs, &ib_q->alloc_dma); in pqisrc_allocate_and_init_inbound_q()
223 struct dma_mem *dma_mem = &ob_q->alloc_dma; in pqisrc_allocate_and_init_outbound_q()
240 ret = os_dma_mem_alloc(softs, &ob_q->alloc_dma); in pqisrc_allocate_and_init_outbound_q()
305 if (softs->admin_ib_queue.alloc_dma.virt_addr) in pqisrc_allocate_and_init_adminq()
306 os_dma_mem_free(softs, &softs->admin_ib_queue.alloc_dma); in pqisrc_allocate_and_init_adminq()
526 if (softs->event_q.alloc_dma.virt_addr) in pqisrc_destroy_event_queue()
527 os_dma_mem_free(softs, &softs->event_q.alloc_dma); in pqisrc_destroy_event_queue()
566 if (op_ib_q->alloc_dma.virt_addr) in pqisrc_destroy_op_ib_queues()
567 os_dma_mem_free(softs, &op_ib_q->alloc_dma); in pqisrc_destroy_op_ib_queues()
603 if (op_ob_q->alloc_dma.virt_addr) in pqisrc_destroy_op_ob_queues()
604 os_dma_mem_free(softs, &op_ob_q->alloc_dma); in pqisrc_destroy_op_ob_queues()
631 if (softs->admin_ib_queue.alloc_dma.virt_addr) in pqisrc_destroy_admin_queue()
632 os_dma_mem_free(softs, &softs->admin_ib_queue.alloc_dma); in pqisrc_destroy_admin_queue()
634 if (softs->admin_ob_queue.alloc_dma.virt_addr) in pqisrc_destroy_admin_queue()
635 os_dma_mem_free(softs, &softs->admin_ob_queue.alloc_dma); in pqisrc_destroy_admin_queue()