Home
last modified time | relevance | path

Searched refs:cqs (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/scsi/elx/efct/
Defct_hw_queues.c20 struct hw_cq *cqs[EFCT_HW_MAX_NUM_EQ]; in efct_hw_init_queues() local
73 if (efct_hw_new_cq_set(eqs, cqs, i, hw->num_qentries[SLI4_QTYPE_CQ])) { in efct_hw_init_queues()
79 if (efct_hw_new_rq_set(cqs, rqs, i, EFCT_HW_RQ_ENTRIES_DEF)) { in efct_hw_init_queues()
192 efct_hw_new_cq_set(struct hw_eq *eqs[], struct hw_cq *cqs[], in efct_hw_new_cq_set() argument
204 cqs[i] = NULL; in efct_hw_new_cq_set()
211 cqs[i] = cq; in efct_hw_new_cq_set()
228 hw->hw_cq[cqs[i]->instance] = cqs[i]; in efct_hw_new_cq_set()
229 INIT_LIST_HEAD(&cqs[i]->list_entry); in efct_hw_new_cq_set()
230 list_add_tail(&cqs[i]->list_entry, &cqs[i]->eq->cq_list); in efct_hw_new_cq_set()
237 kfree(cqs[i]); in efct_hw_new_cq_set()
[all …]
Defct_hw.h740 efct_hw_new_cq_set(struct hw_eq *eqs[], struct hw_cq *cqs[],
746 efct_hw_new_rq_set(struct hw_cq *cqs[], struct hw_rq *rqs[],
/linux-6.1.9/drivers/infiniband/hw/cxgb4/
Dev.c227 xa_lock_irqsave(&dev->cqs, flag); in c4iw_ev_handler()
228 chp = xa_load(&dev->cqs, qid); in c4iw_ev_handler()
231 xa_unlock_irqrestore(&dev->cqs, flag); in c4iw_ev_handler()
239 xa_unlock_irqrestore(&dev->cqs, flag); in c4iw_ev_handler()
Dcq.c984 xa_erase_irq(&chp->rhp->cqs, chp->cq.cqid); in c4iw_destroy_cq()
1091 ret = xa_insert_irq(&rhp->cqs, chp->cq.cqid, chp, GFP_KERNEL); in c4iw_create_cq()
1147 xa_erase_irq(&rhp->cqs, chp->cq.cqid); in c4iw_create_cq()
Diw_cxgb4.h317 struct xarray cqs; member
345 return xa_load(&rhp->cqs, cqid); in get_chp()
Ddevice.c939 WARN_ON(!xa_empty(&ctx->dev->cqs)); in c4iw_dealloc()
1049 xa_init_flags(&devp->cqs, XA_FLAGS_LOCK_IRQ); in c4iw_alloc()