roce_get_field 49 drivers/infiniband/hw/hns/hns_roce_common.h roce_get_field((origin), (1ul << (shift)), (shift)) roce_get_field 2034 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if ((roce_get_field(cqe->cqe_byte_16, CQE_BYTE_16_LOCAL_QPN_M, roce_get_field 2212 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (roce_get_field(cqe->cqe_byte_16, CQE_BYTE_16_LOCAL_QPN_M, roce_get_field 2214 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qpn = roce_get_field(cqe->cqe_byte_20, CQE_BYTE_20_PORT_NUM_M, roce_get_field 2216 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_get_field(cqe->cqe_byte_16, CQE_BYTE_16_LOCAL_QPN_M, roce_get_field 2220 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qpn = roce_get_field(cqe->cqe_byte_16, CQE_BYTE_16_LOCAL_QPN_M, roce_get_field 2238 drivers/infiniband/hw/hns/hns_roce_hw_v1.c status = roce_get_field(cqe->cqe_byte_4, roce_get_field 2293 drivers/infiniband/hw/hns/hns_roce_hw_v1.c sq_wqe = get_send_wqe(*cur_qp, roce_get_field(cqe->cqe_byte_4, roce_get_field 2328 drivers/infiniband/hw/hns/hns_roce_hw_v1.c wqe_ctr = (u16)roce_get_field(cqe->cqe_byte_4, roce_get_field 2339 drivers/infiniband/hw/hns/hns_roce_hw_v1.c opcode = roce_get_field(cqe->cqe_byte_4, roce_get_field 2371 drivers/infiniband/hw/hns/hns_roce_hw_v1.c wc->sl = (u8)roce_get_field(cqe->cqe_byte_20, CQE_BYTE_20_SL_M, roce_get_field 2373 drivers/infiniband/hw/hns/hns_roce_hw_v1.c wc->src_qp = (u8)roce_get_field(cqe->cqe_byte_20, roce_get_field 2379 drivers/infiniband/hw/hns/hns_roce_hw_v1.c wc->pkey_index = (u16)roce_get_field(cqe->cqe_byte_28, roce_get_field 2989 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_get_field(context->qpc_bytes_44, roce_get_field 3408 drivers/infiniband/hw/hns/hns_roce_hw_v1.c hr_qp->state = roce_get_field(context.qp1c_bytes_4, roce_get_field 3421 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->pkey_index = roce_get_field(context.qp1c_bytes_20, roce_get_field 3482 drivers/infiniband/hw/hns/hns_roce_hw_v1.c state = roce_get_field(context->qpc_bytes_144, roce_get_field 3493 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->path_mtu = (enum ib_mtu)roce_get_field(context->qpc_bytes_48, roce_get_field 3501 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->rq_psn = roce_get_field(context->qpc_bytes_88, roce_get_field 3504 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->sq_psn = (u32)roce_get_field(context->qpc_bytes_164, roce_get_field 3507 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->dest_qp_num = (u8)roce_get_field(context->qpc_bytes_36, roce_get_field 3523 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_get_field(context->qpc_bytes_156, roce_get_field 3528 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_get_field(context->qpc_bytes_48, roce_get_field 3532 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_get_field(context->qpc_bytes_36, roce_get_field 3536 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_get_field(context->qpc_bytes_44, roce_get_field 3540 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_get_field(context->qpc_bytes_48, roce_get_field 3548 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->pkey_index = roce_get_field(context->qpc_bytes_12, roce_get_field 3553 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->max_rd_atomic = 1 << roce_get_field(context->qpc_bytes_156, roce_get_field 3556 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->max_dest_rd_atomic = 1 << roce_get_field(context->qpc_bytes_32, roce_get_field 3559 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->min_rnr_timer = (u8)(roce_get_field(context->qpc_bytes_24, roce_get_field 3562 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->timeout = (u8)(roce_get_field(context->qpc_bytes_156, roce_get_field 3565 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->retry_cnt = roce_get_field(context->qpc_bytes_148, roce_get_field 3706 drivers/infiniband/hw/hns/hns_roce_hw_v1.c switch (roce_get_field(aeqe->asyn, HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_M, roce_get_field 3741 drivers/infiniband/hw/hns/hns_roce_hw_v1.c switch (roce_get_field(aeqe->asyn, HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_M, roce_get_field 3777 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qpn = roce_get_field(aeqe->event.qp_event.qp, roce_get_field 3780 drivers/infiniband/hw/hns/hns_roce_hw_v1.c phy_port = roce_get_field(aeqe->event.qp_event.qp, roce_get_field 3811 drivers/infiniband/hw/hns/hns_roce_hw_v1.c cqn = roce_get_field(aeqe->event.cq_event.cq, roce_get_field 3837 drivers/infiniband/hw/hns/hns_roce_hw_v1.c switch (roce_get_field(aeqe->asyn, HNS_ROCE_AEQE_U32_4_EVENT_SUB_TYPE_M, roce_get_field 3897 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_get_field(aeqe->asyn, roce_get_field 3900 drivers/infiniband/hw/hns/hns_roce_hw_v1.c event_type = roce_get_field(aeqe->asyn, roce_get_field 3946 drivers/infiniband/hw/hns/hns_roce_hw_v1.c roce_get_field(aeqe->event.ce_event.ceqe, roce_get_field 4003 drivers/infiniband/hw/hns/hns_roce_hw_v1.c cqn = roce_get_field(ceqe->comp, roce_get_field 1326 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_dev->caps.qpc_bt_num = roce_get_field(req_a->qpc_bt_idx_num, roce_get_field 1329 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_dev->caps.srqc_bt_num = roce_get_field(req_a->srqc_bt_idx_num, roce_get_field 1332 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_dev->caps.cqc_bt_num = roce_get_field(req_a->cqc_bt_idx_num, roce_get_field 1335 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_dev->caps.mpt_bt_num = roce_get_field(req_a->mpt_bt_idx_num, roce_get_field 1339 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_dev->caps.sl_num = roce_get_field(req_b->qid_idx_sl_num, roce_get_field 1342 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_dev->caps.sccc_bt_num = roce_get_field(req_b->sccc_bt_idx_num, roce_get_field 1373 drivers/infiniband/hw/hns/hns_roce_hw_v2.c roce_get_field(req_a->qpc_timer_bt_idx_num, roce_get_field 1377 drivers/infiniband/hw/hns/hns_roce_hw_v2.c roce_get_field(req_a->cqc_timer_bt_idx_num, roce_get_field 2513 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if ((roce_get_field(cqe->byte_16, V2_CQE_BYTE_16_LCL_QPN_M, roce_get_field 2518 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wqe_index = roce_get_field(cqe->byte_4, roce_get_field 2669 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wr_num = roce_get_field(cqe->byte_4, V2_CQE_BYTE_4_WQE_INDX_M, roce_get_field 2723 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qpn = roce_get_field(cqe->byte_16, V2_CQE_BYTE_16_LCL_QPN_M, roce_get_field 2748 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wqe_ctr = (u16)roce_get_field(cqe->byte_4, roce_get_field 2759 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wqe_ctr = (u16)roce_get_field(cqe->byte_4, roce_get_field 2771 drivers/infiniband/hw/hns/hns_roce_hw_v2.c status = roce_get_field(cqe->byte_4, V2_CQE_BYTE_4_STATUS_M, roce_get_field 2837 drivers/infiniband/hw/hns/hns_roce_hw_v2.c switch (roce_get_field(cqe->byte_4, V2_CQE_BYTE_4_OPCODE_M, roce_get_field 2894 drivers/infiniband/hw/hns/hns_roce_hw_v2.c opcode = roce_get_field(cqe->byte_4, V2_CQE_BYTE_4_OPCODE_M, roce_get_field 2934 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wc->sl = (u8)roce_get_field(cqe->byte_32, V2_CQE_BYTE_32_SL_M, roce_get_field 2936 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wc->src_qp = (u8)roce_get_field(cqe->byte_32, roce_get_field 2943 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wc->port_num = roce_get_field(cqe->byte_32, roce_get_field 2947 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wc->smac[4] = roce_get_field(cqe->byte_28, roce_get_field 2950 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wc->smac[5] = roce_get_field(cqe->byte_28, roce_get_field 2955 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wc->vlan_id = (u16)roce_get_field(cqe->byte_28, roce_get_field 2963 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wc->network_hdr_type = roce_get_field(cqe->byte_28, roce_get_field 4551 drivers/infiniband/hw/hns/hns_roce_hw_v2.c state = roce_get_field(context.byte_60_qpst_tempid, roce_get_field 4561 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->path_mtu = (enum ib_mtu)roce_get_field(context.byte_24_mtu_tc, roce_get_field 4569 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->rq_psn = roce_get_field(context.byte_108_rx_reqepsn, roce_get_field 4572 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->sq_psn = (u32)roce_get_field(context.byte_172_sq_psn, roce_get_field 4575 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->dest_qp_num = (u8)roce_get_field(context.byte_56_dqpn_err, roce_get_field 4591 drivers/infiniband/hw/hns/hns_roce_hw_v2.c roce_get_field(context.byte_28_at_fl, roce_get_field 4594 drivers/infiniband/hw/hns/hns_roce_hw_v2.c grh->flow_label = roce_get_field(context.byte_28_at_fl, roce_get_field 4597 drivers/infiniband/hw/hns/hns_roce_hw_v2.c grh->sgid_index = roce_get_field(context.byte_20_smac_sgid_idx, roce_get_field 4600 drivers/infiniband/hw/hns/hns_roce_hw_v2.c grh->hop_limit = roce_get_field(context.byte_24_mtu_tc, roce_get_field 4603 drivers/infiniband/hw/hns/hns_roce_hw_v2.c grh->traffic_class = roce_get_field(context.byte_24_mtu_tc, roce_get_field 4612 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->max_rd_atomic = 1 << roce_get_field(context.byte_208_irrl, roce_get_field 4615 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->max_dest_rd_atomic = 1 << roce_get_field(context.byte_140_raq, roce_get_field 4618 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->min_rnr_timer = (u8)roce_get_field(context.byte_80_rnr_rx_cqn, roce_get_field 4621 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->timeout = (u8)roce_get_field(context.byte_28_at_fl, roce_get_field 4624 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->retry_cnt = roce_get_field(context.byte_212_lsn, roce_get_field 5041 drivers/infiniband/hw/hns/hns_roce_hw_v2.c event_type = roce_get_field(aeqe->asyn, roce_get_field 5044 drivers/infiniband/hw/hns/hns_roce_hw_v2.c sub_type = roce_get_field(aeqe->asyn, roce_get_field 5047 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qpn = roce_get_field(aeqe->event.qp_event.qp, roce_get_field 5050 drivers/infiniband/hw/hns/hns_roce_hw_v2.c cqn = roce_get_field(aeqe->event.cq_event.cq, roce_get_field 5053 drivers/infiniband/hw/hns/hns_roce_hw_v2.c srqn = roce_get_field(aeqe->event.srq_event.srq, roce_get_field 5167 drivers/infiniband/hw/hns/hns_roce_hw_v2.c cqn = roce_get_field(ceqe->comp, roce_get_field 6189 drivers/infiniband/hw/hns/hns_roce_hw_v2.c limit_wl = roce_get_field(srq_context->byte_8_limit_wl, roce_get_field 16 drivers/infiniband/hw/hns/hns_roce_restrack.c roce_get_field(context->byte_4_pg_ceqn, roce_get_field 22 drivers/infiniband/hw/hns/hns_roce_restrack.c roce_get_field(context->byte_4_pg_ceqn, roce_get_field 28 drivers/infiniband/hw/hns/hns_roce_restrack.c roce_get_field(context->byte_8_cqn, roce_get_field 34 drivers/infiniband/hw/hns/hns_roce_restrack.c roce_get_field(context->byte_16_hop_addr, roce_get_field 41 drivers/infiniband/hw/hns/hns_roce_restrack.c roce_get_field(context->byte_28_cq_pi, roce_get_field 48 drivers/infiniband/hw/hns/hns_roce_restrack.c roce_get_field(context->byte_32_cq_ci, roce_get_field 55 drivers/infiniband/hw/hns/hns_roce_restrack.c roce_get_field(context->byte_56_cqe_period_maxcnt, roce_get_field 62 drivers/infiniband/hw/hns/hns_roce_restrack.c roce_get_field(context->byte_56_cqe_period_maxcnt, roce_get_field 68 drivers/infiniband/hw/hns/hns_roce_restrack.c roce_get_field(context->byte_52_cqe_cnt,