Lines Matching full:runtime

148 	struct snd_pcm_runtime *runtime = substream->runtime;  in bcm63xx_pcm_prepare()  local
153 dma_desc->dma_addr = runtime->dma_addr; in bcm63xx_pcm_prepare()
154 dma_desc->dma_area = runtime->dma_area; in bcm63xx_pcm_prepare()
178 struct bcm63xx_runtime_data *prtd = substream->runtime->private_data; in bcm63xx_pcm_pointer()
181 prtd->dma_addr_next = substream->runtime->dma_addr; in bcm63xx_pcm_pointer()
183 x = bytes_to_frames(substream->runtime, in bcm63xx_pcm_pointer()
184 prtd->dma_addr_next - substream->runtime->dma_addr); in bcm63xx_pcm_pointer()
186 return x == substream->runtime->buffer_size ? 0 : x; in bcm63xx_pcm_pointer()
193 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_open() local
196 runtime->hw = bcm63xx_pcm_hardware; in bcm63xx_pcm_open()
197 ret = snd_pcm_hw_constraint_step(runtime, 0, in bcm63xx_pcm_open()
202 ret = snd_pcm_hw_constraint_step(runtime, 0, in bcm63xx_pcm_open()
207 ret = snd_pcm_hw_constraint_integer(runtime, in bcm63xx_pcm_open()
217 runtime->private_data = prtd; in bcm63xx_pcm_open()
226 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_close() local
227 struct bcm63xx_runtime_data *prtd = runtime->private_data; in bcm63xx_pcm_close()
238 struct snd_pcm_runtime *runtime; in i2s_dma_isr() local
252 runtime = substream->runtime; in i2s_dma_isr()
254 prtd = runtime->private_data; in i2s_dma_isr()
274 if (dma_desc->dma_addr - runtime->dma_addr >= in i2s_dma_isr()
275 runtime->dma_bytes) { in i2s_dma_isr()
276 dma_desc->dma_addr = runtime->dma_addr; in i2s_dma_isr()
277 dma_desc->dma_area = runtime->dma_area; in i2s_dma_isr()
300 runtime = substream->runtime; in i2s_dma_isr()
302 prtd = runtime->private_data; in i2s_dma_isr()
324 if (dma_desc->dma_addr - runtime->dma_addr >= in i2s_dma_isr()
325 runtime->dma_bytes) { in i2s_dma_isr()
326 dma_desc->dma_addr = runtime->dma_addr; in i2s_dma_isr()
327 dma_desc->dma_area = runtime->dma_area; in i2s_dma_isr()