Lines Matching refs:runtime

59 	return substream->runtime->private_data;  in get_hdac_ext_stream()
91 struct snd_pcm_runtime *runtime) in skl_set_pcm_constrains() argument
93 snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS); in skl_set_pcm_constrains()
96 snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_BUFFER_TIME, in skl_set_pcm_constrains()
113 struct snd_pcm_runtime *runtime = substream->runtime; in skl_pcm_open() local
127 skl_set_pcm_constrains(ebus, runtime); in skl_pcm_open()
134 runtime->hw.info &= ~SNDRV_PCM_INFO_HAS_WALL_CLOCK; /* legacy */ in skl_pcm_open()
135 runtime->hw.info &= ~SNDRV_PCM_INFO_HAS_LINK_ATIME; in skl_pcm_open()
138 runtime->private_data = stream; in skl_pcm_open()
163 struct snd_pcm_runtime *runtime = substream->runtime; in skl_get_format() local
165 format_val = snd_hdac_calc_stream_format(runtime->rate, in skl_get_format()
166 runtime->channels, in skl_get_format()
167 runtime->format, in skl_get_format()
217 struct snd_pcm_runtime *runtime = substream->runtime; in skl_pcm_hw_params() local
229 runtime->rate, runtime->channels, runtime->format); in skl_pcm_hw_params()
604 struct snd_pcm_runtime *runtime; in skl_platform_open() local
611 runtime = substream->runtime; in skl_platform_open()
784 return bytes_to_frames(substream->runtime, delay); in skl_get_delay_from_lpib()
802 if (substream->runtime) { in skl_get_position()
805 substream->runtime->delay += delay; in skl_get_position()
816 return bytes_to_frames(substream->runtime, in skl_platform_pcm_pointer()
832 substream->runtime->rate); in skl_adjust_codec_delay()
849 if ((substream->runtime->hw.info & SNDRV_PCM_INFO_HAS_LINK_ATIME) && in skl_get_time_info()
852 snd_pcm_gettime(substream->runtime, system_ts); in skl_get_time_info()