Lines Matching refs:pm_cntrl
117 struct pm_cntrl { struct
130 struct pm_cntrl pm_cntrl; member
382 if (pm_regs.pm_cntrl.enable == 1) in write_pm_cntrl()
385 if (pm_regs.pm_cntrl.stop_at_max == 1) in write_pm_cntrl()
388 if (pm_regs.pm_cntrl.trace_mode != 0) in write_pm_cntrl()
389 val |= CBE_PM_TRACE_MODE_SET(pm_regs.pm_cntrl.trace_mode); in write_pm_cntrl()
391 if (pm_regs.pm_cntrl.trace_buf_ovflw == 1) in write_pm_cntrl()
392 val |= CBE_PM_TRACE_BUF_OVFLW(pm_regs.pm_cntrl.trace_buf_ovflw); in write_pm_cntrl()
393 if (pm_regs.pm_cntrl.freeze == 1) in write_pm_cntrl()
396 val |= CBE_PM_SPU_ADDR_TRACE_SET(pm_regs.pm_cntrl.spu_addr_trace); in write_pm_cntrl()
402 val |= CBE_PM_COUNT_MODE_SET(pm_regs.pm_cntrl.count_mode); in write_pm_cntrl()
416 pm_regs.pm_cntrl.count_mode = CBE_COUNT_ALL_MODES; in set_count_mode()
418 pm_regs.pm_cntrl.count_mode = in set_count_mode()
422 pm_regs.pm_cntrl.count_mode = CBE_COUNT_PROBLEM_MODE; in set_count_mode()
424 pm_regs.pm_cntrl.count_mode = in set_count_mode()
717 pm_regs.pm_cntrl.trace_buf_ovflw = 1; in cell_reg_setup_spu_events()
723 pm_regs.pm_cntrl.trace_mode = 2; in cell_reg_setup_spu_events()
725 pm_regs.pm_cntrl.spu_addr_trace = 0x1; /* using debug bus in cell_reg_setup_spu_events()
854 pm_regs.pm_cntrl.stop_at_max = 1; in cell_reg_setup()
855 pm_regs.pm_cntrl.trace_mode = 0; in cell_reg_setup()
856 pm_regs.pm_cntrl.freeze = 1; in cell_reg_setup()
857 pm_regs.pm_cntrl.trace_buf_ovflw = 0; in cell_reg_setup()
858 pm_regs.pm_cntrl.spu_addr_trace = 0; in cell_reg_setup()