Lines Matching defs:substream
97 void snd_pcm_stream_lock(struct snd_pcm_substream *substream) in snd_pcm_stream_lock()
115 void snd_pcm_stream_unlock(struct snd_pcm_substream *substream) in snd_pcm_stream_unlock()
135 void snd_pcm_stream_lock_irq(struct snd_pcm_substream *substream) in snd_pcm_stream_lock_irq()
149 void snd_pcm_stream_unlock_irq(struct snd_pcm_substream *substream) in snd_pcm_stream_unlock_irq()
157 unsigned long _snd_pcm_stream_lock_irqsave(struct snd_pcm_substream *substream) in _snd_pcm_stream_lock_irqsave()
174 void snd_pcm_stream_unlock_irqrestore(struct snd_pcm_substream *substream, in snd_pcm_stream_unlock_irqrestore()
197 int snd_pcm_info(struct snd_pcm_substream *substream, struct snd_pcm_info *info) in snd_pcm_info()
224 int snd_pcm_info_user(struct snd_pcm_substream *substream, in snd_pcm_info_user()
242 static bool hw_support_mmap(struct snd_pcm_substream *substream) in hw_support_mmap()
280 int snd_pcm_hw_refine(struct snd_pcm_substream *substream, in snd_pcm_hw_refine()
458 static int snd_pcm_hw_refine_user(struct snd_pcm_substream *substream, in snd_pcm_hw_refine_user()
493 static void snd_pcm_set_state(struct snd_pcm_substream *substream, int state) in snd_pcm_set_state()
501 static inline void snd_pcm_timer_notify(struct snd_pcm_substream *substream, in snd_pcm_timer_notify()
511 static int snd_pcm_hw_params(struct snd_pcm_substream *substream, in snd_pcm_hw_params()
612 static int snd_pcm_hw_params_user(struct snd_pcm_substream *substream, in snd_pcm_hw_params_user()
632 static int snd_pcm_hw_free(struct snd_pcm_substream *substream) in snd_pcm_hw_free()
659 static int snd_pcm_sw_params(struct snd_pcm_substream *substream, in snd_pcm_sw_params()
714 static int snd_pcm_sw_params_user(struct snd_pcm_substream *substream, in snd_pcm_sw_params_user()
727 int snd_pcm_status(struct snd_pcm_substream *substream, in snd_pcm_status()
802 static int snd_pcm_status_user(struct snd_pcm_substream *substream, in snd_pcm_status_user()
826 static int snd_pcm_channel_info(struct snd_pcm_substream *substream, in snd_pcm_channel_info()
847 static int snd_pcm_channel_info_user(struct snd_pcm_substream *substream, in snd_pcm_channel_info_user()
863 static void snd_pcm_trigger_tstamp(struct snd_pcm_substream *substream) in snd_pcm_trigger_tstamp()
891 struct snd_pcm_substream *substream, in snd_pcm_action_group()
948 struct snd_pcm_substream *substream, in snd_pcm_action_single()
968 struct snd_pcm_substream *substream, in snd_pcm_action()
1000 struct snd_pcm_substream *substream, in snd_pcm_action_lock_irq()
1014 struct snd_pcm_substream *substream, in snd_pcm_action_nonatomic()
1031 static int snd_pcm_pre_start(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_start()
1044 static int snd_pcm_do_start(struct snd_pcm_substream *substream, int state) in snd_pcm_do_start()
1051 static void snd_pcm_undo_start(struct snd_pcm_substream *substream, int state) in snd_pcm_undo_start()
1057 static void snd_pcm_post_start(struct snd_pcm_substream *substream, int state) in snd_pcm_post_start()
1084 int snd_pcm_start(struct snd_pcm_substream *substream) in snd_pcm_start()
1093 static int snd_pcm_pre_stop(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_stop()
1102 static int snd_pcm_do_stop(struct snd_pcm_substream *substream, int state) in snd_pcm_do_stop()
1110 static void snd_pcm_post_stop(struct snd_pcm_substream *substream, int state) in snd_pcm_post_stop()
1137 int snd_pcm_stop(struct snd_pcm_substream *substream, snd_pcm_state_t state) in snd_pcm_stop()
1153 int snd_pcm_drain_done(struct snd_pcm_substream *substream) in snd_pcm_drain_done()
1168 int snd_pcm_stop_xrun(struct snd_pcm_substream *substream) in snd_pcm_stop_xrun()
1184 static int snd_pcm_pre_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_pre_pause()
1198 static int snd_pcm_do_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_do_pause()
1216 static void snd_pcm_undo_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_undo_pause()
1224 static void snd_pcm_post_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_post_pause()
1249 static int snd_pcm_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_pause()
1257 static int snd_pcm_pre_suspend(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_suspend()
1266 static int snd_pcm_do_suspend(struct snd_pcm_substream *substream, int state) in snd_pcm_do_suspend()
1277 static void snd_pcm_post_suspend(struct snd_pcm_substream *substream, int state) in snd_pcm_post_suspend()
1303 int snd_pcm_suspend(struct snd_pcm_substream *substream) in snd_pcm_suspend()
1329 struct snd_pcm_substream *substream; in snd_pcm_suspend_all() local
1353 static int snd_pcm_pre_resume(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_resume()
1362 static int snd_pcm_do_resume(struct snd_pcm_substream *substream, int state) in snd_pcm_do_resume()
1375 static void snd_pcm_undo_resume(struct snd_pcm_substream *substream, int state) in snd_pcm_undo_resume()
1382 static void snd_pcm_post_resume(struct snd_pcm_substream *substream, int state) in snd_pcm_post_resume()
1397 static int snd_pcm_resume(struct snd_pcm_substream *substream) in snd_pcm_resume()
1411 static int snd_pcm_resume(struct snd_pcm_substream *substream) in snd_pcm_resume()
1423 static int snd_pcm_xrun(struct snd_pcm_substream *substream) in snd_pcm_xrun()
1456 static int snd_pcm_pre_reset(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_reset()
1470 static int snd_pcm_do_reset(struct snd_pcm_substream *substream, int state) in snd_pcm_do_reset()
1484 static void snd_pcm_post_reset(struct snd_pcm_substream *substream, int state) in snd_pcm_post_reset()
1499 static int snd_pcm_reset(struct snd_pcm_substream *substream) in snd_pcm_reset()
1508 static int snd_pcm_pre_prepare(struct snd_pcm_substream *substream, in snd_pcm_pre_prepare()
1521 static int snd_pcm_do_prepare(struct snd_pcm_substream *substream, int state) in snd_pcm_do_prepare()
1530 static void snd_pcm_post_prepare(struct snd_pcm_substream *substream, int state) in snd_pcm_post_prepare()
1550 static int snd_pcm_prepare(struct snd_pcm_substream *substream, in snd_pcm_prepare()
1574 static int snd_pcm_pre_drain_init(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_drain_init()
1587 static int snd_pcm_do_drain_init(struct snd_pcm_substream *substream, int state) in snd_pcm_do_drain_init()
1629 static void snd_pcm_post_drain_init(struct snd_pcm_substream *substream, int state) in snd_pcm_post_drain_init()
1648 static int snd_pcm_drain(struct snd_pcm_substream *substream, in snd_pcm_drain()
1765 static int snd_pcm_drop(struct snd_pcm_substream *substream) in snd_pcm_drop()
1807 static int snd_pcm_link(struct snd_pcm_substream *substream, int fd) in snd_pcm_link()
1863 static void relink_to_local(struct snd_pcm_substream *substream) in relink_to_local()
1870 static int snd_pcm_unlink(struct snd_pcm_substream *substream) in snd_pcm_unlink()
2009 struct snd_pcm_substream *substream = rule->private; in snd_pcm_hw_rule_buffer_bytes_max() local
2018 int snd_pcm_hw_constraints_init(struct snd_pcm_substream *substream) in snd_pcm_hw_constraints_init()
2142 int snd_pcm_hw_constraints_complete(struct snd_pcm_substream *substream) in snd_pcm_hw_constraints_complete()
2225 static void pcm_release_private(struct snd_pcm_substream *substream) in pcm_release_private()
2230 void snd_pcm_release_substream(struct snd_pcm_substream *substream) in snd_pcm_release_substream()
2259 struct snd_pcm_substream *substream; in snd_pcm_open_substream() local
2302 struct snd_pcm_substream *substream; in snd_pcm_open_file() local
2412 struct snd_pcm_substream *substream; in snd_pcm_release() local
2430 static snd_pcm_sframes_t snd_pcm_playback_rewind(struct snd_pcm_substream *substream, in snd_pcm_playback_rewind()
2478 static snd_pcm_sframes_t snd_pcm_capture_rewind(struct snd_pcm_substream *substream, in snd_pcm_capture_rewind()
2526 static snd_pcm_sframes_t snd_pcm_playback_forward(struct snd_pcm_substream *substream, in snd_pcm_playback_forward()
2575 static snd_pcm_sframes_t snd_pcm_capture_forward(struct snd_pcm_substream *substream, in snd_pcm_capture_forward()
2624 static int snd_pcm_hwsync(struct snd_pcm_substream *substream) in snd_pcm_hwsync()
2655 static int snd_pcm_delay(struct snd_pcm_substream *substream, in snd_pcm_delay()
2696 static int snd_pcm_sync_ptr(struct snd_pcm_substream *substream, in snd_pcm_sync_ptr()
2736 static int snd_pcm_tstamp(struct snd_pcm_substream *substream, int __user *_arg) in snd_pcm_tstamp()
2750 struct snd_pcm_substream *substream, in snd_pcm_common_ioctl1()
2820 struct snd_pcm_substream *substream, in snd_pcm_playback_ioctl1()
2900 struct snd_pcm_substream *substream, in snd_pcm_capture_ioctl1()
3007 int snd_pcm_kernel_ioctl(struct snd_pcm_substream *substream, in snd_pcm_kernel_ioctl()
3037 struct snd_pcm_substream *substream; in snd_pcm_read() local
3061 struct snd_pcm_substream *substream; in snd_pcm_write() local
3084 struct snd_pcm_substream *substream; in snd_pcm_readv() local
3120 struct snd_pcm_substream *substream; in snd_pcm_writev() local
3155 struct snd_pcm_substream *substream; in snd_pcm_playback_poll() local
3194 struct snd_pcm_substream *substream; in snd_pcm_capture_poll() local
3249 struct snd_pcm_substream *substream = area->vm_private_data; in snd_pcm_mmap_status_fault() local
3265 static int snd_pcm_mmap_status(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_status()
3286 struct snd_pcm_substream *substream = area->vm_private_data; in snd_pcm_mmap_control_fault() local
3302 static int snd_pcm_mmap_control(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_control()
3320 static int snd_pcm_mmap_status(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_status()
3325 static int snd_pcm_mmap_control(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_control()
3333 snd_pcm_default_page_ops(struct snd_pcm_substream *substream, unsigned long ofs) in snd_pcm_default_page_ops()
3345 struct snd_pcm_substream *substream = area->vm_private_data; in snd_pcm_mmap_data_fault() local
3392 int snd_pcm_lib_default_mmap(struct snd_pcm_substream *substream, in snd_pcm_lib_default_mmap()
3432 int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream, in snd_pcm_lib_mmap_iomem()
3447 int snd_pcm_mmap_data(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_data()
3495 struct snd_pcm_substream *substream; in snd_pcm_mmap() local
3522 struct snd_pcm_substream *substream; in snd_pcm_fasync() local
3588 static int snd_pcm_hw_refine_old_user(struct snd_pcm_substream *substream, in snd_pcm_hw_refine_old_user()
3618 static int snd_pcm_hw_params_old_user(struct snd_pcm_substream *substream, in snd_pcm_hw_params_old_user()
3657 struct snd_pcm_substream *substream = pcm_file->substream; in snd_pcm_get_unmapped_area() local