Lines Matching refs:dir

174 			   enum mlxsw_sp_rif_counter_dir dir)  in mlxsw_sp_rif_p_counter_get()  argument
176 switch (dir) { in mlxsw_sp_rif_p_counter_get()
187 enum mlxsw_sp_rif_counter_dir dir) in mlxsw_sp_rif_counter_valid_get() argument
189 switch (dir) { in mlxsw_sp_rif_counter_valid_get()
200 enum mlxsw_sp_rif_counter_dir dir, in mlxsw_sp_rif_counter_valid_set() argument
203 switch (dir) { in mlxsw_sp_rif_counter_valid_set()
215 enum mlxsw_sp_rif_counter_dir dir) in mlxsw_sp_rif_counter_edit() argument
221 if (dir == MLXSW_SP_RIF_COUNTER_EGRESS) in mlxsw_sp_rif_counter_edit()
235 enum mlxsw_sp_rif_counter_dir dir, u64 *cnt) in mlxsw_sp_rif_counter_value_get() argument
242 valid = mlxsw_sp_rif_counter_valid_get(rif, dir); in mlxsw_sp_rif_counter_value_get()
246 p_counter_index = mlxsw_sp_rif_p_counter_get(rif, dir); in mlxsw_sp_rif_counter_value_get()
273 enum mlxsw_sp_rif_counter_dir dir, in mlxsw_sp_rif_counter_fetch_clear() argument
281 if (!mlxsw_sp_rif_counter_valid_get(rif, dir)) in mlxsw_sp_rif_counter_fetch_clear()
284 p_counter_index = mlxsw_sp_rif_p_counter_get(rif, dir); in mlxsw_sp_rif_counter_fetch_clear()
327 enum mlxsw_sp_rif_counter_dir dir) in mlxsw_sp_rif_counter_alloc() argument
333 if (mlxsw_sp_rif_counter_valid_get(rif, dir)) in mlxsw_sp_rif_counter_alloc()
336 p_counter_index = mlxsw_sp_rif_p_counter_get(rif, dir); in mlxsw_sp_rif_counter_alloc()
350 *p_counter_index, true, dir); in mlxsw_sp_rif_counter_alloc()
353 mlxsw_sp_rif_counter_valid_set(rif, dir, true); in mlxsw_sp_rif_counter_alloc()
364 enum mlxsw_sp_rif_counter_dir dir) in mlxsw_sp_rif_counter_free() argument
369 if (!mlxsw_sp_rif_counter_valid_get(rif, dir)) in mlxsw_sp_rif_counter_free()
372 p_counter_index = mlxsw_sp_rif_p_counter_get(rif, dir); in mlxsw_sp_rif_counter_free()
376 *p_counter_index, false, dir); in mlxsw_sp_rif_counter_free()
379 mlxsw_sp_rif_counter_valid_set(rif, dir, false); in mlxsw_sp_rif_counter_free()