Lines Matching defs:substream
48 #define trace_hw_mask_param(substream, type, index, prev, curr) argument
49 #define trace_hw_interval_param(substream, type, index, prev, curr) argument
106 static unsigned long __snd_pcm_stream_lock_mode(struct snd_pcm_substream *substream, in __snd_pcm_stream_lock_mode()
130 static void __snd_pcm_stream_unlock_mode(struct snd_pcm_substream *substream, in __snd_pcm_stream_unlock_mode()
161 void snd_pcm_stream_lock(struct snd_pcm_substream *substream) in snd_pcm_stream_lock()
173 void snd_pcm_stream_unlock(struct snd_pcm_substream *substream) in snd_pcm_stream_unlock()
187 void snd_pcm_stream_lock_irq(struct snd_pcm_substream *substream) in snd_pcm_stream_lock_irq()
199 void snd_pcm_stream_unlock_irq(struct snd_pcm_substream *substream) in snd_pcm_stream_unlock_irq()
205 unsigned long _snd_pcm_stream_lock_irqsave(struct snd_pcm_substream *substream) in _snd_pcm_stream_lock_irqsave()
218 void snd_pcm_stream_unlock_irqrestore(struct snd_pcm_substream *substream, in snd_pcm_stream_unlock_irqrestore()
225 int snd_pcm_info(struct snd_pcm_substream *substream, struct snd_pcm_info *info) in snd_pcm_info()
246 int snd_pcm_info_user(struct snd_pcm_substream *substream, in snd_pcm_info_user()
264 static bool hw_support_mmap(struct snd_pcm_substream *substream) in hw_support_mmap()
277 static int constrain_mask_params(struct snd_pcm_substream *substream, in constrain_mask_params()
313 static int constrain_interval_params(struct snd_pcm_substream *substream, in constrain_interval_params()
349 static int constrain_params_by_rules(struct snd_pcm_substream *substream, in constrain_params_by_rules()
470 static int fixup_unreferenced_params(struct snd_pcm_substream *substream, in fixup_unreferenced_params()
514 int snd_pcm_hw_refine(struct snd_pcm_substream *substream, in snd_pcm_hw_refine()
546 static int snd_pcm_hw_refine_user(struct snd_pcm_substream *substream, in snd_pcm_hw_refine_user()
586 static void snd_pcm_set_state(struct snd_pcm_substream *substream, int state) in snd_pcm_set_state()
594 static inline void snd_pcm_timer_notify(struct snd_pcm_substream *substream, in snd_pcm_timer_notify()
668 static int snd_pcm_hw_params(struct snd_pcm_substream *substream, in snd_pcm_hw_params()
773 static int snd_pcm_hw_params_user(struct snd_pcm_substream *substream, in snd_pcm_hw_params_user()
794 static int snd_pcm_hw_free(struct snd_pcm_substream *substream) in snd_pcm_hw_free()
821 static int snd_pcm_sw_params(struct snd_pcm_substream *substream, in snd_pcm_sw_params()
876 static int snd_pcm_sw_params_user(struct snd_pcm_substream *substream, in snd_pcm_sw_params_user()
890 snd_pcm_calc_delay(struct snd_pcm_substream *substream) in snd_pcm_calc_delay()
901 int snd_pcm_status(struct snd_pcm_substream *substream, in snd_pcm_status()
964 static int snd_pcm_status_user(struct snd_pcm_substream *substream, in snd_pcm_status_user()
988 static int snd_pcm_channel_info(struct snd_pcm_substream *substream, in snd_pcm_channel_info()
1009 static int snd_pcm_channel_info_user(struct snd_pcm_substream *substream, in snd_pcm_channel_info_user()
1025 static void snd_pcm_trigger_tstamp(struct snd_pcm_substream *substream) in snd_pcm_trigger_tstamp()
1053 struct snd_pcm_substream *substream, in snd_pcm_action_group()
1110 struct snd_pcm_substream *substream, in snd_pcm_action_single()
1130 struct snd_pcm_substream *substream, in snd_pcm_action()
1162 struct snd_pcm_substream *substream, in snd_pcm_action_lock_irq()
1176 struct snd_pcm_substream *substream, in snd_pcm_action_nonatomic()
1193 static int snd_pcm_pre_start(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_start()
1206 static int snd_pcm_do_start(struct snd_pcm_substream *substream, int state) in snd_pcm_do_start()
1213 static void snd_pcm_undo_start(struct snd_pcm_substream *substream, int state) in snd_pcm_undo_start()
1219 static void snd_pcm_post_start(struct snd_pcm_substream *substream, int state) in snd_pcm_post_start()
1247 int snd_pcm_start(struct snd_pcm_substream *substream) in snd_pcm_start()
1254 static int snd_pcm_start_lock_irq(struct snd_pcm_substream *substream) in snd_pcm_start_lock_irq()
1263 static int snd_pcm_pre_stop(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_stop()
1272 static int snd_pcm_do_stop(struct snd_pcm_substream *substream, int state) in snd_pcm_do_stop()
1280 static void snd_pcm_post_stop(struct snd_pcm_substream *substream, int state) in snd_pcm_post_stop()
1307 int snd_pcm_stop(struct snd_pcm_substream *substream, snd_pcm_state_t state) in snd_pcm_stop()
1322 int snd_pcm_drain_done(struct snd_pcm_substream *substream) in snd_pcm_drain_done()
1337 int snd_pcm_stop_xrun(struct snd_pcm_substream *substream) in snd_pcm_stop_xrun()
1352 static int snd_pcm_pre_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_pre_pause()
1366 static int snd_pcm_do_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_do_pause()
1384 static void snd_pcm_undo_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_undo_pause()
1392 static void snd_pcm_post_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_post_pause()
1417 static int snd_pcm_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_pause()
1425 static int snd_pcm_pre_suspend(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_suspend()
1434 static int snd_pcm_do_suspend(struct snd_pcm_substream *substream, int state) in snd_pcm_do_suspend()
1445 static void snd_pcm_post_suspend(struct snd_pcm_substream *substream, int state) in snd_pcm_post_suspend()
1471 int snd_pcm_suspend(struct snd_pcm_substream *substream) in snd_pcm_suspend()
1496 struct snd_pcm_substream *substream; in snd_pcm_suspend_all() local
1519 static int snd_pcm_pre_resume(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_resume()
1528 static int snd_pcm_do_resume(struct snd_pcm_substream *substream, int state) in snd_pcm_do_resume()
1541 static void snd_pcm_undo_resume(struct snd_pcm_substream *substream, int state) in snd_pcm_undo_resume()
1548 static void snd_pcm_post_resume(struct snd_pcm_substream *substream, int state) in snd_pcm_post_resume()
1563 static int snd_pcm_resume(struct snd_pcm_substream *substream) in snd_pcm_resume()
1570 static int snd_pcm_resume(struct snd_pcm_substream *substream) in snd_pcm_resume()
1582 static int snd_pcm_xrun(struct snd_pcm_substream *substream) in snd_pcm_xrun()
1606 static int snd_pcm_pre_reset(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_reset()
1620 static int snd_pcm_do_reset(struct snd_pcm_substream *substream, int state) in snd_pcm_do_reset()
1634 static void snd_pcm_post_reset(struct snd_pcm_substream *substream, int state) in snd_pcm_post_reset()
1649 static int snd_pcm_reset(struct snd_pcm_substream *substream) in snd_pcm_reset()
1658 static int snd_pcm_pre_prepare(struct snd_pcm_substream *substream, in snd_pcm_pre_prepare()
1671 static int snd_pcm_do_prepare(struct snd_pcm_substream *substream, int state) in snd_pcm_do_prepare()
1680 static void snd_pcm_post_prepare(struct snd_pcm_substream *substream, int state) in snd_pcm_post_prepare()
1700 static int snd_pcm_prepare(struct snd_pcm_substream *substream, in snd_pcm_prepare()
1729 static int snd_pcm_pre_drain_init(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_drain_init()
1742 static int snd_pcm_do_drain_init(struct snd_pcm_substream *substream, int state) in snd_pcm_do_drain_init()
1784 static void snd_pcm_post_drain_init(struct snd_pcm_substream *substream, int state) in snd_pcm_post_drain_init()
1803 static int snd_pcm_drain(struct snd_pcm_substream *substream, in snd_pcm_drain()
1908 static int snd_pcm_drop(struct snd_pcm_substream *substream) in snd_pcm_drop()
1949 static int snd_pcm_link(struct snd_pcm_substream *substream, int fd) in snd_pcm_link()
2005 static void relink_to_local(struct snd_pcm_substream *substream) in relink_to_local()
2012 static int snd_pcm_unlink(struct snd_pcm_substream *substream) in snd_pcm_unlink()
2154 struct snd_pcm_substream *substream = rule->private; in snd_pcm_hw_rule_buffer_bytes_max() local
2163 int snd_pcm_hw_constraints_init(struct snd_pcm_substream *substream) in snd_pcm_hw_constraints_init()
2287 int snd_pcm_hw_constraints_complete(struct snd_pcm_substream *substream) in snd_pcm_hw_constraints_complete()
2370 static void pcm_release_private(struct snd_pcm_substream *substream) in pcm_release_private()
2375 void snd_pcm_release_substream(struct snd_pcm_substream *substream) in snd_pcm_release_substream()
2403 struct snd_pcm_substream *substream; in snd_pcm_open_substream() local
2445 struct snd_pcm_substream *substream; in snd_pcm_open_file() local
2555 struct snd_pcm_substream *substream; in snd_pcm_release() local
2576 static int do_pcm_hwsync(struct snd_pcm_substream *substream) in do_pcm_hwsync()
2598 static snd_pcm_sframes_t forward_appl_ptr(struct snd_pcm_substream *substream, in forward_appl_ptr()
2618 static snd_pcm_sframes_t rewind_appl_ptr(struct snd_pcm_substream *substream, in rewind_appl_ptr()
2642 static snd_pcm_sframes_t snd_pcm_rewind(struct snd_pcm_substream *substream, in snd_pcm_rewind()
2659 static snd_pcm_sframes_t snd_pcm_forward(struct snd_pcm_substream *substream, in snd_pcm_forward()
2676 static int snd_pcm_hwsync(struct snd_pcm_substream *substream) in snd_pcm_hwsync()
2686 static int snd_pcm_delay(struct snd_pcm_substream *substream, in snd_pcm_delay()
2702 static int snd_pcm_sync_ptr(struct snd_pcm_substream *substream, in snd_pcm_sync_ptr()
2749 static int snd_pcm_tstamp(struct snd_pcm_substream *substream, int __user *_arg) in snd_pcm_tstamp()
2762 static int snd_pcm_xferi_frames_ioctl(struct snd_pcm_substream *substream, in snd_pcm_xferi_frames_ioctl()
2783 static int snd_pcm_xfern_frames_ioctl(struct snd_pcm_substream *substream, in snd_pcm_xfern_frames_ioctl()
2812 static int snd_pcm_rewind_ioctl(struct snd_pcm_substream *substream, in snd_pcm_rewind_ioctl()
2827 static int snd_pcm_forward_ioctl(struct snd_pcm_substream *substream, in snd_pcm_forward_ioctl()
2843 struct snd_pcm_substream *substream, in snd_pcm_common_ioctl()
2968 int snd_pcm_kernel_ioctl(struct snd_pcm_substream *substream, in snd_pcm_kernel_ioctl()
3007 struct snd_pcm_substream *substream; in snd_pcm_read() local
3031 struct snd_pcm_substream *substream; in snd_pcm_write() local
3054 struct snd_pcm_substream *substream; in snd_pcm_readv() local
3090 struct snd_pcm_substream *substream; in snd_pcm_writev() local
3125 struct snd_pcm_substream *substream; in snd_pcm_poll() local
3182 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_status_fault() local
3198 static int snd_pcm_mmap_status(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_status()
3218 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_control_fault() local
3234 static int snd_pcm_mmap_control(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_control()
3283 static int snd_pcm_mmap_status(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_status()
3288 static int snd_pcm_mmap_control(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_control()
3296 snd_pcm_default_page_ops(struct snd_pcm_substream *substream, unsigned long ofs) in snd_pcm_default_page_ops()
3307 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_data_fault() local
3354 int snd_pcm_lib_default_mmap(struct snd_pcm_substream *substream, in snd_pcm_lib_default_mmap()
3394 int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream, in snd_pcm_lib_mmap_iomem()
3408 int snd_pcm_mmap_data(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_data()
3455 struct snd_pcm_substream *substream; in snd_pcm_mmap() local
3482 struct snd_pcm_substream *substream; in snd_pcm_fasync() local
3548 static int snd_pcm_hw_refine_old_user(struct snd_pcm_substream *substream, in snd_pcm_hw_refine_old_user()
3583 static int snd_pcm_hw_params_old_user(struct snd_pcm_substream *substream, in snd_pcm_hw_params_old_user()
3624 struct snd_pcm_substream *substream = pcm_file->substream; in snd_pcm_get_unmapped_area() local