Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_restrack.c16 roce_get_field(context->byte_4_pg_ceqn, in hns_roce_fill_cq()
22 roce_get_field(context->byte_4_pg_ceqn, in hns_roce_fill_cq()
28 roce_get_field(context->byte_8_cqn, in hns_roce_fill_cq()
34 roce_get_field(context->byte_16_hop_addr, in hns_roce_fill_cq()
41 roce_get_field(context->byte_28_cq_pi, in hns_roce_fill_cq()
48 roce_get_field(context->byte_32_cq_ci, in hns_roce_fill_cq()
55 roce_get_field(context->byte_56_cqe_period_maxcnt, in hns_roce_fill_cq()
62 roce_get_field(context->byte_56_cqe_period_maxcnt, in hns_roce_fill_cq()
68 roce_get_field(context->byte_52_cqe_cnt, in hns_roce_fill_cq()
Dhns_roce_hw_v1.c2037 if ((roce_get_field(cqe->cqe_byte_16, CQE_BYTE_16_LOCAL_QPN_M, in __hns_roce_v1_cq_clean()
2215 if (roce_get_field(cqe->cqe_byte_16, CQE_BYTE_16_LOCAL_QPN_M, in hns_roce_v1_poll_one()
2217 qpn = roce_get_field(cqe->cqe_byte_20, CQE_BYTE_20_PORT_NUM_M, in hns_roce_v1_poll_one()
2219 roce_get_field(cqe->cqe_byte_16, CQE_BYTE_16_LOCAL_QPN_M, in hns_roce_v1_poll_one()
2223 qpn = roce_get_field(cqe->cqe_byte_16, CQE_BYTE_16_LOCAL_QPN_M, in hns_roce_v1_poll_one()
2241 status = roce_get_field(cqe->cqe_byte_4, in hns_roce_v1_poll_one()
2296 sq_wqe = get_send_wqe(*cur_qp, roce_get_field(cqe->cqe_byte_4, in hns_roce_v1_poll_one()
2331 wqe_ctr = (u16)roce_get_field(cqe->cqe_byte_4, in hns_roce_v1_poll_one()
2342 opcode = roce_get_field(cqe->cqe_byte_4, in hns_roce_v1_poll_one()
2374 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))
Dhns_roce_hw_v2.c1323 hr_dev->caps.qpc_bt_num = roce_get_field(req_a->qpc_bt_idx_num, in hns_roce_query_pf_resource()
1326 hr_dev->caps.srqc_bt_num = roce_get_field(req_a->srqc_bt_idx_num, in hns_roce_query_pf_resource()
1329 hr_dev->caps.cqc_bt_num = roce_get_field(req_a->cqc_bt_idx_num, in hns_roce_query_pf_resource()
1332 hr_dev->caps.mpt_bt_num = roce_get_field(req_a->mpt_bt_idx_num, in hns_roce_query_pf_resource()
1336 hr_dev->caps.sl_num = roce_get_field(req_b->qid_idx_sl_num, in hns_roce_query_pf_resource()
1339 hr_dev->caps.sccc_bt_num = roce_get_field(req_b->sccc_bt_idx_num, in hns_roce_query_pf_resource()
1370 roce_get_field(req_a->qpc_timer_bt_idx_num, in hns_roce_query_pf_timer_resource()
1374 roce_get_field(req_a->cqc_timer_bt_idx_num, in hns_roce_query_pf_timer_resource()
2510 if ((roce_get_field(cqe->byte_16, V2_CQE_BYTE_16_LCL_QPN_M, in __hns_roce_v2_cq_clean()
2515 wqe_index = roce_get_field(cqe->byte_4, in __hns_roce_v2_cq_clean()
[all …]