Lines Matching refs:ccq
735 struct irdma_ccq *ccq = &rf->ccq; in irdma_destroy_ccq() local
739 status = irdma_sc_ccq_destroy(dev->ccq, 0, true); in irdma_destroy_ccq()
742 dma_free_coherent(dev->hw->device, ccq->mem_cq.size, ccq->mem_cq.va, in irdma_destroy_ccq()
743 ccq->mem_cq.pa); in irdma_destroy_ccq()
744 ccq->mem_cq.va = NULL; in irdma_destroy_ccq()
1007 struct irdma_ccq *ccq = &rf->ccq; in irdma_create_ccq() local
1009 dev->ccq = &ccq->sc_cq; in irdma_create_ccq()
1010 dev->ccq->dev = dev; in irdma_create_ccq()
1012 ccq->shadow_area.size = sizeof(struct irdma_cq_shadow_area); in irdma_create_ccq()
1013 ccq->mem_cq.size = ALIGN(sizeof(struct irdma_cqe) * IW_CCQ_SIZE, in irdma_create_ccq()
1015 ccq->mem_cq.va = dma_alloc_coherent(dev->hw->device, ccq->mem_cq.size, in irdma_create_ccq()
1016 &ccq->mem_cq.pa, GFP_KERNEL); in irdma_create_ccq()
1017 if (!ccq->mem_cq.va) in irdma_create_ccq()
1020 status = irdma_obj_aligned_mem(rf, &ccq->shadow_area, in irdma_create_ccq()
1021 ccq->shadow_area.size, in irdma_create_ccq()
1026 ccq->sc_cq.back_cq = ccq; in irdma_create_ccq()
1028 info.cq_base = ccq->mem_cq.va; in irdma_create_ccq()
1029 info.cq_pa = ccq->mem_cq.pa; in irdma_create_ccq()
1031 info.shadow_area = ccq->shadow_area.va; in irdma_create_ccq()
1032 info.shadow_area_pa = ccq->shadow_area.pa; in irdma_create_ccq()
1037 status = irdma_sc_ccq_init(dev->ccq, &info); in irdma_create_ccq()
1039 status = irdma_sc_ccq_create(dev->ccq, 0, true, true); in irdma_create_ccq()
1042 dma_free_coherent(dev->hw->device, ccq->mem_cq.size, in irdma_create_ccq()
1043 ccq->mem_cq.va, ccq->mem_cq.pa); in irdma_create_ccq()
1044 ccq->mem_cq.va = NULL; in irdma_create_ccq()
1922 irdma_sc_ccq_arm(dev->ccq); in irdma_ctrl_init_hw()
2107 struct irdma_sc_cq *cq = &rf->ccq.sc_cq; in cqp_compl_worker()