Searched refs:NR_PHYS_CTRS (Results 1 - 5 of 5) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/include/asm/
H A Dcell-pmu.h31 #define NR_PHYS_CTRS 4 macro
32 #define NR_CTRS (NR_PHYS_CTRS * 2)
35 #define CBE_PM_16BIT_CTR(ctr) (1 << (24 - ((ctr) & (NR_PHYS_CTRS - 1))))
H A Dcell-regs.h154 u32 pm_ctr[NR_PHYS_CTRS];
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/platforms/cell/
H A Dpmu.c77 if (phys_ctr < NR_PHYS_CTRS) {
97 if (phys_ctr < NR_PHYS_CTRS) {
128 u32 phys_ctr = ctr & (NR_PHYS_CTRS - 1);
133 val = (ctr < NR_PHYS_CTRS) ? (val >> 16) : (val & 0xffff);
144 phys_ctr = ctr & (NR_PHYS_CTRS - 1);
149 if (ctr < NR_PHYS_CTRS)
274 if (phys_ctr < NR_PHYS_CTRS) {
287 if (phys_ctr < NR_PHYS_CTRS) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ps3/
H A Dps3-lpm.c216 if (phys_ctr >= NR_PHYS_CTRS) {
262 if (phys_ctr >= NR_PHYS_CTRS) {
318 u32 phys_ctr = ctr & (NR_PHYS_CTRS - 1);
323 val = (ctr < NR_PHYS_CTRS) ? (val >> 16) : (val & 0xffff);
341 phys_ctr = ctr & (NR_PHYS_CTRS - 1);
346 if (ctr < NR_PHYS_CTRS)
525 if (phys_ctr >= NR_PHYS_CTRS) {
544 if (phys_ctr >= NR_PHYS_CTRS) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/oprofile/
H A Dop_model_cell.c132 u32 pm07_cntrl[NR_PHYS_CTRS];
142 static DEFINE_PER_CPU(unsigned long[NR_PHYS_CTRS], pmc_values);
144 static struct pmc_cntrl_data pmc_cntrl[NUM_THREADS][NR_PHYS_CTRS];
172 static struct pm_signal pm_signal[NR_PHYS_CTRS];
176 static u32 reset_value[NR_PHYS_CTRS];
237 struct pm_signal pm_signal_local[NR_PHYS_CTRS];
440 * The per-cpu[NR_PHYS_CTRS] gives us the storage we need. Each odd/even
760 if (unlikely(num_ctrs > NR_PHYS_CTRS)) {

Completed in 73 milliseconds