Lines Matching defs:runtime
66 struct snd_pcm_runtime *runtime = substream->runtime;
67 struct idma_ctrl *prtd = substream->runtime->private_data;
88 val |= (((runtime->dma_bytes >> 2) &
102 struct idma_ctrl *prtd = substream->runtime->private_data;
134 struct idma_ctrl *prtd = substream->runtime->private_data;
144 struct snd_pcm_runtime *runtime = substream->runtime;
145 struct idma_ctrl *prtd = substream->runtime->private_data;
155 runtime->dma_bytes = params_buffer_bytes(params);
157 prtd->start = prtd->pos = runtime->dma_addr;
160 prtd->end = runtime->dma_addr + runtime->dma_bytes;
178 struct idma_ctrl *prtd = substream->runtime->private_data;
192 struct idma_ctrl *prtd = substream->runtime->private_data;
226 struct snd_pcm_runtime *runtime = substream->runtime;
227 struct idma_ctrl *prtd = runtime->private_data;
238 return bytes_to_frames(substream->runtime, res);
245 struct snd_pcm_runtime *runtime = substream->runtime;
254 (runtime->dma_addr + offset) >> PAGE_SHIFT,
290 struct snd_pcm_runtime *runtime = substream->runtime;
309 runtime->private_data = prtd;
317 struct snd_pcm_runtime *runtime = substream->runtime;
318 struct idma_ctrl *prtd = runtime->private_data;