Lines Matching defs:runtime
68 bd->data[0] = s->runtime->dma_addr + (s->period_next * s->period_bytes);
72 s->period_next = (s->period_next + 1) % s->runtime->periods;
86 s->period_current = (s->period_current+1) % s->runtime->periods;
122 struct snd_pcm_runtime *runtime = substream->runtime;
132 substream->pstr->stream, runtime->frame_bits,
133 (int)runtime->period_size, runtime->periods);
134 s->period_bytes = frames_to_bytes(runtime,
135 runtime->period_size);
140 s->runtime = runtime;
152 for (i = 0; i < runtime->periods; i++)
221 struct snd_pcm_runtime *runtime = substream->runtime;
236 rc = snd_pcm_hw_constraint_integer(runtime,
288 return bytes_to_frames(substream->runtime, count);