Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hns/
H A 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()
H A Dhns_roce_hw_v2.c1557 hr_dev->caps.qpc_bt_num = roce_get_field(req_a->qpc_bt_idx_num, in hns_roce_query_pf_resource()
1560 hr_dev->caps.srqc_bt_num = roce_get_field(req_a->srqc_bt_idx_num, in hns_roce_query_pf_resource()
1563 hr_dev->caps.cqc_bt_num = roce_get_field(req_a->cqc_bt_idx_num, in hns_roce_query_pf_resource()
1566 hr_dev->caps.mpt_bt_num = roce_get_field(req_a->mpt_bt_idx_num, in hns_roce_query_pf_resource()
1570 hr_dev->caps.sl_num = roce_get_field(req_b->qid_idx_sl_num, in hns_roce_query_pf_resource()
1573 hr_dev->caps.sccc_bt_num = roce_get_field(req_b->sccc_bt_idx_num, in hns_roce_query_pf_resource()
1596 roce_get_field(req_a->qpc_timer_bt_idx_num, in hns_roce_query_pf_timer_resource()
1600 roce_get_field(req_a->cqc_timer_bt_idx_num, in hns_roce_query_pf_timer_resource()
2010 caps->num_pds = 1 << roce_get_field(resp_c->cap_flags_num_pds, in hns_roce_query_pf_caps()
2013 caps->flags = roce_get_field(resp_c->cap_flags_num_pds, in hns_roce_query_pf_caps()
[all …]
H A Dhns_roce_hw_v1.c1953 if ((roce_get_field(cqe->cqe_byte_16, CQE_BYTE_16_LOCAL_QPN_M, in __hns_roce_v1_cq_clean()
2126 if (roce_get_field(cqe->cqe_byte_16, CQE_BYTE_16_LOCAL_QPN_M, in hns_roce_v1_poll_one()
2128 qpn = roce_get_field(cqe->cqe_byte_20, CQE_BYTE_20_PORT_NUM_M, in hns_roce_v1_poll_one()
2130 roce_get_field(cqe->cqe_byte_16, CQE_BYTE_16_LOCAL_QPN_M, in hns_roce_v1_poll_one()
2134 qpn = roce_get_field(cqe->cqe_byte_16, CQE_BYTE_16_LOCAL_QPN_M, in hns_roce_v1_poll_one()
2152 status = roce_get_field(cqe->cqe_byte_4, in hns_roce_v1_poll_one()
2208 roce_get_field(cqe->cqe_byte_4, in hns_roce_v1_poll_one()
2243 wqe_ctr = (u16)roce_get_field(cqe->cqe_byte_4, in hns_roce_v1_poll_one()
2254 opcode = roce_get_field(cqe->cqe_byte_4, in hns_roce_v1_poll_one()
2286 wc->sl = (u8)roce_get_field(cqe->cqe_byte_20, CQE_BYTE_20_SL_M, in hns_roce_v1_poll_one()
[all …]
H A Dhns_roce_common.h41 #define roce_get_field(origin, mask, shift) \ macro
45 roce_get_field((origin), (1ul << (shift)), (shift))