Home
last modified time | relevance | path

Searched refs:p_counter_index (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_actions.h22 int (*counter_index_get)(void *priv, unsigned int *p_counter_index);
88 u32 *p_counter_index,
Dspectrum_cnt.h17 unsigned int *p_counter_index);
Dspectrum_acl_flex_actions.c119 mlxsw_sp_act_counter_index_get(void *priv, unsigned int *p_counter_index) in mlxsw_sp_act_counter_index_get() argument
123 return mlxsw_sp_flow_counter_alloc(mlxsw_sp, p_counter_index); in mlxsw_sp_act_counter_index_get()
Dspectrum_cnt.c184 unsigned int *p_counter_index) in mlxsw_sp_counter_alloc() argument
213 *p_counter_index = entry_index; in mlxsw_sp_counter_alloc()
Dspectrum_router.c199 unsigned int *p_counter_index; in mlxsw_sp_rif_counter_value_get() local
207 p_counter_index = mlxsw_sp_rif_p_counter_get(rif, dir); in mlxsw_sp_rif_counter_value_get()
208 if (!p_counter_index) in mlxsw_sp_rif_counter_value_get()
210 mlxsw_reg_ricnt_pack(ricnt_pl, *p_counter_index, in mlxsw_sp_rif_counter_value_get()
233 unsigned int *p_counter_index; in mlxsw_sp_rif_counter_alloc() local
236 p_counter_index = mlxsw_sp_rif_p_counter_get(rif, dir); in mlxsw_sp_rif_counter_alloc()
237 if (!p_counter_index) in mlxsw_sp_rif_counter_alloc()
240 p_counter_index); in mlxsw_sp_rif_counter_alloc()
244 err = mlxsw_sp_rif_counter_clear(mlxsw_sp, *p_counter_index); in mlxsw_sp_rif_counter_alloc()
249 *p_counter_index, true, dir); in mlxsw_sp_rif_counter_alloc()
[all …]
Dcore_acl_flex_actions.c1779 u32 *p_counter_index, in mlxsw_afa_block_append_counter() argument
1798 if (p_counter_index) in mlxsw_afa_block_append_counter()
1799 *p_counter_index = counter_index; in mlxsw_afa_block_append_counter()
Dspectrum.c204 unsigned int *p_counter_index) in mlxsw_sp_flow_counter_alloc() argument
209 p_counter_index); in mlxsw_sp_flow_counter_alloc()
212 err = mlxsw_sp_flow_counter_clear(mlxsw_sp, *p_counter_index); in mlxsw_sp_flow_counter_alloc()
219 *p_counter_index); in mlxsw_sp_flow_counter_alloc()
Dspectrum.h654 unsigned int *p_counter_index);