Lines Matching defs:runtime

354 	struct snd_pcm_runtime *runtime = chip->channel[ch].substream->runtime;
360 dst_base = runtime->dma_area;
362 dst_mask = frames_to_bytes(runtime, runtime->buffer_size) - 1;
366 ret = chip->channel[ch].size >= runtime->period_size;
367 chip->channel[ch].size %= runtime->period_size;
402 struct snd_pcm_runtime *runtime = chip->channel[ch].substream->runtime;
408 src_base = runtime->dma_area;
410 src_mask = frames_to_bytes(runtime, runtime->buffer_size) - 1;
414 ret = chip->channel[ch].size >= runtime->period_size;
415 chip->channel[ch].size %= runtime->period_size;
442 struct snd_sgio2audio_chan *chan = substream->runtime->private_data;
462 struct snd_sgio2audio_chan *chan = substream->runtime->private_data;
542 struct snd_pcm_runtime *runtime = substream->runtime;
544 runtime->hw = snd_sgio2audio_pcm_hw;
545 runtime->private_data = &chip->channel[1];
552 struct snd_pcm_runtime *runtime = substream->runtime;
554 runtime->hw = snd_sgio2audio_pcm_hw;
555 runtime->private_data = &chip->channel[2];
563 struct snd_pcm_runtime *runtime = substream->runtime;
565 runtime->hw = snd_sgio2audio_pcm_hw;
566 runtime->private_data = &chip->channel[0];
573 struct snd_pcm_runtime *runtime = substream->runtime;
575 runtime->private_data = NULL;
583 struct snd_pcm_runtime *runtime = substream->runtime;
584 struct snd_sgio2audio_chan *chan = substream->runtime->private_data;
601 runtime->rate,
603 runtime->channels);
607 runtime->rate,
609 runtime->channels);
640 struct snd_sgio2audio_chan *chan = substream->runtime->private_data;
643 return bytes_to_frames(substream->runtime,