Searched refs:NR_PHYS_CTRS (Results 1 – 4 of 4) sorted by relevance
66 if (phys_ctr < NR_PHYS_CTRS) { in cbe_read_phys_ctr()86 if (phys_ctr < NR_PHYS_CTRS) { in cbe_write_phys_ctr()117 u32 phys_ctr = ctr & (NR_PHYS_CTRS - 1); in cbe_read_ctr()122 val = (ctr < NR_PHYS_CTRS) ? (val >> 16) : (val & 0xffff); in cbe_read_ctr()133 phys_ctr = ctr & (NR_PHYS_CTRS - 1); in cbe_write_ctr()138 if (ctr < NR_PHYS_CTRS) in cbe_write_ctr()263 if (phys_ctr < NR_PHYS_CTRS) { in cbe_get_ctr_size()276 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()