Searched refs:NR_PHYS_CTRS (Results 1 – 5 of 5) sorted by relevance
65 if (phys_ctr < NR_PHYS_CTRS) { in cbe_read_phys_ctr()85 if (phys_ctr < NR_PHYS_CTRS) { in cbe_write_phys_ctr()116 u32 phys_ctr = ctr & (NR_PHYS_CTRS - 1); in cbe_read_ctr()121 val = (ctr < NR_PHYS_CTRS) ? (val >> 16) : (val & 0xffff); in cbe_read_ctr()132 phys_ctr = ctr & (NR_PHYS_CTRS - 1); in cbe_write_ctr()137 if (ctr < NR_PHYS_CTRS) in cbe_write_ctr()262 if (phys_ctr < NR_PHYS_CTRS) { in cbe_get_ctr_size()275 if (phys_ctr < NR_PHYS_CTRS) { in cbe_set_ctr_size()
18 #define NR_PHYS_CTRS 4 macro19 #define NR_CTRS (NR_PHYS_CTRS * 2)22 #define CBE_PM_16BIT_CTR(ctr) (1 << (24 - ((ctr) & (NR_PHYS_CTRS - 1))))
155 u32 pm_ctr[NR_PHYS_CTRS];
204 if (phys_ctr >= NR_PHYS_CTRS) { in ps3_read_phys_ctr()250 if (phys_ctr >= NR_PHYS_CTRS) { in ps3_write_phys_ctr()306 u32 phys_ctr = ctr & (NR_PHYS_CTRS - 1); in ps3_read_ctr()311 val = (ctr < NR_PHYS_CTRS) ? (val >> 16) : (val & 0xffff); in ps3_read_ctr()329 phys_ctr = ctr & (NR_PHYS_CTRS - 1); in ps3_write_ctr()334 if (ctr < NR_PHYS_CTRS) in ps3_write_ctr()513 if (phys_ctr >= NR_PHYS_CTRS) { in ps3_get_ctr_size()532 if (phys_ctr >= NR_PHYS_CTRS) { in ps3_set_ctr_size()
126 u32 pm07_cntrl[NR_PHYS_CTRS];136 static DEFINE_PER_CPU(unsigned long[NR_PHYS_CTRS], pmc_values);138 static struct pmc_cntrl_data pmc_cntrl[NUM_THREADS][NR_PHYS_CTRS];174 static struct pm_signal pm_signal[NR_PHYS_CTRS];178 static u32 reset_value[NR_PHYS_CTRS];239 struct pm_signal pm_signal_local[NR_PHYS_CTRS]; in pm_rtas_activate_signals()758 if (unlikely(num_ctrs > NR_PHYS_CTRS)) { in cell_reg_setup_ppu()