Lines Matching refs:go
73 static void parse_audio_stream_data(struct go7007 *go, u8 *buf, int length)
75 struct go7007_snd *gosnd = go->snd_context;
109 struct go7007 *go = snd_pcm_substream_chip(substream);
120 go->audio_deliver = parse_audio_stream_data;
126 struct go7007 *go = snd_pcm_substream_chip(substream);
128 go->audio_deliver = NULL;
137 struct go7007 *go = snd_pcm_substream_chip(substream);
138 struct go7007_snd *gosnd = go->snd_context;
155 struct go7007 *go = snd_pcm_substream_chip(substream);
156 struct go7007_snd *gosnd = go->snd_context;
169 struct go7007 *go = snd_pcm_substream_chip(substream);
170 struct go7007_snd *gosnd = go->snd_context;
189 struct go7007 *go = snd_pcm_substream_chip(substream);
190 struct go7007_snd *gosnd = go->snd_context;
215 struct go7007 *go = device->device_data;
217 kfree(go->snd_context);
218 go->snd_context = NULL;
226 int go7007_snd_init(struct go7007 *go)
244 ret = snd_card_new(go->dev, index[dev], id[dev], THIS_MODULE, 0,
250 ret = snd_device_new(gosnd->card, SNDRV_DEV_LOWLEVEL, go,
263 strlcpy(gosnd->card->shortname, go->name, sizeof(gosnd->card->driver));
267 gosnd->pcm->private_data = go;
279 go->snd_context = gosnd;
280 v4l2_device_get(&go->v4l2_dev);
287 int go7007_snd_remove(struct go7007 *go)
289 struct go7007_snd *gosnd = go->snd_context;
293 v4l2_device_put(&go->v4l2_dev);