Lines Matching refs:rt
218 struct snd_pcm_runtime *rt = substream->runtime; in siu_io_tasklet() local
233 buff = (dma_addr_t)PERIOD_OFFSET(rt->dma_addr, in siu_io_tasklet()
236 virt = PERIOD_OFFSET(rt->dma_area, in siu_io_tasklet()
245 (dma_addr_t)PERIOD_OFFSET(rt->dma_addr, in siu_io_tasklet()
408 struct snd_pcm_runtime *rt = ss->runtime; in siu_pcm_prepare() local
417 rt = siu_stream->substream->runtime; in siu_pcm_prepare()
423 info->port_id, rt->channels, siu_stream->period_bytes); in siu_pcm_prepare()
433 xfer_cnt = bytes_to_frames(rt, siu_stream->period_bytes); in siu_pcm_prepare()
437 siu_stream->format = rt->format; in siu_pcm_prepare()
442 (unsigned long)rt->dma_addr, siu_stream->buf_bytes, in siu_pcm_prepare()
444 siu_stream->format, rt->channels, (int)xfer_cnt); in siu_pcm_prepare()
497 struct snd_pcm_runtime *rt = ss->runtime; in siu_pcm_pointer_dma() local
510 ptr = PERIOD_OFFSET(rt->dma_addr, in siu_pcm_pointer_dma()
512 siu_stream->period_bytes) - rt->dma_addr; in siu_pcm_pointer_dma()