Home
last modified time | relevance | path

Searched refs:USB_DEV_DISCONNECTED (Results 1 – 19 of 19) sorted by relevance

/titanic_41/usr/src/uts/common/io/usb/clients/usbser/usbftdi/
H A Duftdi_dsd.c402 if (uf->uf_dev_state == USB_DEV_DISCONNECTED || in uftdi_open_port()
521 (*new_state == USB_DEV_DISCONNECTED || in uftdi_usb_power()
594 int state = USB_DEV_DISCONNECTED; in uftdi_disconnect()
606 uf->uf_dev_state = USB_DEV_DISCONNECTED; in uftdi_disconnect()
1196 if (state != USB_DEV_DISCONNECTED && state != USB_DEV_SUSPENDED) in uftdi_restore_device_state()
1202 state = uf->uf_dev_state = USB_DEV_DISCONNECTED; in uftdi_restore_device_state()
1207 if (state == USB_DEV_DISCONNECTED) { in uftdi_restore_device_state()
1298 if (uf->uf_dev_state != USB_DEV_DISCONNECTED) { in uftdi_destroy_pm_components()
1416 case USB_DEV_DISCONNECTED: in uftdi_pwrlvl0()
1472 case USB_DEV_DISCONNECTED: in uftdi_pwrlvl3()
/titanic_41/usr/src/uts/common/io/usb/clients/usbser/usbsprl/
H A Dpl2303_dsd.c391 if ((plp->pl_dev_state == USB_DEV_DISCONNECTED) || in pl2303_open_port()
526 ((*new_state == USB_DEV_DISCONNECTED) || in pl2303_usb_power()
605 int state = USB_DEV_DISCONNECTED; in pl2303_disconnect()
617 plp->pl_dev_state = USB_DEV_DISCONNECTED; in pl2303_disconnect()
1133 if ((state != USB_DEV_DISCONNECTED) && (state != USB_DEV_SUSPENDED)) { in pl2303_restore_device_state()
1141 state = plp->pl_dev_state = USB_DEV_DISCONNECTED; in pl2303_restore_device_state()
1147 if (state == USB_DEV_DISCONNECTED) { in pl2303_restore_device_state()
1247 if (plp->pl_dev_state != USB_DEV_DISCONNECTED) { in pl2303_destroy_pm_components()
1377 case USB_DEV_DISCONNECTED: in pl2303_pwrlvl0()
1437 case USB_DEV_DISCONNECTED: in pl2303_pwrlvl3()
/titanic_41/usr/src/uts/common/io/usb/clients/usbser/usbsacm/
H A Dusbsacm.c745 if ((acmp->acm_dev_state == USB_DEV_DISCONNECTED) || in usbsacm_ds_open_port()
888 ((*new_state == USB_DEV_DISCONNECTED) || in usbsacm_ds_usb_power()
973 int state = USB_DEV_DISCONNECTED; in usbsacm_ds_disconnect()
987 acmp->acm_dev_state = USB_DEV_DISCONNECTED; in usbsacm_ds_disconnect()
1895 if ((state != USB_DEV_DISCONNECTED) && (state != USB_DEV_SUSPENDED)) { in usbsacm_restore_device_state()
1904 state = acmp->acm_dev_state = USB_DEV_DISCONNECTED; in usbsacm_restore_device_state()
1910 if (state == USB_DEV_DISCONNECTED) { in usbsacm_restore_device_state()
2775 if (acmp->acm_dev_state != USB_DEV_DISCONNECTED) { in usbsacm_destroy_pm_components()
2932 case USB_DEV_DISCONNECTED: in usbsacm_pwrlvl0()
3018 case USB_DEV_DISCONNECTED: in usbsacm_pwrlvl3()
/titanic_41/usr/src/uts/common/io/usb/clients/usbskel/
H A Dusbskel.c962 usbskelp->usbskel_dev_state = USB_DEV_DISCONNECTED; in usbskel_disconnect_callback()
1016 ASSERT((usbskelp->usbskel_dev_state == USB_DEV_DISCONNECTED) || in usbskel_restore_device_state()
1070 usbskelp->usbskel_dev_state = USB_DEV_DISCONNECTED; in usbskel_restore_device_state()
1330 if ((usbskelp->usbskel_dev_state == USB_DEV_DISCONNECTED) || in usbskel_power()
1465 if (usbskelp->usbskel_dev_state != USB_DEV_DISCONNECTED) { in usbskel_destroy_power_mgmt()
/titanic_41/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/
H A Dkeyspan_dsd.c571 if (ksp->ks_dev_state == USB_DEV_DISCONNECTED) { in keyspan_open_port()
835 ((*new_state == USB_DEV_DISCONNECTED) || in keyspan_usb_power()
914 int state = USB_DEV_DISCONNECTED; in keyspan_disconnect()
926 ksp->ks_dev_state = USB_DEV_DISCONNECTED; in keyspan_disconnect()
1961 if ((state != USB_DEV_DISCONNECTED) && (state != USB_DEV_SUSPENDED)) { in keyspan_restore_device_state()
1969 state = ksp->ks_dev_state = USB_DEV_DISCONNECTED; in keyspan_restore_device_state()
1975 if (state == USB_DEV_DISCONNECTED) { in keyspan_restore_device_state()
2083 if (ksp->ks_dev_state != USB_DEV_DISCONNECTED) { in keyspan_destroy_pm_components()
2207 case USB_DEV_DISCONNECTED: in keyspan_pwrlvl0()
2273 case USB_DEV_DISCONNECTED: in keyspan_pwrlvl3()
/titanic_41/usr/src/uts/common/io/usb/usb_ia/
H A Dusb_ia.c738 if ((iapm) && (usb_ia->ia_dev_state != USB_DEV_DISCONNECTED)) { in usb_ia_cleanup()
992 usb_ia->ia_dev_state = USB_DEV_DISCONNECTED; in usb_ia_restore_device_state()
1053 if (usb_ia->ia_dev_state == USB_DEV_DISCONNECTED) { in usb_ia_event_cb()
1059 usb_ia->ia_dev_state = USB_DEV_DISCONNECTED; in usb_ia_event_cb()
/titanic_41/usr/src/uts/common/io/usb/clients/audio/usb_as/
H A Dusb_as.c465 if (uaspm && (uasp->usb_as_dev_state != USB_DEV_DISCONNECTED)) { in usb_as_cleanup()
548 if (uasp->usb_as_dev_state == USB_DEV_DISCONNECTED) { in usb_as_open()
1022 if (uasp->usb_as_dev_state == USB_DEV_DISCONNECTED) { in usb_as_continue_play()
1443 if (uasp->usb_as_dev_state == USB_DEV_DISCONNECTED) in usb_as_stop_record()
1841 case USB_DEV_DISCONNECTED: in usb_as_pwrlvl0()
1906 case USB_DEV_DISCONNECTED: in usb_as_pwrlvl3()
2409 uasp->usb_as_dev_state = USB_DEV_DISCONNECTED; in usb_as_disconnect_event_cb()
2523 uasp->usb_as_dev_state = USB_DEV_DISCONNECTED; in usb_as_restore_device_state()
/titanic_41/usr/src/uts/common/io/usb/clients/printer/
H A Dusbprn.c530 (usbprnp->usbprn_dev_state != USB_DEV_DISCONNECTED)) { in usbprn_cleanup()
965 if (usbprnp->usbprn_dev_state == USB_DEV_DISCONNECTED) { in usbprn_open()
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()
2554 usbprnp->usbprn_dev_state = USB_DEV_DISCONNECTED; in usbprn_restore_device_state()
2700 case USB_DEV_DISCONNECTED: in usbprn_pwrlvl0()
2778 case USB_DEV_DISCONNECTED: in usbprn_pwrlvl3()
/titanic_41/usr/src/uts/common/io/usb/clients/hid/
H A Dhid.c812 (hidp->hid_dev_state == USB_DEV_DISCONNECTED)) { in hid_open()
1671 case USB_DEV_DISCONNECTED: in hid_cpr_suspend()
1722 hidp->hid_dev_state = USB_DEV_DISCONNECTED; in hid_disconnect_event_callback()
2101 if (hidpm && (hidp->hid_dev_state != USB_DEV_DISCONNECTED)) { in hid_detach_cleanup()
2837 hidp->hid_dev_state = USB_DEV_DISCONNECTED; in hid_restore_device_state()
2875 hidp->hid_dev_state = USB_DEV_DISCONNECTED; in hid_restore_device_state()
2881 if (hidp->hid_dev_state == USB_DEV_DISCONNECTED) { in hid_restore_device_state()
3160 case USB_DEV_DISCONNECTED: in hid_pwrlvl0()
3250 case USB_DEV_DISCONNECTED: in hid_pwrlvl3()
/titanic_41/usr/src/uts/common/io/usb/clients/usbecm/
H A Dusbecm.c1739 if ((state != USB_DEV_DISCONNECTED) && (state != USB_DEV_SUSPENDED)) { in usbecm_restore_device_state()
1748 state = ecmp->ecm_dev_state = USB_DEV_DISCONNECTED; in usbecm_restore_device_state()
1754 if (state == USB_DEV_DISCONNECTED) { in usbecm_restore_device_state()
1812 ASSERT(ecmp->ecm_dev_state == USB_DEV_DISCONNECTED); in usbecm_reconnect_event_cb()
1845 ecmp->ecm_dev_state = USB_DEV_DISCONNECTED; in usbecm_disconnect_event_cb()
1972 if (ecmp->ecm_dev_state != USB_DEV_DISCONNECTED) { in usbecm_destroy_pm_components()
2112 case USB_DEV_DISCONNECTED: in usbecm_pwrlvl0()
2191 case USB_DEV_DISCONNECTED: in usbecm_pwrlvl3()
/titanic_41/usr/src/uts/common/io/usb/usb_mid/
H A Dusb_mid.c799 if ((midpm) && (usb_mid->mi_dev_state != USB_DEV_DISCONNECTED)) { in usb_mid_cleanup()
1189 usb_mid->mi_dev_state = USB_DEV_DISCONNECTED; in usb_mid_restore_device_state()
1250 if (usb_mid->mi_dev_state == USB_DEV_DISCONNECTED) { in usb_mid_event_cb()
1256 usb_mid->mi_dev_state = USB_DEV_DISCONNECTED; in usb_mid_event_cb()
/titanic_41/usr/src/uts/common/io/usb/usba/
H A Dusba_ugen.c495 (ugenp->ug_dev_state != USB_DEV_DISCONNECTED)) { in ugen_cleanup()
532 case USB_DEV_DISCONNECTED: in ugen_cpr_suspend()
629 ugenp->ug_dev_state = USB_DEV_DISCONNECTED; in usb_ugen_disconnect_ev_cb()
696 ugenp->ug_dev_state = USB_DEV_DISCONNECTED; in ugen_restore_state()
719 case USB_DEV_DISCONNECTED: in ugen_restore_state()
811 case USB_DEV_DISCONNECTED: in usb_ugen_open()
2266 case USB_DEV_DISCONNECTED: in ugen_epx_req()
4087 case USB_DEV_DISCONNECTED: in ugen_ds_req()
4475 (ugenp->ug_dev_state != USB_DEV_DISCONNECTED)) { in ugen_pm_destroy()
4549 case USB_DEV_DISCONNECTED: in usb_ugen_power()
H A Dhubdi.c898 case USB_DEV_DISCONNECTED: in hubd_resume_port()
1005 case USB_DEV_DISCONNECTED: in hubd_suspend_port()
1662 case USB_DEV_DISCONNECTED: in hubd_pwrlvl0()
1727 case USB_DEV_DISCONNECTED: in hubd_pwrlvl3()
2530 hubd->h_dev_state = USB_DEV_DISCONNECTED; in hubd_restore_device_state()
2620 if (hub_prev_state == USB_DEV_DISCONNECTED) { in hubd_restore_device_state()
2795 hubd->h_dev_state = USB_DEV_DISCONNECTED; in hubd_cleanup()
2860 if ((hubpm) && (hubd->h_dev_state != USB_DEV_DISCONNECTED)) { in hubd_cleanup()
6846 hubd->h_dev_state = USB_DEV_DISCONNECTED; in hubd_disconnect_event_cb()
6869 case USB_DEV_DISCONNECTED: in hubd_disconnect_event_cb()
[all …]
H A Dusbai_util.c1870 { USB_DEV_DISCONNECTED, "<disconnected>" },
2271 case USB_DEV_DISCONNECTED: in usb_common_pwrlvl0()
2330 case USB_DEV_DISCONNECTED: in usb_common_pwrlvl3()
/titanic_41/usr/src/uts/common/io/usb/clients/video/usbvc/
H A Dusbvc.c624 if (usbvcp->usbvc_dev_state == USB_DEV_DISCONNECTED) { in usbvc_open()
1230 if (pm && (usbvcp->usbvc_dev_state != USB_DEV_DISCONNECTED)) { in usbvc_destroy_power_mgmt()
1354 case USB_DEV_DISCONNECTED: in usbvc_pwrlvl0()
1432 case USB_DEV_DISCONNECTED: in usbvc_pwrlvl3()
1608 ASSERT((usbvcp->usbvc_dev_state == USB_DEV_DISCONNECTED) || in usbvc_restore_device_state()
1660 usbvcp->usbvc_dev_state = USB_DEV_DISCONNECTED; in usbvc_restore_device_state()
1687 usbvcp->usbvc_dev_state = USB_DEV_DISCONNECTED; in usbvc_disconnect_event_cb()
/titanic_41/usr/src/uts/common/io/usb/clients/usbser/
H A Dusbser.c497 if (usp->us_dev_state == USB_DEV_DISCONNECTED) { in usbser_open()
1025 usp->us_dev_state = USB_DEV_DISCONNECTED; in usbser_disconnect_cb()
1032 if (USBSER_DS_DISCONNECT(usp) != USB_DEV_DISCONNECTED) { in usbser_disconnect_cb()
1253 ASSERT((current_state == USB_DEV_DISCONNECTED) || in usbser_restore_device_state()
1259 if (current_state == USB_DEV_DISCONNECTED) { in usbser_restore_device_state()
/titanic_41/usr/src/uts/common/io/usb/scsa2usb/
H A Dscsa2usb.c1366 USB_DEV_DISCONNECTED)) { in scsa2usb_cleanup()
2103 case USB_DEV_DISCONNECTED: in scsa2usb_cpr_suspend()
2183 ASSERT((prev_state == USB_DEV_DISCONNECTED) || in scsa2usb_restore_device_state()
2194 scsa2usbp->scsa2usb_dev_state = USB_DEV_DISCONNECTED; in scsa2usb_restore_device_state()
4057 if (scsa2usbp->scsa2usb_dev_state == USB_DEV_DISCONNECTED) { in scsa2usb_transport_request()
5441 scsa2usbp->scsa2usb_dev_state = USB_DEV_DISCONNECTED; in scsa2usb_disconnect_event_cb()
5589 case USB_DEV_DISCONNECTED: in scsa2usb_pwrlvl0()
5637 if (scsa2usbp->scsa2usb_dev_state != USB_DEV_DISCONNECTED) { in scsa2usb_pwrlvl3()
/titanic_41/usr/src/uts/common/sys/usb/
H A Dusbai.h67 #define USB_DEV_DISCONNECTED 2 /* indicates disconnect */ macro
/titanic_41/usr/src/uts/common/io/usb/clients/audio/usb_ac/
H A Dusb_ac.c658 if (uacpm && (uacp->usb_ac_dev_state != USB_DEV_DISCONNECTED)) { in usb_ac_cleanup()
922 case USB_DEV_DISCONNECTED: in usb_ac_pwrlvl0()
979 case USB_DEV_DISCONNECTED: in usb_ac_pwrlvl3()
2373 uacp->usb_ac_dev_state = USB_DEV_DISCONNECTED; in usb_ac_disconnect_event_cb()
2509 uacp->usb_ac_dev_state = USB_DEV_DISCONNECTED; in usb_ac_restore_device_state()