Home
last modified time | relevance | path

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

12

/linux-2.6.39/include/linux/usb/
Dcomposite.h219 struct usb_composite_dev *cdev;
231 int usb_add_config(struct usb_composite_dev *,
276 int (*unbind)(struct usb_composite_dev *);
278 void (*disconnect)(struct usb_composite_dev *);
281 void (*suspend)(struct usb_composite_dev *);
282 void (*resume)(struct usb_composite_dev *);
286 int (*bind)(struct usb_composite_dev *cdev));
322 struct usb_composite_dev { struct
349 extern int usb_string_id(struct usb_composite_dev *c); argument
350 extern int usb_string_ids_tab(struct usb_composite_dev *c,
[all …]
Dfunctionfs.h171 struct usb_composite_dev;
178 static int functionfs_bind(struct ffs_data *ffs, struct usb_composite_dev *cdev)
183 static int functionfs_bind_config(struct usb_composite_dev *cdev,
/linux-2.6.39/drivers/usb/gadget/
Dzero.c204 static void disable_ep(struct usb_composite_dev *cdev, struct usb_ep *ep) in disable_ep()
217 void disable_endpoints(struct usb_composite_dev *cdev, in disable_endpoints()
230 struct usb_composite_dev *cdev = (void *)_c; in zero_autoresume()
247 static void zero_suspend(struct usb_composite_dev *cdev) in zero_suspend()
259 static void zero_resume(struct usb_composite_dev *cdev) in zero_resume()
267 static int __init zero_bind(struct usb_composite_dev *cdev) in zero_bind()
333 static int zero_unbind(struct usb_composite_dev *cdev) in zero_unbind()
Dg_zero.h18 void disable_endpoints(struct usb_composite_dev *cdev,
22 int sourcesink_add(struct usb_composite_dev *cdev, bool autoresume);
23 int loopback_add(struct usb_composite_dev *cdev, bool autoresume);
Dcomposite.c43 static int (*composite_gadget_bind)(struct usb_composite_dev *cdev);
155 struct usb_composite_dev *cdev = function->config->cdev; in usb_function_deactivate()
182 struct usb_composite_dev *cdev = function->config->cdev; in usb_function_activate()
288 static int config_desc(struct usb_composite_dev *cdev, unsigned w_value) in config_desc()
325 static int count_configs(struct usb_composite_dev *cdev, unsigned type) in count_configs()
352 static void device_qual(struct usb_composite_dev *cdev) in device_qual()
371 static void reset_config(struct usb_composite_dev *cdev) in reset_config()
386 static int set_config(struct usb_composite_dev *cdev, in set_config()
488 int usb_add_config(struct usb_composite_dev *cdev, in usb_add_config()
602 static int get_string(struct usb_composite_dev *cdev, in get_string()
[all …]
Dmulti.c191 static int rndis_config_register(struct usb_composite_dev *cdev) in rndis_config_register()
206 static int rndis_config_register(struct usb_composite_dev *cdev) in rndis_config_register()
242 static int cdc_config_register(struct usb_composite_dev *cdev) in cdc_config_register()
257 static int cdc_config_register(struct usb_composite_dev *cdev) in cdc_config_register()
269 static int __ref multi_bind(struct usb_composite_dev *cdev) in multi_bind()
339 static int __exit multi_unbind(struct usb_composite_dev *cdev) in multi_unbind()
Df_sourcesink.c156 struct usb_composite_dev *cdev = c->cdev; in sourcesink_bind()
207 struct usb_composite_dev *cdev = ss->function.config->cdev; in check_read_data()
256 struct usb_composite_dev *cdev = ss->function.config->cdev; in source_sink_complete()
321 struct usb_composite_dev *cdev; in source_sink_start_ep()
335 struct usb_composite_dev *cdev; in disable_source_sink()
343 enable_source_sink(struct usb_composite_dev *cdev, struct f_sourcesink *ss) in enable_source_sink()
390 struct usb_composite_dev *cdev = f->config->cdev; in sourcesink_set_alt()
511 int __init sourcesink_add(struct usb_composite_dev *cdev, bool autoresume) in sourcesink_add()
Df_loopback.c143 struct usb_composite_dev *cdev = c->cdev; in loopback_bind()
193 struct usb_composite_dev *cdev = loop->function.config->cdev; in loopback_complete()
242 struct usb_composite_dev *cdev; in disable_loopback()
250 enable_loopback(struct usb_composite_dev *cdev, struct f_loopback *loop) in enable_loopback()
310 struct usb_composite_dev *cdev = f->config->cdev; in loopback_set_alt()
361 int __init loopback_add(struct usb_composite_dev *cdev, bool autoresume) in loopback_add()
Dg_ffs.c157 static int gfs_bind(struct usb_composite_dev *cdev);
158 static int gfs_unbind(struct usb_composite_dev *cdev);
220 static int gfs_bind(struct usb_composite_dev *cdev) in gfs_bind()
265 static int gfs_unbind(struct usb_composite_dev *cdev) in gfs_unbind()
Df_audio.c325 struct usb_composite_dev *cdev = audio->card.func.config->cdev; in f_audio_out_ep_complete()
381 struct usb_composite_dev *cdev = f->config->cdev; in audio_set_intf_req()
417 struct usb_composite_dev *cdev = f->config->cdev; in audio_get_intf_req()
453 struct usb_composite_dev *cdev = f->config->cdev; in audio_set_endpoint_req()
489 struct usb_composite_dev *cdev = f->config->cdev; in audio_get_endpoint_req()
517 struct usb_composite_dev *cdev = f->config->cdev; in f_audio_setup()
569 struct usb_composite_dev *cdev = f->config->cdev; in f_audio_set_alt()
654 struct usb_composite_dev *cdev = c->cdev; in f_audio_bind()
Df_rndis.c326 struct usb_composite_dev *cdev = rndis->port.func.config->cdev; in rndis_response_available()
351 struct usb_composite_dev *cdev = rndis->port.func.config->cdev; in rndis_response_complete()
390 struct usb_composite_dev *cdev = rndis->port.func.config->cdev; in rndis_command_complete()
406 struct usb_composite_dev *cdev = f->config->cdev; in rndis_setup()
480 struct usb_composite_dev *cdev = f->config->cdev; in rndis_set_alt()
548 struct usb_composite_dev *cdev = f->config->cdev; in rndis_disable()
574 struct usb_composite_dev *cdev = geth->func.config->cdev; in rndis_open()
600 struct usb_composite_dev *cdev = c->cdev; in rndis_bind()
Df_obex.c213 struct usb_composite_dev *cdev = f->config->cdev; in obex_set_alt()
265 struct usb_composite_dev *cdev = f->config->cdev; in obex_disable()
276 struct usb_composite_dev *cdev = g->func.config->cdev; in obex_connect()
291 struct usb_composite_dev *cdev = g->func.config->cdev; in obex_disconnect()
308 struct usb_composite_dev *cdev = c->cdev; in obex_bind()
Daudio.c115 static int __init audio_bind(struct usb_composite_dev *cdev) in audio_bind()
158 static int __exit audio_unbind(struct usb_composite_dev *cdev) in audio_unbind()
Df_eem.c147 struct usb_composite_dev *cdev = f->config->cdev; in eem_setup()
165 struct usb_composite_dev *cdev = f->config->cdev; in eem_set_alt()
207 struct usb_composite_dev *cdev = f->config->cdev; in eem_disable()
222 struct usb_composite_dev *cdev = c->cdev; in eem_bind()
382 struct usb_composite_dev *cdev = port->func.config->cdev; in eem_unwrap()
Dncm.c159 static int __init gncm_bind(struct usb_composite_dev *cdev) in gncm_bind()
221 static int __exit gncm_unbind(struct usb_composite_dev *cdev) in gncm_unbind()
Df_serial.c132 struct usb_composite_dev *cdev = f->config->cdev; in gser_set_alt()
153 struct usb_composite_dev *cdev = f->config->cdev; in gser_disable()
166 struct usb_composite_dev *cdev = c->cdev; in gser_bind()
Dcdc2.c161 static int __init cdc_bind(struct usb_composite_dev *cdev) in cdc_bind()
236 static int __exit cdc_unbind(struct usb_composite_dev *cdev) in cdc_unbind()
Df_acm.c286 struct usb_composite_dev *cdev = acm->port.func.config->cdev; in acm_complete_set_line_coding()
316 struct usb_composite_dev *cdev = f->config->cdev; in acm_setup()
398 struct usb_composite_dev *cdev = f->config->cdev; in acm_set_alt()
437 struct usb_composite_dev *cdev = f->config->cdev; in acm_disable()
504 struct usb_composite_dev *cdev = acm->port.func.config->cdev; in acm_notify_serial_state()
577 struct usb_composite_dev *cdev = c->cdev; in acm_bind()
Df_ecm.c302 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_do_notify()
369 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_notify_complete()
392 struct usb_composite_dev *cdev = f->config->cdev; in ecm_setup()
457 struct usb_composite_dev *cdev = f->config->cdev; in ecm_set_alt()
542 struct usb_composite_dev *cdev = f->config->cdev; in ecm_disable()
603 struct usb_composite_dev *cdev = c->cdev; in ecm_bind()
Dnokia.c152 static int __init nokia_bind(struct usb_composite_dev *cdev) in nokia_bind()
231 static int __exit nokia_unbind(struct usb_composite_dev *cdev) in nokia_unbind()
Df_subset.c235 struct usb_composite_dev *cdev = f->config->cdev; in geth_set_alt()
258 struct usb_composite_dev *cdev = f->config->cdev; in geth_disable()
271 struct usb_composite_dev *cdev = c->cdev; in geth_bind()
Df_uvc.c304 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_function_connect()
314 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_function_disconnect()
328 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_register_video()
459 struct usb_composite_dev *cdev = c->cdev; in uvc_function_unbind()
491 struct usb_composite_dev *cdev = c->cdev; in uvc_function_bind()
Dether.c298 static int __init eth_bind(struct usb_composite_dev *cdev) in eth_bind()
394 static int __exit eth_unbind(struct usb_composite_dev *cdev) in eth_unbind()
Dhid.c158 static int __init hid_bind(struct usb_composite_dev *cdev) in hid_bind()
212 static int __exit hid_unbind(struct usb_composite_dev *cdev) in hid_unbind()
Dwebcam.c327 webcam_unbind(struct usb_composite_dev *cdev) in webcam_unbind()
333 webcam_bind(struct usb_composite_dev *cdev) in webcam_bind()

12