Lines Matching defs:runtime
447 substream->runtime->rate,
448 snd_pcm_format_width(substream->runtime->format));
454 switch (substream->runtime->rate) {
469 substream->runtime->rate);
474 switch (snd_pcm_format_width(substream->runtime->format)) {
483 snd_pcm_format_width(substream->runtime->format));
513 struct snd_pcm_runtime *runtime = substream->runtime;
516 /* to retrieve substream/runtime in interrupt handler */
519 runtime->hw = snd_ps3_pcm_hw;
526 snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_BUFFER_BYTES,
544 rate = substream->runtime->rate;
545 ret = snd_pcm_format_size(substream->runtime->format,
547 * substream->runtime->channels;
553 snd_pcm_format_size(substream->runtime->format, rate),
562 struct snd_pcm_runtime *runtime = substream->runtime;
583 card->dma_buffer_size = runtime->dma_bytes;
588 runtime->dma_area;
589 card->dma_start_bus_addr[SND_PS3_CH_L] = runtime->dma_addr;
594 runtime->dma_area + (runtime->dma_bytes / 2);
596 runtime->dma_addr + (runtime->dma_bytes / 2);
671 ret = bytes_to_frames(substream->runtime, bytes * 2);