Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/usb/
Dcomposite.h310 struct usb_composite_dev *cdev;
323 int usb_add_config(struct usb_composite_dev *,
327 void usb_remove_config(struct usb_composite_dev *,
381 int (*bind)(struct usb_composite_dev *cdev);
382 int (*unbind)(struct usb_composite_dev *);
384 void (*disconnect)(struct usb_composite_dev *);
387 void (*suspend)(struct usb_composite_dev *);
388 void (*resume)(struct usb_composite_dev *);
409 extern void usb_composite_setup_continue(struct usb_composite_dev *cdev);
411 struct usb_composite_dev *cdev);
[all …]
/linux-4.4.14/drivers/usb/gadget/
Dcomposite.c107 struct usb_composite_dev *cdev = get_gadget_data(g); in config_ep_by_speed()
282 struct usb_composite_dev *cdev = function->config->cdev; in usb_function_deactivate()
310 struct usb_composite_dev *cdev = function->config->cdev; in usb_function_activate()
446 static int config_desc(struct usb_composite_dev *cdev, unsigned w_value) in config_desc()
505 static int count_configs(struct usb_composite_dev *cdev, unsigned type) in count_configs()
547 static int bos_desc(struct usb_composite_dev *cdev) in bos_desc()
603 static void device_qual(struct usb_composite_dev *cdev) in device_qual()
622 static void reset_config(struct usb_composite_dev *cdev) in reset_config()
638 static int set_config(struct usb_composite_dev *cdev, in set_config()
745 int usb_add_config_only(struct usb_composite_dev *cdev, in usb_add_config_only()
[all …]
Dconfigfs.c61 struct usb_composite_dev cdev;
364 struct usb_composite_dev *cdev = cfg->c.cdev; in config_usb_cfg_link()
415 struct usb_composite_dev *cdev = cfg->c.cdev; in config_usb_cfg_unlink()
519 static void composite_init_dev(struct usb_composite_dev *cdev) in composite_init_dev()
838 struct usb_composite_dev *cdev = &gi->cdev; in os_desc_link()
873 struct usb_composite_dev *cdev = &gi->cdev; in os_desc_unlink()
1196 static int configfs_do_nothing(struct usb_composite_dev *cdev) in configfs_do_nothing()
1203 struct usb_composite_dev *dev);
1205 int composite_os_desc_req_prepare(struct usb_composite_dev *cdev,
1241 struct usb_composite_dev *cdev = &gi->cdev; in configfs_composite_bind()
[all …]
/linux-4.4.14/drivers/usb/gadget/legacy/
Dmulti.c189 static __ref int rndis_config_register(struct usb_composite_dev *cdev) in rndis_config_register()
204 static __ref int rndis_config_register(struct usb_composite_dev *cdev) in rndis_config_register()
272 static __ref int cdc_config_register(struct usb_composite_dev *cdev) in cdc_config_register()
287 static __ref int cdc_config_register(struct usb_composite_dev *cdev) in cdc_config_register()
298 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.c158 struct usb_composite_dev *cdev = (void *)_c; in zero_autoresume()
175 static void zero_suspend(struct usb_composite_dev *cdev) in zero_suspend()
195 static void zero_resume(struct usb_composite_dev *cdev) in zero_resume()
258 static int zero_bind(struct usb_composite_dev *cdev) in zero_bind()
389 static int zero_unbind(struct usb_composite_dev *cdev) in zero_unbind()
Dserial.c115 static int serial_register_ports(struct usb_composite_dev *cdev, in serial_register_ports()
163 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.c133 static int gncm_bind(struct usb_composite_dev *cdev) in gncm_bind()
190 static int gncm_unbind(struct usb_composite_dev *cdev) in gncm_unbind()
Dgmidi.c119 static int midi_unbind(struct usb_composite_dev *dev) in midi_unbind()
151 static int midi_bind(struct usb_composite_dev *cdev) in midi_bind()
Dprinter.c143 static int printer_bind(struct usb_composite_dev *cdev) in printer_bind()
200 static int printer_unbind(struct usb_composite_dev *cdev) in printer_unbind()
Dcdc2.c142 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()
Dg_ffs.c147 static int gfs_bind(struct usb_composite_dev *cdev);
148 static int gfs_unbind(struct usb_composite_dev *cdev);
316 static int gfs_bind(struct usb_composite_dev *cdev) in gfs_bind()
451 static int gfs_unbind(struct usb_composite_dev *cdev) in gfs_unbind()
Dacm_ms.c159 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()
Dmass_storage.c155 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()
Dhid.c135 static int hid_bind(struct usb_composite_dev *cdev) in hid_bind()
207 static int hid_unbind(struct usb_composite_dev *cdev) in hid_unbind()
Daudio.c205 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.c308 static int eth_bind(struct usb_composite_dev *cdev) in eth_bind()
451 static int eth_unbind(struct usb_composite_dev *cdev) in eth_unbind()
Dnokia.c271 static int nokia_bind(struct usb_composite_dev *cdev) in nokia_bind()
393 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.c428 struct usb_composite_dev *cdev = f->config->cdev; in usbg_bot_setup()
2004 static int guas_unbind(struct usb_composite_dev *cdev) in guas_unbind()
2183 static int usb_target_bind(struct usb_composite_dev *cdev) in usb_target_bind()
/linux-4.4.14/drivers/usb/gadget/function/
Df_loopback.c172 struct usb_composite_dev *cdev = c->cdev; in loopback_bind()
242 struct usb_composite_dev *cdev = loop->function.config->cdev; in loopback_complete()
302 struct usb_composite_dev *cdev; in disable_loopback()
316 static int alloc_requests(struct usb_composite_dev *cdev, in alloc_requests()
366 static int enable_endpoint(struct usb_composite_dev *cdev, in enable_endpoint()
386 enable_loopback(struct usb_composite_dev *cdev, struct f_loopback *loop) in enable_loopback()
417 struct usb_composite_dev *cdev = f->config->cdev; in loopback_set_alt()
Df_obex.c196 struct usb_composite_dev *cdev = f->config->cdev; in obex_set_alt()
255 struct usb_composite_dev *cdev = f->config->cdev; in obex_disable()
266 struct usb_composite_dev *cdev = g->func.config->cdev; in obex_connect()
279 struct usb_composite_dev *cdev = g->func.config->cdev; in obex_disconnect()
308 struct usb_composite_dev *cdev = c->cdev; in obex_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()
233 struct usb_composite_dev *cdev = f->config->cdev; in eem_disable()
247 struct usb_composite_dev *cdev = c->cdev; in eem_bind()
393 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()
611 struct usb_composite_dev *cdev = f->config->cdev; in rndis_disable()
636 struct usb_composite_dev *cdev = geth->func.config->cdev; in rndis_open()
669 struct usb_composite_dev *cdev = c->cdev; in rndis_bind()
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()
670 struct usb_composite_dev *cdev = c->cdev; in f_audio_bind()
Df_sourcesink.c312 static void disable_ep(struct usb_composite_dev *cdev, struct usb_ep *ep) in disable_ep()
321 void disable_endpoints(struct usb_composite_dev *cdev, in disable_endpoints()
336 struct usb_composite_dev *cdev = c->cdev; in sourcesink_bind()
484 struct usb_composite_dev *cdev = ss->function.config->cdev; in check_read_data()
540 struct usb_composite_dev *cdev; in source_sink_complete()
634 struct usb_composite_dev *cdev; in source_sink_start_ep()
652 struct usb_composite_dev *cdev; in disable_source_sink()
661 enable_source_sink(struct usb_composite_dev *cdev, struct f_sourcesink *ss, in enable_source_sink()
756 struct usb_composite_dev *cdev = f->config->cdev; in sourcesink_set_alt()
Df_acm.c312 struct usb_composite_dev *cdev = acm->port.func.config->cdev; in acm_complete_set_line_coding()
342 struct usb_composite_dev *cdev = f->config->cdev; in acm_setup()
426 struct usb_composite_dev *cdev = f->config->cdev; in acm_set_alt()
470 struct usb_composite_dev *cdev = f->config->cdev; in acm_disable()
536 struct usb_composite_dev *cdev = acm->port.func.config->cdev; in acm_notify_serial_state()
609 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()
624 struct usb_composite_dev *cdev = f->config->cdev; in ecm_disable()
682 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()
396 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_function_connect()
406 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_function_disconnect()
420 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_register_video()
579 struct usb_composite_dev *cdev = c->cdev; in uvc_function_bind()
858 struct usb_composite_dev *cdev = c->cdev; in uvc_unbind()
Df_serial.c152 struct usb_composite_dev *cdev = f->config->cdev; in gser_set_alt()
178 struct usb_composite_dev *cdev = f->config->cdev; in gser_disable()
191 struct usb_composite_dev *cdev = c->cdev; in gser_bind()
Dg_zero.h63 void disable_endpoints(struct usb_composite_dev *cdev,
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()
327 struct usb_composite_dev *cdev = f->config->cdev; in f_midi_set_alt()
383 struct usb_composite_dev *cdev = f->config->cdev; in f_midi_disable()
727 struct usb_composite_dev *cdev = c->cdev; in f_midi_bind()
1085 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 = f->config->cdev; 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()
1272 struct usb_composite_dev *cdev = f->config->cdev; in ncm_disable()
1338 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()
505 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()
1139 struct usb_composite_dev *cdev = fn->config->cdev; in afunc_set_alt()
1406 struct usb_composite_dev *cdev = fn->config->cdev; in afunc_setup()
Df_printer.c942 struct usb_composite_dev *cdev = f->config->cdev; in printer_func_setup()
1017 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;
2794 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()