Lines Matching refs:ccq

728 	struct irdma_ccq *ccq = &rf->ccq;  in irdma_destroy_ccq()  local
732 status = irdma_sc_ccq_destroy(dev->ccq, 0, true); in irdma_destroy_ccq()
735 dma_free_coherent(dev->hw->device, ccq->mem_cq.size, ccq->mem_cq.va, in irdma_destroy_ccq()
736 ccq->mem_cq.pa); in irdma_destroy_ccq()
737 ccq->mem_cq.va = NULL; in irdma_destroy_ccq()
996 struct irdma_ccq *ccq = &rf->ccq; in irdma_create_ccq() local
999 dev->ccq = &ccq->sc_cq; in irdma_create_ccq()
1000 dev->ccq->dev = dev; in irdma_create_ccq()
1002 ccq->shadow_area.size = sizeof(struct irdma_cq_shadow_area); in irdma_create_ccq()
1003 ccq->mem_cq.size = ALIGN(sizeof(struct irdma_cqe) * IW_CCQ_SIZE, in irdma_create_ccq()
1005 ccq->mem_cq.va = dma_alloc_coherent(dev->hw->device, ccq->mem_cq.size, in irdma_create_ccq()
1006 &ccq->mem_cq.pa, GFP_KERNEL); in irdma_create_ccq()
1007 if (!ccq->mem_cq.va) in irdma_create_ccq()
1010 status = irdma_obj_aligned_mem(rf, &ccq->shadow_area, in irdma_create_ccq()
1011 ccq->shadow_area.size, in irdma_create_ccq()
1016 ccq->sc_cq.back_cq = ccq; in irdma_create_ccq()
1018 info.cq_base = ccq->mem_cq.va; in irdma_create_ccq()
1019 info.cq_pa = ccq->mem_cq.pa; in irdma_create_ccq()
1021 info.shadow_area = ccq->shadow_area.va; in irdma_create_ccq()
1022 info.shadow_area_pa = ccq->shadow_area.pa; in irdma_create_ccq()
1027 status = irdma_sc_ccq_init(dev->ccq, &info); in irdma_create_ccq()
1029 status = irdma_sc_ccq_create(dev->ccq, 0, true, true); in irdma_create_ccq()
1032 dma_free_coherent(dev->hw->device, ccq->mem_cq.size, in irdma_create_ccq()
1033 ccq->mem_cq.va, ccq->mem_cq.pa); in irdma_create_ccq()
1034 ccq->mem_cq.va = NULL; in irdma_create_ccq()
1903 irdma_sc_ccq_arm(dev->ccq); in irdma_ctrl_init_hw()
2088 struct irdma_sc_cq *cq = &rf->ccq.sc_cq; in cqp_compl_worker()