Lines Matching refs:g_audio

75 	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()
669 void u_audio_stop_capture(struct g_audio *audio_dev) in u_audio_stop_capture()
680 int u_audio_start_playback(struct g_audio *audio_dev) in u_audio_start_playback()
751 void u_audio_stop_playback(struct g_audio *audio_dev) in u_audio_stop_playback()
760 void u_audio_suspend(struct g_audio *audio_dev) in u_audio_suspend()
769 int u_audio_get_volume(struct g_audio *audio_dev, int playback, s16 *val) in u_audio_get_volume()
788 int u_audio_set_volume(struct g_audio *audio_dev, int playback, s16 val) in u_audio_set_volume()
816 int u_audio_get_mute(struct g_audio *audio_dev, int playback, int *val) in u_audio_get_mute()
835 int u_audio_set_mute(struct g_audio *audio_dev, int playback, int val) in u_audio_set_mute()
871 struct g_audio *audio_dev = uac->audio_dev; in u_audio_pitch_info()
901 struct g_audio *audio_dev = uac->audio_dev; in u_audio_pitch_put()
955 struct g_audio *audio_dev = uac->audio_dev; in u_audio_mute_put()
1031 struct g_audio *audio_dev = uac->audio_dev; in u_audio_volume_put()
1086 struct g_audio *audio_dev = uac->audio_dev; in u_audio_rate_info()
1155 int g_audio_setup(struct g_audio *g_audio, const char *pcm_name, in g_audio_setup() argument
1166 if (!g_audio) in g_audio_setup()
1172 g_audio->uac = uac; in g_audio_setup()
1173 uac->audio_dev = g_audio; in g_audio_setup()
1175 params = &g_audio->params; in g_audio_setup()
1184 prm->max_psize = g_audio->out_ep_maxpsize; in g_audio_setup()
1209 prm->max_psize = g_audio->in_ep_maxpsize; in g_audio_setup()
1230 err = snd_card_new(&g_audio->gadget->dev, in g_audio_setup()
1257 if ((c_chmask && g_audio->in_ep_fback) in g_audio_setup()
1262 if (c_chmask && g_audio->in_ep_fback) { in g_audio_setup()
1414 void g_audio_cleanup(struct g_audio *g_audio) in g_audio_cleanup() argument
1419 if (!g_audio || !g_audio->uac) in g_audio_cleanup()
1422 uac = g_audio->uac; in g_audio_cleanup()