Searched refs:NR_PHYS_CTRS (Results 1 – 3 of 3) 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];