Home
last modified time | relevance | path

Searched refs:roce_get_field (Results 1 – 3 of 3) sorted by relevance

/drivers/infiniband/hw/hns/
Dhns_roce_eq.c70 switch (roce_get_field(aeqe->asyn, HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_M, in hns_roce_wq_catas_err_handle()
105 switch (roce_get_field(aeqe->asyn, HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_M, in hns_roce_local_wq_access_err_handle()
141 qpn = roce_get_field(aeqe->event.qp_event.qp, in hns_roce_qp_err_handle()
144 phy_port = roce_get_field(aeqe->event.qp_event.qp, in hns_roce_qp_err_handle()
175 cqn = le32_to_cpu(roce_get_field(aeqe->event.cq_event.cq, in hns_roce_cq_err_handle()
201 switch (roce_get_field(aeqe->asyn, HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_M, in hns_roce_db_overflow_handle()
235 roce_get_field(aeqe->asyn, in hns_roce_aeq_int()
241 event_type = roce_get_field(aeqe->asyn, in hns_roce_aeq_int()
287 roce_get_field(aeqe->event.ce_event.ceqe, in hns_roce_aeq_int()
340 cqn = roce_get_field(ceqe->ceqe.comp, in hns_roce_ceq_int()
Dhns_roce_hw_v1.c1302 if ((roce_get_field(cqe->cqe_byte_16, CQE_BYTE_16_LOCAL_QPN_M, in __hns_roce_v1_cq_clean()
1473 if (roce_get_field(cqe->cqe_byte_16, CQE_BYTE_16_LOCAL_QPN_M, in hns_roce_v1_poll_one()
1475 qpn = roce_get_field(cqe->cqe_byte_20, CQE_BYTE_20_PORT_NUM_M, in hns_roce_v1_poll_one()
1477 roce_get_field(cqe->cqe_byte_16, CQE_BYTE_16_LOCAL_QPN_M, in hns_roce_v1_poll_one()
1481 qpn = roce_get_field(cqe->cqe_byte_16, CQE_BYTE_16_LOCAL_QPN_M, in hns_roce_v1_poll_one()
1499 status = roce_get_field(cqe->cqe_byte_4, in hns_roce_v1_poll_one()
1554 sq_wqe = get_send_wqe(*cur_qp, roce_get_field(cqe->cqe_byte_4, in hns_roce_v1_poll_one()
1589 wqe_ctr = (u16)roce_get_field(cqe->cqe_byte_4, in hns_roce_v1_poll_one()
1600 opcode = roce_get_field(cqe->cqe_byte_4, in hns_roce_v1_poll_one()
1631 wc->sl = (u8)roce_get_field(cqe->cqe_byte_20, CQE_BYTE_20_SL_M, in hns_roce_v1_poll_one()
[all …]
Dhns_roce_common.h45 #define roce_get_field(origin, mask, shift) \ macro
49 roce_get_field((origin), (1ul << (shift)), (shift))