/linux-6.1.9/include/linux/usb/ |
D | composite.h | 177 struct usb_function { struct 198 struct usb_function *); argument 200 struct usb_function *); argument 201 void (*free_func)(struct usb_function *f); argument 205 int (*set_alt)(struct usb_function *, argument 207 int (*get_alt)(struct usb_function *, argument 209 void (*disable)(struct usb_function *); argument 210 int (*setup)(struct usb_function *, argument 212 bool (*req_match)(struct usb_function *, argument 215 void (*suspend)(struct usb_function *); argument [all …]
|
/linux-6.1.9/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;
|
D | acm_ms.c | 97 static struct usb_function *f_acm; 101 static struct usb_function *f_msg;
|
/linux-6.1.9/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() 338 static void gser_free(struct usb_function *f) in gser_free() 346 static void gser_unbind(struct usb_configuration *c, struct usb_function *f) in gser_unbind() 355 static void gser_resume(struct usb_function *f) in gser_resume() 362 static void gser_suspend(struct usb_function *f) in gser_suspend() 369 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() 446 static void obex_free(struct usb_function *f) in obex_free() 454 static void obex_unbind(struct usb_configuration *c, struct usb_function *f) in obex_unbind() 459 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() 451 static void geth_free(struct usb_function *f) in geth_free() 459 static void geth_unbind(struct usb_configuration *c, struct usb_function *f) in geth_unbind() 465 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_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() 625 static void eem_free(struct usb_function *f) in eem_free() 638 static void eem_unbind(struct usb_configuration *c, struct usb_function *f) in eem_unbind() 645 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() 221 static void lb_free_func(struct usb_function *f) in lb_free_func() 407 static int loopback_set_alt(struct usb_function *f, in loopback_set_alt() 418 static void loopback_disable(struct usb_function *f) in loopback_disable() 425 static struct usb_function *loopback_alloc(struct usb_function_instance *fi) in loopback_alloc()
|
D | f_acm.c | 64 static inline struct f_acm *func_to_acm(struct usb_function *f) in func_to_acm() 328 static int acm_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in acm_setup() 420 static int acm_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in acm_set_alt() 466 static void acm_disable(struct usb_function *f) in acm_disable() 608 acm_bind(struct usb_configuration *c, struct usb_function *f) in acm_bind() 711 static void acm_unbind(struct usb_configuration *c, struct usb_function *f) in acm_unbind() 721 static void acm_free_func(struct usb_function *f) in acm_free_func() 728 static void acm_resume(struct usb_function *f) in acm_resume() 735 static void acm_suspend(struct usb_function *f) in acm_suspend() 742 static struct usb_function *acm_alloc_func(struct usb_function_instance *fi) in acm_alloc_func()
|
D | f_ecm.c | 63 static inline struct f_ecm *func_to_ecm(struct usb_function *f) in func_to_ecm() 468 static int ecm_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in ecm_setup() 533 static int ecm_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in ecm_set_alt() 611 static int ecm_get_alt(struct usb_function *f, unsigned intf) in ecm_get_alt() 620 static void ecm_disable(struct usb_function *f) in ecm_disable() 683 ecm_bind(struct usb_configuration *c, struct usb_function *f) in ecm_bind() 892 static void ecm_free(struct usb_function *f) in ecm_free() 905 static void ecm_unbind(struct usb_configuration *c, struct usb_function *f) in ecm_unbind() 922 static struct usb_function *ecm_alloc(struct usb_function_instance *fi) in ecm_alloc()
|
D | f_uac1.c | 51 static inline struct f_uac1 *func_to_uac1(struct usb_function *f) in func_to_uac1() 344 struct usb_function *fn = ep->driver_data; in uac_cs_attr_sample_rate() 430 in_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_cur() 481 in_rq_min(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_min() 528 in_rq_max(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_max() 575 in_rq_res(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_res() 676 out_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) in out_rq_cur() 703 static int ac_rq_in(struct usb_function *f, in ac_rq_in() 736 static int audio_set_endpoint_req(struct usb_function *f, in audio_set_endpoint_req() 781 static int audio_get_endpoint_req(struct usb_function *f, in audio_get_endpoint_req() [all …]
|
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_rndis.c | 82 static inline struct f_rndis *func_to_rndis(struct usb_function *f) in func_to_rndis() 465 rndis_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in rndis_setup() 539 static int rndis_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in rndis_set_alt() 609 static void rndis_disable(struct usb_function *f) in rndis_disable() 669 rndis_bind(struct usb_configuration *c, struct usb_function *f) in rndis_bind() 956 static void rndis_free(struct usb_function *f) in rndis_free() 970 static void rndis_unbind(struct usb_configuration *c, struct usb_function *f) in rndis_unbind() 982 static struct usb_function *rndis_alloc(struct usb_function_instance *fi) in rndis_alloc()
|
D | uvc.h | 132 struct usb_function func; 160 static inline struct uvc_device *to_uvc(struct usb_function *f) in to_uvc()
|
D | f_uvc.c | 227 uvc_function_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in uvc_function_setup() 265 uvc_function_get_alt(struct usb_function *f, unsigned interface) in uvc_function_get_alt() 280 uvc_function_set_alt(struct usb_function *f, unsigned interface, unsigned alt) in uvc_function_set_alt() 365 uvc_function_disable(struct usb_function *f) in uvc_function_disable() 593 uvc_function_bind(struct usb_configuration *c, struct usb_function *f) in uvc_function_bind() 887 static void uvc_free(struct usb_function *f) in uvc_free() 898 struct usb_function *f) in uvc_function_unbind() 945 static struct usb_function *uvc_alloc(struct usb_function_instance *fi) in uvc_alloc()
|
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() 449 sourcesink_free_func(struct usb_function *f) in sourcesink_free_func() 738 static int sourcesink_set_alt(struct usb_function *f, in sourcesink_set_alt() 748 static int sourcesink_get_alt(struct usb_function *f, unsigned intf) in sourcesink_get_alt() 755 static void sourcesink_disable(struct usb_function *f) in sourcesink_disable() 764 static int sourcesink_setup(struct usb_function *f, in sourcesink_setup() 836 static struct usb_function *source_sink_alloc_func( in source_sink_alloc_func()
|
D | f_hid.c | 76 struct usb_function func; 82 static inline struct f_hidg *func_to_hidg(struct usb_function *f) in func_to_hidg() 639 static int hidg_setup(struct usb_function *f, in hidg_setup() 771 static void hidg_disable(struct usb_function *f) in hidg_disable() 801 static int hidg_set_alt(struct usb_function *f, unsigned intf, unsigned alt) in hidg_set_alt() 910 static int hidg_bind(struct usb_configuration *c, struct usb_function *f) in hidg_bind() 1236 static void hidg_free(struct usb_function *f) in hidg_free() 1249 static void hidg_unbind(struct usb_configuration *c, struct usb_function *f) in hidg_unbind() 1258 static struct usb_function *hidg_alloc(struct usb_function_instance *fi) in hidg_alloc()
|
/linux-6.1.9/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 | 61 function_descriptors(struct usb_function *f, in function_descriptors() 150 struct usb_function *f, in config_ep_by_speed_and_alt() 293 struct usb_function *f, in config_ep_by_speed() 315 struct usb_function *function) in usb_add_function() 367 void usb_remove_function(struct usb_configuration *c, struct usb_function *f) in usb_remove_function() 401 int usb_function_deactivate(struct usb_function *function) in usb_function_deactivate() 432 int usb_function_activate(struct usb_function *function) in usb_function_activate() 480 struct usb_function *function) in usb_interface_id() 520 struct usb_function *f; in config_buf() 848 struct usb_function *f; in reset_config() [all …]
|