Home
last modified time | relevance | path

Searched refs:pmcsel (Results 1 – 1 of 1) sorted by relevance

/linux/arch/powerpc/perf/
H A Dppc970-pmu.c271 unsigned char pmcsel[8]; in p970_compute_mmcr() local
348 memset(pmcsel, 0x8, sizeof(pmcsel)); /* 8 means don't count */ in p970_compute_mmcr()
380 pmcsel[pmc] = psel; in p970_compute_mmcr()
388 mmcr0 |= pmcsel[pmc] << (MMCR0_PMC1SEL_SH - 7 * pmc); in p970_compute_mmcr()
390 mmcr1 |= (unsigned long)pmcsel[pmc] in p970_compute_mmcr()