Lines Matching refs:snd_pcm_runtime

344 struct snd_pcm_runtime {  struct
404 void (*private_free)(struct snd_pcm_runtime *runtime); argument
460 struct snd_pcm_runtime *runtime;
675 static inline ssize_t bytes_to_samples(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_samples()
685 static inline snd_pcm_sframes_t bytes_to_frames(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_frames()
695 static inline ssize_t samples_to_bytes(struct snd_pcm_runtime *runtime, ssize_t size) in samples_to_bytes()
705 static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size) in frames_to_bytes()
715 static inline int frame_aligned(struct snd_pcm_runtime *runtime, ssize_t bytes) in frame_aligned()
726 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_buffer_bytes()
736 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_period_bytes()
746 static inline snd_pcm_uframes_t snd_pcm_playback_avail(struct snd_pcm_runtime *runtime) in snd_pcm_playback_avail()
762 static inline snd_pcm_uframes_t snd_pcm_capture_avail(struct snd_pcm_runtime *runtime) in snd_pcm_capture_avail()
774 static inline snd_pcm_sframes_t snd_pcm_playback_hw_avail(struct snd_pcm_runtime *runtime) in snd_pcm_playback_hw_avail()
783 static inline snd_pcm_sframes_t snd_pcm_capture_hw_avail(struct snd_pcm_runtime *runtime) in snd_pcm_capture_hw_avail()
798 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_ready()
812 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_capture_ready()
827 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_data()
844 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_empty()
858 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_capture_empty()
986 int snd_pcm_hw_constraint_mask64(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var,
988 int snd_pcm_hw_constraint_minmax(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var,
990 int snd_pcm_hw_constraint_integer(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var);
991 int snd_pcm_hw_constraint_list(struct snd_pcm_runtime *runtime,
995 int snd_pcm_hw_constraint_ranges(struct snd_pcm_runtime *runtime,
999 int snd_pcm_hw_constraint_ratnums(struct snd_pcm_runtime *runtime,
1003 int snd_pcm_hw_constraint_ratdens(struct snd_pcm_runtime *runtime,
1007 int snd_pcm_hw_constraint_msbits(struct snd_pcm_runtime *runtime,
1011 int snd_pcm_hw_constraint_step(struct snd_pcm_runtime *runtime,
1015 int snd_pcm_hw_constraint_pow2(struct snd_pcm_runtime *runtime,
1018 int snd_pcm_hw_rule_noresample(struct snd_pcm_runtime *runtime,
1020 int snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime,
1036 struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_single()
1137 snd_pcm_limit_hw_rates(struct snd_pcm_runtime *runtime) in snd_pcm_limit_hw_rates()
1160 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_set_runtime_buffer()
1179 static inline void snd_pcm_gettime(struct snd_pcm_runtime *runtime, in snd_pcm_gettime()