Lines Matching defs:config
75 static int hw_perf_cache_event(int config, int *evp)
83 /* unpack config */
84 type = config & 0xff;
85 op = (config >> 8) & 0xff;
86 result = (config >> 16) & 0xff;
106 int config = -1;
145 config = attr->config & sh_pmu->raw_event_mask;
148 err = hw_perf_cache_event(attr->config, &config);
153 if (attr->config >= sh_pmu->max_events)
156 config = sh_pmu->event_map(attr->config);
160 if (config == -1)
163 hwc->config |= config;