diff options
author | G, Manjunath Kondaiah <manjugk@ti.com> | 2010-11-02 11:59:00 +0530 |
---|---|---|
committer | G, Manjunath Kondaiah <manjugk@ti.com> | 2010-11-02 11:59:34 +0530 |
commit | 17fe20e68624675e937b932c1861cd060f9f52cb (patch) | |
tree | 133bb3162a0202147225b54efb237d353ff6ccd5 /drivers/dsp/syslink/ipu_pm/ipu_pm.h | |
parent | 29e973b87c89e22a8ee95ee38afb0039a395d50d (diff) | |
parent | b4bba02195eb63861da3387d86c51a01e22f49a4 (diff) |
Merge 'syslink changes' into L24.11ti-2.6.35-omap4-L24.11-p2
Diffstat (limited to 'drivers/dsp/syslink/ipu_pm/ipu_pm.h')
-rw-r--r-- | drivers/dsp/syslink/ipu_pm/ipu_pm.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/drivers/dsp/syslink/ipu_pm/ipu_pm.h b/drivers/dsp/syslink/ipu_pm/ipu_pm.h index b7e9ff46f900..c3c51d8a16a9 100644 --- a/drivers/dsp/syslink/ipu_pm/ipu_pm.h +++ b/drivers/dsp/syslink/ipu_pm/ipu_pm.h @@ -95,6 +95,12 @@ /* Suspend/resume/other... */ #define NUMBER_PM_EVENTS 4 +/* Processors id's */ +#define A9 3 +#define SYS_M3 2 +#define APP_M3 1 +#define TESLA 0 + #define PM_CSTR_PERF_MASK 0x00000001 #define PM_CSTR_LAT_MASK 0x00000002 #define PM_CSTR_BW_MASK 0x00000004 @@ -287,12 +293,21 @@ enum res_type{ AUX_CLK, }; -enum pm_event_type{PM_SUSPEND, +/* Events can start at any number but + * should be always consecutive + */ +#define PM_FIRST_EVENT 0 + +enum pm_event_type{PM_SUSPEND = PM_FIRST_EVENT, PM_RESUME, PM_PID_DEATH, PM_HIBERNATE }; +#define PM_LAST_EVENT ((sizeof(enum pm_event_type) / sizeof(void)) \ + + PM_FIRST_EVENT\ + - 1) + struct rcb_message { unsigned rcb_flag:1; unsigned rcb_num:6; @@ -366,6 +381,7 @@ struct ipu_pm_params { int pm_iva_hd_counter; int pm_ivaseq0_counter; int pm_ivaseq1_counter; + int pm_sl2if_counter; int pm_l3_bus_counter; int pm_mpu_counter; int pm_sdmachan_counter; |