Searched refs:mmcr1 (Results 1 - 12 of 12) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/kernel/ |
H A D | power4-pmu.c | 361 unsigned long mmcr0 = 0, mmcr1 = 0, mmcra = 0; local 435 mmcr1 |= (unsigned long)(unituse[3] * 2 + unituse[2]) 437 mmcr1 |= (unsigned long)(unituse[7] * 3 + unituse[6] * 2) 439 mmcr1 |= (unsigned long)unituse[9] << MMCR1_TTM2SEL_SH; 443 mmcr1 |= 1ull << MMCR1_TTC0SEL_SH; 445 mmcr1 |= 1ull << MMCR1_TTC1SEL_SH; 447 mmcr1 |= 1ull << MMCR1_TTC2SEL_SH; 449 mmcr1 |= 1ull << MMCR1_TTC3SEL_SH; 458 mmcr1 |= 1ull << (MMCR1_DEBUG0SEL_SH - byte); 464 mmcr1 | [all...] |
H A D | ppc970-pmu.c | 262 unsigned long mmcr0 = 0, mmcr1 = 0, mmcra = 0; local 323 mmcr1 |= (unsigned long)(ttm & ~4) << MMCR1_TTM1SEL_SH; 341 mmcr1 |= 1ull << (MMCR1_TTM3SEL_SH + 3 - byte); 343 mmcr1 |= (unsigned long)ttm 378 mmcr1 |= 1ull << mmcr1_adder_bits[pmc]; 383 mmcr1 |= spcsel; 390 mmcr1 |= (unsigned long)pmcsel[pmc] 401 mmcr[1] = mmcr1;
|
H A D | power7-pmu.c | 228 unsigned long mmcr1 = 0; local 267 mmcr1 |= (unsigned long) unit 269 mmcr1 |= (unsigned long) combine 271 mmcr1 |= psel << MMCR1_PMCSEL_SH(pmc); 273 mmcr1 |= (unsigned long) l2sel 287 mmcr[1] = mmcr1;
|
H A D | power6-pmu.c | 180 unsigned long mmcr1 = 0; local 218 if ((ttmset & (1 << b)) && MMCR1_TTMSEL(mmcr1, b) != u) 220 mmcr1 |= (unsigned long)u << MMCR1_TTMSEL_SH(b); 226 MMCR1_NESTSEL(mmcr1) != s) 229 mmcr1 |= (unsigned long)s << MMCR1_NESTSEL_SH; 234 mmcr1 |= MMCR1_PMC1_ADDR_SEL >> pmc; 241 mmcr1 |= MMCR1_PMC1_LLA >> pmc; 243 mmcr1 |= MMCR1_PMC1_LLA_VALUE >> pmc; 248 mmcr1 |= (unsigned long)psel << MMCR1_PMCSEL_SH(pmc); 255 mmcr[1] = mmcr1; [all...] |
H A D | power5-pmu.c | 388 unsigned long mmcr1 = 0; local 460 mmcr1 |= (unsigned long)i << MMCR1_TTM0SEL_SH; 468 mmcr1 |= (unsigned long)(i & 3) << MMCR1_TTM1SEL_SH; 483 mmcr1 |= 1ul << (MMCR1_TTM3SEL_SH + 3 - byte); 486 mmcr1 |= (unsigned long)ttm 517 mmcr1 |= 1ul << (MMCR1_PMC1_ADDER_SEL_SH - pmc); 525 mmcr1 |= (unsigned long)grsel << grsel_shift[bit]; 530 mmcr1 |= psel << MMCR1_PMCSEL_SH(pmc); 540 mmcr[1] = mmcr1;
|
H A D | power5+-pmu.c | 457 unsigned long mmcr1 = 0; local 520 mmcr1 |= (unsigned long)i << MMCR1_TTM0SEL_SH; 528 mmcr1 |= (unsigned long)(i & 3) << MMCR1_TTM1SEL_SH; 543 mmcr1 |= 1ul << (MMCR1_TTM3SEL_SH + 3 - byte); 546 mmcr1 |= (unsigned long)ttm 572 mmcr1 |= 1ul << (MMCR1_PMC1_ADDER_SEL_SH - pmc); 580 mmcr1 |= (unsigned long)grsel << grsel_shift[bit]; 588 mmcr1 |= psel << MMCR1_PMCSEL_SH(pmc); 598 mmcr[1] = mmcr1;
|
H A D | mpc7450-pmu.c | 270 u32 mmcr0 = 0, mmcr1 = 0, mmcr2 = 0; local 316 mmcr1 |= ev; 328 mmcr[1] = mmcr1;
|
H A D | sysfs.c | 160 SYSFS_PMCSETUP(mmcr1, SPRN_MMCR1); 229 _SYSDEV_ATTR(mmcr1, 0600, show_mmcr1, store_mmcr1), 236 _SYSDEV_ATTR(mmcr1, 0600, show_mmcr1, store_mmcr1), 257 _SYSDEV_ATTR(mmcr1, 0600, show_mmcr1, store_mmcr1),
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/oprofile/ |
H A D | op_model_pa6t.c | 124 * mmcr1 values passed from the user in the op_system_config 128 mmcr1_val = sys->mmcr1; 130 pr_debug("mmcr1_val inited to %016lx\n", sys->mmcr1); 146 u64 mmcr1 = mmcr1_val; local 153 mtspr(SPRN_PA6T_MMCR1, mmcr1); 157 pr_debug("setup on cpu %d, mmcr1 %016lx\n", smp_processor_id(),
|
H A D | common.c | 129 * There is one mmcr0, mmcr1 and mmcra for setting the events for 133 oprofilefs_create_ulong(sb, root, "mmcr1", &sys.mmcr1);
|
H A D | op_model_power4.c | 44 * mmcr1 and mmcra values passed from the user in the 48 mmcr1_val = sys->mmcr1; 119 dbg("setup on cpu %d, mmcr1 %lx\n", smp_processor_id(),
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/include/asm/ |
H A D | oprofile_impl.h | 33 unsigned long mmcr1; member in struct:op_system_config
|
Completed in 64 milliseconds