Searched refs:phys_ctr (Results 1 – 3 of 3) sorted by relevance
/arch/powerpc/platforms/cell/ |
D | pmu.c | 73 u32 cbe_read_phys_ctr(u32 cpu, u32 phys_ctr) in cbe_read_phys_ctr() argument 77 if (phys_ctr < NR_PHYS_CTRS) { in cbe_read_phys_ctr() 81 if (val_in_latch & (1 << phys_ctr)) { in cbe_read_phys_ctr() 82 READ_SHADOW_REG(val, pm_ctr[phys_ctr]); in cbe_read_phys_ctr() 84 READ_MMIO_UPPER32(val, pm_ctr[phys_ctr]); in cbe_read_phys_ctr() 92 void cbe_write_phys_ctr(u32 cpu, u32 phys_ctr, u32 val) in cbe_write_phys_ctr() argument 97 if (phys_ctr < NR_PHYS_CTRS) { in cbe_write_phys_ctr() 102 WRITE_WO_MMIO(pm_ctr[phys_ctr], val); in cbe_write_phys_ctr() 113 shadow_regs->counter_value_in_latch |= (1 << phys_ctr); in cbe_write_phys_ctr() 128 u32 phys_ctr = ctr & (NR_PHYS_CTRS - 1); in cbe_read_ctr() local [all …]
|
/arch/powerpc/include/asm/ |
D | cell-pmu.h | 79 extern u32 cbe_read_phys_ctr(u32 cpu, u32 phys_ctr); 80 extern void cbe_write_phys_ctr(u32 cpu, u32 phys_ctr, u32 val); 89 extern u32 cbe_get_ctr_size(u32 cpu, u32 phys_ctr); 90 extern void cbe_set_ctr_size(u32 cpu, u32 phys_ctr, u32 ctr_size);
|
D | ps3.h | 497 u32 ps3_read_phys_ctr(u32 cpu, u32 phys_ctr); 498 void ps3_write_phys_ctr(u32 cpu, u32 phys_ctr, u32 val); 507 u32 ps3_get_ctr_size(u32 cpu, u32 phys_ctr); 508 void ps3_set_ctr_size(u32 cpu, u32 phys_ctr, u32 ctr_size);
|