Lines Matching refs:loopback_pcm

66 struct loopback_pcm;
72 int (*open)(struct loopback_pcm *dpcm);
76 int (*start)(struct loopback_pcm *dpcm);
80 int (*stop)(struct loopback_pcm *dpcm);
82 int (*stop_sync)(struct loopback_pcm *dpcm);
84 int (*close_substream)(struct loopback_pcm *dpcm);
88 int (*close_cable)(struct loopback_pcm *dpcm);
94 void (*dpcm_info)(struct loopback_pcm *dpcm,
100 struct loopback_pcm *streams[2];
140 struct loopback_pcm { struct
170 static inline unsigned int byte_pos(struct loopback_pcm *dpcm, unsigned int x) in byte_pos() argument
181 static inline unsigned int frac_pos(struct loopback_pcm *dpcm, unsigned int x) in frac_pos()
192 static inline struct loopback_setup *get_setup(struct loopback_pcm *dpcm) in get_setup()
201 static inline unsigned int get_notify(struct loopback_pcm *dpcm) in get_notify()
206 static inline unsigned int get_rate_shift(struct loopback_pcm *dpcm) in get_rate_shift()
212 static int loopback_jiffies_timer_start(struct loopback_pcm *dpcm) in loopback_jiffies_timer_start()
233 static int loopback_snd_timer_start(struct loopback_pcm *dpcm) in loopback_snd_timer_start()
262 static inline int loopback_jiffies_timer_stop(struct loopback_pcm *dpcm) in loopback_jiffies_timer_stop()
271 static int loopback_snd_timer_stop(struct loopback_pcm *dpcm) in loopback_snd_timer_stop()
293 static inline int loopback_jiffies_timer_stop_sync(struct loopback_pcm *dpcm) in loopback_jiffies_timer_stop_sync()
301 static int loopback_snd_timer_close_cable(struct loopback_pcm *dpcm) in loopback_snd_timer_close_cable()
394 static void loopback_active_notify(struct loopback_pcm *dpcm) in loopback_active_notify()
404 struct loopback_pcm *dpcm = runtime->private_data; in loopback_trigger()
461 struct loopback_pcm *dpcm = runtime->private_data; in params_change()
481 struct loopback_pcm *dpcm = runtime->private_data; in loopback_prepare()
524 static void clear_capture_buf(struct loopback_pcm *dpcm, unsigned int bytes) in clear_capture_buf()
550 static void copy_play_buf_part_n(struct loopback_pcm *play, struct loopback_pcm *capt, in copy_play_buf_part_n()
566 static void copy_play_buf(struct loopback_pcm *play, in copy_play_buf()
567 struct loopback_pcm *capt, in copy_play_buf()
618 static inline unsigned int bytepos_delta(struct loopback_pcm *dpcm, in bytepos_delta()
637 static inline void bytepos_finish(struct loopback_pcm *dpcm, in bytepos_finish()
648 struct loopback_pcm *dpcm_play = in loopback_jiffies_timer_pos_update()
650 struct loopback_pcm *dpcm_capt = in loopback_jiffies_timer_pos_update()
702 struct loopback_pcm *dpcm = from_timer(dpcm, t, timer); in loopback_jiffies_timer_function()
725 struct loopback_pcm *dpcm = runtime->private_data; in loopback_snd_timer_check_resolution()
758 struct loopback_pcm *dpcm_play, *dpcm_capt; in loopback_snd_timer_period_elapsed()
881 static void loopback_jiffies_timer_dpcm_info(struct loopback_pcm *dpcm, in loopback_jiffies_timer_dpcm_info()
893 static void loopback_snd_timer_dpcm_info(struct loopback_pcm *dpcm, in loopback_snd_timer_dpcm_info()
909 struct loopback_pcm *dpcm = runtime->private_data; in loopback_pointer()
950 struct loopback_pcm *dpcm = runtime->private_data; in loopback_runtime_free()
957 struct loopback_pcm *dpcm = runtime->private_data; in loopback_hw_free()
977 struct loopback_pcm *dpcm = rule->private; in rule_format()
992 struct loopback_pcm *dpcm = rule->private; in rule_rate()
1008 struct loopback_pcm *dpcm = rule->private; in rule_channels()
1024 struct loopback_pcm *dpcm = rule->private; in rule_period_bytes()
1053 struct loopback_pcm *dpcm = substream->runtime->private_data; in free_cable()
1063 static int loopback_jiffies_timer_open(struct loopback_pcm *dpcm) in loopback_jiffies_timer_open()
1143 static int loopback_snd_timer_open(struct loopback_pcm *dpcm) in loopback_snd_timer_open()
1235 struct loopback_pcm *dpcm; in loopback_open()
1335 struct loopback_pcm *dpcm = substream->runtime->private_data; in loopback_close()
1689 struct loopback_pcm *dpcm, in print_dpcm_info()