• Home
  • Raw
  • Download

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()
135 ss->runtime->hw = snd_solo_pcm_hw; in snd_solo_pcm_open()
137 snd_pcm_substream_chip(ss) = solo_pcm; in snd_solo_pcm_open()
146 static int snd_solo_pcm_close(struct snd_pcm_substream *ss) in snd_solo_pcm_close() argument
148 struct solo_snd_pcm *solo_pcm = snd_pcm_substream_chip(ss); in snd_solo_pcm_close()
150 snd_pcm_substream_chip(ss) = solo_pcm->solo_dev; in snd_solo_pcm_close()
158 static int snd_solo_pcm_trigger(struct snd_pcm_substream *ss, int cmd) in snd_solo_pcm_trigger() argument
160 struct solo_snd_pcm *solo_pcm = snd_pcm_substream_chip(ss); in snd_solo_pcm_trigger()
192 static int snd_solo_pcm_prepare(struct snd_pcm_substream *ss) in snd_solo_pcm_prepare() argument
197 static snd_pcm_uframes_t snd_solo_pcm_pointer(struct snd_pcm_substream *ss) in snd_solo_pcm_pointer() argument
199 struct solo_snd_pcm *solo_pcm = snd_pcm_substream_chip(ss); in snd_solo_pcm_pointer()
206 static int snd_solo_pcm_copy_user(struct snd_pcm_substream *ss, int channel, in snd_solo_pcm_copy_user() argument
210 struct solo_snd_pcm *solo_pcm = snd_pcm_substream_chip(ss); in snd_solo_pcm_copy_user()
220 (ss->number * G723_PERIOD_BYTES), in snd_solo_pcm_copy_user()
233 static int snd_solo_pcm_copy_kernel(struct snd_pcm_substream *ss, int channel, in snd_solo_pcm_copy_kernel() argument
237 struct solo_snd_pcm *solo_pcm = snd_pcm_substream_chip(ss); in snd_solo_pcm_copy_kernel()
247 (ss->number * G723_PERIOD_BYTES), in snd_solo_pcm_copy_kernel()
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()