/linux-6.3-rc2/include/linux/usb/ |
A D | composite.h | 310 struct usb_composite_dev *cdev; 324 int usb_add_config(struct usb_composite_dev *, 328 void usb_remove_config(struct usb_composite_dev *, 382 int (*bind)(struct usb_composite_dev *cdev); 383 int (*unbind)(struct usb_composite_dev *); 385 void (*disconnect)(struct usb_composite_dev *); 388 void (*suspend)(struct usb_composite_dev *); 389 void (*resume)(struct usb_composite_dev *); 412 struct usb_composite_dev *cdev); 469 struct usb_composite_dev { struct [all …]
|
/linux-6.3-rc2/drivers/usb/gadget/ |
A D | composite.c | 164 struct usb_composite_dev *cdev; in config_ep_by_speed_and_alt() 678 static int bos_desc(struct usb_composite_dev *cdev) in bos_desc() 897 static int set_config(struct usb_composite_dev *cdev, in set_config() 1049 int usb_add_config(struct usb_composite_dev *cdev, in usb_add_config() 1146 void usb_remove_config(struct usb_composite_dev *cdev, in usb_remove_config() 1209 static int get_string(struct usb_composite_dev *cdev, in get_string() 1324 int usb_string_id(struct usb_composite_dev *cdev) in usb_string_id() 1515 struct usb_composite_dev *cdev; in composite_setup_complete() 1518 DBG((struct usb_composite_dev *) ep->driver_data, in composite_setup_complete() 2314 struct usb_composite_dev *cdev) in composite_dev_prepare() [all …]
|
A D | configfs.c | 51 struct usb_composite_dev cdev; 1211 struct usb_composite_dev *cdev = &gi->cdev; in os_desc_link() 1245 struct usb_composite_dev *cdev = &gi->cdev; in os_desc_unlink() 1564 struct usb_composite_dev *dev); 1678 struct usb_composite_dev *cdev = &gi->cdev; in configfs_composite_bind() 1814 struct usb_composite_dev *cdev; in configfs_composite_unbind() 1842 struct usb_composite_dev *cdev; in configfs_composite_setup() 1866 struct usb_composite_dev *cdev; in configfs_composite_disconnect() 1888 struct usb_composite_dev *cdev; in configfs_composite_reset() 1910 struct usb_composite_dev *cdev; in configfs_composite_suspend() [all …]
|
/linux-6.3-rc2/drivers/usb/gadget/legacy/ |
A 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()
|
A 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()
|
A D | serial.c | 143 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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.3-rc2/drivers/usb/gadget/function/ |
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A D | g_zero.h | 69 void disable_endpoints(struct usb_composite_dev *cdev,
|