Searched refs:usbprn_dev_state (Results 1 – 2 of 2) sorted by relevance
87 int usbprn_dev_state; /* USB device state */ member160 (((s)->usbprn_dev_state == USB_DEV_ONLINE)))
403 usbprnp->usbprn_dev_state = USB_DEV_ONLINE; in usbprn_attach()530 (usbprnp->usbprn_dev_state != USB_DEV_DISCONNECTED)) { in usbprn_cleanup()627 usbprnp->usbprn_dev_state = USB_DEV_SUSPENDED; in usbprn_cpr_suspend()965 if (usbprnp->usbprn_dev_state == USB_DEV_DISCONNECTED) { in usbprn_open()973 if (usbprnp->usbprn_dev_state == USB_DEV_SUSPENDED) { in usbprn_open()1926 if (usbprnp->usbprn_dev_state == USB_DEV_ONLINE) { in usbprn_prnio_get_status()2469 ASSERT(usbprnp->usbprn_dev_state == USB_DEV_DISCONNECTED); in usbprn_reconnect_event_cb()2502 usbprnp->usbprn_dev_state = USB_DEV_DISCONNECTED; in usbprn_disconnect_event_cb()2542 ASSERT((usbprnp->usbprn_dev_state == USB_DEV_DISCONNECTED) || in usbprn_restore_device_state()2543 (usbprnp->usbprn_dev_state == USB_DEV_SUSPENDED)); in usbprn_restore_device_state()[all …]