Lines Matching defs:config
42 * The first generation has two PMC; the event selection, interrupt config
47 * selection, one register for the interrupt config and one register for
252 uint32_t caps, config;
266 config = xscale_event_codes[i].pe_code;
275 pm->pm_md.pm_xscale.pm_xscale_evsel = config;
277 PMCDBG2(MDP,ALL,2,"xscale-allocate ri=%d -> config=0x%x", ri, config);
353 uint32_t pmnc, config, evtsel;
359 config = pm->pm_md.pm_xscale.pm_xscale_evsel;
371 pmnc |= (config << 12) & XSCALE_PMNC_EVT0_MASK;
375 pmnc |= (config << 20) & XSCALE_PMNC_EVT1_MASK;
387 evtsel |= config & XSCALE_EVTSEL_EVT0_MASK;
391 evtsel |= (config << 8) & XSCALE_EVTSEL_EVT1_MASK;
395 evtsel |= (config << 16) & XSCALE_EVTSEL_EVT2_MASK;
399 evtsel |= (config << 24) & XSCALE_EVTSEL_EVT3_MASK;