Searched refs:us_dev_state (Results 1 – 2 of 2) sorted by relevance
88 uint_t us_dev_state; /* USB device state */ member93 _NOTE(MUTEX_PROTECTS_DATA(usbser_state::us_mutex, usbser_state::us_dev_state))
497 if (usp->us_dev_state == USB_DEV_DISCONNECTED) { in usbser_open()682 new_state = usp->us_dev_state; in usbser_power()690 usp->us_dev_state = new_state; in usbser_power()748 usp->us_dev_state = USBSER_DEV_INIT; in usbser_init_soft_state()775 usp->us_dev_state = USB_DEV_ONLINE; in usbser_attach_dev()997 usp->us_dev_state = USBSER_DEV_INIT; in usbser_set_dev_state_init()1021 switch (usp->us_dev_state) { in usbser_disconnect_cb()1025 usp->us_dev_state = USB_DEV_DISCONNECTED; in usbser_disconnect_cb()1188 usp->us_dev_state = new_state; in usbser_cpr_suspend()1250 current_state = usp->us_dev_state; in usbser_restore_device_state()[all …]