/linux-6.1.9/include/linux/usb/ |
D | composite.h | 309 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-6.1.9/drivers/usb/gadget/ |
D | composite.c | 162 struct usb_composite_dev *cdev; in config_ep_by_speed_and_alt() 403 struct usb_composite_dev *cdev = function->config->cdev; in usb_function_deactivate() 434 struct usb_composite_dev *cdev = function->config->cdev; in usb_function_activate() 565 static int config_desc(struct usb_composite_dev *cdev, unsigned w_value) in config_desc() 628 static int count_configs(struct usb_composite_dev *cdev, unsigned type) in count_configs() 676 static int bos_desc(struct usb_composite_dev *cdev) in bos_desc() 827 static void device_qual(struct usb_composite_dev *cdev) in device_qual() 846 static void reset_config(struct usb_composite_dev *cdev) in reset_config() 862 static int set_config(struct usb_composite_dev *cdev, in set_config() 974 int usb_add_config_only(struct usb_composite_dev *cdev, in usb_add_config_only() [all …]
|
D | configfs.c | 48 struct usb_composite_dev cdev; 575 static void composite_init_dev(struct usb_composite_dev *cdev) in composite_init_dev() 886 struct usb_composite_dev *cdev = &gi->cdev; in os_desc_link() 920 struct usb_composite_dev *cdev = &gi->cdev; in os_desc_unlink() 1234 static int configfs_do_nothing(struct usb_composite_dev *cdev) in configfs_do_nothing() 1241 struct usb_composite_dev *dev); 1243 int composite_os_desc_req_prepare(struct usb_composite_dev *cdev, 1281 struct usb_composite_dev *cdev = &gi->cdev; in configfs_composite_bind() 1423 struct usb_composite_dev *cdev; in configfs_composite_unbind() 1451 struct usb_composite_dev *cdev; in configfs_composite_setup() [all …]
|
/linux-6.1.9/drivers/usb/gadget/legacy/ |
D | multi.c | 185 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()
|
D | zero.c | 153 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()
|
D | serial.c | 142 static int serial_register_ports(struct usb_composite_dev *cdev, in serial_register_ports() 190 static int gs_bind(struct usb_composite_dev *cdev) in gs_bind() 249 static int gs_unbind(struct usb_composite_dev *cdev) in gs_unbind()
|
D | tcm_usb_gadget.c | 64 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()
|
D | ncm.c | 127 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()
|
D | gmidi.c | 109 static int midi_unbind(struct usb_composite_dev *dev) in midi_unbind() 141 static int midi_bind(struct usb_composite_dev *cdev) in midi_bind()
|
D | printer.c | 139 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()
|
D | mass_storage.c | 139 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()
|
D | g_ffs.c | 143 static int gfs_bind(struct usb_composite_dev *cdev); 144 static int gfs_unbind(struct usb_composite_dev *cdev); 312 static int gfs_bind(struct usb_composite_dev *cdev) in gfs_bind() 444 static int gfs_unbind(struct usb_composite_dev *cdev) in gfs_unbind()
|
D | cdc2.c | 138 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()
|
D | acm_ms.c | 152 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-6.1.9/drivers/usb/gadget/function/ |
D | f_loopback.c | 168 struct usb_composite_dev *cdev = c->cdev; in loopback_bind() 238 struct usb_composite_dev *cdev = loop->function.config->cdev; in loopback_complete() 298 struct usb_composite_dev *cdev; in disable_loopback() 310 static int alloc_requests(struct usb_composite_dev *cdev, in alloc_requests() 360 static int enable_endpoint(struct usb_composite_dev *cdev, in enable_endpoint() 380 enable_loopback(struct usb_composite_dev *cdev, struct f_loopback *loop) in enable_loopback() 411 struct usb_composite_dev *cdev = f->config->cdev; in loopback_set_alt()
|
D | f_obex.c | 192 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()
|
D | f_uac1_legacy.c | 324 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()
|
D | f_eem.c | 173 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() 398 struct usb_composite_dev *cdev = port->func.config->cdev; in eem_unwrap()
|
D | f_rndis.c | 389 struct usb_composite_dev *cdev = rndis->port.func.config->cdev; in rndis_response_available() 414 struct usb_composite_dev *cdev = rndis->port.func.config->cdev; in rndis_response_complete() 468 struct usb_composite_dev *cdev = f->config->cdev; in rndis_setup() 542 struct usb_composite_dev *cdev = f->config->cdev; in rndis_set_alt() 612 struct usb_composite_dev *cdev = f->config->cdev; in rndis_disable() 638 struct usb_composite_dev *cdev = geth->func.config->cdev; in rndis_open() 671 struct usb_composite_dev *cdev = c->cdev; in rndis_bind()
|
D | f_sourcesink.c | 295 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() 468 struct usb_composite_dev *cdev = ss->function.config->cdev; in check_read_data() 524 struct usb_composite_dev *cdev; in source_sink_complete() 622 struct usb_composite_dev *cdev; in source_sink_start_ep() 638 struct usb_composite_dev *cdev; in disable_source_sink() 647 enable_source_sink(struct usb_composite_dev *cdev, struct f_sourcesink *ss, in enable_source_sink() 742 struct usb_composite_dev *cdev = f->config->cdev; in sourcesink_set_alt()
|
D | f_serial.c | 149 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()
|
D | f_ecm.c | 379 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_do_notify() 446 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_notify_complete() 471 struct usb_composite_dev *cdev = f->config->cdev; in ecm_setup() 536 struct usb_composite_dev *cdev = f->config->cdev; in ecm_set_alt() 623 struct usb_composite_dev *cdev = f->config->cdev; in ecm_disable() 685 struct usb_composite_dev *cdev = c->cdev; in ecm_bind()
|
D | f_acm.c | 299 struct usb_composite_dev *cdev = acm->port.func.config->cdev; in acm_complete_set_line_coding() 331 struct usb_composite_dev *cdev = f->config->cdev; in acm_setup() 423 struct usb_composite_dev *cdev = f->config->cdev; in acm_set_alt() 469 struct usb_composite_dev *cdev = f->config->cdev; in acm_disable() 535 struct usb_composite_dev *cdev = acm->port.func.config->cdev; in acm_notify_serial_state() 610 struct usb_composite_dev *cdev = c->cdev; in acm_bind()
|
D | f_subset.c | 256 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()
|
D | g_zero.h | 69 void disable_endpoints(struct usb_composite_dev *cdev,
|