Lines Matching refs:runtime
512 ret = !!(io->substream && io->substream->runtime); in fsi_stream_is_working()
527 struct snd_pcm_runtime *runtime = substream->runtime; in fsi_stream_init() local
533 io->buff_sample_capa = fsi_frame2sample(fsi, runtime->buffer_size); in fsi_stream_init()
535 io->period_samples = fsi_frame2sample(fsi, runtime->period_size); in fsi_stream_init()
537 io->sample_width = samples_to_bytes(runtime, 1); in fsi_stream_init()
1043 struct snd_pcm_runtime *runtime = substream->runtime; in fsi_pointer_update() local
1047 if (io->period_pos >= runtime->periods) { in fsi_pointer_update()
1111 struct snd_pcm_runtime *runtime = io->substream->runtime; in fsi_pio_get_area() local
1113 return runtime->dma_area + in fsi_pio_get_area()
1114 samples_to_bytes(runtime, io->buff_sample_pos); in fsi_pio_get_area()
1304 substream->runtime->dma_addr, in fsi_dma_transfer()
1725 struct snd_pcm_runtime *runtime = substream->runtime; in fsi_pcm_open() local
1730 ret = snd_pcm_hw_constraint_integer(runtime, in fsi_pcm_open()