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];
138 struct loopback_pcm { struct
165 static inline unsigned int byte_pos(struct loopback_pcm *dpcm, unsigned int x) in byte_pos() argument
176 static inline unsigned int frac_pos(struct loopback_pcm *dpcm, unsigned int x) in frac_pos()
187 static inline struct loopback_setup *get_setup(struct loopback_pcm *dpcm) in get_setup()
196 static inline unsigned int get_notify(struct loopback_pcm *dpcm) in get_notify()
201 static inline unsigned int get_rate_shift(struct loopback_pcm *dpcm) in get_rate_shift()
207 static int loopback_jiffies_timer_start(struct loopback_pcm *dpcm) in loopback_jiffies_timer_start()
228 static int loopback_snd_timer_start(struct loopback_pcm *dpcm) in loopback_snd_timer_start()
257 static inline int loopback_jiffies_timer_stop(struct loopback_pcm *dpcm) in loopback_jiffies_timer_stop()
266 static int loopback_snd_timer_stop(struct loopback_pcm *dpcm) in loopback_snd_timer_stop()
288 static inline int loopback_jiffies_timer_stop_sync(struct loopback_pcm *dpcm) in loopback_jiffies_timer_stop_sync()
296 static int loopback_snd_timer_close_cable(struct loopback_pcm *dpcm) in loopback_snd_timer_close_cable()
370 static void loopback_active_notify(struct loopback_pcm *dpcm) in loopback_active_notify()
380 struct loopback_pcm *dpcm = runtime->private_data; in loopback_trigger()
437 struct loopback_pcm *dpcm = runtime->private_data; in params_change()
457 struct loopback_pcm *dpcm = runtime->private_data; in loopback_prepare()
499 static void clear_capture_buf(struct loopback_pcm *dpcm, unsigned int bytes) in clear_capture_buf()
525 static void copy_play_buf(struct loopback_pcm *play, in copy_play_buf()
526 struct loopback_pcm *capt, in copy_play_buf()
574 static inline unsigned int bytepos_delta(struct loopback_pcm *dpcm, in bytepos_delta()
593 static inline void bytepos_finish(struct loopback_pcm *dpcm, in bytepos_finish()
604 struct loopback_pcm *dpcm_play = in loopback_jiffies_timer_pos_update()
606 struct loopback_pcm *dpcm_capt = in loopback_jiffies_timer_pos_update()
658 struct loopback_pcm *dpcm = from_timer(dpcm, t, timer); in loopback_jiffies_timer_function()
681 struct loopback_pcm *dpcm = runtime->private_data; in loopback_snd_timer_check_resolution()
714 struct loopback_pcm *dpcm_play, *dpcm_capt; in loopback_snd_timer_period_elapsed()
837 static void loopback_jiffies_timer_dpcm_info(struct loopback_pcm *dpcm, in loopback_jiffies_timer_dpcm_info()
849 static void loopback_snd_timer_dpcm_info(struct loopback_pcm *dpcm, in loopback_snd_timer_dpcm_info()
866 struct loopback_pcm *dpcm = runtime->private_data; in loopback_pointer()
904 struct loopback_pcm *dpcm = runtime->private_data; in loopback_runtime_free()
911 struct loopback_pcm *dpcm = runtime->private_data; in loopback_hw_free()
931 struct loopback_pcm *dpcm = rule->private; in rule_format()
946 struct loopback_pcm *dpcm = rule->private; in rule_rate()
962 struct loopback_pcm *dpcm = rule->private; in rule_channels()
978 struct loopback_pcm *dpcm = rule->private; in rule_period_bytes()
1007 struct loopback_pcm *dpcm = substream->runtime->private_data; in free_cable()
1017 static int loopback_jiffies_timer_open(struct loopback_pcm *dpcm) in loopback_jiffies_timer_open()
1095 static int loopback_snd_timer_open(struct loopback_pcm *dpcm) in loopback_snd_timer_open()
1187 struct loopback_pcm *dpcm; in loopback_open()
1287 struct loopback_pcm *dpcm = substream->runtime->private_data; in loopback_close()
1606 struct loopback_pcm *dpcm, in print_dpcm_info()