Lines Matching refs:ss

91 	struct snd_pcm_substream *ss;  in solo_g723_isr()  local
94 for (ss = pstr->substream; ss != NULL; ss = ss->next) { in solo_g723_isr()
95 if (snd_pcm_substream_chip(ss) == NULL) in solo_g723_isr()
99 if (snd_pcm_substream_chip(ss) == solo_dev) in solo_g723_isr()
103 solo_pcm = snd_pcm_substream_chip(ss); in solo_g723_isr()
107 snd_pcm_period_elapsed(ss); in solo_g723_isr()
111 static int snd_solo_hw_params(struct snd_pcm_substream *ss, in snd_solo_hw_params() argument
114 return snd_pcm_lib_malloc_pages(ss, params_buffer_bytes(hw_params)); in snd_solo_hw_params()
117 static int snd_solo_hw_free(struct snd_pcm_substream *ss) in snd_solo_hw_free() argument
119 return snd_pcm_lib_free_pages(ss); in snd_solo_hw_free()
140 static int snd_solo_pcm_open(struct snd_pcm_substream *ss) in snd_solo_pcm_open() argument
142 struct solo_dev *solo_dev = snd_pcm_substream_chip(ss); in snd_solo_pcm_open()
157 ss->runtime->hw = snd_solo_pcm_hw; in snd_solo_pcm_open()
159 snd_pcm_substream_chip(ss) = solo_pcm; in snd_solo_pcm_open()
168 static int snd_solo_pcm_close(struct snd_pcm_substream *ss) in snd_solo_pcm_close() argument
170 struct solo_snd_pcm *solo_pcm = snd_pcm_substream_chip(ss); in snd_solo_pcm_close()
172 snd_pcm_substream_chip(ss) = solo_pcm->solo_dev; in snd_solo_pcm_close()
180 static int snd_solo_pcm_trigger(struct snd_pcm_substream *ss, int cmd) in snd_solo_pcm_trigger() argument
182 struct solo_snd_pcm *solo_pcm = snd_pcm_substream_chip(ss); in snd_solo_pcm_trigger()
214 static int snd_solo_pcm_prepare(struct snd_pcm_substream *ss) in snd_solo_pcm_prepare() argument
219 static snd_pcm_uframes_t snd_solo_pcm_pointer(struct snd_pcm_substream *ss) in snd_solo_pcm_pointer() argument
221 struct solo_snd_pcm *solo_pcm = snd_pcm_substream_chip(ss); in snd_solo_pcm_pointer()
228 static int snd_solo_pcm_copy(struct snd_pcm_substream *ss, int channel, in snd_solo_pcm_copy() argument
232 struct solo_snd_pcm *solo_pcm = snd_pcm_substream_chip(ss); in snd_solo_pcm_copy()
242 (ss->number * G723_PERIOD_BYTES), in snd_solo_pcm_copy()
320 struct snd_pcm_substream *ss; in solo_snd_pcm_init() local
336 for (i = 0, ss = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; in solo_snd_pcm_init()
337 ss; ss = ss->next, i++) in solo_snd_pcm_init()
338 sprintf(ss->name, "Camera #%d Audio", i); in solo_snd_pcm_init()