Lines Matching refs:g_audio
60 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);
123 int u_audio_get_capture_srate(struct g_audio *audio_dev, u32 *val);
124 int u_audio_set_capture_srate(struct g_audio *audio_dev, int srate);
125 int u_audio_get_playback_srate(struct g_audio *audio_dev, u32 *val);
126 int u_audio_set_playback_srate(struct g_audio *audio_dev, int srate);
128 int u_audio_get_volume(struct g_audio *g_audio, int playback, s16 *val);
129 int u_audio_set_volume(struct g_audio *g_audio, int playback, s16 val);
130 int u_audio_get_mute(struct g_audio *g_audio, int playback, int *val);
131 int u_audio_set_mute(struct g_audio *g_audio, int playback, int val);
133 void u_audio_suspend(struct g_audio *g_audio);