Lines Matching refs:ss
292 struct snd_pcm_substream *ss)
297 struct siu_port *port_info = siu_port_info(ss);
300 struct device *dev = ss->pcm->card->dev;
309 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) {
328 siu_stream->substream = ss;
334 struct snd_pcm_substream *ss)
337 struct device *dev = ss->pcm->card->dev;
338 struct siu_port *port_info = siu_port_info(ss);
343 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK)
357 struct snd_pcm_substream *ss)
360 struct siu_port *port_info = siu_port_info(ss);
361 struct device *dev = ss->pcm->card->dev;
366 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK)
373 siu_stream->buf_bytes = snd_pcm_lib_buffer_bytes(ss);
374 siu_stream->period_bytes = snd_pcm_lib_period_bytes(ss);
404 struct snd_pcm_substream *ss, int cmd)
407 struct device *dev = ss->pcm->card->dev;
408 struct siu_port *port_info = siu_port_info(ss);
416 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK)
427 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK)
448 struct snd_pcm_substream *ss)
450 struct device *dev = ss->pcm->card->dev;
453 struct siu_port *port_info = siu_port_info(ss);
454 struct snd_pcm_runtime *rt = ss->runtime;
458 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK)
480 return bytes_to_frames(ss->runtime, ptr);