Lines Matching defs:substream

36 #define trace_hw_mask_param(substream, type, index, prev, curr)  argument
37 #define trace_hw_interval_param(substream, type, index, prev, curr) argument
108 void snd_pcm_stream_lock(struct snd_pcm_substream *substream) in snd_pcm_stream_lock()
120 void snd_pcm_stream_unlock(struct snd_pcm_substream *substream) in snd_pcm_stream_unlock()
134 void snd_pcm_stream_lock_irq(struct snd_pcm_substream *substream) in snd_pcm_stream_lock_irq()
141 static void snd_pcm_stream_lock_nested(struct snd_pcm_substream *substream) in snd_pcm_stream_lock_nested()
157 void snd_pcm_stream_unlock_irq(struct snd_pcm_substream *substream) in snd_pcm_stream_unlock_irq()
164 unsigned long _snd_pcm_stream_lock_irqsave(struct snd_pcm_substream *substream) in _snd_pcm_stream_lock_irqsave()
182 void snd_pcm_stream_unlock_irqrestore(struct snd_pcm_substream *substream, in snd_pcm_stream_unlock_irqrestore()
193 static int snd_pcm_ops_ioctl(struct snd_pcm_substream *substream, in snd_pcm_ops_ioctl()
202 int snd_pcm_info(struct snd_pcm_substream *substream, struct snd_pcm_info *info) in snd_pcm_info()
223 int snd_pcm_info_user(struct snd_pcm_substream *substream, in snd_pcm_info_user()
244 static bool hw_support_mmap(struct snd_pcm_substream *substream) in hw_support_mmap()
257 static int constrain_mask_params(struct snd_pcm_substream *substream, in constrain_mask_params()
293 static int constrain_interval_params(struct snd_pcm_substream *substream, in constrain_interval_params()
329 static int constrain_params_by_rules(struct snd_pcm_substream *substream, in constrain_params_by_rules()
450 static int fixup_unreferenced_params(struct snd_pcm_substream *substream, in fixup_unreferenced_params()
495 int snd_pcm_hw_refine(struct snd_pcm_substream *substream, in snd_pcm_hw_refine()
527 static int snd_pcm_hw_refine_user(struct snd_pcm_substream *substream, in snd_pcm_hw_refine_user()
567 static void snd_pcm_set_state(struct snd_pcm_substream *substream, in snd_pcm_set_state()
576 static inline void snd_pcm_timer_notify(struct snd_pcm_substream *substream, in snd_pcm_timer_notify()
586 void snd_pcm_sync_stop(struct snd_pcm_substream *substream, bool sync_irq) in snd_pcm_sync_stop()
661 static int snd_pcm_hw_params(struct snd_pcm_substream *substream, in snd_pcm_hw_params()
787 static int snd_pcm_hw_params_user(struct snd_pcm_substream *substream, in snd_pcm_hw_params_user()
808 static int do_hw_free(struct snd_pcm_substream *substream) in do_hw_free()
820 static int snd_pcm_hw_free(struct snd_pcm_substream *substream) in snd_pcm_hw_free()
846 static int snd_pcm_sw_params(struct snd_pcm_substream *substream, in snd_pcm_sw_params()
901 static int snd_pcm_sw_params_user(struct snd_pcm_substream *substream, in snd_pcm_sw_params_user()
915 snd_pcm_calc_delay(struct snd_pcm_substream *substream) in snd_pcm_calc_delay()
926 int snd_pcm_status64(struct snd_pcm_substream *substream, in snd_pcm_status64()
1002 static int snd_pcm_status_user64(struct snd_pcm_substream *substream, in snd_pcm_status_user64()
1026 static int snd_pcm_status_user32(struct snd_pcm_substream *substream, in snd_pcm_status_user32()
1075 static int snd_pcm_channel_info(struct snd_pcm_substream *substream, in snd_pcm_channel_info()
1096 static int snd_pcm_channel_info_user(struct snd_pcm_substream *substream, in snd_pcm_channel_info_user()
1112 static void snd_pcm_trigger_tstamp(struct snd_pcm_substream *substream) in snd_pcm_trigger_tstamp()
1146 struct snd_pcm_substream *substream, in snd_pcm_action_group()
1204 struct snd_pcm_substream *substream, in snd_pcm_action_single()
1220 static void snd_pcm_group_assign(struct snd_pcm_substream *substream, in snd_pcm_group_assign()
1232 struct snd_pcm_substream *substream) in snd_pcm_group_unref()
1249 snd_pcm_stream_group_ref(struct snd_pcm_substream *substream) in snd_pcm_stream_group_ref()
1285 struct snd_pcm_substream *substream, in snd_pcm_action()
1304 struct snd_pcm_substream *substream, in snd_pcm_action_lock_irq()
1318 struct snd_pcm_substream *substream, in snd_pcm_action_nonatomic()
1336 static int snd_pcm_pre_start(struct snd_pcm_substream *substream, in snd_pcm_pre_start()
1350 static int snd_pcm_do_start(struct snd_pcm_substream *substream, in snd_pcm_do_start()
1358 static void snd_pcm_undo_start(struct snd_pcm_substream *substream, in snd_pcm_undo_start()
1365 static void snd_pcm_post_start(struct snd_pcm_substream *substream, in snd_pcm_post_start()
1394 int snd_pcm_start(struct snd_pcm_substream *substream) in snd_pcm_start()
1401 static int snd_pcm_start_lock_irq(struct snd_pcm_substream *substream) in snd_pcm_start_lock_irq()
1410 static int snd_pcm_pre_stop(struct snd_pcm_substream *substream, in snd_pcm_pre_stop()
1420 static int snd_pcm_do_stop(struct snd_pcm_substream *substream, in snd_pcm_do_stop()
1431 static void snd_pcm_post_stop(struct snd_pcm_substream *substream, in snd_pcm_post_stop()
1459 int snd_pcm_stop(struct snd_pcm_substream *substream, snd_pcm_state_t state) in snd_pcm_stop()
1474 int snd_pcm_drain_done(struct snd_pcm_substream *substream) in snd_pcm_drain_done()
1489 int snd_pcm_stop_xrun(struct snd_pcm_substream *substream) in snd_pcm_stop_xrun()
1506 static int snd_pcm_pre_pause(struct snd_pcm_substream *substream, in snd_pcm_pre_pause()
1521 static int snd_pcm_do_pause(struct snd_pcm_substream *substream, in snd_pcm_do_pause()
1541 static void snd_pcm_undo_pause(struct snd_pcm_substream *substream, in snd_pcm_undo_pause()
1551 static void snd_pcm_post_pause(struct snd_pcm_substream *substream, in snd_pcm_post_pause()
1577 static int snd_pcm_pause(struct snd_pcm_substream *substream, bool push) in snd_pcm_pause()
1583 static int snd_pcm_pause_lock_irq(struct snd_pcm_substream *substream, in snd_pcm_pause_lock_irq()
1593 static int snd_pcm_pre_suspend(struct snd_pcm_substream *substream, in snd_pcm_pre_suspend()
1610 static int snd_pcm_do_suspend(struct snd_pcm_substream *substream, in snd_pcm_do_suspend()
1623 static void snd_pcm_post_suspend(struct snd_pcm_substream *substream, in snd_pcm_post_suspend()
1649 static int snd_pcm_suspend(struct snd_pcm_substream *substream) in snd_pcm_suspend()
1671 struct snd_pcm_substream *substream; in snd_pcm_suspend_all() local
1703 static int snd_pcm_pre_resume(struct snd_pcm_substream *substream, in snd_pcm_pre_resume()
1713 static int snd_pcm_do_resume(struct snd_pcm_substream *substream, in snd_pcm_do_resume()
1727 static void snd_pcm_undo_resume(struct snd_pcm_substream *substream, in snd_pcm_undo_resume()
1735 static void snd_pcm_post_resume(struct snd_pcm_substream *substream, in snd_pcm_post_resume()
1751 static int snd_pcm_resume(struct snd_pcm_substream *substream) in snd_pcm_resume()
1759 static int snd_pcm_resume(struct snd_pcm_substream *substream) in snd_pcm_resume()
1771 static int snd_pcm_xrun(struct snd_pcm_substream *substream) in snd_pcm_xrun()
1796 static int snd_pcm_pre_reset(struct snd_pcm_substream *substream, in snd_pcm_pre_reset()
1811 static int snd_pcm_do_reset(struct snd_pcm_substream *substream, in snd_pcm_do_reset()
1826 static void snd_pcm_post_reset(struct snd_pcm_substream *substream, in snd_pcm_post_reset()
1842 static int snd_pcm_reset(struct snd_pcm_substream *substream) in snd_pcm_reset()
1852 static int snd_pcm_pre_prepare(struct snd_pcm_substream *substream, in snd_pcm_pre_prepare()
1867 static int snd_pcm_do_prepare(struct snd_pcm_substream *substream, in snd_pcm_do_prepare()
1878 static void snd_pcm_post_prepare(struct snd_pcm_substream *substream, in snd_pcm_post_prepare()
1899 static int snd_pcm_prepare(struct snd_pcm_substream *substream, in snd_pcm_prepare()
1930 static int snd_pcm_pre_drain_init(struct snd_pcm_substream *substream, in snd_pcm_pre_drain_init()
1944 static int snd_pcm_do_drain_init(struct snd_pcm_substream *substream, in snd_pcm_do_drain_init()
1989 static void snd_pcm_post_drain_init(struct snd_pcm_substream *substream, in snd_pcm_post_drain_init()
2007 static int snd_pcm_drain(struct snd_pcm_substream *substream, in snd_pcm_drain()
2122 static int snd_pcm_drop(struct snd_pcm_substream *substream) in snd_pcm_drop()
2169 static int snd_pcm_link(struct snd_pcm_substream *substream, int fd) in snd_pcm_link()
2234 static void relink_to_local(struct snd_pcm_substream *substream) in relink_to_local()
2241 static int snd_pcm_unlink(struct snd_pcm_substream *substream) in snd_pcm_unlink()
2394 struct snd_pcm_substream *substream = rule->private; in snd_pcm_hw_rule_buffer_bytes_max() local
2403 static int snd_pcm_hw_constraints_init(struct snd_pcm_substream *substream) in snd_pcm_hw_constraints_init()
2527 static int snd_pcm_hw_constraints_complete(struct snd_pcm_substream *substream) in snd_pcm_hw_constraints_complete()
2611 static void pcm_release_private(struct snd_pcm_substream *substream) in pcm_release_private()
2617 void snd_pcm_release_substream(struct snd_pcm_substream *substream) in snd_pcm_release_substream()
2644 struct snd_pcm_substream *substream; in snd_pcm_open_substream() local
2686 struct snd_pcm_substream *substream; in snd_pcm_open_file() local
2794 struct snd_pcm_substream *substream; in snd_pcm_release() local
2815 static int do_pcm_hwsync(struct snd_pcm_substream *substream) in do_pcm_hwsync()
2837 static snd_pcm_sframes_t forward_appl_ptr(struct snd_pcm_substream *substream, in forward_appl_ptr()
2857 static snd_pcm_sframes_t rewind_appl_ptr(struct snd_pcm_substream *substream, in rewind_appl_ptr()
2881 static snd_pcm_sframes_t snd_pcm_rewind(struct snd_pcm_substream *substream, in snd_pcm_rewind()
2898 static snd_pcm_sframes_t snd_pcm_forward(struct snd_pcm_substream *substream, in snd_pcm_forward()
2915 static int snd_pcm_hwsync(struct snd_pcm_substream *substream) in snd_pcm_hwsync()
2925 static int snd_pcm_delay(struct snd_pcm_substream *substream, in snd_pcm_delay()
2941 static int snd_pcm_sync_ptr(struct snd_pcm_substream *substream, in snd_pcm_sync_ptr()
3029 static int snd_pcm_ioctl_sync_ptr_compat(struct snd_pcm_substream *substream, in snd_pcm_ioctl_sync_ptr_compat()
3089 static int snd_pcm_tstamp(struct snd_pcm_substream *substream, int __user *_arg) in snd_pcm_tstamp()
3102 static int snd_pcm_xferi_frames_ioctl(struct snd_pcm_substream *substream, in snd_pcm_xferi_frames_ioctl()
3124 static int snd_pcm_xfern_frames_ioctl(struct snd_pcm_substream *substream, in snd_pcm_xfern_frames_ioctl()
3154 static int snd_pcm_rewind_ioctl(struct snd_pcm_substream *substream, in snd_pcm_rewind_ioctl()
3170 static int snd_pcm_forward_ioctl(struct snd_pcm_substream *substream, in snd_pcm_forward_ioctl()
3187 struct snd_pcm_substream *substream, in snd_pcm_common_ioctl()
3316 int snd_pcm_kernel_ioctl(struct snd_pcm_substream *substream, in snd_pcm_kernel_ioctl()
3355 struct snd_pcm_substream *substream; in snd_pcm_read() local
3379 struct snd_pcm_substream *substream; in snd_pcm_write() local
3402 struct snd_pcm_substream *substream; in snd_pcm_readv() local
3438 struct snd_pcm_substream *substream; in snd_pcm_writev() local
3473 struct snd_pcm_substream *substream; in snd_pcm_poll() local
3530 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_status_fault() local
3546 static int snd_pcm_mmap_status(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_status()
3566 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_control_fault() local
3582 static int snd_pcm_mmap_control(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_control()
3629 static int snd_pcm_mmap_status(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_status()
3634 static int snd_pcm_mmap_control(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_control()
3642 snd_pcm_default_page_ops(struct snd_pcm_substream *substream, unsigned long ofs) in snd_pcm_default_page_ops()
3664 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_data_fault() local
3711 int snd_pcm_lib_default_mmap(struct snd_pcm_substream *substream, in snd_pcm_lib_default_mmap()
3750 int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream, in snd_pcm_lib_mmap_iomem()
3764 int snd_pcm_mmap_data(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_data()
3811 struct snd_pcm_substream *substream; in snd_pcm_mmap() local
3846 struct snd_pcm_substream *substream; in snd_pcm_fasync() local
3912 static int snd_pcm_hw_refine_old_user(struct snd_pcm_substream *substream, in snd_pcm_hw_refine_old_user()
3947 static int snd_pcm_hw_params_old_user(struct snd_pcm_substream *substream, in snd_pcm_hw_params_old_user()
3988 struct snd_pcm_substream *substream = pcm_file->substream; in snd_pcm_get_unmapped_area() local