Lines Matching refs:runtime
80 struct snd_pcm_runtime *runtime,
134 struct xtfpga_i2s *i2s, struct snd_pcm_runtime *runtime, \
138 (void *)runtime->dma_area; \
146 if (++tx_ptr >= runtime->buffer_size) \
169 unsigned new_tx_ptr = i2s->tx_fn(i2s, tx_substream->runtime, in xtfpga_pcm_push_tx()
373 struct snd_pcm_runtime *runtime = substream->runtime; in xtfpga_pcm_open() local
379 runtime->private_data = p; in xtfpga_pcm_open()
394 struct snd_pcm_runtime *runtime = substream->runtime; in xtfpga_pcm_hw_params() local
395 struct xtfpga_i2s *i2s = runtime->private_data; in xtfpga_pcm_hw_params()
433 struct snd_pcm_runtime *runtime = substream->runtime; in xtfpga_pcm_trigger() local
434 struct xtfpga_i2s *i2s = runtime->private_data; in xtfpga_pcm_trigger()
460 struct snd_pcm_runtime *runtime = substream->runtime; in xtfpga_pcm_pointer() local
461 struct xtfpga_i2s *i2s = runtime->private_data; in xtfpga_pcm_pointer()
464 return pos < runtime->buffer_size ? pos : 0; in xtfpga_pcm_pointer()