Lines Matching refs:PPMD_ON

496 			level = (lvl == PPMD_ON) ?  in ppm_ioctl()
503 level = (domp->status == PPMD_ON) ? in ppm_ioctl()
892 ret = ppm_switch_clock(domp, PPMD_ON); in ppm_ctlops()
903 ASSERT(domp->status == PPMD_ON); in ppm_ctlops()
940 domp->status == PPMD_ON && domp->pwr_cnt == 0 && in ppm_ctlops()
976 ASSERT(domp->status == PPMD_ON); in ppm_ctlops()
1235 ASSERT(domp->status == PPMD_ON); in ppm_svc_resume_ctlop()
1274 if (domp->status == PPMD_ON) { in ppm_bringup_domains()
1280 ret = ppm_fetset(domp, PPMD_ON); in ppm_bringup_domains()
1284 ret = ppm_switch_clock(domp, PPMD_ON); in ppm_bringup_domains()
1287 ret = ppm_pcie_pwr(domp, PPMD_ON); in ppm_bringup_domains()
1592 *result = ppm_fetset(domp, PPMD_ON); in ppm_manage_fet()
1684 key = (value == PPMD_ON) ? PPMDC_FET_ON : PPMDC_FET_OFF; in ppm_fetset()
1748 (domp->status == PPMD_ON) ? "ON" : "OFF", in ppm_fetset()
1749 (value == PPMD_ON) ? "ON" : "OFF")) in ppm_fetset()
1814 *lvl = (i2c_req.reg_val == off_val) ? PPMD_OFF : PPMD_ON; in ppm_fetget()
1834 *lvl = (kio_val == off_val) ? PPMD_OFF : PPMD_ON; in ppm_fetget()
1867 cmd = (onoff == PPMD_ON) ? PPMDC_CLK_ON : PPMDC_CLK_OFF; in ppm_switch_clock()
1899 domp->status = PPMD_ON; in ppm_switch_clock()
2002 *result = ppm_switch_clock(domp, PPMD_ON); in ppm_manage_pci()
2145 *result = ppm_pcie_pwr(domp, PPMD_ON); in ppm_manage_pcie()
2277 (domp->status == PPMD_ON) ? "ON" : "OFF", in ppm_gpioset()
2293 (domp->status == PPMD_ON) ? "ON" : "OFF", in ppm_gpioset()
2325 ASSERT(onoff == PPMD_OFF || onoff == PPMD_ON); in ppm_pcie_pwr()
2328 onoff == PPMD_ON ? PPMDC_PRE_PWR_ON : PPMDC_PRE_PWR_OFF); in ppm_pcie_pwr()
2377 case PPMD_ON: in ppm_pcie_pwr()
2447 str, domp->name, (domp->status == PPMD_ON) ? "ON" : "OFF", in ppm_pcie_pwr()
2448 onoff == PPMD_ON ? "ON" : "OFF")) in ppm_pcie_pwr()
2536 ppm_set_led(domp, PPMD_ON); in ppm_manage_led()
2548 (val == PPMD_ON) ? PPMDC_LED_ON : PPMDC_LED_OFF); in ppm_set_led()
2552 (domp->status == PPMD_ON) ? "ON to OFF" : "OFF to ON")) in ppm_set_led()
2574 if (domp->status == PPMD_ON) { in ppm_blink_led()
2578 ppm_set_led(domp, PPMD_ON); in ppm_blink_led()
2603 if ((ret = ppm_fetset(domp, PPMD_ON)) == in ppm_power_up_domain()
2618 if ((ret = ppm_switch_clock(domp, PPMD_ON)) == in ppm_power_up_domain()
2633 if ((ret = ppm_pcie_pwr(domp, PPMD_ON)) == in ppm_power_up_domain()