Lines Matching defs:runtime

651 	struct cs4281_dma *dma = substream->runtime->private_data;
715 struct snd_pcm_runtime *runtime,
722 if (runtime->channels == 1)
724 if (snd_pcm_format_unsigned(runtime->format) > 0)
726 if (snd_pcm_format_big_endian(runtime->format) > 0)
728 switch (snd_pcm_format_width(runtime->format)) {
730 if (runtime->channels == 1)
737 if (runtime->buffer_size != runtime->period_size)
740 snd_cs4281_pokeBA0(chip, dma->regDBA, runtime->dma_addr);
741 snd_cs4281_pokeBA0(chip, dma->regDBC, runtime->buffer_size - 1);
751 unsigned int val = snd_cs4281_rate(runtime->rate, NULL);
757 unsigned int val = snd_cs4281_rate(runtime->rate, NULL);
781 struct snd_pcm_runtime *runtime = substream->runtime;
782 struct cs4281_dma *dma = runtime->private_data;
786 snd_cs4281_mode(chip, dma, runtime, 0, 1);
793 struct snd_pcm_runtime *runtime = substream->runtime;
794 struct cs4281_dma *dma = runtime->private_data;
798 snd_cs4281_mode(chip, dma, runtime, 1, 1);
805 struct snd_pcm_runtime *runtime = substream->runtime;
806 struct cs4281_dma *dma = runtime->private_data;
812 snd_cs4281_peekBA0(chip, dma->regDCC), runtime->buffer_size,
815 return runtime->buffer_size -
872 struct snd_pcm_runtime *runtime = substream->runtime;
879 runtime->private_data = dma;
880 runtime->hw = snd_cs4281_playback;
884 snd_pcm_hw_constraint_msbits(runtime, 0, 32, 20);
891 struct snd_pcm_runtime *runtime = substream->runtime;
898 runtime->private_data = dma;
899 runtime->hw = snd_cs4281_capture;
903 snd_pcm_hw_constraint_msbits(runtime, 0, 32, 20);
909 struct cs4281_dma *dma = substream->runtime->private_data;
917 struct cs4281_dma *dma = substream->runtime->private_data;