Searched refs:device_state (Results 1 – 7 of 7) sorted by relevance
490 unsigned int device_state; member1740 if ((xudc->device_state == USB_STATE_CONFIGURED) && in __tegra_xudc_ep_disable()1744 xudc->device_state = USB_STATE_ADDRESS; in __tegra_xudc_ep_disable()1745 usb_gadget_set_state(&xudc->gadget, xudc->device_state); in __tegra_xudc_ep_disable()1836 if (xudc->device_state == USB_STATE_ADDRESS) { in __tegra_xudc_ep_enable()1841 xudc->device_state = USB_STATE_CONFIGURED; in __tegra_xudc_ep_enable()1842 usb_gadget_set_state(&xudc->gadget, xudc->device_state); in __tegra_xudc_ep_enable()1992 if (xudc->device_state == USB_STATE_SUSPENDED) { in tegra_xudc_resume_device_state()1993 xudc->device_state = xudc->resume_state; in tegra_xudc_resume_device_state()1994 usb_gadget_set_state(&xudc->gadget, xudc->device_state); in tegra_xudc_resume_device_state()[all …]
139 enum usb_device_state device_state = priv_dev->gadget.state; in cdns3_req_ep0_set_configuration() local143 switch (device_state) { in cdns3_req_ep0_set_configuration()183 enum usb_device_state device_state = priv_dev->gadget.state; in cdns3_req_ep0_set_address() local196 if (device_state == USB_STATE_CONFIGURED) { in cdns3_req_ep0_set_address()
1047 unsigned int device_state; in scsifront_do_lun_hotplug() local1066 &device_state); in scsifront_do_lun_hotplug()1087 if (device_state != XenbusStateInitialised) in scsifront_do_lun_hotplug()1101 if (device_state != XenbusStateClosing) in scsifront_do_lun_hotplug()1111 if (device_state == XenbusStateConnected) { in scsifront_do_lun_hotplug()
219 u16 device_state; member2474 u16 device_state; in acer_wmi_notify() local2493 device_state = return_value.device_state; in acer_wmi_notify()2494 pr_debug("device state: 0x%x\n", device_state); in acer_wmi_notify()2508 !(device_state & ACER_WMID3_GDS_WIRELESS)); in acer_wmi_notify()2511 !(device_state & ACER_WMID3_GDS_THREEG)); in acer_wmi_notify()2514 !(device_state & ACER_WMID3_GDS_BLUETOOTH)); in acer_wmi_notify()2517 scancode = (device_state & ACER_WMID3_GDS_TOUCHPAD) ? in acer_wmi_notify()
146 enum usb_device_state device_state = pdev->gadget.state; in cdns2_req_ep0_set_address() local156 if (device_state == USB_STATE_CONFIGURED) { in cdns2_req_ep0_set_address()
2142 u32 device_state; in mpt_suspend() local2145 device_state = pci_choose_state(pdev, state); in mpt_suspend()2148 device_state); in mpt_suspend()2170 pci_set_power_state(pdev, device_state); in mpt_suspend()2183 u32 device_state = pdev->current_state; in mpt_resume() local2189 device_state); in mpt_resume()
1363 enum device_state{ enum