Searched refs:phys_ctr (Results 1 – 3 of 3) sorted by relevance
/arch/powerpc/platforms/cell/ |
D | pmu.c | 61 u32 cbe_read_phys_ctr(u32 cpu, u32 phys_ctr) in cbe_read_phys_ctr() argument 65 if (phys_ctr < NR_PHYS_CTRS) { in cbe_read_phys_ctr() 69 if (val_in_latch & (1 << phys_ctr)) { in cbe_read_phys_ctr() 70 READ_SHADOW_REG(val, pm_ctr[phys_ctr]); in cbe_read_phys_ctr() 72 READ_MMIO_UPPER32(val, pm_ctr[phys_ctr]); in cbe_read_phys_ctr() 80 void cbe_write_phys_ctr(u32 cpu, u32 phys_ctr, u32 val) in cbe_write_phys_ctr() argument 85 if (phys_ctr < NR_PHYS_CTRS) { in cbe_write_phys_ctr() 90 WRITE_WO_MMIO(pm_ctr[phys_ctr], val); in cbe_write_phys_ctr() 101 shadow_regs->counter_value_in_latch |= (1 << phys_ctr); in cbe_write_phys_ctr() 116 u32 phys_ctr = ctr & (NR_PHYS_CTRS - 1); in cbe_read_ctr() local [all …]
|
/arch/powerpc/include/asm/ |
D | cell-pmu.h | 66 extern u32 cbe_read_phys_ctr(u32 cpu, u32 phys_ctr); 67 extern void cbe_write_phys_ctr(u32 cpu, u32 phys_ctr, u32 val); 76 extern u32 cbe_get_ctr_size(u32 cpu, u32 phys_ctr); 77 extern void cbe_set_ctr_size(u32 cpu, u32 phys_ctr, u32 ctr_size);
|
D | ps3.h | 496 u32 ps3_read_phys_ctr(u32 cpu, u32 phys_ctr); 497 void ps3_write_phys_ctr(u32 cpu, u32 phys_ctr, u32 val); 506 u32 ps3_get_ctr_size(u32 cpu, u32 phys_ctr); 507 void ps3_set_ctr_size(u32 cpu, u32 phys_ctr, u32 ctr_size);
|