Lines Matching refs:ss

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