Lines Matching defs:event
746 static inline u64 armv7pmu_read_counter(struct perf_event *event) in armv7pmu_read_counter()
766 static inline void armv7pmu_write_counter(struct perf_event *event, u64 value) in armv7pmu_write_counter()
871 static void armv7pmu_enable_event(struct perf_event *event) in armv7pmu_enable_event()
917 static void armv7pmu_disable_event(struct perf_event *event) in armv7pmu_disable_event()
974 struct perf_event *event = cpuc->events[idx]; in armv7pmu_handle_irq() local
1033 struct perf_event *event) in armv7pmu_get_event_idx()
1062 struct perf_event *event) in armv7pmu_clear_event_idx()
1070 static int armv7pmu_set_event_filter(struct hw_perf_event *event, in armv7pmu_set_event_filter()
1114 static int armv7_a8_map_event(struct perf_event *event) in armv7_a8_map_event()
1120 static int armv7_a9_map_event(struct perf_event *event) in armv7_a9_map_event()
1126 static int armv7_a5_map_event(struct perf_event *event) in armv7_a5_map_event()
1132 static int armv7_a15_map_event(struct perf_event *event) in armv7_a15_map_event()
1138 static int armv7_a7_map_event(struct perf_event *event) in armv7_a7_map_event()
1144 static int armv7_a12_map_event(struct perf_event *event) in armv7_a12_map_event()
1150 static int krait_map_event(struct perf_event *event) in krait_map_event()
1156 static int krait_map_event_no_branch(struct perf_event *event) in krait_map_event_no_branch()
1162 static int scorpion_map_event(struct perf_event *event) in scorpion_map_event()
1324 #define EVENT_REGION(event) (((event) >> 12) & 0xf) /* R */ argument
1325 #define EVENT_GROUP(event) ((event) & 0xf) /* G */ argument
1326 #define EVENT_CODE(event) (((event) >> 4) & 0xff) /* CC */ argument
1327 #define EVENT_VENUM(event) (!!(event & VENUM_EVENT)) /* N=2 */ argument
1328 #define EVENT_CPU(event) (!!(event & KRAIT_EVENT)) /* N=1 */ argument
1493 static void krait_pmu_disable_event(struct perf_event *event) in krait_pmu_disable_event()
1519 static void krait_pmu_enable_event(struct perf_event *event) in krait_pmu_enable_event()
1580 static int krait_event_to_bit(struct perf_event *event, unsigned int region, in krait_event_to_bit()
1607 struct perf_event *event) in krait_pmu_get_event_idx()
1638 struct perf_event *event) in krait_pmu_clear_event_idx()
1826 static void scorpion_pmu_disable_event(struct perf_event *event) in scorpion_pmu_disable_event()
1852 static void scorpion_pmu_enable_event(struct perf_event *event) in scorpion_pmu_enable_event()
1913 static int scorpion_event_to_bit(struct perf_event *event, unsigned int region, in scorpion_event_to_bit()
1940 struct perf_event *event) in scorpion_pmu_get_event_idx()
1968 struct perf_event *event) in scorpion_pmu_clear_event_idx()