Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/irdma/
Dctrl.c2503 struct irdma_sc_ceq *ceq; in irdma_sc_cq_create() local
2513 ceq = cq->dev->ceq[cq->ceq_id]; in irdma_sc_cq_create()
2514 if (ceq && ceq->reg_cq) in irdma_sc_cq_create()
2515 ret_code = irdma_sc_add_cq_ctx(ceq, cq); in irdma_sc_cq_create()
2522 if (ceq && ceq->reg_cq) in irdma_sc_cq_create()
2523 irdma_sc_remove_cq_ctx(ceq, cq); in irdma_sc_cq_create()
2575 struct irdma_sc_ceq *ceq; in irdma_sc_cq_destroy() local
2582 ceq = cq->dev->ceq[cq->ceq_id]; in irdma_sc_cq_destroy()
2583 if (ceq && ceq->reg_cq) in irdma_sc_cq_destroy()
2584 irdma_sc_remove_cq_ctx(ceq, cq); in irdma_sc_cq_destroy()
[all …]
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);
Dpuda.c756 struct irdma_sc_ceq *ceq = dev->ceq[0]; in irdma_puda_cq_wqe() local
758 if (ceq && ceq->reg_cq) in irdma_puda_cq_wqe()
759 status = irdma_sc_add_cq_ctx(ceq, cq); in irdma_puda_cq_wqe()
894 struct irdma_sc_ceq *ceq; in irdma_puda_dele_rsrc() local
896 ceq = vsi->dev->ceq[0]; in irdma_puda_dele_rsrc()
902 if (ceq && ceq->reg_cq) in irdma_puda_dele_rsrc()
903 irdma_sc_remove_cq_ctx(ceq, &rsrc->cq); in irdma_puda_dele_rsrc()
909 if (ceq && ceq->reg_cq) in irdma_puda_dele_rsrc()
910 irdma_sc_remove_cq_ctx(ceq, &rsrc->cq); in irdma_puda_dele_rsrc()
Dtype.h648 struct irdma_sc_ceq *ceq[IRDMA_CEQ_MAX_COUNT]; member
1213 int irdma_sc_cceq_create(struct irdma_sc_ceq *ceq, u64 scratch);
1214 int irdma_sc_cceq_destroy_done(struct irdma_sc_ceq *ceq);
1216 int irdma_sc_ceq_destroy(struct irdma_sc_ceq *ceq, u64 scratch, bool post_sq);
1217 int irdma_sc_ceq_init(struct irdma_sc_ceq *ceq,
1219 void irdma_sc_cleanup_ceqes(struct irdma_sc_cq *cq, struct irdma_sc_ceq *ceq);
1220 void *irdma_sc_process_ceq(struct irdma_sc_dev *dev, struct irdma_sc_ceq *ceq);
1381 struct irdma_sc_ceq *ceq; member
1386 struct irdma_sc_ceq *ceq; member
Dhw.c104 static void irdma_process_ceq(struct irdma_pci_f *rf, struct irdma_ceq *ceq) in irdma_process_ceq() argument
111 sc_ceq = &ceq->sc_ceq; in irdma_process_ceq()
113 spin_lock_irqsave(&ceq->ce_lock, flags); in irdma_process_ceq()
116 spin_unlock_irqrestore(&ceq->ce_lock, flags); in irdma_process_ceq()
123 spin_unlock_irqrestore(&ceq->ce_lock, flags); in irdma_process_ceq()
Dverbs.c1776 struct irdma_sc_ceq *ceq = dev->ceq[cq->ceq_id]; in irdma_destroy_cq() local
1777 struct irdma_ceq *iwceq = container_of(ceq, struct irdma_ceq, sc_ceq); in irdma_destroy_cq()
1790 irdma_sc_cleanup_ceqes(cq, ceq); in irdma_destroy_cq()
Dutils.c1958 cqp_info->in.u.ceq_create.ceq = sc_ceq; in irdma_cqp_ceq_cmd()
/linux-6.1.9/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);
/linux-6.1.9/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