Home
last modified time | relevance | path

Searched refs:cci_pmu (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/drivers/bus/
Darm-cci.c115 struct cci_pmu { struct
129 static struct cci_pmu *pmu; argument
131 #define to_cci_pmu(c) (container_of(c, struct cci_pmu, pmu))
158 #define CCI_PMU_CNTR_LAST(cci_pmu) (CCI_PMU_CYCLE_CNTR_IDX + cci_pmu->num_events - 1) argument
236 static int pmu_is_valid_counter(struct cci_pmu *cci_pmu, int idx) in pmu_is_valid_counter() argument
239 idx <= CCI_PMU_CNTR_LAST(cci_pmu); in pmu_is_valid_counter()
278 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); in pmu_get_event_idx() local
290 for (idx = CCI_PMU_CNTR0_IDX; idx <= CCI_PMU_CNTR_LAST(cci_pmu); ++idx) in pmu_get_event_idx()
314 static int pmu_request_irq(struct cci_pmu *cci_pmu, irq_handler_t handler) in pmu_request_irq() argument
317 struct platform_device *pmu_device = cci_pmu->plat_device; in pmu_request_irq()
[all …]