Lines Matching defs:config
48 /* The active PMCs' config for easy use with wrperfmon(). */
49 unsigned long config;
88 int (*raw_event_valid)(u64 config);
132 int config;
150 * EV67 PMU. Also allocate counter indices and config.
156 unsigned long config;
159 config = ev67_mapping[evtype[0]-1].config;
170 config = EV67_PCTR_CYCLES_MBOX;
180 config = EV67_PCTR_INSTR_BCACHEMISS;
190 config = EV67_PCTR_INSTR_CYCLES;
200 event[0]->hw.config_base = config;
203 event[1]->hw.config_base = config;
209 static int ev67_raw_event_valid(u64 config)
211 return config >= EV67_CYCLES && config < EV67_LAST_ET;
424 cpuc->config = cpuc->event[0]->hw.config_base;
616 if (attr->config >= alpha_pmu->max_events)
618 ev = alpha_pmu->event_map[attr->config];
622 if (!alpha_pmu->raw_event_valid(attr->config))
624 ev = attr->config;
662 /* Indicate that PMU config and idx are yet to be determined. */
736 wrperfmon(PERFMON_CMD_DESIRED_EVENTS, cpuc->config);