Lines Matching refs:hwahc_pm
780 if (hwahcp->hwahc_pm) {
3184 if (hwahcp->hwahc_pm && hwahcp->hwahc_pm->hwahc_wakeup_enabled) {
3316 hwahcp->hwahc_pm = hwahcpm;
3356 if (hwahcp->hwahc_pm && (hwahcp->hwahc_dev_state !=
3362 if (hwahcp->hwahc_pm->hwahc_wakeup_enabled) {
3394 if (hwahcp->hwahc_pm) {
3395 kmem_free(hwahcp->hwahc_pm, sizeof (hwahc_power_t));
3396 hwahcp->hwahc_pm = NULL;
3410 if (hwahcp->hwahc_pm != NULL) {
3412 hwahcp->hwahc_pm->hwahc_pm_busy++;
3415 hwahcp->hwahc_pm->hwahc_pm_busy);
3421 hwahcp->hwahc_pm->hwahc_pm_busy--;
3425 hwahcp->hwahc_pm->hwahc_pm_busy);
3437 if (hwahcp->hwahc_pm != NULL) {
3442 ASSERT(hwahcp->hwahc_pm->hwahc_pm_busy > 0);
3443 hwahcp->hwahc_pm->hwahc_pm_busy--;
3447 hwahcp->hwahc_pm->hwahc_pm_busy);
3478 if (hwahcp->hwahc_pm == NULL) {
3483 pm = hwahcp->hwahc_pm;
3529 "hwahc_pwrlvl0: %d", hwahcp->hwahc_pm->hwahc_pm_busy);
3534 if (hwahcp->hwahc_pm->hwahc_pm_busy != 0) {
3537 "hwahc_pwrlvl0: hwahc_pm is busy");
3553 hwahcp->hwahc_pm->hwahc_current_power = USB_DEV_OS_PWR_OFF;
3616 "hwahc_pwrlvl3: %d", hwahcp->hwahc_pm->hwahc_pm_busy);
3635 hwahcp->hwahc_pm->hwahc_current_power =
3641 hwahcp->hwahc_pm->hwahc_current_power = USB_DEV_OS_FULL_PWR;
4198 hwahcp->hwahc_pm->hwahc_pm_busy);