| /linux/drivers/usb/gadget/udc/ |
| H A D | tegra-xudc.c | 490 unsigned int device_state; member 1740 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 …]
|
| /linux/drivers/usb/cdns3/ |
| H A D | cdns3-ep0.c | 139 enum usb_device_state device_state = priv_dev->gadget.state; in cdns3_req_ep0_set_configuration() local 143 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() local 196 if (device_state == USB_STATE_CONFIGURED) { in cdns3_req_ep0_set_address()
|
| /linux/drivers/scsi/ |
| H A D | xen-scsifront.c | 1047 unsigned int device_state; in scsifront_do_lun_hotplug() local 1066 &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()
|
| /linux/drivers/platform/x86/ |
| H A D | acer-wmi.c | 219 u16 device_state; member 2474 u16 device_state; in acer_wmi_notify() local 2493 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()
|
| /linux/include/uapi/linux/ |
| H A D | vfio.h | 432 __u32 device_state; /* VFIO device state */ member 1046 * device. The new state is supplied in device_state, see enum 1056 * If this function fails then current device_state may be the original 1073 __u32 device_state; /* From enum vfio_device_mig_state */ 1197 * can be failed with an errno return and may then move the device_state into 1199 * was also unable to restore the device to any valid device_state. 1201 * device_state back to RUNNING. 1225 * user may see any step along the path in the device_state if SET_STATE 1069 __u32 device_state; /* From enum vfio_device_mig_state */ global() member
|
| /linux/drivers/usb/gadget/udc/cdns2/ |
| H A D | cdns2-ep0.c | 146 enum usb_device_state device_state = pdev->gadget.state; in cdns2_req_ep0_set_address() local 156 if (device_state == USB_STATE_CONFIGURED) { in cdns2_req_ep0_set_address()
|
| /linux/drivers/xen/ |
| H A D | xen-scsiback.c | 1084 int device_state; in scsiback_do_1lun_hotplug() local 1092 err = xenbus_scanf(XBT_NIL, dev->nodename, state, "%u", &device_state); in scsiback_do_1lun_hotplug() 1125 switch (device_state) { in scsiback_do_1lun_hotplug() 1141 if (device_state == XenbusStateInitialised) { in scsiback_do_1lun_hotplug()
|
| /linux/drivers/vfio/ |
| H A D | vfio_main.c | 920 mig.device_state = curr_state; in vfio_ioctl_device_feature_mig_device_state() 925 filp = device->mig_ops->migration_set_state(device, mig.device_state); in vfio_ioctl_device_feature_mig_device_state()
|
| /linux/drivers/message/fusion/ |
| H A D | mptbase.c | 2142 u32 device_state; in mpt_suspend() local 2145 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() local 2189 device_state); in mpt_resume()
|
| H A D | mptsas.c | 1363 enum device_state{ enum
|
| /linux/drivers/scsi/mpi3mr/ |
| H A D | mpi3mr_os.c | 5819 pci_power_t device_state = pdev->current_state; in mpi3mr_resume() local 5828 pdev, pci_name(pdev), device_state); in mpi3mr_resume()
|
| /linux/drivers/scsi/mpt3sas/ |
| H A D | mpt3sas_scsih.c | 13696 pci_power_t device_state = pdev->current_state; in scsih_resume() local 13704 pdev, pci_name(pdev), device_state); in scsih_resume()
|