Lines Matching refs:ss
80 struct snd_pcm_substream *ss;
83 for (ss = pstr->substream; ss != NULL; ss = ss->next) {
84 if (snd_pcm_substream_chip(ss) == NULL)
88 if (snd_pcm_substream_chip(ss) == solo_dev)
92 solo_pcm = snd_pcm_substream_chip(ss);
96 snd_pcm_period_elapsed(ss);
118 static int snd_solo_pcm_open(struct snd_pcm_substream *ss)
120 struct solo_dev *solo_dev = snd_pcm_substream_chip(ss);
136 ss->runtime->hw = snd_solo_pcm_hw;
138 snd_pcm_substream_chip(ss) = solo_pcm;
147 static int snd_solo_pcm_close(struct snd_pcm_substream *ss)
149 struct solo_snd_pcm *solo_pcm = snd_pcm_substream_chip(ss);
151 snd_pcm_substream_chip(ss) = solo_pcm->solo_dev;
159 static int snd_solo_pcm_trigger(struct snd_pcm_substream *ss, int cmd)
161 struct solo_snd_pcm *solo_pcm = snd_pcm_substream_chip(ss);
193 static int snd_solo_pcm_prepare(struct snd_pcm_substream *ss)
198 static snd_pcm_uframes_t snd_solo_pcm_pointer(struct snd_pcm_substream *ss)
200 struct solo_snd_pcm *solo_pcm = snd_pcm_substream_chip(ss);
207 static int snd_solo_pcm_copy(struct snd_pcm_substream *ss, int channel,
211 struct solo_snd_pcm *solo_pcm = snd_pcm_substream_chip(ss);
221 (ss->number * G723_PERIOD_BYTES),
294 struct snd_pcm_substream *ss;
310 for (i = 0, ss = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream;
311 ss; ss = ss->next, i++)
312 sprintf(ss->name, "Camera #%d Audio", i);