Home
last modified time | relevance | path

Searched refs:sampler (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c44 struct mlx5e_sampler *sampler; member
116 sampler_obj_create(struct mlx5_core_dev *mdev, struct mlx5e_sampler *sampler) in sampler_obj_create() argument
134 MLX5_SET(sampler_obj, obj, sample_ratio, sampler->sample_ratio); in sampler_obj_create()
135 MLX5_SET(sampler_obj, obj, sample_table_id, sampler->sample_table_id); in sampler_obj_create()
136 MLX5_SET(sampler_obj, obj, default_table_id, sampler->default_table_id); in sampler_obj_create()
142 sampler->sampler_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in sampler_obj_create()
175 struct mlx5e_sampler *sampler; in sampler_get() local
181 hash_for_each_possible(tc_psample->hashtbl, sampler, hlist, hash_key) in sampler_get()
182 if (!sampler_cmp(sampler->sample_ratio, sampler->default_table_id, in sampler_get()
186 sampler = kzalloc(sizeof(*sampler), GFP_KERNEL); in sampler_get()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_actions.c2140 MLXSW_ITEM32(afa, sampler, mirror_agent, 0x04, 0, 3);
2148 MLXSW_ITEM32(afa, sampler, mirror_probability_rate, 0x08, 0, 24);
2164 struct mlxsw_afa_sampler *sampler) in mlxsw_afa_sampler_destroy() argument
2166 mlxsw_afa_resource_del(&sampler->resource); in mlxsw_afa_sampler_destroy()
2167 block->afa->ops->sampler_del(block->afa->ops_priv, sampler->local_port, in mlxsw_afa_sampler_destroy()
2168 sampler->span_id, sampler->ingress); in mlxsw_afa_sampler_destroy()
2169 kfree(sampler); in mlxsw_afa_sampler_destroy()
2175 struct mlxsw_afa_sampler *sampler; in mlxsw_afa_sampler_destructor() local
2177 sampler = container_of(resource, struct mlxsw_afa_sampler, resource); in mlxsw_afa_sampler_destructor()
2178 mlxsw_afa_sampler_destroy(block, sampler); in mlxsw_afa_sampler_destructor()
[all …]
/linux-6.6.21/drivers/mmc/host/
Dmmci_stm32_sdmmc.c71 int phase, bool sampler __maybe_unused);
487 int unit, int phase, bool sampler) in sdmmc_dlyb_mp15_set_cfg() argument
497 if (!sampler) in sdmmc_dlyb_mp15_set_cfg()
552 bool sampler __maybe_unused) in sdmmc_dlyb_mp25_set_cfg()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_dbg.c227 0, 0, action->sampler->sampler_id, in dr_dump_rule_action_mem()
228 action->sampler->rx_icm_addr, in dr_dump_rule_action_mem()
229 action->sampler->tx_icm_addr); in dr_dump_rule_action_mem()
Ddr_action.c866 attr.final_icm_addr = rx_rule ? action->sampler->rx_icm_addr : in mlx5dr_actions_build_ste_arr()
867 action->sampler->tx_icm_addr; in mlx5dr_actions_build_ste_arr()
1335 action->sampler->dmn = dmn; in mlx5dr_action_create_flow_sampler()
1336 action->sampler->sampler_id = sampler_id; in mlx5dr_action_create_flow_sampler()
1337 action->sampler->rx_icm_addr = icm_rx; in mlx5dr_action_create_flow_sampler()
1338 action->sampler->tx_icm_addr = icm_tx; in mlx5dr_action_create_flow_sampler()
2201 refcount_dec(&action->sampler->dmn->refcount); in mlx5dr_action_destroy()
Ddr_types.h1130 struct mlx5dr_action_sampler *sampler; member
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_engine_types.h74 u32 sampler[GEN_MAX_GSLICES][I915_MAX_SUBSLICES]; member
Dintel_engine_cs.c1781 instdone->sampler[slice][subslice] = in intel_engine_get_instdone()
1807 instdone->sampler[0][0] = in intel_engine_get_instdone()
/linux-6.6.21/kernel/events/
Dcore.c6993 struct perf_event *sampler = event->aux_event; in perf_prepare_sample_aux() local
6998 if (!sampler) in perf_prepare_sample_aux()
7001 if (WARN_ON_ONCE(READ_ONCE(sampler->state) != PERF_EVENT_STATE_ACTIVE)) in perf_prepare_sample_aux()
7004 if (WARN_ON_ONCE(READ_ONCE(sampler->oncpu) != smp_processor_id())) in perf_prepare_sample_aux()
7007 rb = ring_buffer_get(sampler); in perf_prepare_sample_aux()
7065 struct perf_event *sampler = event->aux_event; in perf_aux_sample_output() local
7070 if (WARN_ON_ONCE(!sampler || !data->aux_size)) in perf_aux_sample_output()
7073 rb = ring_buffer_get(sampler); in perf_aux_sample_output()
7077 size = perf_pmu_snapshot_aux(rb, sampler, handle, data->aux_size); in perf_aux_sample_output()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_gpu_error.c460 ee->instdone.sampler[slice][subslice]); in error_print_instdone()