Home
last modified time | relevance | path

Searched refs:USB_STATE_NOTATTACHED (Results 1 – 25 of 37) sorted by relevance

12

/linux/drivers/usb/core/
H A Ddriver.c458 if (!driver->soft_unbind || udev->state == USB_STATE_NOTATTACHED) in usb_unbind_interface()
1260 if (udev->state == USB_STATE_NOTATTACHED || in usb_suspend_device()
1286 if (udev->state == USB_STATE_NOTATTACHED) in usb_resume_device()
1322 if (udev->state == USB_STATE_NOTATTACHED || in usb_suspend_interface()
1343 if (udev->state == USB_STATE_NOTATTACHED) in usb_resume_interface()
1424 if (udev->state == USB_STATE_NOTATTACHED || in usb_suspend_both()
1525 if (udev->state == USB_STATE_NOTATTACHED) { in usb_resume_both()
1611 if (udev->state != USB_STATE_NOTATTACHED) in usb_resume_complete()
1900 if (udev->state == USB_STATE_NOTATTACHED) in autosuspend_check()
H A Dusb.c890 if (udev->state == USB_STATE_NOTATTACHED) in usb_lock_device_for_reset()
906 if (udev->state == USB_STATE_NOTATTACHED) in usb_lock_device_for_reset()
H A Dhcd.c2350 if (udev->state != USB_STATE_NOTATTACHED && in hcd_bus_resume()
2509 USB_STATE_NOTATTACHED); in usb_hc_died()
2521 USB_STATE_NOTATTACHED); in usb_hc_died()
H A Dsysfs.c766 if (udev->state != USB_STATE_NOTATTACHED) { in remove_store()
H A Ddevio.c183 ps->dev->state != USB_STATE_NOTATTACHED); in connected()
1052 if (dev->state == USB_STATE_NOTATTACHED) in usbdev_open()
/linux/drivers/usb/host/
H A Dxen-hcd.c196 info->devices[port].status = USB_STATE_NOTATTACHED; in xenhcd_rhport_connect()
251 if (info->devices[port].status != USB_STATE_NOTATTACHED) in xenhcd_rhport_power_on()
271 if (info->devices[port].status != USB_STATE_NOTATTACHED) in xenhcd_rhport_power_off()
287 if (info->devices[port].status != USB_STATE_NOTATTACHED) in xenhcd_rhport_disable()
304 if (info->devices[port].status != USB_STATE_NOTATTACHED) in xenhcd_rhport_reset()
492 USB_STATE_NOTATTACHED) { in xenhcd_hub_control()
/linux/drivers/usb/gadget/udc/bdc/
H A Dbdc_udc.c154 usb_gadget_set_state(&bdc->gadget, USB_STATE_NOTATTACHED); in bdc_uspc_disconnected()
553 usb_gadget_set_state(&bdc->gadget, USB_STATE_NOTATTACHED); in bdc_udc_init()
/linux/drivers/usb/serial/
H A Dconsole.c205 if (!port || port->serial->dev->state == USB_STATE_NOTATTACHED) in usb_console_write()
H A Dusb-serial.c369 if (port->serial->dev->state == USB_STATE_NOTATTACHED) in serial_write()
/linux/drivers/usb/common/
H A Dcommon.c157 [USB_STATE_NOTATTACHED] = "not attached", in usb_state_string()
/linux/drivers/usb/cdns3/
H A Dcdnsp-ep0.c425 if (pdev->gadget.state == USB_STATE_NOTATTACHED) { in cdnsp_setup_analyze()
H A Dcdns3-gadget.c1866 usb_gadget_set_state(&priv_dev->gadget, USB_STATE_NOTATTACHED); in cdns3_check_usb_interrupt_proceed()
3462 usb_gadget_set_state(&priv_dev->gadget, USB_STATE_NOTATTACHED); in cdns3_gadget_suspend()
H A Dcdnsp-gadget.c1710 usb_gadget_set_state(&pdev->gadget, USB_STATE_NOTATTACHED); in cdnsp_disconnect_gadget()
/linux/drivers/staging/rtl8712/
H A Dusb_intf.c621 if (udev->state != USB_STATE_NOTATTACHED) in r871xu_dev_remove()
/linux/include/uapi/linux/usb/
H A Dch9.h1199 USB_STATE_NOTATTACHED = 0, enumerator
/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-ep0.c407 if (pdev->gadget.state == USB_STATE_NOTATTACHED) { in cdns2_handle_setup_packet()
/linux/drivers/usb/mtu3/
H A Dmtu3_gadget.c759 usb_gadget_set_state(&mtu->g, USB_STATE_NOTATTACHED); in mtu3_gadget_disconnect()
/linux/drivers/usb/storage/
H A Dusb.c930 if (us->pusb_dev->state == USB_STATE_NOTATTACHED) { in quiesce_and_remove_host()
/linux/drivers/usb/gadget/udc/
H A Dgr_udc.c784 usb_gadget_set_state(&dev->gadget, USB_STATE_NOTATTACHED); in gr_stop_activity()
1319 int powstate = !(dev->gadget.state == USB_STATE_NOTATTACHED || in gr_handle_state_changes()
H A Dcore.c1414 usb_gadget_set_state(gadget, USB_STATE_NOTATTACHED); in usb_add_gadget()
H A Dmax3420_udc.c507 ? USB_STATE_POWERED : USB_STATE_NOTATTACHED); in max3420_vbus_handler()
H A Daspeed_udc.c1333 usb_gadget_set_state(&udc->gadget, USB_STATE_NOTATTACHED); in ast_udc_stop()
/linux/drivers/net/wireless/realtek/rtw88/
H A Dusb.c1115 if (rtwusb->udev->state != USB_STATE_NOTATTACHED) in rtw_usb_disconnect()
/linux/drivers/net/wireless/ath/ath9k/
H A Dhif_usb.c1433 bool unplugged = udev->state == USB_STATE_NOTATTACHED; in ath9k_hif_usb_disconnect()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dusb.c658 if (card->udev->state != USB_STATE_NOTATTACHED && !adapter->mfg_mode) { in mwifiex_usb_disconnect()

12