Searched refs:used_counters (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/perf/ |
D | arm_smmuv3_pmu.c | 125 DECLARE_BITMAP(used_counters, SMMU_PMCG_MAX_COUNTERS); 171 for_each_set_bit(idx, smmu_pmu->used_counters, smmu_pmu->num_counters) in smmu_pmu_enable_quirk_hip08_09() 195 for_each_set_bit(idx, smmu_pmu->used_counters, smmu_pmu->num_counters) in smmu_pmu_disable_quirk_hip08_09() 338 cur_idx = find_first_bit(smmu_pmu->used_counters, num_ctrs); in smmu_pmu_apply_event_filter() 363 idx = find_first_zero_bit(smmu_pmu->used_counters, num_ctrs); in smmu_pmu_get_event_idx() 372 set_bit(idx, smmu_pmu->used_counters); in smmu_pmu_get_event_idx() 519 clear_bit(idx, smmu_pmu->used_counters); in smmu_pmu_event_del()
|
D | qcom_l2_pmu.c | 139 DECLARE_BITMAP(used_counters, MAX_L2_CTRS); 348 if (test_and_set_bit(l2_cycle_ctr_idx, cluster->used_counters)) in l2_cache_get_event_idx() 354 idx = find_first_zero_bit(cluster->used_counters, num_ctrs); in l2_cache_get_event_idx() 368 set_bit(idx, cluster->used_counters); in l2_cache_get_event_idx() 380 clear_bit(idx, cluster->used_counters); in l2_cache_clear_event_idx() 396 for_each_set_bit(idx, cluster->used_counters, num_counters) { in l2_cache_handle_irq()
|
/linux-6.12.1/arch/arm/mach-imx/ |
D | mmdc.c | 237 unsigned long *used_counters) in mmdc_pmu_group_event_is_valid() argument 247 return !test_and_set_bit(cfg, used_counters); in mmdc_pmu_group_event_is_valid()
|