PPMD_OFF
ret = ppm_fetset(domp, PPMD_OFF);
ret = ppm_switch_clock(domp, PPMD_OFF);
ret = ppm_pcie_pwr(domp, PPMD_OFF);
ppmd->level, (domp->status == PPMD_OFF ? "off" : "on")))
if (domp->status == PPMD_OFF) {
dummy_ret = ppm_fetset(domp, PPMD_OFF);
*lvl = (i2c_req.reg_val == off_val) ? PPMD_OFF : PPMD_ON;
*lvl = (kio_val == off_val) ? PPMD_OFF : PPMD_ON;
domp->status = PPMD_OFF;
if (domp->status == PPMD_OFF) {
dummy_ret = ppm_switch_clock(domp, PPMD_OFF);
if (domp->status == PPMD_OFF) {
dummy_ret = ppm_pcie_pwr(domp, PPMD_OFF);
ASSERT(onoff == PPMD_OFF || onoff == PPMD_ON);
case PPMD_OFF:
ppm_set_led(domp, PPMD_OFF);
ppm_set_led(domp, PPMD_OFF);
if (domp->status == PPMD_OFF) {
if (domp->status == PPMD_OFF) {
if (domp->status == PPMD_OFF) {
if ((ret = ppm_fetset(domp, PPMD_OFF)) ==
if ((ret = ppm_switch_clock(domp, PPMD_OFF)) ==
if ((ret = ppm_pcie_pwr(domp, PPMD_OFF)) ==
if (PPMD_IS_PCI(domp->model) && domp->status == PPMD_OFF) {
ret = ppm_switch_clock(domp, PPMD_OFF);