PPMD_ON
ASSERT(domp->status == PPMD_ON);
if (domp->status == PPMD_ON) {
ret = ppm_fetset(domp, PPMD_ON);
ret = ppm_switch_clock(domp, PPMD_ON);
ret = ppm_pcie_pwr(domp, PPMD_ON);
*result = ppm_fetset(domp, PPMD_ON);
key = (value == PPMD_ON) ? PPMDC_FET_ON : PPMDC_FET_OFF;
(domp->status == PPMD_ON) ? "ON" : "OFF",
(value == PPMD_ON) ? "ON" : "OFF"))
*lvl = (i2c_req.reg_val == off_val) ? PPMD_OFF : PPMD_ON;
*lvl = (kio_val == off_val) ? PPMD_OFF : PPMD_ON;
cmd = (onoff == PPMD_ON) ? PPMDC_CLK_ON : PPMDC_CLK_OFF;
domp->status = PPMD_ON;
*result = ppm_switch_clock(domp, PPMD_ON);
*result = ppm_pcie_pwr(domp, PPMD_ON);
(domp->status == PPMD_ON) ? "ON" : "OFF",
(domp->status == PPMD_ON) ? "ON" : "OFF",
ASSERT(onoff == PPMD_OFF || onoff == PPMD_ON);
onoff == PPMD_ON ? PPMDC_PRE_PWR_ON : PPMDC_PRE_PWR_OFF);
case PPMD_ON:
str, domp->name, (domp->status == PPMD_ON) ? "ON" : "OFF",
onoff == PPMD_ON ? "ON" : "OFF"))
ppm_set_led(domp, PPMD_ON);
(val == PPMD_ON) ? PPMDC_LED_ON : PPMDC_LED_OFF);
(domp->status == PPMD_ON) ? "ON to OFF" : "OFF to ON"))
if (domp->status == PPMD_ON) {
ppm_set_led(domp, PPMD_ON);
if ((ret = ppm_fetset(domp, PPMD_ON)) ==
if ((ret = ppm_switch_clock(domp, PPMD_ON)) ==
if ((ret = ppm_pcie_pwr(domp, PPMD_ON)) ==
level = (lvl == PPMD_ON) ?
level = (domp->status == PPMD_ON) ?
ret = ppm_switch_clock(domp, PPMD_ON);
ASSERT(domp->status == PPMD_ON);
domp->status == PPMD_ON && domp->pwr_cnt == 0 &&
ASSERT(domp->status == PPMD_ON);
"SX", PPMD_SX, 0, PPMD_ON,
"CPU", PPMD_CPU, PPMD_LOCK_ALL, PPMD_ON,
"FET", PPMD_FET, PPMD_LOCK_ONE, PPMD_ON,
"PCI", PPMD_PCI, PPMD_LOCK_ONE, PPMD_ON,
"PCI_PROP", PPMD_PCI_PROP, PPMD_LOCK_ONE, PPMD_ON,
"LED", PPMD_LED, 0, PPMD_ON,
"PCIE", PPMD_PCIE, PPMD_LOCK_ONE, PPMD_ON,
domp->status = PPMD_ON;