/linux-6.3-rc2/drivers/comedi/drivers/ |
A D | ni_tio.c | 172 unsigned int cidx = counter->counter_index; in ni_tio_reset_count_and_disarm() 288 unsigned int cidx = counter->counter_index; in ni_tio_clock_src_modifiers() 307 unsigned int cidx = counter->counter_index; in ni_m_series_clock_src_select() 374 unsigned int cidx = counter->counter_index; in ni_660x_clock_src_select() 444 unsigned int cidx = counter->counter_index; in ni_tio_set_sync_mode() 501 unsigned int cidx = counter->counter_index; in ni_tio_set_counter_mode() 561 unsigned int cidx = counter->counter_index; in ni_tio_arm() 727 unsigned int cidx = counter->counter_index; in ni_tio_set_source_subselect() 757 unsigned int cidx = counter->counter_index; in ni_tio_set_clock_src() 1123 unsigned int cidx = counter->counter_index; in ni_tio_set_other_src() [all …]
|
A D | ni_tiocmd.c | 42 unsigned int cidx = counter->counter_index; in ni_tio_configure_dma() 106 unsigned int cidx = counter->counter_index; in ni_tio_input_cmd() 164 unsigned int cidx = counter->counter_index; in ni_tio_cmd_setup() 238 unsigned int cidx = counter->counter_index; in ni_tio_cmdtest() 334 unsigned int cidx = counter->counter_index; in ni_tio_cancel() 389 unsigned int cidx = counter->counter_index; in ni_tio_acknowledge_and_confirm() 451 unsigned int cidx = counter->counter_index; in ni_tio_handle_interrupt()
|
A D | ni_tio.h | 95 unsigned int counter_index; member
|
A D | ni_660x.c | 318 counter->counter_index); in ni_660x_set_dma_channel() 346 ring = devpriv->ring[counter->chip_index][counter->counter_index]; in ni_660x_request_mite_channel() 475 ring = devpriv->ring[counter->chip_index][counter->counter_index]; in ni_660x_buf_change()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_mr_tcam.c | 183 u32 counter_index; member 194 u16 irif_index, u32 counter_index, in mlxsw_sp_mr_tcam_afa_block_create() argument 206 counter_index); in mlxsw_sp_mr_tcam_afa_block_create() 309 route->counter_index, in mlxsw_sp_mr_tcam_route_create() 336 mlxsw_sp_flow_counter_free(mlxsw_sp, route->counter_index); in mlxsw_sp_mr_tcam_route_create() 353 mlxsw_sp_flow_counter_free(mlxsw_sp, route->counter_index); in mlxsw_sp_mr_tcam_route_destroy() 363 return mlxsw_sp_flow_counter_get(mlxsw_sp, route->counter_index, in mlxsw_sp_mr_tcam_route_stats() 380 route->counter_index, in mlxsw_sp_mr_tcam_route_action_update() 413 route->counter_index, in mlxsw_sp_mr_tcam_route_min_mtu_update() 492 route->counter_index, in mlxsw_sp_mr_tcam_route_erif_del() [all …]
|
A D | core_acl_flex_actions.c | 676 u32 counter_index; member 685 counter->counter_index); in mlxsw_afa_counter_destroy() 710 &counter->counter_index); in mlxsw_afa_counter_create() 1742 MLXSW_ITEM32(afa, polcnt, counter_index, 0x04, 0, 24); 1753 u32 counter_index) in mlxsw_afa_polcnt_pack() argument 1757 mlxsw_afa_polcnt_counter_index_set(payload, counter_index); in mlxsw_afa_polcnt_pack() 1767 u32 counter_index) in mlxsw_afa_block_append_allocated_counter() argument 1774 counter_index); in mlxsw_afa_block_append_allocated_counter() 1784 u32 counter_index; in mlxsw_afa_block_append_counter() local 1792 counter_index = counter->counter_index; in mlxsw_afa_block_append_counter() [all …]
|
A D | spectrum_cnt.c | 225 unsigned int counter_index) in mlxsw_sp_counter_free() argument 231 if (WARN_ON(counter_index >= pool->pool_size)) in mlxsw_sp_counter_free() 236 __clear_bit(counter_index + i, pool->usage); in mlxsw_sp_counter_free()
|
A D | spectrum_cnt.h | 20 unsigned int counter_index);
|
A D | core_acl_flex_actions.h | 23 void (*counter_index_put)(void *priv, unsigned int counter_index); 86 u32 counter_index);
|
A D | spectrum_acl_flex_actions.c | 127 mlxsw_sp_act_counter_index_put(void *priv, unsigned int counter_index) in mlxsw_sp_act_counter_index_put() argument 131 mlxsw_sp_flow_counter_free(mlxsw_sp, counter_index); in mlxsw_sp_act_counter_index_put()
|
A D | spectrum.h | 704 unsigned int counter_index, u64 *packets, 709 unsigned int counter_index); 877 unsigned int counter_index; member
|
A D | reg.h | 1106 MLXSW_ITEM32(reg, sfgc, counter_index, 0x0C, 0, 24); 1629 MLXSW_ITEM32(reg, svfa, counter_index, 0x08, 0, 24); 7326 MLXSW_ITEM32(reg, ratr, counter_index, 0x28, 0, 24); 7371 mlxsw_reg_ratr_counter_index_set(payload, counter_index); in mlxsw_reg_ratr_counter_pack() 7424 MLXSW_ITEM32(reg, ricnt, counter_index, 0x04, 0, 24); 8142 MLXSW_ITEM32(reg, rauht, counter_index, 0x68, 0, 24); 8178 u64 counter_index) in mlxsw_reg_rauht_pack_counter() argument 8180 mlxsw_reg_rauht_counter_index_set(payload, counter_index); in mlxsw_reg_rauht_pack_counter() 10570 MLXSW_ITEM32(reg, mgpc, counter_index, 0x00, 0, 24); 10597 static inline void mlxsw_reg_mgpc_pack(char *payload, u32 counter_index, in mlxsw_reg_mgpc_pack() argument [all …]
|
A D | spectrum_acl.c | 757 &rulei->counter_index, extack); in mlxsw_sp_acl_rulei_act_count() 1009 err = mlxsw_sp_flow_counter_get(mlxsw_sp, rulei->counter_index, in mlxsw_sp_acl_rule_get_stats()
|
A D | spectrum_router.c | 188 unsigned int counter_index, bool enable, in mlxsw_sp_rif_counter_edit() argument 202 mlxsw_reg_ritr_counter_pack(ritr_pl, counter_index, enable, in mlxsw_sp_rif_counter_edit() 291 unsigned int counter_index) in mlxsw_sp_rif_counter_clear() argument 295 mlxsw_reg_ricnt_pack(ricnt_pl, counter_index, in mlxsw_sp_rif_counter_clear() 2092 unsigned int counter_index; member 2241 neigh_entry->counter_index); in mlxsw_sp_neigh_counter_free() 2584 neigh_entry->counter_index); in mlxsw_sp_router_neigh_entry_op4() 2601 neigh_entry->counter_index); in mlxsw_sp_router_neigh_entry_op6() 2934 unsigned int counter_index; member 3009 mlxsw_sp_flow_counter_free(mlxsw_sp, nh->counter_index); in mlxsw_sp_nexthop_counter_free() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/ |
A D | en_resources.c | 71 context->pri_path.counter_index = priv->counter_index; in mlx4_en_fill_qp_context() 76 context->pri_path.counter_index != in mlx4_en_fill_qp_context()
|
A D | en_port.c | 194 int i, counter_index; in mlx4_en_DUMP_ETH_STATS() local 217 counter_index = mlx4_get_default_counter_index(mdev->dev, port); in mlx4_en_DUMP_ETH_STATS() 218 err = mlx4_get_counter_stats(mdev->dev, counter_index, in mlx4_en_DUMP_ETH_STATS()
|
/linux-6.3-rc2/drivers/infiniband/hw/mlx4/ |
A D | qp.c | 544 kfree(qp->counter_index); in mlx4_ib_free_qp_counter() 545 qp->counter_index = NULL; in mlx4_ib_free_qp_counter() 1671 if (mqp->counter_index) in _mlx4_ib_destroy_qp() 2125 int counter_index; in __mlx4_ib_modify_qp() local 2248 counter_index = in __mlx4_ib_modify_qp() 2250 if (qp->counter_index) in __mlx4_ib_modify_qp() 2251 counter_index = qp->counter_index->index; in __mlx4_ib_modify_qp() 2253 if (counter_index != -1) { in __mlx4_ib_modify_qp() 2254 context->pri_path.counter_index = counter_index; in __mlx4_ib_modify_qp() 2256 if (qp->counter_index) { in __mlx4_ib_modify_qp() [all …]
|
A D | main.c | 1285 struct counter_index *counter, *tmp_count; in mlx4_ib_delete_counters_table() 2623 u32 counter_index; in mlx4_ib_add() local 2624 struct counter_index *new_counter_index = NULL; in mlx4_ib_add() 2718 counter_index = in mlx4_ib_add() 2724 counter_index = mlx4_get_default_counter_index(dev, in mlx4_ib_add() 2731 mlx4_counter_free(ibdev->dev, counter_index); in mlx4_ib_add() 2734 new_counter_index->index = counter_index; in mlx4_ib_add() 2740 counter_index, i + 1, allocated); in mlx4_ib_add() 2745 kmalloc(sizeof(struct counter_index), in mlx4_ib_add() 2749 new_counter_index->index = counter_index; in mlx4_ib_add() [all …]
|
A D | mlx4_ib.h | 363 struct counter_index *counter_index; member 589 struct counter_index { struct
|
/linux-6.3-rc2/include/linux/mlx4/ |
A D | cmd.h | 306 int mlx4_get_counter_stats(struct mlx4_dev *dev, int counter_index,
|
A D | qp.h | 144 u8 counter_index; member
|
/linux-6.3-rc2/drivers/net/ethernet/google/gve/ |
A D | gve_tx.c | 717 u32 counter_index = be32_to_cpu(tx->q_resources->counter_index); in gve_tx_load_event_counter() local 718 __be32 counter = READ_ONCE(priv->counter_array[counter_index]); in gve_tx_load_event_counter()
|
A D | gve_adminq.h | 262 __be32 counter_index; /* Device -> Guest */ member
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | fs_counters.c | 207 int counter_index = counter->id - bulk_base_id; in mlx5_fc_stats_query_counter_range() local 215 update_counter_cache(counter_index, data, cache); in mlx5_fc_stats_query_counter_range()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_switch.h | 297 u8 counter_index; member
|