Searched refs:NR_PHYS_CTRS (Results 1 – 4 of 4) sorted by relevance
78 if (phys_ctr < NR_PHYS_CTRS) { in cbe_read_phys_ctr()98 if (phys_ctr < NR_PHYS_CTRS) { in cbe_write_phys_ctr()129 u32 phys_ctr = ctr & (NR_PHYS_CTRS - 1); in cbe_read_ctr()134 val = (ctr < NR_PHYS_CTRS) ? (val >> 16) : (val & 0xffff); in cbe_read_ctr()145 phys_ctr = ctr & (NR_PHYS_CTRS - 1); in cbe_write_ctr()150 if (ctr < NR_PHYS_CTRS) in cbe_write_ctr()275 if (phys_ctr < NR_PHYS_CTRS) { in cbe_get_ctr_size()288 if (phys_ctr < NR_PHYS_CTRS) { in cbe_set_ctr_size()
31 #define NR_PHYS_CTRS 4 macro32 #define NR_CTRS (NR_PHYS_CTRS * 2)35 #define CBE_PM_16BIT_CTR(ctr) (1 << (24 - ((ctr) & (NR_PHYS_CTRS - 1))))
154 u32 pm_ctr[NR_PHYS_CTRS];
131 u32 pm07_cntrl[NR_PHYS_CTRS];141 static DEFINE_PER_CPU(unsigned long[NR_PHYS_CTRS], pmc_values);143 static struct pmc_cntrl_data pmc_cntrl[NUM_THREADS][NR_PHYS_CTRS];179 static struct pm_signal pm_signal[NR_PHYS_CTRS];183 static u32 reset_value[NR_PHYS_CTRS];244 struct pm_signal pm_signal_local[NR_PHYS_CTRS]; in pm_rtas_activate_signals()767 if (unlikely(num_ctrs > NR_PHYS_CTRS)) { in cell_reg_setup_ppu()