Searched refs:iwcq (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/drivers/infiniband/hw/irdma/ |
D | verbs.c | 471 static void irdma_clean_cqes(struct irdma_qp *iwqp, struct irdma_cq *iwcq) in irdma_clean_cqes() argument 473 struct irdma_cq_uk *ukcq = &iwcq->sc_cq.cq_uk; in irdma_clean_cqes() 476 spin_lock_irqsave(&iwcq->lock, flags); in irdma_clean_cqes() 478 spin_unlock_irqrestore(&iwcq->lock, flags); in irdma_clean_cqes() 1701 static void irdma_cq_free_rsrc(struct irdma_pci_f *rf, struct irdma_cq *iwcq) in irdma_cq_free_rsrc() argument 1703 struct irdma_sc_cq *cq = &iwcq->sc_cq; in irdma_cq_free_rsrc() 1705 if (!iwcq->user_mode) { in irdma_cq_free_rsrc() 1706 dma_free_coherent(rf->sc_dev.hw->device, iwcq->kmem.size, in irdma_cq_free_rsrc() 1707 iwcq->kmem.va, iwcq->kmem.pa); in irdma_cq_free_rsrc() 1708 iwcq->kmem.va = NULL; in irdma_cq_free_rsrc() [all …]
|
D | verbs.h | 241 void irdma_remove_cmpls_list(struct irdma_cq *iwcq); 242 int irdma_generated_cmpls(struct irdma_cq *iwcq, struct irdma_cq_poll_info *cq_poll_info);
|
D | hw.c | 59 static void irdma_iwarp_ce_handler(struct irdma_sc_cq *iwcq) in irdma_iwarp_ce_handler() argument 61 struct irdma_cq *cq = iwcq->back_cq; in irdma_iwarp_ce_handler() 212 struct irdma_cq *iwcq = NULL; in irdma_process_aeq() local 331 iwcq = cq->back_cq; in irdma_process_aeq() 333 if (iwcq->ibcq.event_handler) { in irdma_process_aeq() 336 ibevent.device = iwcq->ibcq.device; in irdma_process_aeq() 338 ibevent.element.cq = &iwcq->ibcq; in irdma_process_aeq() 339 iwcq->ibcq.event_handler(&ibevent, in irdma_process_aeq() 340 iwcq->ibcq.cq_context); in irdma_process_aeq()
|
D | utils.c | 2487 bool irdma_cq_empty(struct irdma_cq *iwcq) in irdma_cq_empty() argument 2494 ukcq = &iwcq->sc_cq.cq_uk; in irdma_cq_empty() 2502 void irdma_remove_cmpls_list(struct irdma_cq *iwcq) in irdma_remove_cmpls_list() argument 2507 list_for_each_safe (list_node, tmp_node, &iwcq->cmpl_generated) { in irdma_remove_cmpls_list() 2514 int irdma_generated_cmpls(struct irdma_cq *iwcq, struct irdma_cq_poll_info *cq_poll_info) in irdma_generated_cmpls() argument 2518 if (list_empty(&iwcq->cmpl_generated)) in irdma_generated_cmpls() 2520 cmpl = list_first_entry_or_null(&iwcq->cmpl_generated, struct irdma_cmpl_gen, list); in irdma_generated_cmpls() 2525 ibdev_dbg(iwcq->ibcq.device, in irdma_generated_cmpls()
|
D | main.h | 539 bool irdma_cq_empty(struct irdma_cq *iwcq);
|