Lines Matching defs:idx
39 #define CCI_PMU_CNTR_BASE(model, idx) ((idx) * CCI_PMU_CNTR_SIZE(model)) argument
316 int idx; in cci400_get_event_idx() local
712 static int pmu_is_valid_counter(struct cci_pmu *cci_pmu, int idx) in pmu_is_valid_counter()
717 static u32 pmu_read_register(struct cci_pmu *cci_pmu, int idx, unsigned int offset) in pmu_read_register()
724 int idx, unsigned int offset) in pmu_write_register()
730 static void pmu_disable_counter(struct cci_pmu *cci_pmu, int idx) in pmu_disable_counter()
735 static void pmu_enable_counter(struct cci_pmu *cci_pmu, int idx) in pmu_enable_counter()
741 pmu_counter_is_enabled(struct cci_pmu *cci_pmu, int idx) in pmu_counter_is_enabled()
746 static void pmu_set_event(struct cci_pmu *cci_pmu, int idx, unsigned long event) in pmu_set_event()
803 int idx; in pmu_get_event_idx() local
879 int idx = hw_counter->idx; in pmu_read_counter() local
891 static void pmu_write_counter(struct cci_pmu *cci_pmu, u32 value, int idx) in pmu_write_counter()
1031 int idx, handled = IRQ_NONE; in pmu_handle_irq() local
1127 static bool pmu_fixed_hw_idx(struct cci_pmu *cci_pmu, int idx) in pmu_fixed_hw_idx()
1137 int idx = hwc->idx; in cci_pmu_start() local
1170 int idx = hwc->idx; in cci_pmu_stop() local
1194 int idx; in cci_pmu_add() local
1219 int idx = hwc->idx; in cci_pmu_del() local