Home
last modified time | relevance | path

Searched refs:counter_index (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v5.10/drivers/staging/comedi/drivers/
Dni_tio.c172 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()
829 ni_tio_set_bits(counter, NITIO_INPUT_SEL_REG(counter->counter_index), in ni_tio_set_gate_raw()
[all …]
Dni_tiocmd.c42 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()
Dni_tio.h95 unsigned int counter_index; member
Dni_660x.c319 counter->counter_index); in ni_660x_set_dma_channel()
347 ring = devpriv->ring[counter->chip_index][counter->counter_index]; in ni_660x_request_mite_channel()
476 ring = devpriv->ring[counter->chip_index][counter->counter_index]; in ni_660x_buf_change()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_mr_tcam.c183 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()
301 err = mlxsw_sp_flow_counter_alloc(mlxsw_sp, &route->counter_index); in mlxsw_sp_mr_tcam_route_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()
[all …]
Dcore_acl_flex_actions.c676 u32 counter_index; member
685 counter->counter_index); in mlxsw_afa_counter_destroy()
710 &counter->counter_index); in mlxsw_afa_counter_create()
1741 MLXSW_ITEM32(afa, polcnt, counter_index, 0x04, 0, 24);
1752 u32 counter_index) in mlxsw_afa_polcnt_pack() argument
1756 mlxsw_afa_polcnt_counter_index_set(payload, counter_index); in mlxsw_afa_polcnt_pack()
1766 u32 counter_index) in mlxsw_afa_block_append_allocated_counter() argument
1773 counter_index); in mlxsw_afa_block_append_allocated_counter()
1783 u32 counter_index; in mlxsw_afa_block_append_counter() local
1791 counter_index = counter->counter_index; in mlxsw_afa_block_append_counter()
[all …]
Dcore_acl_flex_actions.h23 void (*counter_index_put)(void *priv, unsigned int counter_index);
80 u32 counter_index);
Dspectrum_cnt.c228 unsigned int counter_index) in mlxsw_sp_counter_free() argument
234 if (WARN_ON(counter_index >= pool->pool_size)) in mlxsw_sp_counter_free()
239 __clear_bit(counter_index + i, pool->usage); in mlxsw_sp_counter_free()
Dspectrum_cnt.h20 unsigned int counter_index);
Dspectrum_acl_flex_actions.c127 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()
Dspectrum.h589 unsigned int counter_index, u64 *packets,
594 unsigned int counter_index);
743 unsigned int counter_index; member
Dreg.h1083 MLXSW_ITEM32(reg, sfgc, counter_index, 0x0C, 0, 24);
1667 MLXSW_ITEM32(reg, svfa, counter_index, 0x08, 0, 24);
6639 MLXSW_ITEM32(reg, ratr, counter_index, 0x28, 0, 24);
6668 static inline void mlxsw_reg_ratr_counter_pack(char *payload, u64 counter_index, in mlxsw_reg_ratr_counter_pack() argument
6678 mlxsw_reg_ratr_counter_index_set(payload, counter_index); in mlxsw_reg_ratr_counter_pack()
6731 MLXSW_ITEM32(reg, ricnt, counter_index, 0x04, 0, 24);
7449 MLXSW_ITEM32(reg, rauht, counter_index, 0x68, 0, 24);
7485 u64 counter_index) in mlxsw_reg_rauht_pack_counter() argument
7487 mlxsw_reg_rauht_counter_index_set(payload, counter_index); in mlxsw_reg_rauht_pack_counter()
9556 MLXSW_ITEM32(reg, mgpc, counter_index, 0x00, 0, 24);
[all …]
Dspectrum_router.c171 unsigned int counter_index, bool enable, in mlxsw_sp_rif_counter_edit() argument
185 mlxsw_reg_ritr_counter_pack(ritr_pl, counter_index, enable, in mlxsw_sp_rif_counter_edit()
216 unsigned int counter_index) in mlxsw_sp_rif_counter_clear() argument
220 mlxsw_reg_ricnt_pack(ricnt_pl, counter_index, in mlxsw_sp_rif_counter_clear()
1959 unsigned int counter_index; member
2021 return mlxsw_sp_flow_counter_get(mlxsw_sp, neigh_entry->counter_index, in mlxsw_sp_neigh_counter_get()
2095 if (mlxsw_sp_flow_counter_alloc(mlxsw_sp, &neigh_entry->counter_index)) in mlxsw_sp_neigh_counter_alloc()
2108 neigh_entry->counter_index); in mlxsw_sp_neigh_counter_free()
2443 neigh_entry->counter_index); in mlxsw_sp_router_neigh_entry_op4()
2460 neigh_entry->counter_index); in mlxsw_sp_router_neigh_entry_op6()
[all …]
Dspectrum_acl.c677 &rulei->counter_index, extack); in mlxsw_sp_acl_rulei_act_count()
904 err = mlxsw_sp_flow_counter_get(mlxsw_sp, rulei->counter_index, in mlxsw_sp_acl_rule_get_stats()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
Den_resources.c71 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()
Den_port.c194 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-v5.10/drivers/net/ethernet/google/gve/
Dgve_tx.c569 u32 counter_index = be32_to_cpu((tx->q_resources->counter_index)); in gve_tx_load_event_counter() local
571 return READ_ONCE(priv->counter_array[counter_index]); in gve_tx_load_event_counter()
Dgve_adminq.h144 __be32 counter_index; /* Device -> Guest */ member
/Linux-v5.10/drivers/infiniband/hw/mlx4/
Dqp.c505 mlx4_counter_free(dev->dev, qp->counter_index->index); in mlx4_ib_free_qp_counter()
506 list_del(&qp->counter_index->list); in mlx4_ib_free_qp_counter()
509 kfree(qp->counter_index); in mlx4_ib_free_qp_counter()
510 qp->counter_index = NULL; in mlx4_ib_free_qp_counter()
1634 if (mqp->counter_index) in _mlx4_ib_destroy_qp()
1913 struct counter_index *new_counter_index; in create_qp_lb_counter()
1935 qp->counter_index = new_counter_index; in create_qp_lb_counter()
2090 int counter_index; in __mlx4_ib_modify_qp() local
2180 if (new_state == IB_QPS_RESET && qp->counter_index) in __mlx4_ib_modify_qp()
2213 counter_index = in __mlx4_ib_modify_qp()
[all …]
Dmain.c1294 struct counter_index *counter, *tmp_count; in mlx4_ib_delete_counters_table()
2615 u32 counter_index; in mlx4_ib_add() local
2616 struct counter_index *new_counter_index = NULL; in mlx4_ib_add()
2754 err = mlx4_counter_alloc(ibdev->dev, &counter_index, in mlx4_ib_add()
2758 counter_index = in mlx4_ib_add()
2764 counter_index = mlx4_get_default_counter_index(dev, in mlx4_ib_add()
2771 mlx4_counter_free(ibdev->dev, counter_index); in mlx4_ib_add()
2774 new_counter_index->index = counter_index; in mlx4_ib_add()
2778 ibdev->counters_table[i].default_counter = counter_index; in mlx4_ib_add()
2780 counter_index, i + 1, allocated); in mlx4_ib_add()
[all …]
Dmlx4_ib.h363 struct counter_index *counter_index; member
589 struct counter_index { struct
/Linux-v5.10/include/linux/mlx4/
Dcmd.h306 int mlx4_get_counter_stats(struct mlx4_dev *dev, int counter_index,
Dqp.h144 u8 counter_index; member
/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_switch.h181 u8 counter_index; member
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c199 int counter_index = counter->id - bulk_base_id; in mlx5_fc_stats_query_counter_range() local
207 update_counter_cache(counter_index, data, cache); in mlx5_fc_stats_query_counter_range()

12