Lines Matching refs:aeqe
6219 struct hns_roce_aeqe *aeqe; in next_aeqe_sw_v2() local
6221 aeqe = hns_roce_buf_offset(eq->mtr.kmem, in next_aeqe_sw_v2()
6225 return (hr_reg_read(aeqe, AEQE_OWNER) ^ in next_aeqe_sw_v2()
6226 !!(eq->cons_index & eq->entries)) ? aeqe : NULL; in next_aeqe_sw_v2()
6232 struct hns_roce_aeqe *aeqe = next_aeqe_sw_v2(eq); in hns_roce_v2_aeq_int() local
6239 while (aeqe && num_aeqes < HNS_AEQ_POLLING_BUDGET) { in hns_roce_v2_aeq_int()
6245 event_type = hr_reg_read(aeqe, AEQE_EVENT_TYPE); in hns_roce_v2_aeq_int()
6246 sub_type = hr_reg_read(aeqe, AEQE_SUB_TYPE); in hns_roce_v2_aeq_int()
6247 queue_num = hr_reg_read(aeqe, AEQE_EVENT_QUEUE_NUM); in hns_roce_v2_aeq_int()
6259 le16_to_cpu(aeqe->event.cmd.token), in hns_roce_v2_aeq_int()
6260 aeqe->event.cmd.status, in hns_roce_v2_aeq_int()
6261 le64_to_cpu(aeqe->event.cmd.out_param)); in hns_roce_v2_aeq_int()
6271 trace_hns_ae_info(event_type, aeqe, eq->eqe_size); in hns_roce_v2_aeq_int()
6277 aeqe = next_aeqe_sw_v2(eq); in hns_roce_v2_aeq_int()