Home
last modified time | relevance | path

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

1234

/Linux-v4.19/drivers/usb/gadget/udc/
Dcore.c38 struct usb_gadget *gadget; member
455 int usb_gadget_frame_number(struct usb_gadget *gadget) in usb_gadget_frame_number()
480 int usb_gadget_wakeup(struct usb_gadget *gadget) in usb_gadget_wakeup()
507 int usb_gadget_set_selfpowered(struct usb_gadget *gadget) in usb_gadget_set_selfpowered()
535 int usb_gadget_clear_selfpowered(struct usb_gadget *gadget) in usb_gadget_clear_selfpowered()
566 int usb_gadget_vbus_connect(struct usb_gadget *gadget) in usb_gadget_vbus_connect()
596 int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in usb_gadget_vbus_draw()
627 int usb_gadget_vbus_disconnect(struct usb_gadget *gadget) in usb_gadget_vbus_disconnect()
656 int usb_gadget_connect(struct usb_gadget *gadget) in usb_gadget_connect()
695 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()
943 static int at91_vbus_session(struct usb_gadget *gadget, int is_active) in at91_vbus_session()
959 static int at91_pullup(struct usb_gadget *gadget, int is_on) in at91_pullup()
971 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()
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()
Ds3c2410_udc.h16 struct usb_gadget *gadget; member
77 struct usb_gadget gadget; member
Datmel_usba_udc.c982 static int usba_udc_get_frame(struct usb_gadget *gadget) in usba_udc_get_frame()
989 static int usba_udc_wakeup(struct usb_gadget *gadget) in usba_udc_wakeup()
1008 usba_udc_set_selfpowered(struct usb_gadget *gadget, int is_selfpowered) in usba_udc_set_selfpowered()
1028 static struct usb_ep *atmel_usba_match_ep(struct usb_gadget *gadget, in atmel_usba_match_ep()
1915 static int atmel_usba_start(struct usb_gadget *gadget, in atmel_usba_start()
1956 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()
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()
/Linux-v4.19/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.c138 struct usb_gadget *gadget; member
1247 struct usb_gadget *gadget = dev->gadget; in dev_ioctl() local
1326 gadgetfs_setup (struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) in gadgetfs_setup()
1622 gadgetfs_unbind (struct usb_gadget *gadget) in gadgetfs_unbind()
1650 static int gadgetfs_bind(struct usb_gadget *gadget, in gadgetfs_bind()
1690 gadgetfs_disconnect (struct usb_gadget *gadget) in gadgetfs_disconnect()
1708 gadgetfs_suspend (struct usb_gadget *gadget) in gadgetfs_suspend()
Dncm.c129 struct usb_gadget *gadget = cdev->gadget; in gncm_bind() local
Dcdc2.c140 struct usb_gadget *gadget = cdev->gadget; in cdc_bind() local
Dacm_ms.c157 struct usb_gadget *gadget = cdev->gadget; in acm_ms_bind() local
/Linux-v4.19/drivers/usb/gadget/
Depautoconf.c64 struct usb_gadget *gadget, in usb_ep_autoconfig_ss()
162 struct usb_gadget *gadget, in usb_ep_autoconfig()
196 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
755 struct usb_gadget *gadget = cdev->gadget; in set_config() local
1559 composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) in composite_setup()
1970 void composite_disconnect(struct usb_gadget *gadget) in composite_disconnect()
1991 struct usb_gadget *gadget = dev_to_usb_gadget(dev); in suspended_show() local
1998 static void __composite_unbind(struct usb_gadget *gadget, bool unbind_driver) in __composite_unbind()
2030 static void composite_unbind(struct usb_gadget *gadget) in composite_unbind()
2076 struct usb_gadget *gadget = cdev->gadget; in composite_dev_prepare() local
2186 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()
/Linux-v4.19/drivers/usb/gadget/udc/aspeed-vhub/
Ddev.c251 static int ast_vhub_udc_wakeup(struct usb_gadget* gadget) in ast_vhub_udc_wakeup()
271 static int ast_vhub_udc_get_frame(struct usb_gadget* gadget) in ast_vhub_udc_get_frame()
289 static int ast_vhub_udc_pullup(struct usb_gadget* gadget, int on) in ast_vhub_udc_pullup()
315 static int ast_vhub_udc_start(struct usb_gadget *gadget, in ast_vhub_udc_start()
334 static struct usb_ep *ast_vhub_udc_match_ep(struct usb_gadget *gadget, in ast_vhub_udc_match_ep()
419 static int ast_vhub_udc_stop(struct usb_gadget *gadget) in ast_vhub_udc_stop()
/Linux-v4.19/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()
/Linux-v4.19/include/linux/usb/
Dgadget.h425 static inline void set_gadget_data(struct usb_gadget *gadget, void *data) in set_gadget_data()
427 static inline void *get_gadget_data(struct usb_gadget *gadget) in get_gadget_data()
435 #define gadget_for_each_ep(tmp, gadget) \ argument
565 static inline int usb_gadget_frame_number(struct usb_gadget *gadget) in usb_gadget_frame_number()
567 static inline int usb_gadget_wakeup(struct usb_gadget *gadget) in usb_gadget_wakeup()
569 static inline int usb_gadget_set_selfpowered(struct usb_gadget *gadget) in usb_gadget_set_selfpowered()
571 static inline int usb_gadget_clear_selfpowered(struct usb_gadget *gadget) in usb_gadget_clear_selfpowered()
573 static inline int usb_gadget_vbus_connect(struct usb_gadget *gadget) in usb_gadget_vbus_connect()
575 static inline int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in usb_gadget_vbus_draw()
577 static inline int usb_gadget_vbus_disconnect(struct usb_gadget *gadget) in usb_gadget_vbus_disconnect()
[all …]
/Linux-v4.19/drivers/usb/mtu3/
Dmtu3_gadget.c432 static int mtu3_gadget_get_frame(struct usb_gadget *gadget) in mtu3_gadget_get_frame()
439 static int mtu3_gadget_wakeup(struct usb_gadget *gadget) in mtu3_gadget_wakeup()
464 static int mtu3_gadget_set_self_powered(struct usb_gadget *gadget, in mtu3_gadget_set_self_powered()
473 static int mtu3_gadget_pullup(struct usb_gadget *gadget, int is_on) in mtu3_gadget_pullup()
498 static int mtu3_gadget_start(struct usb_gadget *gadget, in mtu3_gadget_start()
/Linux-v4.19/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()
/Linux-v4.19/drivers/usb/renesas_usbhs/
Dmod_gadget.c39 struct usb_gadget gadget; member
928 static int usbhsg_gadget_start(struct usb_gadget *gadget, in usbhsg_gadget_start()
961 static int usbhsg_gadget_stop(struct usb_gadget *gadget) in usbhsg_gadget_stop()
979 static int usbhsg_get_frame(struct usb_gadget *gadget) in usbhsg_get_frame()
987 static int usbhsg_pullup(struct usb_gadget *gadget, int is_on) in usbhsg_pullup()
1004 static int usbhsg_set_selfpowered(struct usb_gadget *gadget, int is_self) in usbhsg_set_selfpowered()
1018 static int usbhsg_vbus_session(struct usb_gadget *gadget, int is_active) in usbhsg_vbus_session()
/Linux-v4.19/drivers/usb/musb/
Dmusb_gadget.c1515 static int musb_gadget_get_frame(struct usb_gadget *gadget) in musb_gadget_get_frame()
1522 static int musb_gadget_wakeup(struct usb_gadget *gadget) in musb_gadget_wakeup()
1597 musb_gadget_set_self_powered(struct usb_gadget *gadget, int is_selfpowered) in musb_gadget_set_self_powered()
1634 static int musb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in musb_gadget_vbus_draw()
1657 static int musb_gadget_pullup(struct usb_gadget *gadget, int is_on) in musb_gadget_pullup()
/Linux-v4.19/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
2006 struct usb_gadget *gadget = c->cdev->gadget; in tcm_bind() local

1234