Lines Matching defs:hwc
35 #define OVERFLOW_REG(hwc) ((hwc)->extra_reg.config) argument
36 #define SFB_ALLOC_REG(hwc) ((hwc)->extra_reg.alloc) argument
37 #define TEAR_REG(hwc) ((hwc)->last_tag) argument
38 #define SAMPL_RATE(hwc) ((hwc)->event_base) argument
39 #define SAMPL_FLAGS(hwc) ((hwc)->config_base) argument
40 #define SAMPL_DIAG_MODE(hwc) (SAMPL_FLAGS(hwc) & PERF_CPUM_SF_DIAG_MODE) argument
41 #define SAMPL_FREQ_MODE(hwc) (SAMPL_FLAGS(hwc) & PERF_CPUM_SF_FREQ_MODE) argument
375 static unsigned long sfb_max_limit(struct hw_perf_event *hwc) in sfb_max_limit()
382 struct hw_perf_event *hwc) in sfb_pending_allocs()
391 static void sfb_account_allocs(unsigned long num, struct hw_perf_event *hwc) in sfb_account_allocs()
399 static void sfb_init_allocs(unsigned long num, struct hw_perf_event *hwc) in sfb_init_allocs()
411 static int allocate_buffers(struct cpu_hw_sf *cpuhw, struct hw_perf_event *hwc) in allocate_buffers()
493 struct hw_perf_event *hwc) in sfb_account_overflows()
530 struct hw_perf_event *hwc) in extend_sampling_buffer()
602 static void hw_init_period(struct hw_perf_event *hwc, u64 period) in hw_init_period()
728 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init_rate() local
753 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
910 struct hw_perf_event *hwc; in cpumsf_pmu_enable() local
1195 struct hw_perf_event *hwc = &event->hw; in hw_perf_event_update() local