Lines Matching defs:runtime
355 struct snd_pcm_runtime *runtime = chip->channel[ch].substream->runtime;
361 dst_base = runtime->dma_area;
363 dst_mask = frames_to_bytes(runtime, runtime->buffer_size) - 1;
367 ret = chip->channel[ch].size >= runtime->period_size;
368 chip->channel[ch].size %= runtime->period_size;
403 struct snd_pcm_runtime *runtime = chip->channel[ch].substream->runtime;
409 src_base = runtime->dma_area;
411 src_mask = frames_to_bytes(runtime, runtime->buffer_size) - 1;
415 ret = chip->channel[ch].size >= runtime->period_size;
416 chip->channel[ch].size %= runtime->period_size;
443 struct snd_sgio2audio_chan *chan = substream->runtime->private_data;
463 struct snd_sgio2audio_chan *chan = substream->runtime->private_data;
543 struct snd_pcm_runtime *runtime = substream->runtime;
545 runtime->hw = snd_sgio2audio_pcm_hw;
546 runtime->private_data = &chip->channel[1];
553 struct snd_pcm_runtime *runtime = substream->runtime;
555 runtime->hw = snd_sgio2audio_pcm_hw;
556 runtime->private_data = &chip->channel[2];
564 struct snd_pcm_runtime *runtime = substream->runtime;
566 runtime->hw = snd_sgio2audio_pcm_hw;
567 runtime->private_data = &chip->channel[0];
574 struct snd_pcm_runtime *runtime = substream->runtime;
576 runtime->private_data = NULL;
584 struct snd_pcm_runtime *runtime = substream->runtime;
585 struct snd_sgio2audio_chan *chan = substream->runtime->private_data;
602 runtime->rate,
604 runtime->channels);
608 runtime->rate,
610 runtime->channels);
641 struct snd_sgio2audio_chan *chan = substream->runtime->private_data;
644 return bytes_to_frames(substream->runtime,