Lines Matching refs:pmnc
356 uint32_t pmnc, config, evtsel;
370 pmnc = xscale_pmnc_read();
373 pmnc &= ~XSCALE_PMNC_EVT0_MASK;
374 pmnc |= (config << 12) & XSCALE_PMNC_EVT0_MASK;
377 pmnc &= ~XSCALE_PMNC_EVT1_MASK;
378 pmnc |= (config << 20) & XSCALE_PMNC_EVT1_MASK;
384 xscale_pmnc_write(pmnc);
416 pmnc = xscale_pmnc_read();
417 pmnc |= XSCALE_PMNC_ENABLE;
418 xscale_pmnc_write(pmnc);
426 uint32_t pmnc, evtsel;
439 pmnc = xscale_pmnc_read();
440 pmnc &= ~XSCALE_PMNC_ENABLE;
441 xscale_pmnc_write(pmnc);
447 pmnc = xscale_pmnc_read();
450 pmnc |= XSCALE_PMNC_EVT0_MASK;
453 pmnc |= XSCALE_PMNC_EVT1_MASK;
459 xscale_pmnc_write(pmnc);