Lines Matching defs:pm
1308 scsa2usb_power_t *pm;
1363 pm = scsa2usbp->scsa2usb_pm;
1365 if (pm && (scsa2usbp->scsa2usb_dev_state !=
1367 if (pm->scsa2usb_wakeup_enabled) {
1389 if (pm) {
1390 kmem_free(pm, sizeof (scsa2usb_power_t));
1609 } else if (strcasecmp(input_field, "pm") == 0) {
1614 scsa2usb_override_error("pm", scsa2usbp);
1900 "pm-capable", 1);
1904 "ndi_prop_update_int pm-capable failed %d", rval);
5486 * create the pm components required for power management
5492 scsa2usb_power_t *pm;
5513 pm = kmem_zalloc(sizeof (scsa2usb_power_t), KM_SLEEP);
5515 scsa2usbp->scsa2usb_pm = pm;
5516 pm->scsa2usb_current_power = USB_DEV_OS_FULL_PWR;
5523 pm->scsa2usb_wakeup_enabled = 1;
5527 pm->scsa2usb_pwr_states = (uint8_t)pwr_states;
5659 scsa2usb_power_t *pm;
5677 pm = scsa2usbp->scsa2usb_pm;
5678 if (pm == NULL) {
5680 "scsa2usb_power: pm NULL");
5687 if (USB_DEV_PWRSTATE_OK(pm->scsa2usb_pwr_states, level)) {
5690 "pwr_states: %x", level, pm->scsa2usb_pwr_states);