Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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:",
Dmax3420_udc.c174 int remote_wkp, is_selfpowered; member
427 if (udc->is_selfpowered) in __max3420_stop()
465 if (udc->is_selfpowered) in __max3420_start()
547 status = udc->gadget.is_selfpowered << USB_DEVICE_SELF_POWERED; in max3420_getstatus()
1114 udc->gadget.is_selfpowered = udc->is_selfpowered; in max3420_udc_start()
1133 udc->is_selfpowered = udc->gadget.is_selfpowered; in max3420_udc_stop()
1274 udc->is_selfpowered = 1; in max3420_probe()
1281 udc->is_selfpowered = 0; in max3420_probe()
Dat91_udc.c195 udc->gadget.is_selfpowered ? "self" : "VBUS", in proc_udc_show()
976 gadget->is_selfpowered = (is_on != 0); in at91_set_selfpowered()
1125 tmp = (udc->gadget.is_selfpowered << USB_DEVICE_SELF_POWERED); in handle_setup()
1561 udc->gadget.is_selfpowered = 1; in at91_start()
Datmel_usba_udc.c1015 usba_udc_set_selfpowered(struct usb_gadget *gadget, int is_selfpowered) in usba_udc_set_selfpowered() argument
1020 gadget->is_selfpowered = (is_selfpowered != 0); in usba_udc_set_selfpowered()
1022 if (is_selfpowered) in usba_udc_set_selfpowered()
Dlpc32xx_udc.c512 udc->gadget.is_selfpowered ? "self" : "VBUS", in udc_show()
2146 ep0buff = udc->gadget.is_selfpowered; in udc_get_status()
2431 gadget->is_selfpowered = (is_on != 0); in lpc32xx_set_selfpowered()
2900 udc->gadget.is_selfpowered = 1; in lpc32xx_start()
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()
Dcore.c1611 static USB_UDC_ATTR(is_selfpowered);
Dfsl_udc_core.c1342 tmp = udc->gadget.is_selfpowered; in ch9getstatus()
1950 g->is_selfpowered = 1; in fsl_udc_start()
Dnet2272.c1120 _gadget->is_selfpowered = (value != 0); in net2272_set_selfpowered()
1832 if (dev->gadget.is_selfpowered) in net2272_handle_stat0_irqs()
/kernel/linux/linux-5.10/include/linux/usb/
Dgadget.h314 int (*set_selfpowered) (struct usb_gadget *, int is_selfpowered);
431 unsigned is_selfpowered:1; member
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/
Ddev.c168 st0 = d->gadget.is_selfpowered << USB_DEVICE_SELF_POWERED; in ast_vhub_dev_status()
347 d->gadget.is_selfpowered = 1; in ast_vhub_udc_start()
/kernel/linux/linux-5.10/drivers/usb/mtu3/
Dmtu3_gadget.c462 int is_selfpowered) in mtu3_gadget_set_self_powered() argument
466 mtu->is_self_powered = !!is_selfpowered; in mtu3_gadget_set_self_powered()
/kernel/linux/linux-5.10/drivers/staging/emxx_udc/
Demxx_udc.c1495 if (udc->gadget.is_selfpowered) in std_req_get_status()
2874 int is_selfpowered) in nbu2ss_gad_set_selfpowered() argument
2887 pgadget->is_selfpowered = (is_selfpowered != 0); in nbu2ss_gad_set_selfpowered()
3044 udc->gadget.is_selfpowered = 1; in nbu2ss_drv_contest_init()
/kernel/linux/linux-5.10/drivers/usb/musb/
Dmusb_gadget.c1590 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()
Dmusb_gadget_ep0.c63 result[0] = musb->g.is_selfpowered << USB_DEVICE_SELF_POWERED; in service_tx_status_request()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/bdc/
Dbdc_udc.c454 gadget->is_selfpowered = (is_self != 0); in bdc_udc_set_selfpowered()
/kernel/linux/linux-5.10/drivers/usb/isp1760/
Disp1760-udc.c1167 int is_selfpowered) in isp1760_udc_set_selfpowered() argument
1171 if (is_selfpowered) in isp1760_udc_set_selfpowered()
/kernel/linux/linux-5.10/drivers/usb/cdns3/
Dep0.c234 if (priv_dev->is_selfpowered) in cdns3_req_ep0_get_status()
Dgadget.h1319 unsigned is_selfpowered:1; member
Dgadget.c2821 int is_selfpowered) in cdns3_gadget_set_selfpowered() argument
2827 priv_dev->is_selfpowered = !!is_selfpowered; in cdns3_gadget_set_selfpowered()
/kernel/linux/linux-5.10/drivers/usb/chipidea/
Dudc.c998 ci->gadget.is_selfpowered; in isr_get_status_response()
1741 _gadget->is_selfpowered = (is_on != 0); in ci_udc_selfpowered()
/kernel/linux/linux-5.10/drivers/usb/dwc3/
Dgadget.c2048 int is_selfpowered) in dwc3_gadget_set_selfpowered() argument
2054 g->is_selfpowered = !!is_selfpowered; in dwc3_gadget_set_selfpowered()
Dep0.c331 usb_status |= dwc->gadget->is_selfpowered; in dwc3_ep0_handle_status()
/kernel/linux/linux-5.10/drivers/usb/dwc2/
Dgadget.c1685 status = hsotg->gadget.is_selfpowered << in dwc2_hsotg_process_req_status()
4613 int is_selfpowered) in dwc2_hsotg_set_selfpowered() argument
4619 gadget->is_selfpowered = !!is_selfpowered; in dwc2_hsotg_set_selfpowered()
/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/
Dmod_gadget.c1032 gadget->is_selfpowered = (is_self != 0); in usbhsg_set_selfpowered()

12