Home
last modified time | relevance | path

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

1234

/drivers/usb/gadget/
Dudc-core.c42 struct usb_gadget *gadget; member
53 int usb_gadget_map_request(struct usb_gadget *gadget, in usb_gadget_map_request()
84 void usb_gadget_unmap_request(struct usb_gadget *gadget, in usb_gadget_unmap_request()
104 void usb_gadget_set_state(struct usb_gadget *gadget, in usb_gadget_set_state()
128 static inline int usb_gadget_udc_start(struct usb_gadget *gadget, in usb_gadget_udc_start()
146 static inline void usb_gadget_udc_stop(struct usb_gadget *gadget, in usb_gadget_udc_stop()
184 int usb_add_gadget_udc_release(struct device *parent, struct usb_gadget *gadget, in usb_add_gadget_udc_release()
258 int usb_add_gadget_udc(struct device *parent, struct usb_gadget *gadget) in usb_add_gadget_udc()
288 void usb_del_gadget_udc(struct usb_gadget *gadget) in usb_del_gadget_udc()
469 struct usb_gadget *gadget = udc->gadget; in usb_gadget_state_show() local
Depautoconf.c44 struct usb_gadget *gadget, in ep_matches()
193 find_ep (struct usb_gadget *gadget, const char *name) in find_ep()
249 struct usb_gadget *gadget, in usb_ep_autoconfig_ss()
353 struct usb_gadget *gadget, in usb_ep_autoconfig()
370 void usb_ep_autoconfig_reset (struct usb_gadget *gadget) in usb_ep_autoconfig_reset()
Ddbgp.c26 struct usb_gadget *gadget; member
212 static void dbgp_disconnect(struct usb_gadget *gadget) in dbgp_disconnect()
221 static void dbgp_unbind(struct usb_gadget *gadget) in dbgp_unbind()
238 static int __init dbgp_configure_endpoints(struct usb_gadget *gadget) in dbgp_configure_endpoints()
294 static int __init dbgp_bind(struct usb_gadget *gadget, in dbgp_bind()
348 static int dbgp_setup(struct usb_gadget *gadget, in dbgp_setup()
Dcomposite.c423 struct usb_gadget *gadget = cdev->gadget; in config_desc() local
468 struct usb_gadget *gadget = cdev->gadget; in count_configs() local
601 struct usb_gadget *gadget = cdev->gadget; in set_config() local
1217 composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) in composite_setup()
1483 void composite_disconnect(struct usb_gadget *gadget) in composite_disconnect()
1505 struct usb_gadget *gadget = dev_to_usb_gadget(dev); in composite_show_suspended() local
1513 static void __composite_unbind(struct usb_gadget *gadget, bool unbind_driver) in __composite_unbind()
1541 static void composite_unbind(struct usb_gadget *gadget) in composite_unbind()
1587 struct usb_gadget *gadget = cdev->gadget; in composite_dev_prepare() local
1646 static int composite_bind(struct usb_gadget *gadget, in composite_bind()
[all …]
Dat91_udc.c786 static int at91_get_frame(struct usb_gadget *gadget) in at91_get_frame()
795 static int at91_wakeup(struct usb_gadget *gadget) in at91_wakeup()
940 static int at91_vbus_session(struct usb_gadget *gadget, int is_active) in at91_vbus_session()
956 static int at91_pullup(struct usb_gadget *gadget, int is_on) in at91_pullup()
968 static int at91_set_selfpowered(struct usb_gadget *gadget, int is_on) in at91_set_selfpowered()
1627 static int at91_start(struct usb_gadget *gadget, in at91_start()
1642 static int at91_stop(struct usb_gadget *gadget, in at91_stop()
Ds3c-hsudc.c144 struct usb_gadget gadget; member
176 static inline struct s3c_hsudc *to_hsudc(struct usb_gadget *gadget) in to_hsudc()
1138 static int s3c_hsudc_start(struct usb_gadget *gadget, in s3c_hsudc_start()
1194 static int s3c_hsudc_stop(struct usb_gadget *gadget, in s3c_hsudc_stop()
1235 static int s3c_hsudc_gadget_getframe(struct usb_gadget *gadget) in s3c_hsudc_gadget_getframe()
1240 static int s3c_hsudc_vbus_draw(struct usb_gadget *gadget, unsigned mA) in s3c_hsudc_vbus_draw()
Dinode.c137 struct usb_gadget *gadget; member
1312 struct usb_gadget *gadget = dev->gadget; in dev_ioctl() local
1392 gadgetfs_setup (struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) in gadgetfs_setup()
1675 gadgetfs_unbind (struct usb_gadget *gadget) in gadgetfs_unbind()
1698 static int gadgetfs_bind(struct usb_gadget *gadget, in gadgetfs_bind()
1738 gadgetfs_disconnect (struct usb_gadget *gadget) in gadgetfs_disconnect()
1756 gadgetfs_suspend (struct usb_gadget *gadget) in gadgetfs_suspend()
1792 static int gadgetfs_probe(struct usb_gadget *gadget, in gadgetfs_probe()
Df_phonet.c403 struct usb_gadget *gadget = fp->function.config->cdev->gadget; in pn_set_alt() local
485 struct usb_gadget *gadget = cdev->gadget; in pn_bind() local
609 int __init gphonet_setup(struct usb_gadget *gadget) in gphonet_setup()
Ds3c2410_udc.h20 struct usb_gadget *gadget; member
81 struct usb_gadget gadget; member
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()
1248 static int omap_vbus_session(struct usb_gadget *gadget, int is_active) in omap_vbus_session()
1287 static int omap_vbus_draw(struct usb_gadget *gadget, unsigned mA) in omap_vbus_draw()
1297 static int omap_pullup(struct usb_gadget *gadget, int is_on) in omap_pullup()
Dmv_udc_core.c1125 static int mv_udc_get_frame(struct usb_gadget *gadget) in mv_udc_get_frame()
1141 static int mv_udc_wakeup(struct usb_gadget *gadget) in mv_udc_wakeup()
1160 static int mv_udc_vbus_session(struct usb_gadget *gadget, int is_active) in mv_udc_vbus_session()
1197 static int mv_udc_pullup(struct usb_gadget *gadget, int is_on) in mv_udc_pullup()
1334 static int mv_udc_start(struct usb_gadget *gadget, in mv_udc_start()
1379 static int mv_udc_stop(struct usb_gadget *gadget, in mv_udc_stop()
Datmel_usba_udc.c949 static int usba_udc_get_frame(struct usb_gadget *gadget) in usba_udc_get_frame()
956 static int usba_udc_wakeup(struct usb_gadget *gadget) in usba_udc_wakeup()
975 usba_udc_set_selfpowered(struct usb_gadget *gadget, int is_selfpowered) in usba_udc_set_selfpowered()
1777 static int atmel_usba_start(struct usb_gadget *gadget, in atmel_usba_start()
1810 static int atmel_usba_stop(struct usb_gadget *gadget, in atmel_usba_stop()
Dgadget_chips.h41 static inline bool gadget_supports_altsettings(struct usb_gadget *gadget) in gadget_supports_altsettings()
Dtcm_usb_gadget.c217 struct usb_gadget *gadget = fuas_to_gadget(fu); in bot_send_read_response() local
259 struct usb_gadget *gadget = fuas_to_gadget(fu); in bot_send_write_request() local
401 struct usb_gadget *gadget = f->config->cdev->gadget; in bot_set_alt() local
527 struct usb_gadget *gadget = fuas_to_gadget(fu); in uasp_prepare_r_request() local
857 struct usb_gadget *gadget = f->config->cdev->gadget; in uasp_set_alt() local
992 struct usb_gadget *gadget = fuas_to_gadget(fu); in usbg_prepare_w_request() local
2241 struct usb_gadget *gadget = c->cdev->gadget; in usbg_bind() local
Dncm.c143 struct usb_gadget *gadget = cdev->gadget; in gncm_bind() local
Du_uac1.h43 struct usb_gadget *gadget; member
Dcdc2.c159 struct usb_gadget *gadget = cdev->gadget; in cdc_bind() local
Dacm_ms.c165 struct usb_gadget *gadget = cdev->gadget; in acm_ms_bind() local
Ds3c2410_udc.c1037 static inline struct s3c2410_udc *to_s3c2410_udc(struct usb_gadget *gadget) in to_s3c2410_udc()
1450 static int s3c2410_udc_set_selfpowered(struct usb_gadget *gadget, int value) in s3c2410_udc_set_selfpowered()
1491 static int s3c2410_udc_vbus_session(struct usb_gadget *gadget, int is_active) in s3c2410_udc_vbus_session()
1502 static int s3c2410_udc_pullup(struct usb_gadget *gadget, int is_on) in s3c2410_udc_pullup()
Dfsl_udc_core.c1144 static int fsl_get_frame(struct usb_gadget *gadget) in fsl_get_frame()
1152 static int fsl_wakeup(struct usb_gadget *gadget) in fsl_wakeup()
1178 static int fsl_vbus_session(struct usb_gadget *gadget, int is_active) in fsl_vbus_session()
1204 static int fsl_vbus_draw(struct usb_gadget *gadget, unsigned mA) in fsl_vbus_draw()
1217 static int fsl_pullup(struct usb_gadget *gadget, int is_on) in fsl_pullup()
Dnokia.c175 struct usb_gadget *gadget = cdev->gadget; in nokia_bind() local
Dether.c278 struct usb_gadget *gadget = cdev->gadget; in eth_bind() local
Dhid.c144 struct usb_gadget *gadget = cdev->gadget; in hid_bind() local
/drivers/usb/musb/
Dmusb_gadget.c1520 static int musb_gadget_get_frame(struct usb_gadget *gadget) in musb_gadget_get_frame()
1527 static int musb_gadget_wakeup(struct usb_gadget *gadget) in musb_gadget_wakeup()
1602 musb_gadget_set_self_powered(struct usb_gadget *gadget, int is_selfpowered) in musb_gadget_set_self_powered()
1641 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/renesas_usbhs/
Dmod_gadget.c46 struct usb_gadget gadget; member
835 static int usbhsg_gadget_start(struct usb_gadget *gadget, in usbhsg_gadget_start()
852 static int usbhsg_gadget_stop(struct usb_gadget *gadget, in usbhsg_gadget_stop()
871 static int usbhsg_get_frame(struct usb_gadget *gadget) in usbhsg_get_frame()
879 static int usbhsg_pullup(struct usb_gadget *gadget, int is_on) in usbhsg_pullup()
889 static int usbhsg_set_selfpowered(struct usb_gadget *gadget, int is_self) in usbhsg_set_selfpowered()

1234