Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.c172 int remote_wkp, is_selfpowered; member
425 if (udc->is_selfpowered) in __max3420_stop()
463 if (udc->is_selfpowered) in __max3420_start()
543 status = udc->gadget.is_selfpowered << USB_DEVICE_SELF_POWERED; in max3420_getstatus()
1112 udc->gadget.is_selfpowered = udc->is_selfpowered; in max3420_udc_start()
1130 udc->is_selfpowered = udc->gadget.is_selfpowered; in max3420_udc_stop()
1270 udc->is_selfpowered = 1; in max3420_probe()
1277 udc->is_selfpowered = 0; in max3420_probe()
Dat91_udc.c195 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()
Dlpc32xx_udc.c511 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()
Datmel_usba_udc.c1018 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()
Domap_udc.c1169 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()
Drenesas_usbf.c2254 if (udc->gadget.is_selfpowered) in usbf_req_get_status()
3128 int is_selfpowered) in usbf_udc_set_selfpowered() argument
3134 gadget->is_selfpowered = (is_selfpowered != 0); in usbf_udc_set_selfpowered()
/linux-6.6.21/include/linux/usb/
Dgadget.h315 int (*set_selfpowered) (struct usb_gadget *, int is_selfpowered);
448 unsigned is_selfpowered:1; member
/linux-6.6.21/drivers/usb/gadget/udc/aspeed-vhub/
Ddev.c173 st0 = d->gadget.is_selfpowered << USB_DEVICE_SELF_POWERED; in ast_vhub_dev_status()
352 d->gadget.is_selfpowered = 1; in ast_vhub_udc_start()
/linux-6.6.21/drivers/usb/mtu3/
Dmtu3_gadget.c479 int is_selfpowered) in mtu3_gadget_set_self_powered() argument
483 mtu->is_self_powered = !!is_selfpowered; in mtu3_gadget_set_self_powered()
/linux-6.6.21/drivers/usb/gadget/udc/cdns2/
Dcdns2-gadget.h664 bool is_selfpowered; member
Dcdns2-ep0.c186 status = pdev->gadget.is_selfpowered; in cdns2_req_ep0_handle_status()
Dcdns2-gadget.c2019 int is_selfpowered) in cdns2_gadget_set_selfpowered() argument
2025 pdev->is_selfpowered = !!is_selfpowered; in cdns2_gadget_set_selfpowered()
/linux-6.6.21/drivers/usb/cdns3/
Dcdnsp-ep0.c157 status = pdev->gadget.is_selfpowered; in cdnsp_ep0_handle_status()
Dcdnsp-gadget.c1524 int is_selfpowered) in cdnsp_gadget_set_selfpowered() argument
1530 g->is_selfpowered = !!is_selfpowered; in cdnsp_gadget_set_selfpowered()
Dcdns3-ep0.c234 if (priv_dev->is_selfpowered) in cdns3_req_ep0_get_status()
Dcdns3-gadget.h1325 unsigned is_selfpowered:1; member
Dcdns3-gadget.c2911 int is_selfpowered) in cdns3_gadget_set_selfpowered() argument
2917 priv_dev->is_selfpowered = !!is_selfpowered; in cdns3_gadget_set_selfpowered()
/linux-6.6.21/drivers/staging/emxx_udc/
Demxx_udc.c1491 if (udc->gadget.is_selfpowered) in std_req_get_status()
2875 int is_selfpowered) in nbu2ss_gad_set_selfpowered() argument
2888 pgadget->is_selfpowered = (is_selfpowered != 0); in nbu2ss_gad_set_selfpowered()
3045 udc->gadget.is_selfpowered = 1; in nbu2ss_drv_contest_init()
/linux-6.6.21/drivers/usb/musb/
Dmusb_gadget.c1592 musb_gadget_set_self_powered(struct usb_gadget *gadget, int is_selfpowered) in musb_gadget_set_self_powered() argument
1594 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-6.6.21/drivers/usb/gadget/udc/bdc/
Dbdc_udc.c454 gadget->is_selfpowered = (is_self != 0); in bdc_udc_set_selfpowered()
/linux-6.6.21/drivers/usb/isp1760/
Disp1760-udc.c1244 int is_selfpowered) in isp1760_udc_set_selfpowered() argument
1248 if (is_selfpowered) in isp1760_udc_set_selfpowered()
/linux-6.6.21/drivers/usb/renesas_usbhs/
Dmod_gadget.c1032 gadget->is_selfpowered = (is_self != 0); in usbhsg_set_selfpowered()
/linux-6.6.21/drivers/usb/dwc3/
Dep0.c355 usb_status |= dwc->gadget->is_selfpowered; in dwc3_ep0_handle_status()

12