Searched refs:resp_c (Results 1 – 1 of 1) sorted by relevance
2120 struct hns_roce_query_pf_caps_c *resp_c; in hns_roce_query_caps() local2146 resp_c = (struct hns_roce_query_pf_caps_c *)desc[2].data; in hns_roce_query_caps()2178 caps->num_pds = 1 << hr_reg_read(resp_c, PF_CAPS_C_NUM_PDS); in hns_roce_query_caps()2180 caps->flags = hr_reg_read(resp_c, PF_CAPS_C_CAP_FLAGS); in hns_roce_query_caps()2184 caps->num_cqs = 1 << hr_reg_read(resp_c, PF_CAPS_C_NUM_CQS); in hns_roce_query_caps()2185 caps->gid_table_len[0] = hr_reg_read(resp_c, PF_CAPS_C_MAX_GID); in hns_roce_query_caps()2186 caps->max_cqes = 1 << hr_reg_read(resp_c, PF_CAPS_C_CQ_DEPTH); in hns_roce_query_caps()2187 caps->num_xrcds = 1 << hr_reg_read(resp_c, PF_CAPS_C_NUM_XRCDS); in hns_roce_query_caps()2188 caps->num_mtpts = 1 << hr_reg_read(resp_c, PF_CAPS_C_NUM_MRWS); in hns_roce_query_caps()2189 caps->num_qps = 1 << hr_reg_read(resp_c, PF_CAPS_C_NUM_QPS); in hns_roce_query_caps()[all …]