Lines Matching defs:idx
84 #define CCI_PMU_CNTR_BASE(model, idx) ((idx) * CCI_PMU_CNTR_SIZE(model)) argument
342 int idx; in cci400_get_event_idx() local
622 static int pmu_is_valid_counter(struct cci_pmu *cci_pmu, int idx) in pmu_is_valid_counter()
627 static u32 pmu_read_register(struct cci_pmu *cci_pmu, int idx, unsigned int offset) in pmu_read_register()
634 int idx, unsigned int offset) in pmu_write_register()
640 static void pmu_disable_counter(struct cci_pmu *cci_pmu, int idx) in pmu_disable_counter()
645 static void pmu_enable_counter(struct cci_pmu *cci_pmu, int idx) in pmu_enable_counter()
650 static void pmu_set_event(struct cci_pmu *cci_pmu, int idx, unsigned long event) in pmu_set_event()
669 int idx; in pmu_get_event_idx() local
745 int idx = hw_counter->idx; in pmu_read_counter() local
761 int idx = hw_counter->idx; in pmu_write_counter() local
811 int idx, handled = IRQ_NONE; in pmu_handle_irq() local
912 static bool pmu_fixed_hw_idx(struct cci_pmu *cci_pmu, int idx) in pmu_fixed_hw_idx()
922 int idx = hwc->idx; in cci_pmu_start() local
955 int idx = hwc->idx; in cci_pmu_stop() local
979 int idx; in cci_pmu_add() local
1011 int idx = hwc->idx; in cci_pmu_del() local