Searched refs:cci_pmu (Results 1 – 1 of 1) sorted by relevance
86 #define CCI_PMU_CNTR_LAST(cci_pmu) (cci_pmu->num_cntrs - 1) argument112 struct cci_pmu;129 int (*validate_hw_event)(struct cci_pmu *, unsigned long);130 int (*get_event_idx)(struct cci_pmu *, struct cci_pmu_hw_events *, unsigned long);135 struct cci_pmu { struct151 #define to_cci_pmu(c) (container_of(c, struct cci_pmu, pmu)) argument338 static int cci400_get_event_idx(struct cci_pmu *cci_pmu, in cci400_get_event_idx() argument352 for (idx = CCI400_PMU_CNTR0_IDX; idx <= CCI_PMU_CNTR_LAST(cci_pmu); ++idx) in cci400_get_event_idx()360 static int cci400_validate_hw_event(struct cci_pmu *cci_pmu, unsigned long hw_event) in cci400_validate_hw_event() argument391 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci400_validate_hw_event()[all …]