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
363 static unsigned long sfb_max_limit(struct hw_perf_event *hwc) in sfb_max_limit()
370 struct hw_perf_event *hwc) in sfb_pending_allocs()
379 static void sfb_account_allocs(unsigned long num, struct hw_perf_event *hwc) in sfb_account_allocs()
387 static void sfb_init_allocs(unsigned long num, struct hw_perf_event *hwc) in sfb_init_allocs()
399 static int allocate_buffers(struct cpu_hw_sf *cpuhw, struct hw_perf_event *hwc) in allocate_buffers()
481 struct hw_perf_event *hwc) in sfb_account_overflows()
518 struct hw_perf_event *hwc) in extend_sampling_buffer()
589 static void hw_init_period(struct hw_perf_event *hwc, u64 period) in hw_init_period()
715 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init_rate() local
740 struct hw_perf_event *hwc = &event->hw; in __hw_perf_event_init() local
894 struct hw_perf_event *hwc; in cpumsf_pmu_enable() local
1176 struct hw_perf_event *hwc = &event->hw; in hw_perf_event_update() local