Lines Matching defs:runtime

292 	switch (substream->runtime->rate) {
324 switch (substream->runtime->format) {
362 channels = substream->runtime->channels;
369 if (substream->runtime->format == SNDRV_PCM_FORMAT_S16_LE)
372 if (substream->runtime->format == SNDRV_PCM_FORMAT_S32_LE)
601 channels = substream->runtime->channels;
608 frame2.regval = (substream->runtime->channels - 1) | (ca << 24);
611 frame2.regx.chnl_cnt = substream->runtime->channels - 1;
874 u32 addr = substream->runtime->dma_addr + ofs;
877 if (!substream->runtime->no_period_wakeup)
887 intelhaddata->pcmbuf_filled %= substream->runtime->periods;
902 struct snd_pcm_runtime *runtime = substream->runtime;
905 num_periods = runtime->periods;
910 frames_to_bytes(runtime, runtime->period_size);
931 int num_periods = substream->runtime->periods;
1062 struct snd_pcm_runtime *runtime;
1066 runtime = substream->runtime;
1070 /* set the runtime hw parameter with local snd_pcm_hardware struct */
1071 runtime->hw = had_pcm_hardware;
1073 retval = snd_pcm_hw_constraint_integer(runtime,
1081 retval = snd_pcm_hw_constraint_step(substream->runtime, 0,
1086 retval = snd_pcm_hw_constraint_msbits(runtime, 0, 32, 24);
1200 struct snd_pcm_runtime *runtime;
1203 runtime = substream->runtime;
1206 (int)frames_to_bytes(runtime, runtime->period_size));
1207 dev_dbg(intelhaddata->dev, "periods=%d\n", runtime->periods);
1210 dev_dbg(intelhaddata->dev, "rate=%d\n", runtime->rate);
1211 dev_dbg(intelhaddata->dev, "channels=%d\n", runtime->channels);
1218 retval = had_prog_n(substream->runtime->rate, &n_param, intelhaddata);
1228 had_prog_cts(substream->runtime->rate, disp_samp_freq, link_rate,
1265 len = bytes_to_frames(substream->runtime, len);
1267 len %= substream->runtime->buffer_size;
1279 substream->runtime->dma_addr >> PAGE_SHIFT,
1315 retval = had_prog_n(substream->runtime->rate, &n_param, intelhaddata);
1325 had_prog_cts(substream->runtime->rate, disp_samp_freq, link_rate,