Home
last modified time | relevance | path

Searched refs:ceq (Results 1 – 10 of 10) sorted by relevance

/drivers/infiniband/hw/irdma/
Dctrl.c2522 struct irdma_sc_ceq *ceq; in irdma_sc_cq_create() local
2532 ceq = cq->dev->ceq[cq->ceq_id]; in irdma_sc_cq_create()
2533 if (ceq && ceq->reg_cq) in irdma_sc_cq_create()
2534 ret_code = irdma_sc_add_cq_ctx(ceq, cq); in irdma_sc_cq_create()
2541 if (ceq && ceq->reg_cq) in irdma_sc_cq_create()
2542 irdma_sc_remove_cq_ctx(ceq, cq); in irdma_sc_cq_create()
2594 struct irdma_sc_ceq *ceq; in irdma_sc_cq_destroy() local
2601 ceq = cq->dev->ceq[cq->ceq_id]; in irdma_sc_cq_destroy()
2602 if (ceq && ceq->reg_cq) in irdma_sc_cq_destroy()
2603 irdma_sc_remove_cq_ctx(ceq, cq); in irdma_sc_cq_destroy()
[all …]
Dpuda.c762 struct irdma_sc_ceq *ceq = dev->ceq[0]; in irdma_puda_cq_wqe() local
764 if (ceq && ceq->reg_cq) in irdma_puda_cq_wqe()
765 status = irdma_sc_add_cq_ctx(ceq, cq); in irdma_puda_cq_wqe()
900 struct irdma_sc_ceq *ceq; in irdma_puda_dele_rsrc() local
902 ceq = vsi->dev->ceq[0]; in irdma_puda_dele_rsrc()
908 if (ceq && ceq->reg_cq) in irdma_puda_dele_rsrc()
909 irdma_sc_remove_cq_ctx(ceq, &rsrc->cq); in irdma_puda_dele_rsrc()
915 if (ceq && ceq->reg_cq) in irdma_puda_dele_rsrc()
916 irdma_sc_remove_cq_ctx(ceq, &rsrc->cq); in irdma_puda_dele_rsrc()
Dtype.h606 struct irdma_sc_ceq *ceq[IRDMA_CEQ_MAX_COUNT]; member
1172 int irdma_sc_cceq_create(struct irdma_sc_ceq *ceq, u64 scratch);
1173 int irdma_sc_cceq_destroy_done(struct irdma_sc_ceq *ceq);
1175 int irdma_sc_ceq_destroy(struct irdma_sc_ceq *ceq, u64 scratch, bool post_sq);
1176 int irdma_sc_ceq_init(struct irdma_sc_ceq *ceq,
1178 void irdma_sc_cleanup_ceqes(struct irdma_sc_cq *cq, struct irdma_sc_ceq *ceq);
1179 void *irdma_sc_process_ceq(struct irdma_sc_dev *dev, struct irdma_sc_ceq *ceq);
1340 struct irdma_sc_ceq *ceq; member
1345 struct irdma_sc_ceq *ceq; member
Dprotos.h53 int irdma_sc_add_cq_ctx(struct irdma_sc_ceq *ceq, struct irdma_sc_cq *cq);
54 void irdma_sc_remove_cq_ctx(struct irdma_sc_ceq *ceq, struct irdma_sc_cq *cq);
Dhw.c105 static void irdma_process_ceq(struct irdma_pci_f *rf, struct irdma_ceq *ceq) in irdma_process_ceq() argument
112 sc_ceq = &ceq->sc_ceq; in irdma_process_ceq()
114 spin_lock_irqsave(&ceq->ce_lock, flags); in irdma_process_ceq()
117 spin_unlock_irqrestore(&ceq->ce_lock, flags); in irdma_process_ceq()
124 spin_unlock_irqrestore(&ceq->ce_lock, flags); in irdma_process_ceq()
Dverbs.c1853 struct irdma_sc_ceq *ceq = dev->ceq[cq->ceq_id]; in irdma_destroy_cq() local
1854 struct irdma_ceq *iwceq = container_of(ceq, struct irdma_ceq, sc_ceq); in irdma_destroy_cq()
1870 irdma_sc_cleanup_ceqes(cq, ceq); in irdma_destroy_cq()
Dutils.c1847 cqp_info->in.u.ceq_create.ceq = sc_ceq; in irdma_cqp_ceq_cmd()
/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_eqs.c83 container_of((eq) - (eq)->q_id, struct hinic_ceqs, ceq[0])
376 struct hinic_eq *ceq = from_tasklet(ceq, t, ceq_tasklet); in ceq_tasklet() local
378 eq_irq_handler(ceq); in ceq_tasklet()
411 struct hinic_eq *ceq = data; in ceq_interrupt() local
414 hinic_msix_attr_cnt_clear(ceq->hwif, ceq->msix_entry.entry); in ceq_interrupt()
416 tasklet_schedule(&ceq->ceq_tasklet); in ceq_interrupt()
929 ceqs->ceq[q_id].hwdev = ceqs->hwdev; in hinic_ceqs_init()
930 err = init_eq(&ceqs->ceq[q_id], hwif, HINIC_CEQ, q_id, q_len, in hinic_ceqs_init()
942 remove_eq(&ceqs->ceq[i]); in hinic_ceqs_init()
956 remove_eq(&ceqs->ceq[q_id]); in hinic_ceqs_free()
[all …]
Dhinic_hw_eqs.h225 struct hinic_eq ceq[HINIC_MAX_CEQS]; member
/drivers/infiniband/hw/erdma/
Derdma_cm.h158 void erdma_cep_get(struct erdma_cep *ceq);
159 void erdma_cep_put(struct erdma_cep *ceq);
160 int erdma_cm_queue_work(struct erdma_cep *ceq, enum erdma_work_type type);