Lines Matching refs:num_cntrs
38 #define CCI_PMU_CNTR_LAST(cci_pmu) (cci_pmu->num_cntrs - 1)
107 int num_cntrs; member
646 for_each_set_bit(i, cci_pmu->hw_events.used_mask, cci_pmu->num_cntrs) { in cci_pmu_sync_counters()
765 for (i = 0; i < cci_pmu->num_cntrs; i++) { in pmu_save_counters()
782 for_each_set_bit(i, mask, cci_pmu->num_cntrs) in pmu_restore_counters()
898 for_each_set_bit(i, mask, cci_pmu->num_cntrs) { in __pmu_write_counters()
951 bitmap_zero(saved_mask, cci_pmu->num_cntrs); in cci5xx_pmu_write_counters()
960 for_each_set_bit(i, mask, cci_pmu->num_cntrs) { in cci5xx_pmu_write_counters()
1096 bool enabled = !bitmap_empty(hw_events->used_mask, cci_pmu->num_cntrs); in cci_pmu_enable()
1261 bitmap_zero(mask, cci_pmu->num_cntrs); in validate_group()
1400 u32 num_cntrs; in cci_pmu_init() local
1427 num_cntrs = pmu_get_max_counters(cci_pmu); in cci_pmu_init()
1428 if (num_cntrs > cci_pmu->model->num_hw_cntrs) { in cci_pmu_init()
1432 num_cntrs, cci_pmu->model->num_hw_cntrs); in cci_pmu_init()
1433 num_cntrs = cci_pmu->model->num_hw_cntrs; in cci_pmu_init()
1435 cci_pmu->num_cntrs = num_cntrs + cci_pmu->model->fixed_hw_cntrs; in cci_pmu_init()