/linux-6.1.9/drivers/usb/gadget/udc/ |
D | trace.h | 39 __field(unsigned, is_selfpowered) 60 __entry->is_selfpowered = g->is_selfpowered; 78 __entry->is_selfpowered ? "self-powered:" : "bus-powered:",
|
D | max3420_udc.c | 174 int remote_wkp, is_selfpowered; member 427 if (udc->is_selfpowered) in __max3420_stop() 465 if (udc->is_selfpowered) in __max3420_start() 545 status = udc->gadget.is_selfpowered << USB_DEVICE_SELF_POWERED; in max3420_getstatus() 1115 udc->gadget.is_selfpowered = udc->is_selfpowered; in max3420_udc_start() 1133 udc->is_selfpowered = udc->gadget.is_selfpowered; in max3420_udc_stop() 1273 udc->is_selfpowered = 1; in max3420_probe() 1280 udc->is_selfpowered = 0; in max3420_probe()
|
D | at91_udc.c | 195 udc->gadget.is_selfpowered ? "self" : "VBUS", in proc_udc_show() 978 gadget->is_selfpowered = (is_on != 0); in at91_set_selfpowered() 1127 tmp = (udc->gadget.is_selfpowered << USB_DEVICE_SELF_POWERED); in handle_setup() 1562 udc->gadget.is_selfpowered = 1; in at91_start()
|
D | lpc32xx_udc.c | 511 udc->gadget.is_selfpowered ? "self" : "VBUS", in udc_show() 2147 ep0buff = udc->gadget.is_selfpowered; in udc_get_status() 2432 gadget->is_selfpowered = (is_on != 0); in lpc32xx_set_selfpowered() 2901 udc->gadget.is_selfpowered = 1; in lpc32xx_start()
|
D | atmel_usba_udc.c | 1018 usba_udc_set_selfpowered(struct usb_gadget *gadget, int is_selfpowered) in usba_udc_set_selfpowered() argument 1023 gadget->is_selfpowered = (is_selfpowered != 0); in usba_udc_set_selfpowered() 1025 if (is_selfpowered) in usba_udc_set_selfpowered()
|
D | omap_udc.c | 1169 omap_set_selfpowered(struct usb_gadget *gadget, int is_selfpowered) in omap_set_selfpowered() argument 1175 gadget->is_selfpowered = (is_selfpowered != 0); in omap_set_selfpowered() 1179 if (is_selfpowered) in omap_set_selfpowered()
|
D | core.c | 1698 static USB_UDC_ATTR(is_selfpowered);
|
/linux-6.1.9/include/linux/usb/ |
D | gadget.h | 312 int (*set_selfpowered) (struct usb_gadget *, int is_selfpowered); 443 unsigned is_selfpowered:1; member
|
/linux-6.1.9/drivers/usb/gadget/udc/aspeed-vhub/ |
D | dev.c | 174 st0 = d->gadget.is_selfpowered << USB_DEVICE_SELF_POWERED; in ast_vhub_dev_status() 353 d->gadget.is_selfpowered = 1; in ast_vhub_udc_start()
|
/linux-6.1.9/drivers/usb/mtu3/ |
D | mtu3_gadget.c | 480 int is_selfpowered) in mtu3_gadget_set_self_powered() argument 484 mtu->is_self_powered = !!is_selfpowered; in mtu3_gadget_set_self_powered()
|
/linux-6.1.9/drivers/usb/cdns3/ |
D | cdnsp-ep0.c | 157 status = pdev->gadget.is_selfpowered; in cdnsp_ep0_handle_status()
|
D | cdnsp-gadget.c | 1521 int is_selfpowered) in cdnsp_gadget_set_selfpowered() argument 1527 g->is_selfpowered = !!is_selfpowered; in cdnsp_gadget_set_selfpowered()
|
D | cdns3-ep0.c | 234 if (priv_dev->is_selfpowered) in cdns3_req_ep0_get_status()
|
D | cdns3-gadget.h | 1322 unsigned is_selfpowered:1; member
|
D | cdns3-gadget.c | 2836 int is_selfpowered) in cdns3_gadget_set_selfpowered() argument 2842 priv_dev->is_selfpowered = !!is_selfpowered; in cdns3_gadget_set_selfpowered()
|
/linux-6.1.9/drivers/staging/emxx_udc/ |
D | emxx_udc.c | 1494 if (udc->gadget.is_selfpowered) in std_req_get_status() 2873 int is_selfpowered) in nbu2ss_gad_set_selfpowered() argument 2886 pgadget->is_selfpowered = (is_selfpowered != 0); in nbu2ss_gad_set_selfpowered() 3043 udc->gadget.is_selfpowered = 1; in nbu2ss_drv_contest_init()
|
/linux-6.1.9/drivers/usb/musb/ |
D | musb_gadget.c | 1590 musb_gadget_set_self_powered(struct usb_gadget *gadget, int is_selfpowered) in musb_gadget_set_self_powered() argument 1592 gadget->is_selfpowered = !!is_selfpowered; in musb_gadget_set_self_powered()
|
D | musb_gadget_ep0.c | 63 result[0] = musb->g.is_selfpowered << USB_DEVICE_SELF_POWERED; in service_tx_status_request()
|
/linux-6.1.9/drivers/usb/gadget/udc/bdc/ |
D | bdc_udc.c | 454 gadget->is_selfpowered = (is_self != 0); in bdc_udc_set_selfpowered()
|
/linux-6.1.9/drivers/usb/isp1760/ |
D | isp1760-udc.c | 1244 int is_selfpowered) in isp1760_udc_set_selfpowered() argument 1248 if (is_selfpowered) in isp1760_udc_set_selfpowered()
|
/linux-6.1.9/drivers/usb/renesas_usbhs/ |
D | mod_gadget.c | 1032 gadget->is_selfpowered = (is_self != 0); in usbhsg_set_selfpowered()
|
/linux-6.1.9/drivers/usb/dwc3/ |
D | ep0.c | 350 usb_status |= dwc->gadget->is_selfpowered; in dwc3_ep0_handle_status()
|
D | gadget.c | 2347 int is_selfpowered) in dwc3_gadget_set_selfpowered() argument 2353 g->is_selfpowered = !!is_selfpowered; in dwc3_gadget_set_selfpowered()
|
/linux-6.1.9/drivers/usb/chipidea/ |
D | udc.c | 1012 ci->gadget.is_selfpowered; in isr_get_status_response() 1768 _gadget->is_selfpowered = (is_on != 0); in ci_udc_selfpowered()
|
/linux-6.1.9/drivers/usb/dwc2/ |
D | gadget.c | 1685 status = hsotg->gadget.is_selfpowered << in dwc2_hsotg_process_req_status() 4639 int is_selfpowered) in dwc2_hsotg_set_selfpowered() argument 4645 gadget->is_selfpowered = !!is_selfpowered; in dwc2_hsotg_set_selfpowered()
|