Home
last modified time | relevance | path

Searched refs:devstatus (Results 1 – 6 of 6) sorted by relevance

/drivers/usb/gadget/
Ds3c2410_udc.h86 u16 devstatus; member
Ddummy_hcd.c192 u16 devstatus; member
782 if (!(dum_hcd->dum->devstatus & ((1 << USB_DEVICE_B_HNP_ENABLE) in dummy_wakeup()
806 dum->devstatus |= (1 << USB_DEVICE_SELF_POWERED); in dummy_set_selfpowered()
808 dum->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in dummy_set_selfpowered()
912 dum->devstatus = 0; in dummy_udc_start()
1562 dum->devstatus |= (1 << w_value); in handle_control_request()
1610 dum->devstatus &= ~(1 << w_value); in handle_control_request()
1647 buf[0] = (u8)dum->devstatus; in handle_control_request()
2101 & dum_hcd->dum->devstatus) != 0) in dummy_hub_control()
2138 dum_hcd->dum->devstatus &= in dummy_hub_control()
Datmel_usba_udc.c985 if (udc->devstatus & (1 << USB_DEVICE_REMOTE_WAKEUP)) { in usba_udc_wakeup()
1003 udc->devstatus |= 1 << USB_DEVICE_SELF_POWERED; in usba_udc_set_selfpowered()
1005 udc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in usba_udc_set_selfpowered()
1247 status = cpu_to_le16(udc->devstatus); in handle_ep0_setup()
1277 udc->devstatus in handle_ep0_setup()
1312 udc->devstatus |= 1 << USB_DEVICE_REMOTE_WAKEUP; in handle_ep0_setup()
1814 udc->devstatus = 1 << USB_DEVICE_SELF_POWERED; in atmel_usba_start()
Datmel_usba_udc.h330 u16 devstatus; member
Ds3c2410_udc.c578 status = dev->devstatus; in s3c2410_udc_get_status()
1461 udc->devstatus |= (1 << USB_DEVICE_SELF_POWERED); in s3c2410_udc_set_selfpowered()
1463 udc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in s3c2410_udc_set_selfpowered()
/drivers/usb/core/
Dhub.c2646 u16 devstatus = 0; in finish_port_resume() local
2675 devstatus = 0; in finish_port_resume()
2676 status = usb_get_status(udev, USB_RECIP_DEVICE, 0, &devstatus); in finish_port_resume()
2699 le16_to_cpus(&devstatus); in finish_port_resume()
2700 if (devstatus & (1 << USB_DEVICE_REMOTE_WAKEUP)) in finish_port_resume()
2710 &devstatus); in finish_port_resume()
2711 le16_to_cpus(&devstatus); in finish_port_resume()
2712 if (!status && devstatus & (USB_INTRF_STAT_FUNC_RW_CAP in finish_port_resume()