Home
last modified time | relevance | path

Searched refs:counter_idx (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_df.h48 int counter_idx, int is_add);
50 int counter_idx, int is_remove);
52 int counter_idx, uint64_t *count);
/linux/drivers/perf/
H A Dmarvell_cn10k_tad_pmu.c55 u32 counter_idx = hwc->idx; in tad_pmu_event_counter_read() local
63 TAD_PFC(counter_idx)); in tad_pmu_event_counter_read()
73 u32 counter_idx = hwc->idx; in tad_pmu_event_counter_stop() local
81 TAD_PRF(counter_idx)); in tad_pmu_event_counter_stop()
93 u32 counter_idx = hwc->idx; in tad_pmu_event_counter_start() local
102 TAD_PFC(counter_idx)); in tad_pmu_event_counter_start()
110 TAD_PRF(counter_idx)); in tad_pmu_event_counter_start()
H A Dcxl_pmu.c88 int counter_idx; /* fixed counters */ member
179 pmu_ev->counter_idx = i; in cxl_pmu_parse_caps()
517 static int cxl_pmu_get_event_idx(struct perf_event *event, int *counter_idx, in cxl_pmu_get_event_idx() argument
533 if (!counter_idx) in cxl_pmu_get_event_idx()
535 if (!test_bit(pmu_ev->counter_idx, info->used_counter_bm)) { in cxl_pmu_get_event_idx()
536 *counter_idx = pmu_ev->counter_idx; in cxl_pmu_get_event_idx()
544 if (!counter_idx) in cxl_pmu_get_event_idx()
554 *counter_idx = i; in cxl_pmu_get_event_idx()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c1000 u64 counter_idx = MLX4_SINK_COUNTER_INDEX(dev); in handle_unexisting_counter() local
1017 err = counter_alloc_res(dev, slave, RES_OP_RESERVE, 0, 0, &counter_idx, in handle_unexisting_counter()
1025 qpc->pri_path.counter_index = counter_idx; in handle_unexisting_counter()