Home
last modified time | relevance | path

Searched refs:usb_composite_dev (Results 1 – 41 of 41) sorted by relevance

/linux-4.1.27/include/linux/usb/
Dcomposite.h308 struct usb_composite_dev *cdev;
321 int usb_add_config(struct usb_composite_dev *,
325 void usb_remove_config(struct usb_composite_dev *,
379 int (*bind)(struct usb_composite_dev *cdev);
380 int (*unbind)(struct usb_composite_dev *);
382 void (*disconnect)(struct usb_composite_dev *);
385 void (*suspend)(struct usb_composite_dev *);
386 void (*resume)(struct usb_composite_dev *);
407 extern void usb_composite_setup_continue(struct usb_composite_dev *cdev);
409 struct usb_composite_dev *cdev);
[all …]
/linux-4.1.27/drivers/usb/gadget/
Dcomposite.c106 struct usb_composite_dev *cdev = get_gadget_data(g); in config_ep_by_speed()
275 struct usb_composite_dev *cdev = function->config->cdev; in usb_function_deactivate()
303 struct usb_composite_dev *cdev = function->config->cdev; in usb_function_activate()
439 static int config_desc(struct usb_composite_dev *cdev, unsigned w_value) in config_desc()
498 static int count_configs(struct usb_composite_dev *cdev, unsigned type) in count_configs()
540 static int bos_desc(struct usb_composite_dev *cdev) in bos_desc()
596 static void device_qual(struct usb_composite_dev *cdev) in device_qual()
615 static void reset_config(struct usb_composite_dev *cdev) in reset_config()
631 static int set_config(struct usb_composite_dev *cdev, in set_config()
738 int usb_add_config_only(struct usb_composite_dev *cdev, in usb_add_config_only()
[all …]
Dconfigfs.c62 struct usb_composite_dev cdev;
375 struct usb_composite_dev *cdev = cfg->c.cdev; in config_usb_cfg_link()
426 struct usb_composite_dev *cdev = cfg->c.cdev; in config_usb_cfg_unlink()
539 static void composite_init_dev(struct usb_composite_dev *cdev) in composite_init_dev()
882 struct usb_composite_dev *cdev = &gi->cdev; in os_desc_link()
917 struct usb_composite_dev *cdev = &gi->cdev; in os_desc_unlink()
1266 static int configfs_do_nothing(struct usb_composite_dev *cdev) in configfs_do_nothing()
1273 struct usb_composite_dev *dev);
1275 int composite_os_desc_req_prepare(struct usb_composite_dev *cdev,
1311 struct usb_composite_dev *cdev = &gi->cdev; in configfs_composite_bind()
[all …]
/linux-4.1.27/drivers/usb/gadget/legacy/
Dmulti.c203 static __ref int rndis_config_register(struct usb_composite_dev *cdev) in rndis_config_register()
218 static __ref int rndis_config_register(struct usb_composite_dev *cdev) in rndis_config_register()
286 static __ref int cdc_config_register(struct usb_composite_dev *cdev) in cdc_config_register()
301 static __ref int cdc_config_register(struct usb_composite_dev *cdev) in cdc_config_register()
312 static int __ref multi_bind(struct usb_composite_dev *cdev) in multi_bind()
451 static int multi_unbind(struct usb_composite_dev *cdev) in multi_unbind()
Dzero.c175 struct usb_composite_dev *cdev = (void *)_c; in zero_autoresume()
192 static void zero_suspend(struct usb_composite_dev *cdev) in zero_suspend()
212 static void zero_resume(struct usb_composite_dev *cdev) in zero_resume()
275 static int zero_bind(struct usb_composite_dev *cdev) in zero_bind()
391 static int zero_unbind(struct usb_composite_dev *cdev) in zero_unbind()
Dserial.c129 static int serial_register_ports(struct usb_composite_dev *cdev, in serial_register_ports()
177 static int gs_bind(struct usb_composite_dev *cdev) in gs_bind()
222 static int gs_unbind(struct usb_composite_dev *cdev) in gs_unbind()
Dncm.c146 static int gncm_bind(struct usb_composite_dev *cdev) in gncm_bind()
189 static int gncm_unbind(struct usb_composite_dev *cdev) in gncm_unbind()
Dgmidi.c121 static int midi_unbind(struct usb_composite_dev *dev) in midi_unbind()
153 static int midi_bind(struct usb_composite_dev *cdev) in midi_bind()
Dprinter.c155 static int printer_bind(struct usb_composite_dev *cdev) in printer_bind()
194 static int printer_unbind(struct usb_composite_dev *cdev) in printer_unbind()
Dcdc2.c156 static int cdc_bind(struct usb_composite_dev *cdev) in cdc_bind()
214 static int cdc_unbind(struct usb_composite_dev *cdev) in cdc_unbind()
Dmass_storage.c169 static int msg_bind(struct usb_composite_dev *cdev) in msg_bind()
228 static int msg_unbind(struct usb_composite_dev *cdev) in msg_unbind()
Dg_ffs.c161 static int gfs_bind(struct usb_composite_dev *cdev);
162 static int gfs_unbind(struct usb_composite_dev *cdev);
330 static int gfs_bind(struct usb_composite_dev *cdev) in gfs_bind()
452 static int gfs_unbind(struct usb_composite_dev *cdev) in gfs_unbind()
Dacm_ms.c173 static int acm_ms_bind(struct usb_composite_dev *cdev) in acm_ms_bind()
242 static int acm_ms_unbind(struct usb_composite_dev *cdev) in acm_ms_unbind()
Dhid.c150 static int hid_bind(struct usb_composite_dev *cdev) in hid_bind()
208 static int hid_unbind(struct usb_composite_dev *cdev) in hid_unbind()
Daudio.c219 static int audio_bind(struct usb_composite_dev *cdev) in audio_bind()
279 static int audio_unbind(struct usb_composite_dev *cdev) in audio_unbind()
Dether.c321 static int eth_bind(struct usb_composite_dev *cdev) in eth_bind()
450 static int eth_unbind(struct usb_composite_dev *cdev) in eth_unbind()
Dnokia.c227 static int nokia_bind(struct usb_composite_dev *cdev) in nokia_bind()
310 static int nokia_unbind(struct usb_composite_dev *cdev) in nokia_unbind()
Dwebcam.c362 webcam_unbind(struct usb_composite_dev *cdev) in webcam_unbind()
372 webcam_bind(struct usb_composite_dev *cdev) in webcam_bind()
Dtcm_usb_gadget.c434 struct usb_composite_dev *cdev = f->config->cdev; in usbg_bot_setup()
2179 static int guas_unbind(struct usb_composite_dev *cdev) in guas_unbind()
2376 static int usb_target_bind(struct usb_composite_dev *cdev) in usb_target_bind()
/linux-4.1.27/drivers/usb/gadget/function/
Df_loopback.c177 struct usb_composite_dev *cdev = c->cdev; in loopback_bind()
249 struct usb_composite_dev *cdev = loop->function.config->cdev; in loopback_complete()
289 struct usb_composite_dev *cdev; in disable_loopback()
301 static int enable_endpoint(struct usb_composite_dev *cdev, struct f_loopback *loop, in enable_endpoint()
349 enable_loopback(struct usb_composite_dev *cdev, struct f_loopback *loop) in enable_loopback()
369 struct usb_composite_dev *cdev = f->config->cdev; in loopback_set_alt()
Df_obex.c198 struct usb_composite_dev *cdev = f->config->cdev; in obex_set_alt()
257 struct usb_composite_dev *cdev = f->config->cdev; in obex_disable()
268 struct usb_composite_dev *cdev = g->func.config->cdev; in obex_connect()
284 struct usb_composite_dev *cdev = g->func.config->cdev; in obex_disconnect()
316 struct usb_composite_dev *cdev = c->cdev; in obex_bind()
Df_sourcesink.c316 static void disable_ep(struct usb_composite_dev *cdev, struct usb_ep *ep) in disable_ep()
329 void disable_endpoints(struct usb_composite_dev *cdev, in disable_endpoints()
344 struct usb_composite_dev *cdev = c->cdev; in sourcesink_bind()
497 struct usb_composite_dev *cdev = ss->function.config->cdev; in check_read_data()
550 struct usb_composite_dev *cdev; in source_sink_complete()
643 struct usb_composite_dev *cdev; in source_sink_start_ep()
661 struct usb_composite_dev *cdev; in disable_source_sink()
670 enable_source_sink(struct usb_composite_dev *cdev, struct f_sourcesink *ss, in enable_source_sink()
770 struct usb_composite_dev *cdev = f->config->cdev; in sourcesink_set_alt()
Df_uac1.c324 struct usb_composite_dev *cdev = audio->card.func.config->cdev; in f_audio_out_ep_complete()
386 struct usb_composite_dev *cdev = f->config->cdev; in audio_set_intf_req()
422 struct usb_composite_dev *cdev = f->config->cdev; in audio_get_intf_req()
459 struct usb_composite_dev *cdev = f->config->cdev; in audio_set_endpoint_req()
495 struct usb_composite_dev *cdev = f->config->cdev; in audio_get_endpoint_req()
523 struct usb_composite_dev *cdev = f->config->cdev; in f_audio_setup()
575 struct usb_composite_dev *cdev = f->config->cdev; in f_audio_set_alt()
671 struct usb_composite_dev *cdev = c->cdev; in f_audio_bind()
Df_eem.c172 struct usb_composite_dev *cdev = f->config->cdev; in eem_setup()
190 struct usb_composite_dev *cdev = f->config->cdev; in eem_set_alt()
236 struct usb_composite_dev *cdev = f->config->cdev; in eem_disable()
250 struct usb_composite_dev *cdev = c->cdev; in eem_bind()
403 struct usb_composite_dev *cdev = port->func.config->cdev; in eem_unwrap()
Df_rndis.c388 struct usb_composite_dev *cdev = rndis->port.func.config->cdev; in rndis_response_available()
413 struct usb_composite_dev *cdev = rndis->port.func.config->cdev; in rndis_response_complete()
467 struct usb_composite_dev *cdev = f->config->cdev; in rndis_setup()
541 struct usb_composite_dev *cdev = f->config->cdev; in rndis_set_alt()
613 struct usb_composite_dev *cdev = f->config->cdev; in rndis_disable()
639 struct usb_composite_dev *cdev = geth->func.config->cdev; in rndis_open()
672 struct usb_composite_dev *cdev = c->cdev; in rndis_bind()
Df_serial.c153 struct usb_composite_dev *cdev = f->config->cdev; in gser_set_alt()
179 struct usb_composite_dev *cdev = f->config->cdev; in gser_disable()
192 struct usb_composite_dev *cdev = c->cdev; in gser_bind()
Dg_zero.h63 void disable_endpoints(struct usb_composite_dev *cdev,
Df_acm.c313 struct usb_composite_dev *cdev = acm->port.func.config->cdev; in acm_complete_set_line_coding()
343 struct usb_composite_dev *cdev = f->config->cdev; in acm_setup()
427 struct usb_composite_dev *cdev = f->config->cdev; in acm_set_alt()
474 struct usb_composite_dev *cdev = f->config->cdev; in acm_disable()
541 struct usb_composite_dev *cdev = acm->port.func.config->cdev; in acm_notify_serial_state()
614 struct usb_composite_dev *cdev = c->cdev; in acm_bind()
Df_ecm.c382 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_do_notify()
449 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_notify_complete()
472 struct usb_composite_dev *cdev = f->config->cdev; in ecm_setup()
537 struct usb_composite_dev *cdev = f->config->cdev; in ecm_set_alt()
627 struct usb_composite_dev *cdev = f->config->cdev; in ecm_disable()
688 struct usb_composite_dev *cdev = c->cdev; in ecm_bind()
Df_uvc.c266 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_function_setup_continue()
290 struct usb_composite_dev *cdev = f->config->cdev; in uvc_function_set_alt()
413 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_function_connect()
423 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_function_disconnect()
437 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_register_video()
596 struct usb_composite_dev *cdev = c->cdev; in uvc_function_bind()
888 struct usb_composite_dev *cdev = c->cdev; in uvc_unbind()
Df_subset.c260 struct usb_composite_dev *cdev = f->config->cdev; in geth_set_alt()
285 struct usb_composite_dev *cdev = f->config->cdev; in geth_disable()
298 struct usb_composite_dev *cdev = c->cdev; in geth_bind()
Df_midi.c250 struct usb_composite_dev *cdev = midi->func.config->cdev; in f_midi_complete()
303 struct usb_composite_dev *cdev = f->config->cdev; in f_midi_start_ep()
328 struct usb_composite_dev *cdev = f->config->cdev; in f_midi_set_alt()
380 struct usb_composite_dev *cdev = f->config->cdev; in f_midi_disable()
718 struct usb_composite_dev *cdev = c->cdev; in f_midi_bind()
1089 struct usb_composite_dev *cdev = f->config->cdev; in f_midi_unbind()
Df_ncm.c478 struct usb_composite_dev *cdev = ncm->port.func.config->cdev; in ncm_do_notify()
560 struct usb_composite_dev *cdev = ncm->port.func.config->cdev; in ncm_notify_complete()
589 struct usb_composite_dev *cdev = ep->driver_data; in ncm_ep0out_complete()
616 struct usb_composite_dev *cdev = f->config->cdev; in ncm_setup()
799 struct usb_composite_dev *cdev = f->config->cdev; in ncm_set_alt()
1276 struct usb_composite_dev *cdev = f->config->cdev; in ncm_disable()
1343 struct usb_composite_dev *cdev = c->cdev; in ncm_bind()
Df_mass_storage.h138 struct usb_composite_dev *cdev, bool can_stall);
Duvc_v4l2.c38 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_send_response()
72 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_v4l2_querycap()
Df_hid.c394 struct usb_composite_dev *cdev = f->config->cdev; in hidg_setup()
508 struct usb_composite_dev *cdev = f->config->cdev; in hidg_set_alt()
Df_uac2.c1006 struct usb_composite_dev *cdev = cfg->cdev; in afunc_bind()
1145 struct usb_composite_dev *cdev = fn->config->cdev; in afunc_set_alt()
1412 struct usb_composite_dev *cdev = fn->config->cdev; in afunc_setup()
Df_printer.c938 struct usb_composite_dev *cdev = f->config->cdev; in printer_func_setup()
1013 struct usb_composite_dev *cdev = c->cdev; in printer_func_bind()
Df_phonet.c488 struct usb_composite_dev *cdev = c->cdev; in pn_bind()
Df_mass_storage.c260 struct usb_composite_dev *cdev;
2796 struct usb_composite_dev *cdev, bool can_stall) in fsg_common_set_cdev()
Df_fs.c1510 static int functionfs_bind(struct ffs_data *ffs, struct usb_composite_dev *cdev) in functionfs_bind()