Home
last modified time | relevance | path

Searched refs:USB_DEVICE_SELF_POWERED (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/usb/gadget/udc/bdc/
H A Dbdc_udc.c457 bdc->devstatus |= 1 << USB_DEVICE_SELF_POWERED; in bdc_udc_set_selfpowered()
459 bdc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in bdc_udc_set_selfpowered()
H A Dbdc.h275 #define DEVSTATUS_CLEAR (1 << USB_DEVICE_SELF_POWERED)
/linux/drivers/usb/usbip/
H A Dvudc_dev.c142 udc->devstatus |= (1 << USB_DEVICE_SELF_POWERED); in vgadget_set_selfpowered()
144 udc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in vgadget_set_selfpowered()
/linux/drivers/usb/common/
H A Ddebug.c37 case USB_DEVICE_SELF_POWERED: in usb_decode_device_feature()
/linux/drivers/usb/gadget/udc/
H A Datmel_usba_udc.c1024 udc->devstatus |= 1 << USB_DEVICE_SELF_POWERED; in usba_udc_set_selfpowered()
1026 udc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in usba_udc_set_selfpowered()
1992 udc->devstatus = 1 << USB_DEVICE_SELF_POWERED; in atmel_usba_start()
2019 udc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in atmel_usba_start()
H A Ddummy_hcd.c884 dum->devstatus |= (1 << USB_DEVICE_SELF_POWERED); in dummy_set_selfpowered()
886 dum->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in dummy_set_selfpowered()
2319 (1 << USB_DEVICE_SELF_POWERED); in dummy_hub_control()
H A Dr8a66597-udc.c1793 r8a66597->device_status |= 1 << USB_DEVICE_SELF_POWERED; in r8a66597_set_selfpowered()
1795 r8a66597->device_status &= ~(1 << USB_DEVICE_SELF_POWERED); in r8a66597_set_selfpowered()
H A Dmax3420_udc.c543 status = udc->gadget.is_selfpowered << USB_DEVICE_SELF_POWERED; in max3420_getstatus()
H A Dfusb300_udc.c693 status = 1 << USB_DEVICE_SELF_POWERED; in get_status()
H A Daspeed_udc.c1006 status = 1 << USB_DEVICE_SELF_POWERED; in ast_udc_getstatus()
H A Dm66592-udc.c973 status = 1 << USB_DEVICE_SELF_POWERED; in get_status()
H A Dat91_udc.c1127 tmp = (udc->gadget.is_selfpowered << USB_DEVICE_SELF_POWERED); in handle_setup()
H A Dudc-xilinx.c1615 status = 1 << USB_DEVICE_SELF_POWERED; in xudc_getstatus()
H A Dmv_udc_core.c1536 status = 1 << USB_DEVICE_SELF_POWERED; in ch9getstatus()
/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Ddev.c173 st0 = d->gadget.is_selfpowered << USB_DEVICE_SELF_POWERED; in ast_vhub_dev_status()
H A Dhub.c179 st0 = 1 << USB_DEVICE_SELF_POWERED; in ast_vhub_hub_dev_status()
/linux/include/uapi/linux/usb/
H A Dch9.h124 #define USB_DEVICE_SELF_POWERED 0 /* (read only) */ macro
/linux/drivers/usb/isp1760/
H A Disp1760-udc.c1249 udc->devstatus |= 1 << USB_DEVICE_SELF_POWERED; in isp1760_udc_set_selfpowered()
1251 udc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in isp1760_udc_set_selfpowered()
/linux/drivers/usb/cdns3/
H A Dcdns3-ep0.c235 usb_status = BIT(USB_DEVICE_SELF_POWERED); in cdns3_req_ep0_get_status()
/linux/drivers/usb/musb/
H A Dmusb_gadget_ep0.c63 result[0] = musb->g.is_selfpowered << USB_DEVICE_SELF_POWERED; in service_tx_status_request()
/linux/drivers/usb/mtu3/
H A Dmtu3_gadget_ep0.c216 result[0] = mtu->is_self_powered << USB_DEVICE_SELF_POWERED; in ep0_get_status()
/linux/drivers/usb/renesas_usbhs/
H A Dmod_gadget.c356 status = 1 << USB_DEVICE_SELF_POWERED; in usbhsg_recip_handler_std_get_device()
/linux/drivers/usb/fotg210/
H A Dfotg210-udc.c741 fotg210->ep0_data = cpu_to_le16(1 << USB_DEVICE_SELF_POWERED); in fotg210_get_status()
/linux/drivers/usb/core/
H A Dhcd.c524 | (1 << USB_DEVICE_SELF_POWERED); in rh_call_control()
H A Dhub.c1644 } else if ((hubstatus & (1 << USB_DEVICE_SELF_POWERED)) == 0) { in hub_configure()
5477 if ((devstat & (1 << USB_DEVICE_SELF_POWERED)) == 0) { in hub_port_connect()

12