Searched refs:counter_idx (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | df_v3_6.c | 348 int counter_idx) in df_v3_6_pmc_has_counter() argument 352 adev->df_perfmon_config_assign_mask[counter_idx]); in df_v3_6_pmc_has_counter() 359 int counter_idx, in df_v3_6_pmc_get_addr() argument 364 if (!df_v3_6_pmc_has_counter(adev, config, counter_idx)) in df_v3_6_pmc_get_addr() 367 switch (counter_idx) { in df_v3_6_pmc_get_addr() 393 int counter_idx, in df_v3_6_pmc_get_read_settings() argument 397 df_v3_6_pmc_get_addr(adev, config, counter_idx, 0, lo_base_addr, in df_v3_6_pmc_get_read_settings() 404 int counter_idx, in df_v3_6_pmc_get_ctrl_settings() argument 415 df_v3_6_pmc_get_addr(adev, config, counter_idx, 1, lo_base_addr, in df_v3_6_pmc_get_ctrl_settings() 461 uint64_t config, int counter_idx, in df_v3_6_pmc_set_deferred() argument [all …]
|
D | amdgpu_df.h | 47 int counter_idx, int is_add); 49 int counter_idx, int is_remove); 51 int counter_idx, uint64_t *count);
|
/linux-6.1.9/drivers/perf/ |
D | marvell_cn10k_tad_pmu.c | 46 u32 counter_idx = hwc->idx; in tad_pmu_event_counter_read() local 54 TAD_PFC(counter_idx)); in tad_pmu_event_counter_read() 64 u32 counter_idx = hwc->idx; in tad_pmu_event_counter_stop() local 72 TAD_PRF(counter_idx)); in tad_pmu_event_counter_stop() 84 u32 counter_idx = hwc->idx; in tad_pmu_event_counter_start() local 93 TAD_PFC(counter_idx)); in tad_pmu_event_counter_start() 101 TAD_PRF(counter_idx)); in tad_pmu_event_counter_start()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc_hash.h | 169 u16 counter_idx[NPC_MCAM_DROP_RULE_MAX]; member
|
D | rvu_npc_fs.c | 1470 int npc_install_mcam_drop_rule(struct rvu *rvu, int mcam_idx, u16 *counter_idx, in npc_install_mcam_drop_rule() argument 1531 *counter_idx = cntr_rsp.cntr; in npc_install_mcam_drop_rule()
|
D | rvu.h | 850 int npc_install_mcam_drop_rule(struct rvu *rvu, int mcam_idx, u16 *counter_idx,
|
D | rvu_npc_hash.c | 1993 &table->counter_idx[*drop_mcam_idx], in rvu_npc_exact_init()
|
D | rvu_debugfs.c | 3107 NPC_AF_MATCH_STATX(table->counter_idx[i])), in rvu_dbg_npc_exact_drop_cnt()
|
/linux-6.1.9/tools/perf/util/ |
D | stat-display.c | 1084 int counter_idx = perf_cpu_map__idx(evsel__cpus(counter), cpu); in print_no_aggr_metric() local 1086 if (counter_idx < 0) in print_no_aggr_metric() 1096 val = perf_counts(counter->counts, counter_idx, 0)->val; in print_no_aggr_metric() 1097 ena = perf_counts(counter->counts, counter_idx, 0)->ena; in print_no_aggr_metric() 1098 run = perf_counts(counter->counts, counter_idx, 0)->run; in print_no_aggr_metric()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 1006 u64 counter_idx = MLX4_SINK_COUNTER_INDEX(dev); in handle_unexisting_counter() local 1023 err = counter_alloc_res(dev, slave, RES_OP_RESERVE, 0, 0, &counter_idx, in handle_unexisting_counter() 1031 qpc->pri_path.counter_index = counter_idx; in handle_unexisting_counter()
|