Home
last modified time | relevance | path

Searched refs:is_selfpowered (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v4.19/drivers/usb/gadget/udc/
Dtrace.h39 __field(unsigned, is_selfpowered)
60 __entry->is_selfpowered = g->is_selfpowered;
78 __entry->is_selfpowered ? "self-powered:" : "bus-powered:",
Dat91_udc.c195 udc->gadget.is_selfpowered ? "self" : "VBUS", in proc_udc_show()
977 gadget->is_selfpowered = (is_on != 0); in at91_set_selfpowered()
1126 tmp = (udc->gadget.is_selfpowered << USB_DEVICE_SELF_POWERED); in handle_setup()
1562 udc->gadget.is_selfpowered = 1; in at91_start()
Datmel_usba_udc.c1008 usba_udc_set_selfpowered(struct usb_gadget *gadget, int is_selfpowered) in usba_udc_set_selfpowered() argument
1013 gadget->is_selfpowered = (is_selfpowered != 0); in usba_udc_set_selfpowered()
1015 if (is_selfpowered) in usba_udc_set_selfpowered()
Domap_udc.c1164 omap_set_selfpowered(struct usb_gadget *gadget, int is_selfpowered) in omap_set_selfpowered() argument
1170 gadget->is_selfpowered = (is_selfpowered != 0); in omap_set_selfpowered()
1174 if (is_selfpowered) in omap_set_selfpowered()
Dlpc32xx_udc.c510 udc->gadget.is_selfpowered ? "self" : "VBUS", in proc_udc_show()
2145 ep0buff = udc->gadget.is_selfpowered; in udc_get_status()
2431 gadget->is_selfpowered = (is_on != 0); in lpc32xx_set_selfpowered()
2908 udc->gadget.is_selfpowered = 1; in lpc32xx_start()
Dcore.c1536 static USB_UDC_ATTR(is_selfpowered);
Dfsl_udc_core.c1342 tmp = udc->gadget.is_selfpowered; in ch9getstatus()
1953 g->is_selfpowered = 1; in fsl_udc_start()
Drenesas_usb3.c1579 if (usb3->gadget.is_selfpowered) in usb3_std_req_get_status()
2320 gadget->is_selfpowered = !!is_self; in renesas_usb3_set_selfpowered()
Dnet2272.c1121 _gadget->is_selfpowered = (value != 0); in net2272_set_selfpowered()
1838 if (dev->gadget.is_selfpowered) in net2272_handle_stat0_irqs()
Dnet2280.c1519 _gadget->is_selfpowered = 1; in net2280_set_selfpowered()
1522 _gadget->is_selfpowered = 0; in net2280_set_selfpowered()
2878 if (dev->gadget.is_selfpowered) in handle_stat0_irqs_superspeed()
Ds3c2410_udc.c1430 gadget->is_selfpowered = (value != 0); in s3c2410_udc_set_selfpowered()
Dr8a66597-udc.c1791 gadget->is_selfpowered = (is_self != 0); in r8a66597_set_selfpowered()
Ddummy_hcd.c887 _gadget->is_selfpowered = (value != 0); in dummy_set_selfpowered()
/Linux-v4.19/include/linux/usb/
Dgadget.h303 int (*set_selfpowered) (struct usb_gadget *, int is_selfpowered);
418 unsigned is_selfpowered:1; member
/Linux-v4.19/drivers/usb/gadget/udc/aspeed-vhub/
Ddev.c153 st0 = d->gadget.is_selfpowered << USB_DEVICE_SELF_POWERED; in ast_vhub_dev_status()
327 d->gadget.is_selfpowered = 1; in ast_vhub_udc_start()
/Linux-v4.19/drivers/usb/mtu3/
Dmtu3_gadget.c465 int is_selfpowered) in mtu3_gadget_set_self_powered() argument
469 mtu->is_self_powered = !!is_selfpowered; in mtu3_gadget_set_self_powered()
/Linux-v4.19/drivers/staging/emxx_udc/
Demxx_udc.c1576 if (udc->gadget.is_selfpowered) in std_req_get_status()
2989 int is_selfpowered) in nbu2ss_gad_set_selfpowered() argument
3002 pgadget->is_selfpowered = (is_selfpowered != 0); in nbu2ss_gad_set_selfpowered()
3162 udc->gadget.is_selfpowered = 1; in nbu2ss_drv_contest_init()
/Linux-v4.19/drivers/usb/musb/
Dmusb_gadget.c1597 musb_gadget_set_self_powered(struct usb_gadget *gadget, int is_selfpowered) in musb_gadget_set_self_powered() argument
1599 gadget->is_selfpowered = !!is_selfpowered; in musb_gadget_set_self_powered()
Dmusb_gadget_ep0.c63 result[0] = musb->g.is_selfpowered << USB_DEVICE_SELF_POWERED; in service_tx_status_request()
/Linux-v4.19/drivers/usb/gadget/udc/bdc/
Dbdc_udc.c453 gadget->is_selfpowered = (is_self != 0); in bdc_udc_set_selfpowered()
/Linux-v4.19/drivers/usb/isp1760/
Disp1760-udc.c1167 int is_selfpowered) in isp1760_udc_set_selfpowered() argument
1171 if (is_selfpowered) in isp1760_udc_set_selfpowered()
/Linux-v4.19/drivers/usb/dwc3/
Dgadget.c1656 int is_selfpowered) in dwc3_gadget_set_selfpowered() argument
1662 g->is_selfpowered = !!is_selfpowered; in dwc3_gadget_set_selfpowered()
Dep0.c328 usb_status |= dwc->gadget.is_selfpowered; in dwc3_ep0_handle_status()
/Linux-v4.19/drivers/usb/chipidea/
Dudc.c884 ci->gadget.is_selfpowered; in isr_get_status_response()
1591 _gadget->is_selfpowered = (is_on != 0); in ci_udc_selfpowered()
/Linux-v4.19/drivers/usb/renesas_usbhs/
Dmod_gadget.c1013 gadget->is_selfpowered = (is_self != 0); in usbhsg_set_selfpowered()

12