Home
last modified time | relevance | path

Searched refs:counter_id (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_diagnostics.c54 if (counter_id == 0) in mlx5_core_get_index_of_diag_counter()
59 if (entry[x].counter_id == counter_id) in mlx5_core_get_index_of_diag_counter()
72 if (counter_id == 0) in mlx5_core_put_diag_counter()
77 if (entry[x].counter_id == counter_id) { in mlx5_core_put_diag_counter()
120 u16 counter_id = in mlx5_core_set_diagnostics_full() local
129 counter_id); in mlx5_core_set_diagnostics_full()
136 counter_id); in mlx5_core_set_diagnostics_full()
143 counter_id[y].counter_id, in mlx5_core_set_diagnostics_full()
144 counter_id); in mlx5_core_set_diagnostics_full()
278 if (counter_id == 0) in mlx5_core_supports_diagnostics()
[all …]
H A Dmlx5_diag_cnt.c166 MLX5_GET(diagnostic_cntr_struct, cnt, counter_id), in decode_cnt_buffer()
308 MLX5_CAP_DEBUG(dev, diagnostic_counter[i].counter_id); in get_supported_cnt_ids()
373 diag_cnt->num_cnt_id * MLX5_ST_SZ_BYTES(counter_id); in mlx5_diag_set_params()
406 ctx, counter_id[j]); in mlx5_diag_set_params()
407 MLX5_SET(counter_id, cnt_id, counter_id, in mlx5_diag_set_params()
433 diag_cnt->num_cnt_id * MLX5_ST_SZ_BYTES(counter_id); in mlx5_diag_query_params()
465 ctx, counter_id[i]); in mlx5_diag_query_params()
467 MLX5_GET(counter_id, cnt_id, counter_id)); in mlx5_diag_query_params()
/freebsd/sys/dev/isci/scil/
H A Dscic_phy.h364 SCIC_PHY_COUNTER_ID_T counter_id
384 SCIC_PHY_COUNTER_ID_T counter_id
406 SCIC_PHY_COUNTER_ID_T counter_id,
427 SCIC_PHY_COUNTER_ID_T counter_id
H A Dscic_sds_phy.c1255 SCIC_PHY_COUNTER_ID_T counter_id in scic_phy_enable_counter() argument
1266 this_phy, counter_id in scic_phy_enable_counter()
1269 switch(counter_id) in scic_phy_enable_counter()
1342 SCIC_PHY_COUNTER_ID_T counter_id in scic_phy_disable_counter() argument
1354 this_phy, counter_id in scic_phy_disable_counter()
1357 switch(counter_id) in scic_phy_disable_counter()
1437 this_phy, counter_id in scic_phy_get_counter()
1440 switch(counter_id) in scic_phy_get_counter()
1505 SCIC_PHY_COUNTER_ID_T counter_id in scic_phy_clear_counter() argument
1516 this_phy, counter_id in scic_phy_clear_counter()
[all …]
/freebsd/sys/dev/mlx5/
H A Ddiagnostics.h37 u16 counter_id; member
148 int mlx5_core_supports_diagnostics(struct mlx5_core_dev *mdev, u16 counter_id);
H A Dmlx5_ifc.h718 u8 counter_id[0x10]; member
5581 u8 counter_id[0x10]; member
7317 u8 counter_id[0x10]; member
7336 struct mlx5_ifc_counter_id_bits counter_id[0]; member
7391 u8 counter_id[0x10]; member
/freebsd/sys/dev/ice/
H A Dice_switch.h499 ice_alloc_vlan_res_counter(struct ice_hw *hw, u16 *counter_id);
501 ice_free_vlan_res_counter(struct ice_hw *hw, u16 counter_id);
508 u16 *counter_id);
510 ice_free_sw(struct ice_hw *hw, u16 sw_id, u16 counter_id);
H A Dice_switch.c223 u16 *counter_id) in ice_alloc_sw() argument
284 *counter_id = LE16_TO_CPU(counter_ele->e.sw_resp); in ice_alloc_sw()
1461 u16 counter_id, u16 l_id) in ice_add_counter_act() argument
1512 act |= (counter_id << ICE_LG_ACT_STAT_COUNT_S) & in ice_add_counter_act()
1535 m_ent->counter_index = (u8)counter_id; in ice_add_counter_act()
3860 u16 *counter_id) in ice_alloc_res_cntr() argument
3898 u16 counter_id) in ice_free_res_cntr() argument
3913 buf->elem[0].e.sw_resp = CPU_TO_LE16(counter_id); in ice_free_res_cntr()
3933 counter_id); in ice_alloc_vlan_res_counter()
3945 counter_id); in ice_free_vlan_res_counter()
[all …]
/freebsd/sys/dev/xilinx/
H A Dif_xae.c358 xae_stat(struct xae_softc *sc, int counter_id) in xae_stat() argument
363 KASSERT(counter_id < XAE_MAX_COUNTERS, in xae_stat()
364 ("counter %d is out of range", counter_id)); in xae_stat()
366 new = READ8(sc, XAE_STATCNT(counter_id)); in xae_stat()
367 old = sc->counters[counter_id]; in xae_stat()
373 sc->counters[counter_id] = new; in xae_stat()
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_ethtool.c1403 if (mlx5_core_supports_diagnostics(priv->mdev, entry.counter_id) == 0) in mlx5e_create_diagnostics()
1413 if (mlx5_core_supports_diagnostics(priv->mdev, entry.counter_id) == 0) in mlx5e_create_diagnostics()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_devx.c225 bool mlx5_ib_devx_is_flow_counter(void *obj, u32 offset, u32 *counter_id) in mlx5_ib_devx_is_flow_counter() argument
235 *counter_id = MLX5_GET(dealloc_flow_counter_in, in mlx5_ib_devx_is_flow_counter()
238 *counter_id += offset; in mlx5_ib_devx_is_flow_counter()
H A Dmlx5_ib.h1084 bool mlx5_ib_devx_is_flow_counter(void *obj, u32 offset, u32 *counter_id);