Home
last modified time | relevance | path

Searched refs:NR_PHYS_CTRS (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/arch/powerpc/platforms/cell/
A Dpmu.c66 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()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dcell-pmu.h18 #define NR_PHYS_CTRS 4 macro
19 #define NR_CTRS (NR_PHYS_CTRS * 2)
22 #define CBE_PM_16BIT_CTR(ctr) (1 << (24 - ((ctr) & (NR_PHYS_CTRS - 1))))
A Dcell-regs.h155 u32 pm_ctr[NR_PHYS_CTRS];
/linux-6.3-rc2/drivers/ps3/
A Dps3-lpm.c204 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()

Completed in 10 milliseconds