Searched refs:g_audio (Results 1 – 6 of 6) sorted by relevance
/drivers/usb/gadget/function/ |
D | u_audio.h | 38 struct g_audio { struct 56 static inline struct g_audio *func_to_g_audio(struct usb_function *f) in func_to_g_audio() argument 58 return container_of(f, struct g_audio, func); in func_to_g_audio() 86 int g_audio_setup(struct g_audio *g_audio, const char *pcm_name, 88 void g_audio_cleanup(struct g_audio *g_audio); 90 int u_audio_start_capture(struct g_audio *g_audio); 91 void u_audio_stop_capture(struct g_audio *g_audio); 92 int u_audio_start_playback(struct g_audio *g_audio); 93 void u_audio_stop_playback(struct g_audio *g_audio);
|
D | u_audio.c | 59 struct g_audio *audio_dev; 198 struct g_audio *audio_dev; in uac_pcm_trigger() 267 struct g_audio *audio_dev; in uac_pcm_open() 349 struct g_audio *audio_dev; in free_ep() 374 int u_audio_start_capture(struct g_audio *audio_dev) in u_audio_start_capture() 417 void u_audio_stop_capture(struct g_audio *audio_dev) in u_audio_stop_capture() 425 int u_audio_start_playback(struct g_audio *audio_dev) in u_audio_start_playback() 493 void u_audio_stop_playback(struct g_audio *audio_dev) in u_audio_stop_playback() 501 int g_audio_setup(struct g_audio *g_audio, const char *pcm_name, in g_audio_setup() argument 511 if (!g_audio) in g_audio_setup() [all …]
|
D | f_uac1.c | 27 struct g_audio g_audio; member 34 return container_of(f, struct f_uac1, g_audio.func); in func_to_uac1() 460 ret = u_audio_start_capture(&uac1->g_audio); in f_audio_set_alt() 462 u_audio_stop_capture(&uac1->g_audio); in f_audio_set_alt() 467 ret = u_audio_start_playback(&uac1->g_audio); in f_audio_set_alt() 469 u_audio_stop_playback(&uac1->g_audio); in f_audio_set_alt() 506 u_audio_stop_capture(&uac1->g_audio); in f_audio_disable() 517 struct g_audio *audio = func_to_g_audio(f); in f_audio_bind() 752 struct g_audio *audio; in f_audio_free() 765 struct g_audio *audio = func_to_g_audio(f); in f_audio_unbind() [all …]
|
D | f_uac2.c | 51 struct g_audio g_audio; member 58 return container_of(f, struct f_uac2, g_audio.func); in func_to_uac2() 62 struct f_uac2_opts *g_audio_to_uac2_opts(struct g_audio *agdev) in g_audio_to_uac2_opts() 482 struct g_audio *agdev = func_to_g_audio(fn); in afunc_bind() 638 ret = u_audio_start_capture(&uac2->g_audio); in afunc_set_alt() 640 u_audio_stop_capture(&uac2->g_audio); in afunc_set_alt() 645 ret = u_audio_start_playback(&uac2->g_audio); in afunc_set_alt() 647 u_audio_stop_playback(&uac2->g_audio); in afunc_set_alt() 660 struct g_audio *agdev = func_to_g_audio(fn); in afunc_get_alt() 683 u_audio_stop_capture(&uac2->g_audio); in afunc_disable() [all …]
|
/drivers/usb/gadget/legacy/ |
D | Makefile | 11 g_audio-y := audio.o 29 obj-$(CONFIG_USB_AUDIO) += g_audio.o
|
D | Kconfig | 75 dynamically linked module called "g_audio".
|