• Home
  • Raw
  • Download

Lines Matching refs:field

97 static u32 mlx5_get_cc_param_val(void *field, int offset)  in mlx5_get_cc_param_val()  argument
101 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val()
104 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val()
107 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val()
110 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val()
113 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val()
116 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val()
119 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val()
122 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val()
125 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val()
128 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val()
131 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val()
134 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val()
137 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val()
140 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val()
143 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val()
146 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val()
149 return MLX5_GET(cong_control_r_roce_ecn_np, field, in mlx5_get_cc_param_val()
152 return MLX5_GET(cong_control_r_roce_ecn_np, field, in mlx5_get_cc_param_val()
155 return MLX5_GET(cong_control_r_roce_ecn_np, field, in mlx5_get_cc_param_val()
158 return MLX5_GET(cong_control_r_roce_ecn_np, field, in mlx5_get_cc_param_val()
165 static void mlx5_ib_set_cc_param_mask_val(void *field, int offset, in mlx5_ib_set_cc_param_mask_val() argument
171 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val()
176 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val()
181 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val()
186 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val()
191 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val()
196 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val()
201 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val()
206 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val()
211 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val()
216 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val()
221 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val()
226 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val()
231 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val()
236 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val()
241 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val()
246 MLX5_SET(cong_control_r_roce_ecn_rp, field, in mlx5_ib_set_cc_param_mask_val()
251 MLX5_SET(cong_control_r_roce_ecn_np, field, in mlx5_ib_set_cc_param_mask_val()
256 MLX5_SET(cong_control_r_roce_ecn_np, field, cnp_dscp, var); in mlx5_ib_set_cc_param_mask_val()
260 MLX5_SET(cong_control_r_roce_ecn_np, field, cnp_prio_mode, var); in mlx5_ib_set_cc_param_mask_val()
264 MLX5_SET(cong_control_r_roce_ecn_np, field, cnp_prio_mode, 0); in mlx5_ib_set_cc_param_mask_val()
265 MLX5_SET(cong_control_r_roce_ecn_np, field, cnp_802p_prio, var); in mlx5_ib_set_cc_param_mask_val()
275 void *field; in mlx5_ib_get_cc_params() local
297 field = MLX5_ADDR_OF(query_cong_params_out, out, congestion_parameters); in mlx5_ib_get_cc_params()
298 *var = mlx5_get_cc_param_val(field, offset); in mlx5_ib_get_cc_params()
312 void *field; in mlx5_ib_set_cc_params() local
335 field = MLX5_ADDR_OF(modify_cong_params_in, in, congestion_parameters); in mlx5_ib_set_cc_params()
336 mlx5_ib_set_cc_param_mask_val(field, offset, var, &attr_mask); in mlx5_ib_set_cc_params()
338 field = MLX5_ADDR_OF(modify_cong_params_in, in, field_select); in mlx5_ib_set_cc_params()
339 MLX5_SET(field_select_r_roce_rp, field, field_select_r_roce_rp, in mlx5_ib_set_cc_params()