NR_PHYS_CTRS
#define NR_CTRS (NR_PHYS_CTRS * 2)
#define CBE_PM_16BIT_CTR(ctr) (1 << (24 - ((ctr) & (NR_PHYS_CTRS - 1))))
if (phys_ctr >= NR_PHYS_CTRS) {
if (phys_ctr >= NR_PHYS_CTRS) {
u32 phys_ctr = ctr & (NR_PHYS_CTRS - 1);
val = (ctr < NR_PHYS_CTRS) ? (val >> 16) : (val & 0xffff);
phys_ctr = ctr & (NR_PHYS_CTRS - 1);
if (ctr < NR_PHYS_CTRS)
if (phys_ctr >= NR_PHYS_CTRS) {
if (phys_ctr >= NR_PHYS_CTRS) {