PWRSTS_ON
if (pwrdm->pwrsts == PWRSTS_ON)
#define PWRSTS_OFF_ON (PWRSTS_OFF | PWRSTS_ON)
#define PWRSTS_RET_ON (PWRSTS_RET | PWRSTS_ON)
#define PWRSTS_OFF_RET_ON (PWRSTS_OFF_RET | PWRSTS_ON)
#define PWRSTS_INA_ON (PWRSTS_INACTIVE | PWRSTS_ON)
[0] = PWRSTS_ON, /* MEMONSTATE */
.pwrsts = PWRSTS_ON,
[0] = PWRSTS_ON,
[0] = PWRSTS_ON,
[0] = PWRSTS_ON, /* MEMONSTATE */
[0] = PWRSTS_ON, /* pruss_mem */
[1] = PWRSTS_ON, /* per_mem */
[2] = PWRSTS_ON, /* ram_mem */
[0] = PWRSTS_ON, /* mpu_l1 */
[1] = PWRSTS_ON, /* mpu_l2 */
[2] = PWRSTS_ON, /* mpu_ram */
[0] = PWRSTS_ON, /* gfx_mem */
.pwrsts = PWRSTS_ON,
.pwrsts = PWRSTS_ON,
.pwrsts = PWRSTS_ON,
.pwrsts_logic_ret = PWRSTS_ON,
[0] = PWRSTS_ON, /* MEM1RETSTATE */
[1] = PWRSTS_ON, /* MEM2RETSTATE */
[0] = PWRSTS_ON, /* MEM1ONSTATE */
[1] = PWRSTS_ON, /* MEM2ONSTATE */
[0] = PWRSTS_ON, /* MEMONSTATE */
.pwrsts = PWRSTS_ON,
.pwrsts_logic_ret = PWRSTS_ON,
[0] = PWRSTS_ON, /* MEMRETSTATE */
[0] = PWRSTS_ON, /* MEMONSTATE */
[0] = PWRSTS_ON, /* MEMONSTATE */
.pwrsts = PWRSTS_ON,
.pwrsts_logic_ret = PWRSTS_ON,
[0] = PWRSTS_ON, /* MEMRETSTATE */
[0] = PWRSTS_ON, /* MEMONSTATE */
[0] = PWRSTS_ON, /* MEMONSTATE */
[0] = PWRSTS_ON, /* MEMONSTATE */
.pwrsts = PWRSTS_ON,
.pwrsts_logic_ret = PWRSTS_ON,
[0] = PWRSTS_ON, /* MEMRETSTATE */
[0] = PWRSTS_ON, /* MEMONSTATE */
.pwrsts = PWRSTS_ON,
.pwrsts_logic_ret = PWRSTS_ON,
[0] = PWRSTS_ON, /* MEMONSTATE */
[0] = PWRSTS_ON,
[1] = PWRSTS_ON,
[3] = PWRSTS_ON,
.pwrsts = PWRSTS_ON,
.pwrsts_logic_ret = PWRSTS_ON,
[0] = PWRSTS_ON,
[0] = PWRSTS_ON,
[0] = PWRSTS_ON, /* icss_mem */
[1] = PWRSTS_ON, /* per_mem */
[2] = PWRSTS_ON, /* ram1_mem */
[3] = PWRSTS_ON, /* ram2_mem */
[0] = PWRSTS_ON, /* gfx_mem */
[0] = PWRSTS_ON, /* mpu_l1 */
[1] = PWRSTS_ON, /* mpu_l2 */
[2] = PWRSTS_ON, /* mpu_ram */
.pwrsts = PWRSTS_ON,
.pwrsts = PWRSTS_ON,
[0] = PWRSTS_ON, /* debugss_mem */
.pwrsts = PWRSTS_ON,
[0] = PWRSTS_ON, /* dss_mem */
[0] = PWRSTS_ON, /* tesla_edma */
[1] = PWRSTS_ON, /* tesla_l1 */
[2] = PWRSTS_ON, /* tesla_l2 */
.pwrsts = PWRSTS_ON,
[0] = PWRSTS_ON, /* wkup_bank */
[0] = PWRSTS_ON, /* cpu0_l1 */
[0] = PWRSTS_ON, /* cpu1_l1 */
[0] = PWRSTS_ON, /* emu_bank */
[0] = PWRSTS_ON, /* mpu_l1 */
[1] = PWRSTS_ON, /* mpu_l2 */
[2] = PWRSTS_ON, /* mpu_ram */
[0] = PWRSTS_ON, /* hwa_mem */
[1] = PWRSTS_ON, /* sl2_mem */
[2] = PWRSTS_ON, /* tcm1_mem */
[3] = PWRSTS_ON, /* tcm2_mem */
[0] = PWRSTS_ON, /* cam_mem */
[0] = PWRSTS_ON, /* l3init_bank1 */
[0] = PWRSTS_ON, /* nonretained_bank */
[1] = PWRSTS_ON, /* retained_bank */
.pwrsts = PWRSTS_ON,
[0] = PWRSTS_ON, /* core_nret_bank */
[1] = PWRSTS_ON, /* core_ocmram */
[2] = PWRSTS_ON, /* core_other_bank */
[3] = PWRSTS_ON, /* ducati_l2ram */
[4] = PWRSTS_ON, /* ducati_unicache */
[0] = PWRSTS_ON, /* gfx_mem */
[0] = PWRSTS_ON, /* aessmem */
[1] = PWRSTS_ON, /* periphmem */
[0] = PWRSTS_ON, /* cpu0_l1 */
[0] = PWRSTS_ON, /* cpu1_l1 */
.pwrsts = PWRSTS_ON,
[0] = PWRSTS_ON, /* wkup_bank */
.pwrsts = PWRSTS_ON,
.pwrsts = PWRSTS_ON,
[0] = PWRSTS_ON, /* nonretained_bank */
[1] = PWRSTS_ON, /* retained_bank */
[0] = PWRSTS_ON, /* gpu_mem */
.pwrsts = PWRSTS_ON,
[0] = PWRSTS_ON, /* wkup_bank */
.pwrsts = PWRSTS_ON,
[0] = PWRSTS_ON, /* core_nret_bank */
[1] = PWRSTS_ON, /* core_ocmram */
[2] = PWRSTS_ON, /* core_other_bank */
[3] = PWRSTS_ON, /* ipu_l2ram */
[4] = PWRSTS_ON, /* ipu_unicache */
.pwrsts = PWRSTS_ON,
[0] = PWRSTS_ON, /* cpu0_l1 */
[0] = PWRSTS_ON, /* cpu1_l1 */
[0] = PWRSTS_ON, /* vpe_bank */
[0] = PWRSTS_ON, /* mpu_l2 */
[1] = PWRSTS_ON, /* mpu_ram */
.pwrsts = PWRSTS_ON,
[0] = PWRSTS_ON, /* gmac_bank */
[1] = PWRSTS_ON, /* l3init_bank1 */
[2] = PWRSTS_ON, /* l3init_bank2 */
[0] = PWRSTS_ON, /* eve3_bank */
[0] = PWRSTS_ON, /* emu_bank */
[0] = PWRSTS_ON, /* dsp2_edma */
[1] = PWRSTS_ON, /* dsp2_l1 */
[2] = PWRSTS_ON, /* dsp2_l2 */
[0] = PWRSTS_ON, /* dsp1_edma */
[1] = PWRSTS_ON, /* dsp1_l1 */
[2] = PWRSTS_ON, /* dsp1_l2 */
[0] = PWRSTS_ON, /* vip_bank */
[0] = PWRSTS_ON, /* eve4_bank */
[0] = PWRSTS_ON, /* eve2_bank */
[0] = PWRSTS_ON, /* eve1_bank */
[0] = PWRSTS_ON, /* hwa_mem */
[1] = PWRSTS_ON, /* sl2_mem */
[2] = PWRSTS_ON, /* tcm1_mem */
[3] = PWRSTS_ON, /* tcm2_mem */
.pwrsts = PWRSTS_ON,
.pwrsts = PWRSTS_ON,
[0] = PWRSTS_ON, /* aessmem */
[1] = PWRSTS_ON, /* periphmem */
[0] = PWRSTS_ON, /* dss_mem */
if (sc->pwrsts == PWRSTS_ON)
if (sc->pwrsts == PWRSTS_ON)
if (sc->pwrsts == PWRSTS_ON) {
#define PWRSTS_OFF_ON (PWRSTS_OFF | PWRSTS_ON)
#define PWRSTS_RET_ON (PWRSTS_RET | PWRSTS_ON)
.pwrsts = PWRSTS_OFF | PWRSTS_ON | PWRSTS_RET,
.pwrsts = PWRSTS_ON,