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()
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()
624 struct g_audio *audio = req->context; in out_rq_cur_complete()
679 struct g_audio *audio = func_to_g_audio(fn); in out_rq_cur()
881 struct g_audio *audio = func_to_g_audio(f); in f_audio_set_alt()
912 ret = u_audio_start_capture(&uac1->g_audio); in f_audio_set_alt()
914 u_audio_stop_capture(&uac1->g_audio); in f_audio_set_alt()
919 ret = u_audio_start_playback(&uac1->g_audio); in f_audio_set_alt()
921 u_audio_stop_playback(&uac1->g_audio); in f_audio_set_alt()
958 u_audio_stop_playback(&uac1->g_audio); in f_audio_disable()
959 u_audio_stop_capture(&uac1->g_audio); in f_audio_disable()
969 u_audio_suspend(&uac1->g_audio); in f_audio_suspend()
1122 static int f_audio_validate_opts(struct g_audio *audio, struct device *dev) in f_audio_validate_opts()
1181 struct g_audio *audio = func_to_g_audio(f); in f_audio_bind()
1695 struct g_audio *audio; in f_audio_free()
1708 struct g_audio *audio = func_to_g_audio(f); in f_audio_unbind()
1739 uac1->g_audio.func.name = "uac1_func"; in f_audio_alloc()
1740 uac1->g_audio.func.bind = f_audio_bind; in f_audio_alloc()
1741 uac1->g_audio.func.unbind = f_audio_unbind; in f_audio_alloc()
1742 uac1->g_audio.func.set_alt = f_audio_set_alt; in f_audio_alloc()
1743 uac1->g_audio.func.get_alt = f_audio_get_alt; in f_audio_alloc()
1744 uac1->g_audio.func.setup = f_audio_setup; in f_audio_alloc()
1745 uac1->g_audio.func.disable = f_audio_disable; in f_audio_alloc()
1746 uac1->g_audio.func.suspend = f_audio_suspend; in f_audio_alloc()
1747 uac1->g_audio.func.free_func = f_audio_free; in f_audio_alloc()
1749 return &uac1->g_audio.func; in f_audio_alloc()