Searched refs:used_cntr (Results 1 – 1 of 1) sorted by relevance
412 unsigned long used_cntr = find_first_bit(used_mask, l3c_pmu->num_counters); in hisi_l3c_pmu_start_counters() local420 if (used_cntr < L3C_NR_COUNTERS) { in hisi_l3c_pmu_start_counters()429 used_cntr = find_next_bit(used_mask, L3C_CNTR_EXT_H(i), L3C_CNTR_EXT_L(i)); in hisi_l3c_pmu_start_counters()430 if (used_cntr >= L3C_CNTR_EXT_H(i)) in hisi_l3c_pmu_start_counters()443 unsigned long used_cntr = find_first_bit(used_mask, l3c_pmu->num_counters); in hisi_l3c_pmu_stop_counters() local451 if (used_cntr < L3C_NR_COUNTERS) { in hisi_l3c_pmu_stop_counters()460 used_cntr = find_next_bit(used_mask, L3C_CNTR_EXT_H(i), L3C_CNTR_EXT_L(i)); in hisi_l3c_pmu_stop_counters()461 if (used_cntr >= L3C_CNTR_EXT_H(i)) in hisi_l3c_pmu_stop_counters()