Lines Matching refs:used_mask
70 unsigned long *used_mask;
317 if (test_and_set_bit(CCI400_PMU_CYCLE_CNTR_IDX, hw->used_mask))
324 if (!test_and_set_bit(idx, hw->used_mask))
646 for_each_set_bit(i, cci_pmu->hw_events.used_mask, cci_pmu->num_cntrs) {
752 * caller. We cannot rely on the used_mask maintained by the CCI_PMU
807 if (!test_and_set_bit(idx, hw->used_mask))
1096 bool enabled = !bitmap_empty(hw_events->used_mask, cci_pmu->num_cntrs);
1220 clear_bit(idx, hw_events->used_mask);
1257 * used_mask for the purposes of validation.
1259 .used_mask = mask,
1629 cci_pmu->hw_events.used_mask = devm_bitmap_zalloc(dev,
1632 if (!cci_pmu->hw_events.used_mask)