Lines Matching refs:snd_pcm_runtime
362 struct snd_pcm_runtime {
426 void (*private_free)(struct snd_pcm_runtime *runtime);
478 struct snd_pcm_runtime *runtime;
725 static inline void __snd_pcm_set_state(struct snd_pcm_runtime *runtime,
739 static inline ssize_t bytes_to_samples(struct snd_pcm_runtime *runtime, ssize_t size)
751 static inline snd_pcm_sframes_t bytes_to_frames(struct snd_pcm_runtime *runtime, ssize_t size)
763 static inline ssize_t samples_to_bytes(struct snd_pcm_runtime *runtime, ssize_t size)
775 static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size)
787 static inline int frame_aligned(struct snd_pcm_runtime *runtime, ssize_t bytes)
800 struct snd_pcm_runtime *runtime = substream->runtime;
812 struct snd_pcm_runtime *runtime = substream->runtime;
824 static inline snd_pcm_uframes_t snd_pcm_playback_avail(struct snd_pcm_runtime *runtime)
842 static inline snd_pcm_uframes_t snd_pcm_capture_avail(struct snd_pcm_runtime *runtime)
856 static inline snd_pcm_sframes_t snd_pcm_playback_hw_avail(struct snd_pcm_runtime *runtime)
867 static inline snd_pcm_sframes_t snd_pcm_capture_hw_avail(struct snd_pcm_runtime *runtime)
882 struct snd_pcm_runtime *runtime = substream->runtime;
896 struct snd_pcm_runtime *runtime = substream->runtime;
911 struct snd_pcm_runtime *runtime = substream->runtime;
928 struct snd_pcm_runtime *runtime = substream->runtime;
942 struct snd_pcm_runtime *runtime = substream->runtime;
1082 int snd_pcm_hw_constraint_mask64(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var,
1084 int snd_pcm_hw_constraint_minmax(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var,
1086 int snd_pcm_hw_constraint_integer(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var);
1087 int snd_pcm_hw_constraint_list(struct snd_pcm_runtime *runtime,
1091 int snd_pcm_hw_constraint_ranges(struct snd_pcm_runtime *runtime,
1095 int snd_pcm_hw_constraint_ratnums(struct snd_pcm_runtime *runtime,
1099 int snd_pcm_hw_constraint_ratdens(struct snd_pcm_runtime *runtime,
1103 int snd_pcm_hw_constraint_msbits(struct snd_pcm_runtime *runtime,
1107 int snd_pcm_hw_constraint_step(struct snd_pcm_runtime *runtime,
1111 int snd_pcm_hw_constraint_pow2(struct snd_pcm_runtime *runtime,
1114 int snd_pcm_hw_rule_noresample(struct snd_pcm_runtime *runtime,
1116 int snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime,
1132 struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var,
1245 snd_pcm_limit_hw_rates(struct snd_pcm_runtime *runtime)
1266 struct snd_pcm_runtime *runtime = substream->runtime;
1285 static inline void snd_pcm_gettime(struct snd_pcm_runtime *runtime,
1405 void snd_pcm_runtime_buffer_set_silence(struct snd_pcm_runtime *runtime);