Lines Matching defs:runtime
99 struct hdac_stream *hstream = substream->runtime->private_data;
107 dmab = substream->runtime->dma_buffer_p;
149 struct hdac_stream *hstream = substream->runtime->private_data;
150 struct snd_pcm_runtime *runtime = substream->runtime;
154 appl_pos = frames_to_bytes(runtime, runtime->control->appl_ptr);
155 buf_size = frames_to_bytes(runtime, runtime->buffer_size);
171 struct hdac_stream *hstream = substream->runtime->private_data;
182 struct hdac_stream *hstream = substream->runtime->private_data;
202 pos = bytes_to_frames(substream->runtime, pos);
212 struct snd_pcm_runtime *runtime = substream->runtime;
230 runtime->hw.info |= SNDRV_PCM_INFO_NO_REWINDS | SNDRV_PCM_INFO_SYNC_APPLPTR;
237 runtime->hw.info &= ~SNDRV_PCM_INFO_PAUSE;
251 snd_pcm_hw_constraint_step(substream->runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_BYTES, 4);
254 snd_pcm_hw_constraint_integer(substream->runtime,
259 snd_pcm_hw_constraint_mask64(substream->runtime, SNDRV_PCM_HW_PARAM_FORMAT,
263 substream->runtime->private_data = &dsp_stream->hstream;
270 struct hdac_stream *hstream = substream->runtime->private_data;
282 substream->runtime->private_data = NULL;