Lines Matching refs:g_audio
37 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()
403 struct g_audio *agdev = func_to_g_audio(fn); in uac_cs_attr_sample_rate()
425 struct g_audio *audio = req->context; in audio_notify_complete()
433 static int audio_notify(struct g_audio *audio, int unit_id, int cs) in audio_notify()
490 struct g_audio *audio = func_to_g_audio(fn); in in_rq_cur()
541 struct g_audio *audio = func_to_g_audio(fn); in in_rq_min()
588 struct g_audio *audio = func_to_g_audio(fn); in in_rq_max()
635 struct g_audio *audio = func_to_g_audio(fn); in in_rq_res()
681 struct g_audio *audio = req->context; in out_rq_cur_complete()
736 struct g_audio *audio = func_to_g_audio(fn); in out_rq_cur()
938 struct g_audio *audio = func_to_g_audio(f); in f_audio_set_alt()
969 ret = u_audio_start_capture(&uac1->g_audio); in f_audio_set_alt()
971 u_audio_stop_capture(&uac1->g_audio); in f_audio_set_alt()
976 ret = u_audio_start_playback(&uac1->g_audio); in f_audio_set_alt()
978 u_audio_stop_playback(&uac1->g_audio); in f_audio_set_alt()
1015 u_audio_stop_playback(&uac1->g_audio); in f_audio_disable()
1016 u_audio_stop_capture(&uac1->g_audio); in f_audio_disable()
1026 u_audio_suspend(&uac1->g_audio); in f_audio_suspend()
1179 static int f_audio_validate_opts(struct g_audio *audio, struct device *dev) in f_audio_validate_opts()
1238 struct g_audio *audio = func_to_g_audio(f); in f_audio_bind()
1799 struct g_audio *audio; in f_audio_free()
1812 struct g_audio *audio = func_to_g_audio(f); in f_audio_unbind()
1843 uac1->g_audio.func.name = "uac1_func"; in f_audio_alloc()
1844 uac1->g_audio.func.bind = f_audio_bind; in f_audio_alloc()
1845 uac1->g_audio.func.unbind = f_audio_unbind; in f_audio_alloc()
1846 uac1->g_audio.func.set_alt = f_audio_set_alt; in f_audio_alloc()
1847 uac1->g_audio.func.get_alt = f_audio_get_alt; in f_audio_alloc()
1848 uac1->g_audio.func.setup = f_audio_setup; in f_audio_alloc()
1849 uac1->g_audio.func.disable = f_audio_disable; in f_audio_alloc()
1850 uac1->g_audio.func.suspend = f_audio_suspend; in f_audio_alloc()
1851 uac1->g_audio.func.free_func = f_audio_free; in f_audio_alloc()
1853 return &uac1->g_audio.func; in f_audio_alloc()