Home
last modified time | relevance | path

Searched refs:g_audio (Results 1 – 7 of 7) sorted by relevance

/drivers/usb/gadget/function/
Du_audio.h60 struct g_audio { struct
76 int (*notify)(struct g_audio *g_audio, int unit_id, int cs); argument
84 static inline struct g_audio *func_to_g_audio(struct usb_function *f) in func_to_g_audio() argument
86 return container_of(f, struct g_audio, func); in func_to_g_audio()
114 int g_audio_setup(struct g_audio *g_audio, const char *pcm_name,
116 void g_audio_cleanup(struct g_audio *g_audio);
118 int u_audio_start_capture(struct g_audio *g_audio);
119 void u_audio_stop_capture(struct g_audio *g_audio);
120 int u_audio_start_playback(struct g_audio *g_audio);
121 void u_audio_stop_playback(struct g_audio *g_audio);
[all …]
Du_audio.c75 struct g_audio *audio_dev;
285 struct g_audio *audio_dev = uac->audio_dev; in u_audio_iso_fback_complete()
318 struct g_audio *audio_dev; in uac_pcm_trigger()
389 struct g_audio *audio_dev; in uac_pcm_open()
443 struct g_audio *audio_dev; in free_ep()
509 int u_audio_set_capture_srate(struct g_audio *audio_dev, int srate) in u_audio_set_capture_srate()
534 int u_audio_get_capture_srate(struct g_audio *audio_dev, u32 *val) in u_audio_get_capture_srate()
548 int u_audio_set_playback_srate(struct g_audio *audio_dev, int srate) in u_audio_set_playback_srate()
573 int u_audio_get_playback_srate(struct g_audio *audio_dev, u32 *val) in u_audio_get_playback_srate()
587 int u_audio_start_capture(struct g_audio *audio_dev) in u_audio_start_capture()
[all …]
Df_uac1.c37 struct g_audio g_audio; member
53 return container_of(f, struct f_uac1, g_audio.func); in func_to_uac1()
56 static inline struct f_uac1_opts *g_audio_to_uac1_opts(struct g_audio *audio) in g_audio_to_uac1_opts()
346 struct g_audio *agdev = func_to_g_audio(fn); in uac_cs_attr_sample_rate()
368 struct g_audio *audio = req->context; in audio_notify_complete()
376 static int audio_notify(struct g_audio *audio, int unit_id, int cs) in audio_notify()
433 struct g_audio *audio = func_to_g_audio(fn); in in_rq_cur()
484 struct g_audio *audio = func_to_g_audio(fn); in in_rq_min()
531 struct g_audio *audio = func_to_g_audio(fn); in in_rq_max()
578 struct g_audio *audio = func_to_g_audio(fn); in in_rq_res()
[all …]
Df_uac2.c64 struct g_audio g_audio; member
79 return container_of(f, struct f_uac2, g_audio.func); in func_to_uac2()
83 struct f_uac2_opts *g_audio_to_uac2_opts(struct g_audio *agdev) in g_audio_to_uac2_opts()
88 static int afunc_notify(struct g_audio *agdev, int unit_id, int cs);
985 static int afunc_validate_opts(struct g_audio *agdev, struct device *dev) in afunc_validate_opts()
1036 struct g_audio *agdev = func_to_g_audio(fn); in afunc_bind()
1350 struct g_audio *agdev = req->context; in afunc_notify_complete()
1359 afunc_notify(struct g_audio *agdev, int unit_id, int cs) in afunc_notify()
1422 struct g_audio *agdev = func_to_g_audio(fn); in afunc_set_alt()
1454 ret = u_audio_start_capture(&uac2->g_audio); in afunc_set_alt()
[all …]
/drivers/usb/gadget/legacy/
DMakefile11 g_audio-y := audio.o
29 obj-$(CONFIG_USB_AUDIO) += g_audio.o
DKconfig98 dynamically linked module called "g_audio".
/drivers/media/v4l2-core/
Dv4l2-ioctl.c2809 DEFINE_V4L_STUB_FUNC(g_audio)