Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/platforms/cell/
Dpmu.c93 pm_ctrl = cbe_read_pm(cpu, pm_control); in cbe_write_phys_ctr()
99 cbe_write_pm(cpu, pm_control, pm_ctrl); in cbe_write_phys_ctr()
200 case pm_control: in cbe_read_pm()
201 READ_SHADOW_REG(val, pm_control); in cbe_read_pm()
240 case pm_control: in cbe_write_pm()
241 WRITE_WO_MMIO(pm_control, val); in cbe_write_pm()
264 pm_ctrl = cbe_read_pm(cpu, pm_control); in cbe_get_ctr_size()
277 pm_ctrl = cbe_read_pm(cpu, pm_control); in cbe_set_ctr_size()
287 cbe_write_pm(cpu, pm_control, pm_ctrl); in cbe_set_ctr_size()
305 pm_ctrl = cbe_read_pm(cpu, pm_control) | CBE_PM_ENABLE_PERF_MON; in cbe_enable_pm()
[all …]
/linux-6.1.9/arch/powerpc/include/asm/
Dcell-pmu.h25 #define CBE_PM_TRACE_MODE_GET(pm_control) (((pm_control) >> 28) & 0x3) argument
60 pm_control, enumerator
Dcell-regs.h77 u64 pm_control; /* 0x0408 */ member
150 u32 pm_control; member
/linux-6.1.9/drivers/ps3/
Dps3-lpm.c82 u64 pm_control; member
393 case pm_control: in ps3_read_pm()
394 return lpm_priv->shadow.pm_control; in ps3_read_pm()
461 case pm_control: in ps3_write_pm()
465 if (val != lpm_priv->shadow.pm_control) in ps3_write_pm()
471 lpm_priv->shadow.pm_control = val; in ps3_write_pm()
519 pm_ctrl = ps3_read_pm(cpu, pm_control); in ps3_get_ctr_size()
538 pm_ctrl = ps3_read_pm(cpu, pm_control); in ps3_set_ctr_size()
543 ps3_write_pm(cpu, pm_control, pm_ctrl); in ps3_set_ctr_size()
548 ps3_write_pm(cpu, pm_control, pm_ctrl); in ps3_set_ctr_size()
[all …]