Home
last modified time | relevance | path

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

12

/linux/include/linux/usb/
H A Dcomposite.h324 struct usb_composite_dev *cdev;
338 int usb_add_config(struct usb_composite_dev *,
342 void usb_remove_config(struct usb_composite_dev *,
396 int (*bind)(struct usb_composite_dev *cdev);
397 int (*unbind)(struct usb_composite_dev *);
399 void (*disconnect)(struct usb_composite_dev *);
402 void (*suspend)(struct usb_composite_dev *);
403 void (*resume)(struct usb_composite_dev *);
424 extern void usb_composite_setup_continue(struct usb_composite_dev *cdev);
426 struct usb_composite_dev *cdev);
[all …]
/linux/drivers/usb/gadget/
H A Dcomposite.c164 struct usb_composite_dev *cdev; in config_ep_by_speed_and_alt()
399 struct usb_composite_dev *cdev = function->config->cdev; in usb_function_deactivate()
430 struct usb_composite_dev *cdev = function->config->cdev; in usb_function_activate()
614 static int config_desc(struct usb_composite_dev *cdev, unsigned w_value) in config_desc()
677 static int count_configs(struct usb_composite_dev *cdev, unsigned type) in count_configs()
725 static int bos_desc(struct usb_composite_dev *cdev) in bos_desc()
909 static void device_qual(struct usb_composite_dev *cdev) in device_qual()
928 static void reset_config(struct usb_composite_dev *cdev) in reset_config()
947 static int set_config(struct usb_composite_dev *cdev, in set_config()
1065 int usb_add_config_only(struct usb_composite_dev *cdev, in usb_add_config_only()
[all …]
H A Dconfigfs.c51 struct usb_composite_dev cdev;
594 static void composite_init_dev(struct usb_composite_dev *cdev) in composite_init_dev()
1221 struct usb_composite_dev *cdev = &gi->cdev; in os_desc_link()
1255 struct usb_composite_dev *cdev = &gi->cdev; in os_desc_unlink()
1567 static int configfs_do_nothing(struct usb_composite_dev *cdev) in configfs_do_nothing()
1574 struct usb_composite_dev *dev);
1576 int composite_os_desc_req_prepare(struct usb_composite_dev *cdev,
1688 struct usb_composite_dev *cdev = &gi->cdev; in configfs_composite_bind()
1827 struct usb_composite_dev *cdev; in configfs_composite_unbind()
1855 struct usb_composite_dev *cdev; in configfs_composite_setup()
[all …]
/linux/drivers/usb/gadget/legacy/
H A Dmulti.c185 static int rndis_config_register(struct usb_composite_dev *cdev) in rndis_config_register()
200 static int rndis_config_register(struct usb_composite_dev *cdev) in rndis_config_register()
268 static int cdc_config_register(struct usb_composite_dev *cdev) in cdc_config_register()
283 static int cdc_config_register(struct usb_composite_dev *cdev) in cdc_config_register()
294 static int multi_bind(struct usb_composite_dev *cdev) in multi_bind()
449 static int multi_unbind(struct usb_composite_dev *cdev) in multi_unbind()
H A Dzero.c153 static struct usb_composite_dev *autoresume_cdev;
157 struct usb_composite_dev *cdev = autoresume_cdev; in zero_autoresume()
174 static void zero_suspend(struct usb_composite_dev *cdev) in zero_suspend()
194 static void zero_resume(struct usb_composite_dev *cdev) in zero_resume()
265 static int zero_bind(struct usb_composite_dev *cdev) in zero_bind()
399 static int zero_unbind(struct usb_composite_dev *cdev) in zero_unbind()
H A Dserial.c143 static int serial_register_ports(struct usb_composite_dev *cdev, in serial_register_ports()
191 static int gs_bind(struct usb_composite_dev *cdev) in gs_bind()
250 static int gs_unbind(struct usb_composite_dev *cdev) in gs_unbind()
H A Dtcm_usb_gadget.c64 static int guas_unbind(struct usb_composite_dev *cdev) in guas_unbind()
98 static int usb_target_bind(struct usb_composite_dev *cdev) in usb_target_bind()
H A Dncm.c127 static int gncm_bind(struct usb_composite_dev *cdev) in gncm_bind()
186 static int gncm_unbind(struct usb_composite_dev *cdev) in gncm_unbind()
H A Dgmidi.c110 static int midi_unbind(struct usb_composite_dev *dev) in midi_unbind()
142 static int midi_bind(struct usb_composite_dev *cdev) in midi_bind()
H A Dg_ffs.c143 static int gfs_bind(struct usb_composite_dev *cdev);
144 static int gfs_unbind(struct usb_composite_dev *cdev);
308 static int gfs_bind(struct usb_composite_dev *cdev) in gfs_bind()
440 static int gfs_unbind(struct usb_composite_dev *cdev) in gfs_unbind()
H A Dprinter.c139 static int printer_bind(struct usb_composite_dev *cdev) in printer_bind()
202 static int printer_unbind(struct usb_composite_dev *cdev) in printer_unbind()
H A Dmass_storage.c139 static int msg_bind(struct usb_composite_dev *cdev) in msg_bind()
208 static int msg_unbind(struct usb_composite_dev *cdev) in msg_unbind()
H A Dcdc2.c138 static int cdc_bind(struct usb_composite_dev *cdev) in cdc_bind()
212 static int cdc_unbind(struct usb_composite_dev *cdev) in cdc_unbind()
H A Dacm_ms.c152 static int acm_ms_bind(struct usb_composite_dev *cdev) in acm_ms_bind()
237 static int acm_ms_unbind(struct usb_composite_dev *cdev) in acm_ms_unbind()
/linux/drivers/usb/gadget/function/
H A Df_loopback.c168 struct usb_composite_dev *cdev = c->cdev; in loopback_bind()
236 struct usb_composite_dev *cdev = loop->function.config->cdev; in loopback_complete()
296 struct usb_composite_dev *cdev; in disable_loopback()
308 static int alloc_requests(struct usb_composite_dev *cdev, in alloc_requests()
358 static int enable_endpoint(struct usb_composite_dev *cdev, in enable_endpoint()
378 enable_loopback(struct usb_composite_dev *cdev, struct f_loopback *loop) in enable_loopback()
409 struct usb_composite_dev *cdev = f->config->cdev; in loopback_set_alt()
H A Df_obex.c192 struct usb_composite_dev *cdev = f->config->cdev; in obex_set_alt()
251 struct usb_composite_dev *cdev = f->config->cdev; in obex_disable()
262 struct usb_composite_dev *cdev = g->func.config->cdev; in obex_connect()
275 struct usb_composite_dev *cdev = g->func.config->cdev; in obex_disconnect()
304 struct usb_composite_dev *cdev = c->cdev; in obex_bind()
H A Df_ecm.c369 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_do_notify()
435 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_notify_complete()
460 struct usb_composite_dev *cdev = f->config->cdev; in ecm_setup()
525 struct usb_composite_dev *cdev = f->config->cdev; in ecm_set_alt()
612 struct usb_composite_dev *cdev = f->config->cdev; in ecm_disable()
674 struct usb_composite_dev *cdev = c->cdev; in ecm_bind()
878 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_suspend()
888 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_resume()
H A Df_uac1_legacy.c324 struct usb_composite_dev *cdev = audio->card.func.config->cdev; in f_audio_out_ep_complete()
388 struct usb_composite_dev *cdev = f->config->cdev; in audio_set_intf_req()
424 struct usb_composite_dev *cdev = f->config->cdev; in audio_get_intf_req()
461 struct usb_composite_dev *cdev = f->config->cdev; in audio_set_endpoint_req()
497 struct usb_composite_dev *cdev = f->config->cdev; in audio_get_endpoint_req()
525 struct usb_composite_dev *cdev = f->config->cdev; in f_audio_setup()
577 struct usb_composite_dev *cdev = f->config->cdev; in f_audio_set_alt()
658 struct usb_composite_dev *cdev = f->config->cdev; in f_audio_get_alt()
702 struct usb_composite_dev *cdev = c->cdev; in f_audio_bind()
H A Df_eem.c173 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()
396 struct usb_composite_dev *cdev = port->func.config->cdev; in eem_unwrap()
H A Df_rndis.c376 struct usb_composite_dev *cdev = rndis->port.func.config->cdev; in rndis_response_available()
401 struct usb_composite_dev *cdev = rndis->port.func.config->cdev; in rndis_response_complete()
455 struct usb_composite_dev *cdev = f->config->cdev; in rndis_setup()
529 struct usb_composite_dev *cdev = f->config->cdev; in rndis_set_alt()
599 struct usb_composite_dev *cdev = f->config->cdev; in rndis_disable()
625 struct usb_composite_dev *cdev = geth->func.config->cdev; in rndis_open()
658 struct usb_composite_dev *cdev = c->cdev; in rndis_bind()
H A Df_sourcesink.c295 static void disable_ep(struct usb_composite_dev *cdev, struct usb_ep *ep) in disable_ep()
304 void disable_endpoints(struct usb_composite_dev *cdev, in disable_endpoints()
319 struct usb_composite_dev *cdev = c->cdev; in sourcesink_bind()
466 struct usb_composite_dev *cdev = ss->function.config->cdev; in check_read_data()
522 struct usb_composite_dev *cdev; in source_sink_complete()
620 struct usb_composite_dev *cdev; in source_sink_start_ep()
636 struct usb_composite_dev *cdev; in disable_source_sink()
645 enable_source_sink(struct usb_composite_dev *cdev, struct f_sourcesink *ss, in enable_source_sink()
740 struct usb_composite_dev *cdev = f->config->cdev; in sourcesink_set_alt()
H A Df_acm.c300 struct usb_composite_dev *cdev = acm->port.func.config->cdev; in acm_complete_set_line_coding()
332 struct usb_composite_dev *cdev = f->config->cdev; in acm_setup()
424 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()
611 struct usb_composite_dev *cdev = c->cdev; in acm_bind()
H A Df_serial.c149 struct usb_composite_dev *cdev = f->config->cdev; in gser_set_alt()
175 struct usb_composite_dev *cdev = f->config->cdev; in gser_disable()
188 struct usb_composite_dev *cdev = c->cdev; in gser_bind()
H A Df_subset.c256 struct usb_composite_dev *cdev = f->config->cdev; in geth_set_alt()
281 struct usb_composite_dev *cdev = f->config->cdev; in geth_disable()
294 struct usb_composite_dev *cdev = c->cdev; in geth_bind()
/linux/net/9p/
H A Dtrans_usbg.c94 struct usb_composite_dev *cdev = usb9pfs->function.config->cdev; in usb9pfs_queue_tx()
120 struct usb_composite_dev *cdev = usb9pfs->function.config->cdev; in usb9pfs_queue_rx()
150 struct usb_composite_dev *cdev = usb9pfs->function.config->cdev; in usb9pfs_tx_complete()
232 struct usb_composite_dev *cdev = usb9pfs->function.config->cdev; in usb9pfs_rx_complete()
255 static void disable_ep(struct usb_composite_dev *cdev, struct usb_ep *ep) in disable_ep()
267 struct usb_composite_dev *cdev = in disable_usb9pfs()
286 static int alloc_requests(struct usb_composite_dev *cdev, in alloc_requests()
318 static int enable_endpoint(struct usb_composite_dev *cdev, in enable_endpoint()
337 enable_usb9pfs(struct usb_composite_dev *cdev, struct f_usb9pfs *usb9pfs) in enable_usb9pfs()
642 struct usb_composite_dev *cdev = c->cdev; in usb9pfs_func_bind()
[all …]

12