Home
last modified time | relevance | path

Searched defs:gadget (Results 1 – 25 of 107) sorted by relevance

12345

/drivers/usb/gadget/udc/
Dcore.c55 struct usb_gadget *gadget; member
485 int usb_gadget_frame_number(struct usb_gadget *gadget) in usb_gadget_frame_number()
510 int usb_gadget_wakeup(struct usb_gadget *gadget) in usb_gadget_wakeup()
537 int usb_gadget_set_remote_wakeup(struct usb_gadget *gadget, int set) in usb_gadget_set_remote_wakeup()
564 int usb_gadget_set_selfpowered(struct usb_gadget *gadget) in usb_gadget_set_selfpowered()
592 int usb_gadget_clear_selfpowered(struct usb_gadget *gadget) in usb_gadget_clear_selfpowered()
623 int usb_gadget_vbus_connect(struct usb_gadget *gadget) in usb_gadget_vbus_connect()
653 int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in usb_gadget_vbus_draw()
684 int usb_gadget_vbus_disconnect(struct usb_gadget *gadget) in usb_gadget_vbus_disconnect()
702 static int usb_gadget_connect_locked(struct usb_gadget *gadget) in usb_gadget_connect_locked()
[all …]
Dat91_udc.c791 static int at91_get_frame(struct usb_gadget *gadget) in at91_get_frame()
800 static int at91_wakeup(struct usb_gadget *gadget) in at91_wakeup()
944 static int at91_vbus_session(struct usb_gadget *gadget, int is_active) in at91_vbus_session()
960 static int at91_pullup(struct usb_gadget *gadget, int is_on) in at91_pullup()
972 static int at91_set_selfpowered(struct usb_gadget *gadget, int is_on) in at91_set_selfpowered()
1553 static int at91_start(struct usb_gadget *gadget, in at91_start()
1567 static int at91_stop(struct usb_gadget *gadget) in at91_stop()
Datmel_usba_udc.c992 static int usba_udc_get_frame(struct usb_gadget *gadget) in usba_udc_get_frame()
999 static int usba_udc_wakeup(struct usb_gadget *gadget) in usba_udc_wakeup()
1018 usba_udc_set_selfpowered(struct usb_gadget *gadget, int is_selfpowered) in usba_udc_set_selfpowered()
1039 static struct usb_ep *atmel_usba_match_ep(struct usb_gadget *gadget, in atmel_usba_match_ep()
1968 static int atmel_usba_pullup(struct usb_gadget *gadget, int is_on) in atmel_usba_pullup()
1986 static int atmel_usba_start(struct usb_gadget *gadget, in atmel_usba_start()
2027 static int atmel_usba_stop(struct usb_gadget *gadget) in atmel_usba_stop()
Dmv_udc_core.c1112 static int mv_udc_get_frame(struct usb_gadget *gadget) in mv_udc_get_frame()
1128 static int mv_udc_wakeup(struct usb_gadget *gadget) in mv_udc_wakeup()
1147 static int mv_udc_vbus_session(struct usb_gadget *gadget, int is_active) in mv_udc_vbus_session()
1184 static int mv_udc_pullup(struct usb_gadget *gadget, int is_on) in mv_udc_pullup()
1347 static int mv_udc_start(struct usb_gadget *gadget, in mv_udc_start()
1388 static int mv_udc_stop(struct usb_gadget *gadget) in mv_udc_stop()
Domap_udc.c1133 static int omap_get_frame(struct usb_gadget *gadget) in omap_get_frame()
1139 static int omap_wakeup(struct usb_gadget *gadget) in omap_wakeup()
1169 omap_set_selfpowered(struct usb_gadget *gadget, int is_selfpowered) in omap_set_selfpowered()
1249 static int omap_vbus_session(struct usb_gadget *gadget, int is_active) in omap_vbus_session()
1288 static int omap_vbus_draw(struct usb_gadget *gadget, unsigned mA) in omap_vbus_draw()
1298 static int omap_pullup(struct usb_gadget *gadget, int is_on) in omap_pullup()
Daspeed_udc.c214 struct usb_gadget gadget; member
1212 static int ast_udc_gadget_getframe(struct usb_gadget *gadget) in ast_udc_gadget_getframe()
1245 static int ast_udc_wakeup(struct usb_gadget *gadget) in ast_udc_wakeup()
1270 static int ast_udc_pullup(struct usb_gadget *gadget, int is_on) in ast_udc_pullup()
1291 static int ast_udc_start(struct usb_gadget *gadget, in ast_udc_start()
1315 static int ast_udc_stop(struct usb_gadget *gadget) in ast_udc_stop()
Dudc-xilinx.c178 struct usb_gadget gadget; member
1218 static int xudc_get_frame(struct usb_gadget *gadget) in xudc_get_frame()
1237 static int xudc_wakeup(struct usb_gadget *gadget) in xudc_wakeup()
1277 static int xudc_pullup(struct usb_gadget *gadget, int is_on) in xudc_pullup()
1374 static int xudc_start(struct usb_gadget *gadget, in xudc_start()
1413 static int xudc_stop(struct usb_gadget *gadget) in xudc_stop()
Dfsl_udc_core.c1139 static int fsl_get_frame(struct usb_gadget *gadget) in fsl_get_frame()
1147 static int fsl_wakeup(struct usb_gadget *gadget) in fsl_wakeup()
1173 static int fsl_vbus_session(struct usb_gadget *gadget, int is_active) in fsl_vbus_session()
1199 static int fsl_vbus_draw(struct usb_gadget *gadget, unsigned mA) in fsl_vbus_draw()
1212 static int fsl_pullup(struct usb_gadget *gadget, int is_on) in fsl_pullup()
/drivers/usb/gadget/legacy/
Ddbgp.c27 struct usb_gadget *gadget; member
209 static void dbgp_disconnect(struct usb_gadget *gadget) in dbgp_disconnect()
218 static void dbgp_unbind(struct usb_gadget *gadget) in dbgp_unbind()
235 static int dbgp_configure_endpoints(struct usb_gadget *gadget) in dbgp_configure_endpoints()
277 static int dbgp_bind(struct usb_gadget *gadget, in dbgp_bind()
337 static int dbgp_setup(struct usb_gadget *gadget, in dbgp_setup()
Draw_gadget.c174 struct usb_gadget *gadget; member
279 static int gadget_bind(struct usb_gadget *gadget, in gadget_bind()
325 static void gadget_unbind(struct usb_gadget *gadget) in gadget_unbind()
334 static int gadget_setup(struct usb_gadget *gadget, in gadget_setup()
370 static void gadget_disconnect(struct usb_gadget *gadget) { } in gadget_disconnect()
371 static void gadget_suspend(struct usb_gadget *gadget) { } in gadget_suspend()
372 static void gadget_resume(struct usb_gadget *gadget) { } in gadget_resume()
373 static void gadget_reset(struct usb_gadget *gadget) { } in gadget_reset()
Dinode.c141 struct usb_gadget *gadget; member
1250 struct usb_gadget *gadget = dev->gadget; in gadget_dev_ioctl() local
1329 gadgetfs_setup (struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) in gadgetfs_setup()
1635 gadgetfs_unbind (struct usb_gadget *gadget) in gadgetfs_unbind()
1663 static int gadgetfs_bind(struct usb_gadget *gadget, in gadgetfs_bind()
1703 gadgetfs_disconnect (struct usb_gadget *gadget) in gadgetfs_disconnect()
1721 gadgetfs_suspend (struct usb_gadget *gadget) in gadgetfs_suspend()
/drivers/usb/gadget/
Dcomposite.c507 struct usb_gadget *gadget = func->config->cdev->gadget; in usb_func_wakeup() local
618 struct usb_gadget *gadget = cdev->gadget; in config_desc() local
681 struct usb_gadget *gadget = cdev->gadget; in count_configs() local
953 struct usb_gadget *gadget = cdev->gadget; in set_config() local
1780 composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) in composite_setup()
2320 static void __composite_disconnect(struct usb_gadget *gadget) in __composite_disconnect()
2345 void composite_disconnect(struct usb_gadget *gadget) in composite_disconnect()
2351 void composite_reset(struct usb_gadget *gadget) in composite_reset()
2367 struct usb_gadget *gadget = dev_to_usb_gadget(dev); in suspended_show() local
2374 static void __composite_unbind(struct usb_gadget *gadget, bool unbind_driver) in __composite_unbind()
[all …]
Depautoconf.c64 struct usb_gadget *gadget, in usb_ep_autoconfig_ss()
150 struct usb_gadget *gadget, in usb_ep_autoconfig()
203 void usb_ep_autoconfig_reset (struct usb_gadget *gadget) in usb_ep_autoconfig_reset()
Dconfig.c214 struct usb_gadget *gadget) in usb_otg_descriptor_alloc()
229 int usb_otg_descriptor_init(struct usb_gadget *gadget, in usb_otg_descriptor_init()
Dconfigfs.c1680 static int configfs_composite_bind(struct usb_gadget *gadget, in configfs_composite_bind()
1823 static void configfs_composite_unbind(struct usb_gadget *gadget) in configfs_composite_unbind()
1850 static int configfs_composite_setup(struct usb_gadget *gadget, in configfs_composite_setup()
1875 static void configfs_composite_disconnect(struct usb_gadget *gadget) in configfs_composite_disconnect()
1897 static void configfs_composite_reset(struct usb_gadget *gadget) in configfs_composite_reset()
1919 static void configfs_composite_suspend(struct usb_gadget *gadget) in configfs_composite_suspend()
1941 static void configfs_composite_resume(struct usb_gadget *gadget) in configfs_composite_resume()
/drivers/usb/gadget/udc/aspeed-vhub/
Ddev.c276 static int ast_vhub_udc_wakeup(struct usb_gadget* gadget) in ast_vhub_udc_wakeup()
296 static int ast_vhub_udc_get_frame(struct usb_gadget* gadget) in ast_vhub_udc_get_frame()
314 static int ast_vhub_udc_pullup(struct usb_gadget* gadget, int on) in ast_vhub_udc_pullup()
340 static int ast_vhub_udc_start(struct usb_gadget *gadget, in ast_vhub_udc_start()
359 static struct usb_ep *ast_vhub_udc_match_ep(struct usb_gadget *gadget, in ast_vhub_udc_match_ep()
444 static int ast_vhub_udc_stop(struct usb_gadget *gadget) in ast_vhub_udc_stop()
/drivers/usb/gadget/udc/bdc/
Dbdc_udc.c363 static int bdc_udc_start(struct usb_gadget *gadget, in bdc_udc_start()
397 static int bdc_udc_stop(struct usb_gadget *gadget) in bdc_udc_stop()
412 static int bdc_udc_pullup(struct usb_gadget *gadget, int is_on) in bdc_udc_pullup()
447 static int bdc_udc_set_selfpowered(struct usb_gadget *gadget, in bdc_udc_set_selfpowered()
466 static int bdc_udc_wakeup(struct usb_gadget *gadget) in bdc_udc_wakeup()
/drivers/usb/mtu3/
Dmtu3_gadget.c428 static int mtu3_gadget_get_frame(struct usb_gadget *gadget) in mtu3_gadget_get_frame()
442 static int mtu3_gadget_wakeup(struct usb_gadget *gadget) in mtu3_gadget_wakeup()
478 static int mtu3_gadget_set_self_powered(struct usb_gadget *gadget, in mtu3_gadget_set_self_powered()
487 static int mtu3_gadget_pullup(struct usb_gadget *gadget, int is_on) in mtu3_gadget_pullup()
515 static int mtu3_gadget_start(struct usb_gadget *gadget, in mtu3_gadget_start()
/drivers/usb/isp1760/
Disp1760-udc.c35 static inline struct isp1760_udc *gadget_to_udc(struct usb_gadget *gadget) in gadget_to_udc()
1228 static int isp1760_udc_get_frame(struct usb_gadget *gadget) in isp1760_udc_get_frame()
1235 static int isp1760_udc_wakeup(struct usb_gadget *gadget) in isp1760_udc_wakeup()
1243 static int isp1760_udc_set_selfpowered(struct usb_gadget *gadget, in isp1760_udc_set_selfpowered()
1256 static int isp1760_udc_pullup(struct usb_gadget *gadget, int is_on) in isp1760_udc_pullup()
1266 static int isp1760_udc_start(struct usb_gadget *gadget, in isp1760_udc_start()
1309 static int isp1760_udc_stop(struct usb_gadget *gadget) in isp1760_udc_stop()
/drivers/usb/renesas_usbhs/
Dmod_gadget.c40 struct usb_gadget gadget; member
947 static int usbhsg_gadget_start(struct usb_gadget *gadget, in usbhsg_gadget_start()
980 static int usbhsg_gadget_stop(struct usb_gadget *gadget) in usbhsg_gadget_stop()
998 static int usbhsg_get_frame(struct usb_gadget *gadget) in usbhsg_get_frame()
1006 static int usbhsg_pullup(struct usb_gadget *gadget, int is_on) in usbhsg_pullup()
1023 static int usbhsg_set_selfpowered(struct usb_gadget *gadget, int is_self) in usbhsg_set_selfpowered()
1037 static int usbhsg_vbus_session(struct usb_gadget *gadget, int is_active) in usbhsg_vbus_session()
/drivers/usb/cdns3/
Dcdns3-gadget.c2268 usb_ep *cdns3_gadget_match_ep(struct usb_gadget *gadget, in cdns3_gadget_match_ep()
2876 static int cdns3_gadget_get_frame(struct usb_gadget *gadget) in cdns3_gadget_get_frame()
2898 static int cdns3_gadget_wakeup(struct usb_gadget *gadget) in cdns3_gadget_wakeup()
2910 static int cdns3_gadget_set_selfpowered(struct usb_gadget *gadget, in cdns3_gadget_set_selfpowered()
2922 static int cdns3_gadget_pullup(struct usb_gadget *gadget, int is_on) in cdns3_gadget_pullup()
2986 static int cdns3_gadget_udc_start(struct usb_gadget *gadget, in cdns3_gadget_udc_start()
3031 static int cdns3_gadget_udc_stop(struct usb_gadget *gadget) in cdns3_gadget_udc_stop()
3074 static int cdns3_gadget_check_config(struct usb_gadget *gadget) in cdns3_gadget_check_config()
/drivers/usb/gadget/udc/cdns2/
Dcdns2-gadget.c1961 usb_ep *cdns2_gadget_match_ep(struct usb_gadget *gadget, in cdns2_gadget_match_ep()
1999 static int cdns2_gadget_get_frame(struct usb_gadget *gadget) in cdns2_gadget_get_frame()
2006 static int cdns2_gadget_wakeup(struct usb_gadget *gadget) in cdns2_gadget_wakeup()
2018 static int cdns2_gadget_set_selfpowered(struct usb_gadget *gadget, in cdns2_gadget_set_selfpowered()
2056 static int cdns2_gadget_pullup(struct usb_gadget *gadget, int is_on) in cdns2_gadget_pullup()
2083 static int cdns2_gadget_udc_start(struct usb_gadget *gadget, in cdns2_gadget_udc_start()
2127 static int cdns2_gadget_udc_stop(struct usb_gadget *gadget) in cdns2_gadget_udc_stop()
/drivers/usb/musb/
Dmusb_gadget.c1508 static int musb_gadget_get_frame(struct usb_gadget *gadget) in musb_gadget_get_frame()
1515 static int musb_gadget_wakeup(struct usb_gadget *gadget) in musb_gadget_wakeup()
1592 musb_gadget_set_self_powered(struct usb_gadget *gadget, int is_selfpowered) in musb_gadget_set_self_powered()
1629 static int musb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in musb_gadget_vbus_draw()
1650 static int musb_gadget_pullup(struct usb_gadget *gadget, int is_on) in musb_gadget_pullup()
/drivers/usb/gadget/function/
Df_tcm.c206 struct usb_gadget *gadget = fuas_to_gadget(fu); in bot_send_read_response() local
248 struct usb_gadget *gadget = fuas_to_gadget(fu); in bot_send_write_request() local
390 struct usb_gadget *gadget = f->config->cdev->gadget; in bot_set_alt() local
514 struct usb_gadget *gadget = fuas_to_gadget(fu); in uasp_prepare_r_request() local
847 struct usb_gadget *gadget = f->config->cdev->gadget; in uasp_set_alt() local
983 struct usb_gadget *gadget = fuas_to_gadget(fu); in usbg_prepare_w_request() local
1943 struct usb_gadget *gadget = c->cdev->gadget; in tcm_bind() local
/drivers/usb/dwc2/
Dgadget.c46 static inline struct dwc2_hsotg *to_hsotg(struct usb_gadget *gadget) in to_hsotg()
4530 static int dwc2_hsotg_udc_start(struct usb_gadget *gadget, in dwc2_hsotg_udc_start()
4595 static int dwc2_hsotg_udc_stop(struct usb_gadget *gadget) in dwc2_hsotg_udc_stop()
4635 static int dwc2_hsotg_gadget_getframe(struct usb_gadget *gadget) in dwc2_hsotg_gadget_getframe()
4647 static int dwc2_hsotg_set_selfpowered(struct usb_gadget *gadget, in dwc2_hsotg_set_selfpowered()
4667 static int dwc2_hsotg_pullup(struct usb_gadget *gadget, int is_on) in dwc2_hsotg_pullup()
4700 static int dwc2_hsotg_vbus_session(struct usb_gadget *gadget, int is_active) in dwc2_hsotg_vbus_session()
4744 static int dwc2_hsotg_vbus_draw(struct usb_gadget *gadget, unsigned int mA) in dwc2_hsotg_vbus_draw()

12345