Searched refs:used_cntr (Results 1 – 1 of 1) sorted by relevance
410 unsigned long used_cntr = find_first_bit(used_mask, l3c_pmu->num_counters); in hisi_l3c_pmu_start_counters() local418 if (used_cntr < L3C_NR_COUNTERS) { in hisi_l3c_pmu_start_counters()427 used_cntr = find_next_bit(used_mask, L3C_CNTR_EXT_H(i), L3C_CNTR_EXT_L(i)); in hisi_l3c_pmu_start_counters()428 if (used_cntr >= L3C_CNTR_EXT_H(i)) in hisi_l3c_pmu_start_counters()441 unsigned long used_cntr = find_first_bit(used_mask, l3c_pmu->num_counters); in hisi_l3c_pmu_stop_counters() local449 if (used_cntr < L3C_NR_COUNTERS) { in hisi_l3c_pmu_stop_counters()458 used_cntr = find_next_bit(used_mask, L3C_CNTR_EXT_H(i), L3C_CNTR_EXT_L(i)); in hisi_l3c_pmu_stop_counters()459 if (used_cntr >= L3C_CNTR_EXT_H(i)) in hisi_l3c_pmu_stop_counters()