/linux-6.12.1/include/linux/usb/ |
D | composite.h | 189 struct usb_function { struct 210 struct usb_function *); argument 212 struct usb_function *); argument 213 void (*free_func)(struct usb_function *f); argument 217 int (*set_alt)(struct usb_function *, argument 219 int (*get_alt)(struct usb_function *, argument 221 void (*disable)(struct usb_function *); argument 222 int (*setup)(struct usb_function *, argument 224 bool (*req_match)(struct usb_function *, argument 227 void (*suspend)(struct usb_function *); argument [all …]
|
/linux-6.12.1/drivers/usb/gadget/legacy/ |
D | nokia.c | 106 static struct usb_function *f_acm_cfg1; 107 static struct usb_function *f_acm_cfg2; 108 static struct usb_function *f_ecm_cfg1; 109 static struct usb_function *f_ecm_cfg2; 110 static struct usb_function *f_obex1_cfg1; 111 static struct usb_function *f_obex2_cfg1; 112 static struct usb_function *f_obex1_cfg2; 113 static struct usb_function *f_obex2_cfg2; 114 static struct usb_function *f_phonet_cfg1; 115 static struct usb_function *f_phonet_cfg2; [all …]
|
D | multi.c | 130 static struct usb_function *f_acm_rndis; 131 static struct usb_function *f_rndis; 132 static struct usb_function *f_msg_rndis; 212 static struct usb_function *f_acm_multi; 213 static struct usb_function *f_ecm; 214 static struct usb_function *f_msg_multi;
|
D | ether.c | 190 static struct usb_function *f_ecm; 193 static struct usb_function *f_eem; 196 static struct usb_function *f_geth; 199 static struct usb_function *f_rndis;
|
D | g_ffs.c | 36 static struct usb_function *f_ecm; 38 static struct usb_function *f_geth; 43 static struct usb_function *f_rndis; 161 static struct usb_function **f_ffs[] = {
|
D | cdc2.c | 80 static struct usb_function *f_acm; 83 static struct usb_function *f_ecm;
|
/linux-6.12.1/drivers/usb/gadget/function/ |
D | f_serial.c | 33 static inline struct f_gser *func_to_gser(struct usb_function *f) in func_to_gser() 146 static int gser_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in gser_set_alt() 172 static void gser_disable(struct usb_function *f) in gser_disable() 186 static int gser_bind(struct usb_configuration *c, struct usb_function *f) in gser_bind() 336 static void gser_free(struct usb_function *f) in gser_free() 344 static void gser_unbind(struct usb_configuration *c, struct usb_function *f) in gser_unbind() 353 static void gser_resume(struct usb_function *f) in gser_resume() 360 static void gser_suspend(struct usb_function *f) in gser_suspend() 367 static struct usb_function *gser_alloc(struct usb_function_instance *fi) in gser_alloc()
|
D | f_obex.c | 37 static inline struct f_obex *func_to_obex(struct usb_function *f) in func_to_obex() 189 static int obex_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in obex_set_alt() 241 static int obex_get_alt(struct usb_function *f, unsigned intf) in obex_get_alt() 248 static void obex_disable(struct usb_function *f) in obex_disable() 302 static int obex_bind(struct usb_configuration *c, struct usb_function *f) in obex_bind() 445 static void obex_free(struct usb_function *f) in obex_free() 453 static void obex_unbind(struct usb_configuration *c, struct usb_function *f) in obex_unbind() 458 static struct usb_function *obex_alloc(struct usb_function_instance *fi) in obex_alloc()
|
D | f_subset.c | 55 static inline struct f_gether *func_to_geth(struct usb_function *f) in func_to_geth() 253 static int geth_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in geth_set_alt() 278 static void geth_disable(struct usb_function *f) in geth_disable() 292 geth_bind(struct usb_configuration *c, struct usb_function *f) in geth_bind() 449 static void geth_free(struct usb_function *f) in geth_free() 457 static void geth_unbind(struct usb_configuration *c, struct usb_function *f) in geth_unbind() 463 static struct usb_function *geth_alloc(struct usb_function_instance *fi) in geth_alloc()
|
D | f_phonet.c | 42 struct usb_function function; 56 static inline struct f_phonet *func_to_pn(struct usb_function *f) in func_to_pn() 380 static void __pn_reset(struct usb_function *f) in __pn_reset() 397 static int pn_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in pn_set_alt() 447 static int pn_get_alt(struct usb_function *f, unsigned intf) in pn_get_alt() 467 static void pn_disconnect(struct usb_function *f) in pn_disconnect() 481 static int pn_bind(struct usb_configuration *c, struct usb_function *f) in pn_bind() 644 static void phonet_free(struct usb_function *f) in phonet_free() 652 static void pn_unbind(struct usb_configuration *c, struct usb_function *f) in pn_unbind() 667 static struct usb_function *phonet_alloc(struct usb_function_instance *fi) in phonet_alloc()
|
D | f_uac1_legacy.c | 294 static inline struct f_audio *func_to_audio(struct usb_function *f) in func_to_audio() 384 static int audio_set_intf_req(struct usb_function *f, in audio_set_intf_req() 420 static int audio_get_intf_req(struct usb_function *f, in audio_get_intf_req() 458 static int audio_set_endpoint_req(struct usb_function *f, in audio_set_endpoint_req() 494 static int audio_get_endpoint_req(struct usb_function *f, in audio_get_endpoint_req() 523 f_audio_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in f_audio_setup() 574 static int f_audio_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in f_audio_set_alt() 655 static int f_audio_get_alt(struct usb_function *f, unsigned intf) in f_audio_get_alt() 671 static void f_audio_disable(struct usb_function *f) in f_audio_disable() 700 f_audio_bind(struct usb_configuration *c, struct usb_function *f) in f_audio_bind() [all …]
|
D | f_ecm.c | 63 static inline struct f_ecm *func_to_ecm(struct usb_function *f) in func_to_ecm() 457 static int ecm_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in ecm_setup() 522 static int ecm_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in ecm_set_alt() 600 static int ecm_get_alt(struct usb_function *f, unsigned intf) in ecm_get_alt() 609 static void ecm_disable(struct usb_function *f) in ecm_disable() 672 ecm_bind(struct usb_configuration *c, struct usb_function *f) in ecm_bind() 875 static void ecm_suspend(struct usb_function *f) in ecm_suspend() 885 static void ecm_resume(struct usb_function *f) in ecm_resume() 895 static void ecm_free(struct usb_function *f) in ecm_free() 908 static void ecm_unbind(struct usb_configuration *c, struct usb_function *f) in ecm_unbind() [all …]
|
D | f_eem.c | 38 static inline struct f_eem *func_to_eem(struct usb_function *f) in func_to_eem() 171 static int eem_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in eem_setup() 187 static int eem_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in eem_set_alt() 230 static void eem_disable(struct usb_function *f) in eem_disable() 245 static int eem_bind(struct usb_configuration *c, struct usb_function *f) in eem_bind() 623 static void eem_free(struct usb_function *f) in eem_free() 636 static void eem_unbind(struct usb_configuration *c, struct usb_function *f) in eem_unbind() 643 static struct usb_function *eem_alloc(struct usb_function_instance *fi) in eem_alloc()
|
D | f_loopback.c | 29 struct usb_function function; 38 static inline struct f_loopback *func_to_loop(struct usb_function *f) in func_to_loop() 166 static int loopback_bind(struct usb_configuration *c, struct usb_function *f) in loopback_bind() 219 static void lb_free_func(struct usb_function *f) in lb_free_func() 405 static int loopback_set_alt(struct usb_function *f, in loopback_set_alt() 416 static void loopback_disable(struct usb_function *f) in loopback_disable() 423 static struct usb_function *loopback_alloc(struct usb_function_instance *fi) in loopback_alloc()
|
D | f_acm.c | 65 static inline struct f_acm *func_to_acm(struct usb_function *f) in func_to_acm() 329 static int acm_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in acm_setup() 421 static int acm_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in acm_set_alt() 467 static void acm_disable(struct usb_function *f) in acm_disable() 609 acm_bind(struct usb_configuration *c, struct usb_function *f) in acm_bind() 713 static void acm_unbind(struct usb_configuration *c, struct usb_function *f) in acm_unbind() 723 static void acm_free_func(struct usb_function *f) in acm_free_func() 736 static void acm_resume(struct usb_function *f) in acm_resume() 743 static void acm_suspend(struct usb_function *f) in acm_suspend() 750 static struct usb_function *acm_alloc_func(struct usb_function_instance *fi) in acm_alloc_func()
|
D | u_audio.h | 61 struct usb_function func; 84 static inline struct g_audio *func_to_g_audio(struct usb_function *f) in func_to_g_audio()
|
D | f_uac1.c | 51 static inline struct f_uac1 *func_to_uac1(struct usb_function *f) in func_to_uac1() 401 struct usb_function *fn = ep->driver_data; in uac_cs_attr_sample_rate() 487 in_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_cur() 538 in_rq_min(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_min() 585 in_rq_max(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_max() 632 in_rq_res(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_res() 733 out_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) in out_rq_cur() 760 static int ac_rq_in(struct usb_function *f, in ac_rq_in() 793 static int audio_set_endpoint_req(struct usb_function *f, in audio_set_endpoint_req() 838 static int audio_get_endpoint_req(struct usb_function *f, in audio_get_endpoint_req() [all …]
|
D | f_rndis.c | 82 static inline struct f_rndis *func_to_rndis(struct usb_function *f) in func_to_rndis() 452 rndis_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in rndis_setup() 526 static int rndis_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in rndis_set_alt() 596 static void rndis_disable(struct usb_function *f) in rndis_disable() 656 rndis_bind(struct usb_configuration *c, struct usb_function *f) in rndis_bind() 941 static void rndis_free(struct usb_function *f) in rndis_free() 955 static void rndis_unbind(struct usb_configuration *c, struct usb_function *f) in rndis_unbind() 967 static struct usb_function *rndis_alloc(struct usb_function_instance *fi) in rndis_alloc()
|
D | uvc.h | 142 struct usb_function func; 172 static inline struct uvc_device *to_uvc(struct usb_function *f) in to_uvc()
|
D | f_sourcesink.c | 35 struct usb_function function; 53 static inline struct f_sourcesink *func_to_ss(struct usb_function *f) in func_to_ss() 317 sourcesink_bind(struct usb_configuration *c, struct usb_function *f) in sourcesink_bind() 447 sourcesink_free_func(struct usb_function *f) in sourcesink_free_func() 736 static int sourcesink_set_alt(struct usb_function *f, in sourcesink_set_alt() 746 static int sourcesink_get_alt(struct usb_function *f, unsigned intf) in sourcesink_get_alt() 753 static void sourcesink_disable(struct usb_function *f) in sourcesink_disable() 762 static int sourcesink_setup(struct usb_function *f, in sourcesink_setup() 834 static struct usb_function *source_sink_alloc_func( in source_sink_alloc_func()
|
D | f_uac2.c | 77 static inline struct f_uac2 *func_to_uac2(struct usb_function *f) in func_to_uac2() 1023 afunc_bind(struct usb_configuration *cfg, struct usb_function *fn) in afunc_bind() 1427 afunc_set_alt(struct usb_function *fn, unsigned intf, unsigned alt) in afunc_set_alt() 1482 afunc_get_alt(struct usb_function *fn, unsigned intf) in afunc_get_alt() 1502 afunc_disable(struct usb_function *fn) in afunc_disable() 1515 afunc_suspend(struct usb_function *fn) in afunc_suspend() 1523 in_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_cur() 1600 in_rq_range(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_range() 1692 ac_rq_in(struct usb_function *fn, const struct usb_ctrlrequest *cr) in ac_rq_in() 1704 struct usb_function *fn = ep->driver_data; in uac2_cs_control_sam_freq() [all …]
|
D | f_printer.c | 96 struct usb_function function; 99 static inline struct printer_dev *func_to_printer(struct usb_function *f) in func_to_printer() 956 static bool gprinter_req_match(struct usb_function *f, in gprinter_req_match() 998 static int printer_func_setup(struct usb_function *f, in printer_func_setup() 1079 struct usb_function *f) in printer_func_bind() 1190 static int printer_func_set_alt(struct usb_function *f, in printer_func_set_alt() 1202 static void printer_func_disable(struct usb_function *f) in printer_func_disable() 1415 static void gprinter_free(struct usb_function *f) in gprinter_free() 1429 struct usb_function *f) in printer_func_unbind() 1472 static struct usb_function *gprinter_alloc(struct usb_function_instance *fi) in gprinter_alloc()
|
/linux-6.12.1/drivers/usb/gadget/ |
D | functions.c | 57 struct usb_function *usb_get_function(struct usb_function_instance *fi) in usb_get_function() 59 struct usb_function *f; in usb_get_function() 82 void usb_put_function(struct usb_function *f) in usb_put_function()
|
D | composite.c | 63 function_descriptors(struct usb_function *f, in function_descriptors() 152 struct usb_function *f, in config_ep_by_speed_and_alt() 289 struct usb_function *f, in config_ep_by_speed() 311 struct usb_function *function) in usb_add_function() 363 void usb_remove_function(struct usb_configuration *c, struct usb_function *f) in usb_remove_function() 397 int usb_function_deactivate(struct usb_function *function) in usb_function_deactivate() 428 int usb_function_activate(struct usb_function *function) in usb_function_activate() 476 struct usb_function *function) in usb_interface_id() 503 int usb_func_wakeup(struct usb_function *func) in usb_func_wakeup() 569 struct usb_function *f; in config_buf() [all …]
|
/linux-6.12.1/net/9p/ |
D | trans_usbg.c | 56 struct usb_function function; 59 static inline struct f_usb9pfs *func_to_usb9pfs(struct usb_function *f) in func_to_usb9pfs() 638 struct usb_function *f) in usb9pfs_func_bind() 703 struct usb_function *f) in usb9pfs_func_unbind() 710 static void usb9pfs_free_func(struct usb_function *f) in usb9pfs_free_func() 726 static int usb9pfs_set_alt(struct usb_function *f, in usb9pfs_set_alt() 735 static void usb9pfs_disable(struct usb_function *f) in usb9pfs_disable() 742 static struct usb_function *usb9pfs_alloc(struct usb_function_instance *fi) in usb9pfs_alloc()
|