Home
last modified time | relevance | path

Searched refs:aeqe (Results 1 – 7 of 7) sorted by relevance

/drivers/infiniband/hw/erdma/
Derdma_eq.c32 struct erdma_aeqe *aeqe; in erdma_aeq_event_handler() local
42 aeqe = get_next_valid_eqe(&dev->aeq); in erdma_aeq_event_handler()
43 if (!aeqe) in erdma_aeq_event_handler()
53 le32_to_cpu(aeqe->hdr)) == ERDMA_AE_TYPE_CQ_ERR) { in erdma_aeq_event_handler()
54 cqn = le32_to_cpu(aeqe->event_data0); in erdma_aeq_event_handler()
66 qpn = le32_to_cpu(aeqe->event_data0); in erdma_aeq_event_handler()
/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_eqs.c594 struct hinic_aeq_elem *aeqe; in aeq_elements_init() local
598 aeqe = GET_AEQ_ELEM(eq, i); in aeq_elements_init()
599 aeqe->desc = cpu_to_be32(init_val); in aeq_elements_init()
/drivers/crypto/hisilicon/
Dqm.c71 #define QM_AEQE_PHASE(aeqe) ((le32_to_cpu((aeqe)->dw0) >> 16) & 0x1) argument
1063 struct qm_aeqe *aeqe = qm->aeqe + qm->status.aeq_head; in qm_aeq_thread() local
1067 while (QM_AEQE_PHASE(aeqe) == qm->status.aeqc_phase) { in qm_aeq_thread()
1068 type = le32_to_cpu(aeqe->dw0) >> QM_AEQE_TYPE_SHIFT; in qm_aeq_thread()
1069 qp_id = le32_to_cpu(aeqe->dw0) & QM_AEQE_CQN_MASK; in qm_aeq_thread()
1091 aeqe = qm->aeqe; in qm_aeq_thread()
1094 aeqe++; in qm_aeq_thread()
5305 QM_INIT_BUF(qm, aeqe, qm->aeq_depth); in hisi_qm_memory_init()
Ddebugfs.c355 } else if (qm->aeqe && !strcmp(name, "AEQE")) { in qm_eq_aeq_dump()
356 xeqe = qm->aeqe + xeqe_id; in qm_eq_aeq_dump()
/drivers/infiniband/hw/bnxt_re/
Dmain.c877 void *aeqe, void *obj) in bnxt_re_aeq_handler() argument
884 type = ((struct creq_base *)aeqe)->type; in bnxt_re_aeq_handler()
886 unaffi_async = aeqe; in bnxt_re_aeq_handler()
889 affi_async = aeqe; in bnxt_re_aeq_handler()
/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c6070 struct hns_roce_aeqe *aeqe; in next_aeqe_sw_v2() local
6072 aeqe = hns_roce_buf_offset(eq->mtr.kmem, in next_aeqe_sw_v2()
6076 return (hr_reg_read(aeqe, AEQE_OWNER) ^ in next_aeqe_sw_v2()
6077 !!(eq->cons_index & eq->entries)) ? aeqe : NULL; in next_aeqe_sw_v2()
6084 struct hns_roce_aeqe *aeqe = next_aeqe_sw_v2(eq); in hns_roce_v2_aeq_int() local
6090 while (aeqe) { in hns_roce_v2_aeq_int()
6096 event_type = hr_reg_read(aeqe, AEQE_EVENT_TYPE); in hns_roce_v2_aeq_int()
6097 sub_type = hr_reg_read(aeqe, AEQE_SUB_TYPE); in hns_roce_v2_aeq_int()
6098 queue_num = hr_reg_read(aeqe, AEQE_EVENT_QUEUE_NUM); in hns_roce_v2_aeq_int()
6123 le16_to_cpu(aeqe->event.cmd.token), in hns_roce_v2_aeq_int()
[all …]
/drivers/infiniband/hw/irdma/
Dctrl.c3996 __le64 *aeqe; in irdma_sc_get_next_aeqe() local
4001 aeqe = IRDMA_GET_CURRENT_AEQ_ELEM(aeq); in irdma_sc_get_next_aeqe()
4002 get_64bit_val(aeqe, 8, &temp); in irdma_sc_get_next_aeqe()
4011 get_64bit_val(aeqe, 0, &compl_ctx); in irdma_sc_get_next_aeqe()
4014 aeqe, 16, false); in irdma_sc_get_next_aeqe()