Lines Matching refs:aeqe
4056 struct hns_roce_aeqe *aeqe, int qpn) in hns_roce_v1_wq_catas_err_handle() argument
4061 switch (roce_get_field(aeqe->asyn, HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_M, in hns_roce_v1_wq_catas_err_handle()
4090 struct hns_roce_aeqe *aeqe, in hns_roce_v1_local_wq_access_err_handle() argument
4096 switch (roce_get_field(aeqe->asyn, HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_M, in hns_roce_v1_local_wq_access_err_handle()
4125 struct hns_roce_aeqe *aeqe, in hns_roce_v1_qp_err_handle() argument
4132 qpn = roce_get_field(aeqe->event.qp_event.qp, in hns_roce_v1_qp_err_handle()
4135 phy_port = roce_get_field(aeqe->event.qp_event.qp, in hns_roce_v1_qp_err_handle()
4147 hns_roce_v1_wq_catas_err_handle(hr_dev, aeqe, qpn); in hns_roce_v1_qp_err_handle()
4150 hns_roce_v1_local_wq_access_err_handle(hr_dev, aeqe, qpn); in hns_roce_v1_qp_err_handle()
4160 struct hns_roce_aeqe *aeqe, in hns_roce_v1_cq_err_handle() argument
4166 cqn = roce_get_field(aeqe->event.cq_event.cq, in hns_roce_v1_cq_err_handle()
4188 struct hns_roce_aeqe *aeqe) in hns_roce_v1_db_overflow_handle() argument
4192 switch (roce_get_field(aeqe->asyn, HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_M, in hns_roce_v1_db_overflow_handle()
4229 struct hns_roce_aeqe *aeqe = get_aeqe_v1(eq, eq->cons_index); in next_aeqe_sw_v1() local
4231 return (roce_get_bit(aeqe->asyn, HNS_ROCE_AEQE_U32_4_OWNER_S) ^ in next_aeqe_sw_v1()
4232 !!(eq->cons_index & eq->entries)) ? aeqe : NULL; in next_aeqe_sw_v1()
4239 struct hns_roce_aeqe *aeqe; in hns_roce_v1_aeq_int() local
4243 while ((aeqe = next_aeqe_sw_v1(eq))) { in hns_roce_v1_aeq_int()
4250 dev_dbg(dev, "aeqe = %p, aeqe->asyn.event_type = 0x%lx\n", aeqe, in hns_roce_v1_aeq_int()
4251 roce_get_field(aeqe->asyn, in hns_roce_v1_aeq_int()
4254 event_type = roce_get_field(aeqe->asyn, in hns_roce_v1_aeq_int()
4273 hns_roce_v1_qp_err_handle(hr_dev, aeqe, event_type); in hns_roce_v1_aeq_int()
4283 hns_roce_v1_cq_err_handle(hr_dev, aeqe, event_type); in hns_roce_v1_aeq_int()
4290 le16_to_cpu(aeqe->event.cmd.token), in hns_roce_v1_aeq_int()
4291 aeqe->event.cmd.status, in hns_roce_v1_aeq_int()
4292 le64_to_cpu(aeqe->event.cmd.out_param in hns_roce_v1_aeq_int()
4296 hns_roce_v1_db_overflow_handle(hr_dev, aeqe); in hns_roce_v1_aeq_int()
4300 roce_get_field(aeqe->event.ce_event.ceqe, in hns_roce_v1_aeq_int()