Lines Matching refs:used_mask
70 unsigned long *used_mask;
315 if (test_and_set_bit(CCI400_PMU_CYCLE_CNTR_IDX, hw->used_mask))
322 if (!test_and_set_bit(idx, hw->used_mask))
644 for_each_set_bit(i, cci_pmu->hw_events.used_mask, cci_pmu->num_cntrs) {
742 * caller. We cannot rely on the used_mask maintained by the CCI_PMU
797 if (!test_and_set_bit(idx, hw->used_mask))
1086 bool enabled = !bitmap_empty(hw_events->used_mask, cci_pmu->num_cntrs);
1210 clear_bit(idx, hw_events->used_mask);
1247 * used_mask for the purposes of validation.
1249 .used_mask = mask,
1620 cci_pmu->hw_events.used_mask = devm_bitmap_zalloc(dev,
1623 if (!cci_pmu->hw_events.used_mask)