Lines Matching refs:kern_qp
77 req.rq_buf_addr = qp->kern_qp.rq_buf_dma_addr; in create_qp_cmd()
78 req.sq_buf_addr = qp->kern_qp.sq_buf_dma_addr; in create_qp_cmd()
79 req.sq_dbrec_dma = qp->kern_qp.sq_dbrec_dma; in create_qp_cmd()
80 req.rq_dbrec_dma = qp->kern_qp.rq_dbrec_dma; in create_qp_cmd()
439 req.sq_pi = qp->kern_qp.sq_pi; in erdma_flush_worker()
440 req.rq_pi = qp->kern_qp.rq_pi; in erdma_flush_worker()
478 vfree(qp->kern_qp.swr_tbl); in free_kernel_qp()
479 vfree(qp->kern_qp.rwr_tbl); in free_kernel_qp()
481 if (qp->kern_qp.sq_buf) in free_kernel_qp()
484 qp->kern_qp.sq_buf, in free_kernel_qp()
485 qp->kern_qp.sq_buf_dma_addr); in free_kernel_qp()
487 if (qp->kern_qp.sq_dbrec) in free_kernel_qp()
488 dma_pool_free(dev->db_pool, qp->kern_qp.sq_dbrec, in free_kernel_qp()
489 qp->kern_qp.sq_dbrec_dma); in free_kernel_qp()
491 if (qp->kern_qp.rq_buf) in free_kernel_qp()
494 qp->kern_qp.rq_buf, in free_kernel_qp()
495 qp->kern_qp.rq_buf_dma_addr); in free_kernel_qp()
497 if (qp->kern_qp.rq_dbrec) in free_kernel_qp()
498 dma_pool_free(dev->db_pool, qp->kern_qp.rq_dbrec, in free_kernel_qp()
499 qp->kern_qp.rq_dbrec_dma); in free_kernel_qp()
505 struct erdma_kqp *kqp = &qp->kern_qp; in init_kernel_qp()