Home
last modified time | relevance | path

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

1234

/drivers/usb/gadget/udc/
Dcore.c38 struct usb_gadget *gadget; member
466 int usb_gadget_frame_number(struct usb_gadget *gadget) in usb_gadget_frame_number()
491 int usb_gadget_wakeup(struct usb_gadget *gadget) in usb_gadget_wakeup()
518 int usb_gadget_set_selfpowered(struct usb_gadget *gadget) in usb_gadget_set_selfpowered()
546 int usb_gadget_clear_selfpowered(struct usb_gadget *gadget) in usb_gadget_clear_selfpowered()
577 int usb_gadget_vbus_connect(struct usb_gadget *gadget) in usb_gadget_vbus_connect()
607 int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in usb_gadget_vbus_draw()
638 int usb_gadget_vbus_disconnect(struct usb_gadget *gadget) in usb_gadget_vbus_disconnect()
667 int usb_gadget_connect(struct usb_gadget *gadget) in usb_gadget_connect()
709 int usb_gadget_disconnect(struct usb_gadget *gadget) in usb_gadget_disconnect()
[all …]
Dat91_udc.c789 static int at91_get_frame(struct usb_gadget *gadget) in at91_get_frame()
798 static int at91_wakeup(struct usb_gadget *gadget) in at91_wakeup()
942 static int at91_vbus_session(struct usb_gadget *gadget, int is_active) in at91_vbus_session()
958 static int at91_pullup(struct usb_gadget *gadget, int is_on) in at91_pullup()
970 static int at91_set_selfpowered(struct usb_gadget *gadget, int is_on) in at91_set_selfpowered()
1552 static int at91_start(struct usb_gadget *gadget, in at91_start()
1566 static int at91_stop(struct usb_gadget *gadget) in at91_stop()
Ds3c-hsudc.c141 struct usb_gadget gadget; member
173 static inline struct s3c_hsudc *to_hsudc(struct usb_gadget *gadget) in to_hsudc()
1149 static int s3c_hsudc_start(struct usb_gadget *gadget, in s3c_hsudc_start()
1203 static int s3c_hsudc_stop(struct usb_gadget *gadget) in s3c_hsudc_stop()
1238 static int s3c_hsudc_gadget_getframe(struct usb_gadget *gadget) in s3c_hsudc_gadget_getframe()
1243 static int s3c_hsudc_vbus_draw(struct usb_gadget *gadget, unsigned mA) in s3c_hsudc_vbus_draw()
Datmel_usba_udc.c994 static int usba_udc_get_frame(struct usb_gadget *gadget) in usba_udc_get_frame()
1001 static int usba_udc_wakeup(struct usb_gadget *gadget) in usba_udc_wakeup()
1020 usba_udc_set_selfpowered(struct usb_gadget *gadget, int is_selfpowered) in usba_udc_set_selfpowered()
1040 static struct usb_ep *atmel_usba_match_ep(struct usb_gadget *gadget, in atmel_usba_match_ep()
1965 static int atmel_usba_start(struct usb_gadget *gadget, in atmel_usba_start()
2006 static int atmel_usba_stop(struct usb_gadget *gadget) in atmel_usba_stop()
Dmv_udc_core.c1111 static int mv_udc_get_frame(struct usb_gadget *gadget) in mv_udc_get_frame()
1127 static int mv_udc_wakeup(struct usb_gadget *gadget) in mv_udc_wakeup()
1146 static int mv_udc_vbus_session(struct usb_gadget *gadget, int is_active) in mv_udc_vbus_session()
1183 static int mv_udc_pullup(struct usb_gadget *gadget, int is_on) in mv_udc_pullup()
1346 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.c1128 static int omap_get_frame(struct usb_gadget *gadget) in omap_get_frame()
1134 static int omap_wakeup(struct usb_gadget *gadget) in omap_wakeup()
1164 omap_set_selfpowered(struct usb_gadget *gadget, int is_selfpowered) in omap_set_selfpowered()
1244 static int omap_vbus_session(struct usb_gadget *gadget, int is_active) in omap_vbus_session()
1283 static int omap_vbus_draw(struct usb_gadget *gadget, unsigned mA) in omap_vbus_draw()
1293 static int omap_pullup(struct usb_gadget *gadget, int is_on) in omap_pullup()
Ds3c2410_udc.h16 struct usb_gadget *gadget; member
77 struct usb_gadget gadget; member
Dudc-xilinx.c178 struct usb_gadget gadget; member
1210 static int xudc_get_frame(struct usb_gadget *gadget) in xudc_get_frame()
1229 static int xudc_wakeup(struct usb_gadget *gadget) in xudc_wakeup()
1269 static int xudc_pullup(struct usb_gadget *gadget, int is_on) in xudc_pullup()
1366 static int xudc_start(struct usb_gadget *gadget, in xudc_start()
1406 static int xudc_stop(struct usb_gadget *gadget) in xudc_stop()
Ds3c2410_udc.c1000 static inline struct s3c2410_udc *to_s3c2410_udc(struct usb_gadget *gadget) in to_s3c2410_udc()
1413 static int s3c2410_udc_set_selfpowered(struct usb_gadget *gadget, int value) in s3c2410_udc_set_selfpowered()
1455 static int s3c2410_udc_vbus_session(struct usb_gadget *gadget, int is_active) in s3c2410_udc_vbus_session()
1466 static int s3c2410_udc_pullup(struct usb_gadget *gadget, int is_on) in s3c2410_udc_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()
Dinode.c139 struct usb_gadget *gadget; member
1248 struct usb_gadget *gadget = dev->gadget; in dev_ioctl() local
1327 gadgetfs_setup (struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) in gadgetfs_setup()
1623 gadgetfs_unbind (struct usb_gadget *gadget) in gadgetfs_unbind()
1651 static int gadgetfs_bind(struct usb_gadget *gadget, in gadgetfs_bind()
1691 gadgetfs_disconnect (struct usb_gadget *gadget) in gadgetfs_disconnect()
1709 gadgetfs_suspend (struct usb_gadget *gadget) in gadgetfs_suspend()
/drivers/usb/gadget/udc/aspeed-vhub/
Ddev.c271 static int ast_vhub_udc_wakeup(struct usb_gadget* gadget) in ast_vhub_udc_wakeup()
291 static int ast_vhub_udc_get_frame(struct usb_gadget* gadget) in ast_vhub_udc_get_frame()
309 static int ast_vhub_udc_pullup(struct usb_gadget* gadget, int on) in ast_vhub_udc_pullup()
335 static int ast_vhub_udc_start(struct usb_gadget *gadget, in ast_vhub_udc_start()
354 static struct usb_ep *ast_vhub_udc_match_ep(struct usb_gadget *gadget, in ast_vhub_udc_match_ep()
439 static int ast_vhub_udc_stop(struct usb_gadget *gadget) in ast_vhub_udc_stop()
/drivers/usb/gadget/
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()
Dcomposite.c501 struct usb_gadget *gadget = cdev->gadget; in config_desc() local
564 struct usb_gadget *gadget = cdev->gadget; in count_configs() local
769 struct usb_gadget *gadget = cdev->gadget; in set_config() local
1573 composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) in composite_setup()
1984 void composite_disconnect(struct usb_gadget *gadget) in composite_disconnect()
2006 struct usb_gadget *gadget = dev_to_usb_gadget(dev); in suspended_show() local
2013 static void __composite_unbind(struct usb_gadget *gadget, bool unbind_driver) in __composite_unbind()
2045 static void composite_unbind(struct usb_gadget *gadget) in composite_unbind()
2091 struct usb_gadget *gadget = cdev->gadget; in composite_dev_prepare() local
2205 static int composite_bind(struct usb_gadget *gadget, in composite_bind()
[all …]
Dconfig.c204 struct usb_gadget *gadget) in usb_otg_descriptor_alloc()
219 int usb_otg_descriptor_init(struct usb_gadget *gadget, in usb_otg_descriptor_init()
Dconfigfs.c1300 static int configfs_composite_bind(struct usb_gadget *gadget, in configfs_composite_bind()
1493 static void configfs_composite_unbind(struct usb_gadget *gadget) in configfs_composite_unbind()
1519 static int android_setup(struct usb_gadget *gadget, in android_setup()
1560 static void android_disconnect(struct usb_gadget *gadget) in android_disconnect()
1592 static int configfs_composite_setup(struct usb_gadget *gadget, in configfs_composite_setup()
1617 static void configfs_composite_disconnect(struct usb_gadget *gadget) in configfs_composite_disconnect()
1641 static void configfs_composite_suspend(struct usb_gadget *gadget) in configfs_composite_suspend()
1663 static void configfs_composite_resume(struct usb_gadget *gadget) in configfs_composite_resume()
/drivers/usb/gadget/udc/bdc/
Dbdc_udc.c362 static int bdc_udc_start(struct usb_gadget *gadget, in bdc_udc_start()
396 static int bdc_udc_stop(struct usb_gadget *gadget) in bdc_udc_stop()
411 static int bdc_udc_pullup(struct usb_gadget *gadget, int is_on) in bdc_udc_pullup()
446 static int bdc_udc_set_selfpowered(struct usb_gadget *gadget, in bdc_udc_set_selfpowered()
465 static int bdc_udc_wakeup(struct usb_gadget *gadget) in bdc_udc_wakeup()
/drivers/usb/mtu3/
Dmtu3_gadget.c446 static int mtu3_gadget_get_frame(struct usb_gadget *gadget) in mtu3_gadget_get_frame()
453 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()
512 static int mtu3_gadget_start(struct usb_gadget *gadget, in mtu3_gadget_start()
/drivers/usb/isp1760/
Disp1760-udc.c33 static inline struct isp1760_udc *gadget_to_udc(struct usb_gadget *gadget) in gadget_to_udc()
1151 static int isp1760_udc_get_frame(struct usb_gadget *gadget) in isp1760_udc_get_frame()
1158 static int isp1760_udc_wakeup(struct usb_gadget *gadget) in isp1760_udc_wakeup()
1166 static int isp1760_udc_set_selfpowered(struct usb_gadget *gadget, in isp1760_udc_set_selfpowered()
1179 static int isp1760_udc_pullup(struct usb_gadget *gadget, int is_on) in isp1760_udc_pullup()
1189 static int isp1760_udc_start(struct usb_gadget *gadget, in isp1760_udc_start()
1232 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/
Dgadget.c1696 usb_ep *cdns3_gadget_match_ep(struct usb_gadget *gadget, in cdns3_gadget_match_ep()
2231 static int cdns3_gadget_get_frame(struct usb_gadget *gadget) in cdns3_gadget_get_frame()
2253 static int cdns3_gadget_wakeup(struct usb_gadget *gadget) in cdns3_gadget_wakeup()
2265 static int cdns3_gadget_set_selfpowered(struct usb_gadget *gadget, in cdns3_gadget_set_selfpowered()
2277 static int cdns3_gadget_pullup(struct usb_gadget *gadget, int is_on) in cdns3_gadget_pullup()
2336 static int cdns3_gadget_udc_start(struct usb_gadget *gadget, in cdns3_gadget_udc_start()
2381 static int cdns3_gadget_udc_stop(struct usb_gadget *gadget) in cdns3_gadget_udc_stop()
/drivers/usb/musb/
Dmusb_gadget.c1504 static int musb_gadget_get_frame(struct usb_gadget *gadget) in musb_gadget_get_frame()
1511 static int musb_gadget_wakeup(struct usb_gadget *gadget) in musb_gadget_wakeup()
1586 musb_gadget_set_self_powered(struct usb_gadget *gadget, int is_selfpowered) in musb_gadget_set_self_powered()
1623 static int musb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in musb_gadget_vbus_draw()
1646 static int musb_gadget_pullup(struct usb_gadget *gadget, int is_on) in musb_gadget_pullup()
/drivers/usb/gadget/function/
Df_uac1.c432 struct usb_gadget *gadget = cdev->gadget; in f_audio_set_alt() local
477 struct usb_gadget *gadget = cdev->gadget; in f_audio_get_alt() local
511 struct usb_gadget *gadget = cdev->gadget; in f_audio_bind() local
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
844 struct usb_gadget *gadget = f->config->cdev->gadget; in uasp_set_alt() local
980 struct usb_gadget *gadget = fuas_to_gadget(fu); in usbg_prepare_w_request() local
1991 struct usb_gadget *gadget = c->cdev->gadget; in tcm_bind() local
/drivers/usb/chipidea/
Dudc.c706 static int _gadget_stop_activity(struct usb_gadget *gadget) in _gadget_stop_activity()
1643 static struct usb_ep *ci_udc_match_ep(struct usb_gadget *gadget, in ci_udc_match_ep()
1761 static int ci_udc_start(struct usb_gadget *gadget, in ci_udc_start()
1823 static int ci_udc_stop(struct usb_gadget *gadget) in ci_udc_stop()

1234