Lines Matching refs:snd_pcm_runtime
341 struct snd_pcm_runtime { struct
400 void (*private_free)(struct snd_pcm_runtime *runtime); argument
459 struct snd_pcm_runtime *runtime;
673 static inline ssize_t bytes_to_samples(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_samples()
683 static inline snd_pcm_sframes_t bytes_to_frames(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_frames()
693 static inline ssize_t samples_to_bytes(struct snd_pcm_runtime *runtime, ssize_t size) in samples_to_bytes()
703 static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size) in frames_to_bytes()
713 static inline int frame_aligned(struct snd_pcm_runtime *runtime, ssize_t bytes) in frame_aligned()
724 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_buffer_bytes()
734 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_period_bytes()
744 static inline snd_pcm_uframes_t snd_pcm_playback_avail(struct snd_pcm_runtime *runtime) in snd_pcm_playback_avail()
760 static inline snd_pcm_uframes_t snd_pcm_capture_avail(struct snd_pcm_runtime *runtime) in snd_pcm_capture_avail()
772 static inline snd_pcm_sframes_t snd_pcm_playback_hw_avail(struct snd_pcm_runtime *runtime) in snd_pcm_playback_hw_avail()
781 static inline snd_pcm_sframes_t snd_pcm_capture_hw_avail(struct snd_pcm_runtime *runtime) in snd_pcm_capture_hw_avail()
796 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_ready()
810 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_capture_ready()
825 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_data()
842 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_empty()
856 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_capture_empty()
994 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var,
996 int snd_pcm_hw_constraint_mask64(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var,
998 int snd_pcm_hw_constraint_minmax(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var,
1000 int snd_pcm_hw_constraint_integer(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var);
1001 int snd_pcm_hw_constraint_list(struct snd_pcm_runtime *runtime,
1005 int snd_pcm_hw_constraint_ranges(struct snd_pcm_runtime *runtime,
1009 int snd_pcm_hw_constraint_ratnums(struct snd_pcm_runtime *runtime,
1013 int snd_pcm_hw_constraint_ratdens(struct snd_pcm_runtime *runtime,
1017 int snd_pcm_hw_constraint_msbits(struct snd_pcm_runtime *runtime,
1021 int snd_pcm_hw_constraint_step(struct snd_pcm_runtime *runtime,
1025 int snd_pcm_hw_constraint_pow2(struct snd_pcm_runtime *runtime,
1028 int snd_pcm_hw_rule_noresample(struct snd_pcm_runtime *runtime,
1030 int snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime,
1068 struct snd_pcm_runtime *runtime);
1084 int snd_pcm_limit_hw_rates(struct snd_pcm_runtime *runtime);
1101 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_set_runtime_buffer()
1128 static inline void snd_pcm_gettime(struct snd_pcm_runtime *runtime, in snd_pcm_gettime()