Lines Matching refs:go
64 static void parse_audio_stream_data(struct go7007 *go, u8 *buf, int length)
66 struct go7007_snd *gosnd = go->snd_context;
101 struct go7007 *go = snd_pcm_substream_chip(substream);
103 go->audio_deliver = parse_audio_stream_data;
109 struct go7007 *go = snd_pcm_substream_chip(substream);
111 go->audio_deliver = NULL;
117 struct go7007 *go = snd_pcm_substream_chip(substream);
118 struct go7007_snd *gosnd = go->snd_context;
135 struct go7007 *go = snd_pcm_substream_chip(substream);
136 struct go7007_snd *gosnd = go->snd_context;
149 struct go7007 *go = snd_pcm_substream_chip(substream);
150 struct go7007_snd *gosnd = go->snd_context;
169 struct go7007 *go = snd_pcm_substream_chip(substream);
170 struct go7007_snd *gosnd = go->snd_context;
187 struct go7007 *go = device->device_data;
189 kfree(go->snd_context);
190 go->snd_context = NULL;
198 int go7007_snd_init(struct go7007 *go)
216 ret = snd_card_new(go->dev, index[dev], id[dev], THIS_MODULE, 0,
221 ret = snd_device_new(gosnd->card, SNDRV_DEV_LOWLEVEL, go,
231 strscpy(gosnd->card->shortname, go->name, sizeof(gosnd->card->shortname));
235 gosnd->pcm->private_data = go;
246 go->snd_context = gosnd;
247 v4l2_device_get(&go->v4l2_dev);
260 int go7007_snd_remove(struct go7007 *go)
262 struct go7007_snd *gosnd = go->snd_context;
266 v4l2_device_put(&go->v4l2_dev);