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()
175 unsigned long _snd_pcm_stream_lock_irqsave_nested(struct snd_pcm_substream *substream) in _snd_pcm_stream_lock_irqsave_nested()
195 void snd_pcm_stream_unlock_irqrestore(struct snd_pcm_substream *substream, in snd_pcm_stream_unlock_irqrestore()
206 static int snd_pcm_ops_ioctl(struct snd_pcm_substream *substream, in snd_pcm_ops_ioctl()
215 int snd_pcm_info(struct snd_pcm_substream *substream, struct snd_pcm_info *info) in snd_pcm_info()
236 int snd_pcm_info_user(struct snd_pcm_substream *substream, in snd_pcm_info_user()
256 static bool hw_support_mmap(struct snd_pcm_substream *substream) in hw_support_mmap()
283 static int constrain_mask_params(struct snd_pcm_substream *substream, in constrain_mask_params()
319 static int constrain_interval_params(struct snd_pcm_substream *substream, in constrain_interval_params()
355 static int constrain_params_by_rules(struct snd_pcm_substream *substream, in constrain_params_by_rules()
472 static int fixup_unreferenced_params(struct snd_pcm_substream *substream, in fixup_unreferenced_params()
545 int snd_pcm_hw_refine(struct snd_pcm_substream *substream, in snd_pcm_hw_refine()
577 static int snd_pcm_hw_refine_user(struct snd_pcm_substream *substream, in snd_pcm_hw_refine_user()
615 static void snd_pcm_set_state(struct snd_pcm_substream *substream, in snd_pcm_set_state()
623 static inline void snd_pcm_timer_notify(struct snd_pcm_substream *substream, in snd_pcm_timer_notify()
633 void snd_pcm_sync_stop(struct snd_pcm_substream *substream, bool sync_irq) in snd_pcm_sync_stop()
727 #define is_oss_stream(substream) ((substream)->oss.oss) argument
729 #define is_oss_stream(substream) false argument
732 static int snd_pcm_hw_params(struct snd_pcm_substream *substream, in snd_pcm_hw_params()
867 static int snd_pcm_hw_params_user(struct snd_pcm_substream *substream, in snd_pcm_hw_params_user()
886 static int do_hw_free(struct snd_pcm_substream *substream) in do_hw_free()
898 static int snd_pcm_hw_free(struct snd_pcm_substream *substream) in snd_pcm_hw_free()
931 static int snd_pcm_sw_params(struct snd_pcm_substream *substream, in snd_pcm_sw_params()
984 static int snd_pcm_sw_params_user(struct snd_pcm_substream *substream, in snd_pcm_sw_params_user()
998 snd_pcm_calc_delay(struct snd_pcm_substream *substream) in snd_pcm_calc_delay()
1009 int snd_pcm_status64(struct snd_pcm_substream *substream, in snd_pcm_status64()
1083 static int snd_pcm_status_user64(struct snd_pcm_substream *substream, in snd_pcm_status_user64()
1107 static int snd_pcm_status_user32(struct snd_pcm_substream *substream, in snd_pcm_status_user32()
1156 static int snd_pcm_channel_info(struct snd_pcm_substream *substream, in snd_pcm_channel_info()
1175 static int snd_pcm_channel_info_user(struct snd_pcm_substream *substream, in snd_pcm_channel_info_user()
1191 static void snd_pcm_trigger_tstamp(struct snd_pcm_substream *substream) in snd_pcm_trigger_tstamp()
1225 struct snd_pcm_substream *substream, in snd_pcm_action_group()
1285 struct snd_pcm_substream *substream, in snd_pcm_action_single()
1301 static void snd_pcm_group_assign(struct snd_pcm_substream *substream, in snd_pcm_group_assign()
1313 struct snd_pcm_substream *substream) in snd_pcm_group_unref()
1330 snd_pcm_stream_group_ref(struct snd_pcm_substream *substream) in snd_pcm_stream_group_ref()
1366 struct snd_pcm_substream *substream, in snd_pcm_action()
1385 struct snd_pcm_substream *substream, in snd_pcm_action_lock_irq()
1395 struct snd_pcm_substream *substream, in snd_pcm_action_nonatomic()
1416 static int snd_pcm_pre_start(struct snd_pcm_substream *substream, in snd_pcm_pre_start()
1430 static int snd_pcm_do_start(struct snd_pcm_substream *substream, in snd_pcm_do_start()
1444 static void snd_pcm_undo_start(struct snd_pcm_substream *substream, in snd_pcm_undo_start()
1453 static void snd_pcm_post_start(struct snd_pcm_substream *substream, in snd_pcm_post_start()
1482 int snd_pcm_start(struct snd_pcm_substream *substream) in snd_pcm_start()
1489 static int snd_pcm_start_lock_irq(struct snd_pcm_substream *substream) in snd_pcm_start_lock_irq()
1498 static int snd_pcm_pre_stop(struct snd_pcm_substream *substream, in snd_pcm_pre_stop()
1508 static int snd_pcm_do_stop(struct snd_pcm_substream *substream, in snd_pcm_do_stop()
1519 static void snd_pcm_post_stop(struct snd_pcm_substream *substream, in snd_pcm_post_stop()
1547 int snd_pcm_stop(struct snd_pcm_substream *substream, snd_pcm_state_t state) in snd_pcm_stop()
1562 int snd_pcm_drain_done(struct snd_pcm_substream *substream) in snd_pcm_drain_done()
1577 int snd_pcm_stop_xrun(struct snd_pcm_substream *substream) in snd_pcm_stop_xrun()
1591 static int snd_pcm_pre_pause(struct snd_pcm_substream *substream, in snd_pcm_pre_pause()
1606 static int snd_pcm_do_pause(struct snd_pcm_substream *substream, in snd_pcm_do_pause()
1622 static void snd_pcm_undo_pause(struct snd_pcm_substream *substream, in snd_pcm_undo_pause()
1632 static void snd_pcm_post_pause(struct snd_pcm_substream *substream, in snd_pcm_post_pause()
1658 static int snd_pcm_pause(struct snd_pcm_substream *substream, bool push) in snd_pcm_pause()
1664 static int snd_pcm_pause_lock_irq(struct snd_pcm_substream *substream, in snd_pcm_pause_lock_irq()
1674 static int snd_pcm_pre_suspend(struct snd_pcm_substream *substream, in snd_pcm_pre_suspend()
1691 static int snd_pcm_do_suspend(struct snd_pcm_substream *substream, in snd_pcm_do_suspend()
1704 static void snd_pcm_post_suspend(struct snd_pcm_substream *substream, in snd_pcm_post_suspend()
1731 static int snd_pcm_suspend(struct snd_pcm_substream *substream) in snd_pcm_suspend()
1748 struct snd_pcm_substream *substream; in snd_pcm_suspend_all() local
1780 static int snd_pcm_pre_resume(struct snd_pcm_substream *substream, in snd_pcm_pre_resume()
1792 static int snd_pcm_do_resume(struct snd_pcm_substream *substream, in snd_pcm_do_resume()
1806 static void snd_pcm_undo_resume(struct snd_pcm_substream *substream, in snd_pcm_undo_resume()
1814 static void snd_pcm_post_resume(struct snd_pcm_substream *substream, in snd_pcm_post_resume()
1830 static int snd_pcm_resume(struct snd_pcm_substream *substream) in snd_pcm_resume()
1838 static int snd_pcm_resume(struct snd_pcm_substream *substream) in snd_pcm_resume()
1850 static int snd_pcm_xrun(struct snd_pcm_substream *substream) in snd_pcm_xrun()
1870 static int snd_pcm_pre_reset(struct snd_pcm_substream *substream, in snd_pcm_pre_reset()
1885 static int snd_pcm_do_reset(struct snd_pcm_substream *substream, in snd_pcm_do_reset()
1901 static void snd_pcm_post_reset(struct snd_pcm_substream *substream, in snd_pcm_post_reset()
1918 static int snd_pcm_reset(struct snd_pcm_substream *substream) in snd_pcm_reset()
1928 static int snd_pcm_pre_prepare(struct snd_pcm_substream *substream, in snd_pcm_pre_prepare()
1943 static int snd_pcm_do_prepare(struct snd_pcm_substream *substream, in snd_pcm_do_prepare()
1954 static void snd_pcm_post_prepare(struct snd_pcm_substream *substream, in snd_pcm_post_prepare()
1975 static int snd_pcm_prepare(struct snd_pcm_substream *substream, in snd_pcm_prepare()
2006 static int snd_pcm_pre_drain_init(struct snd_pcm_substream *substream, in snd_pcm_pre_drain_init()
2020 static int snd_pcm_do_drain_init(struct snd_pcm_substream *substream, in snd_pcm_do_drain_init()
2065 static void snd_pcm_post_drain_init(struct snd_pcm_substream *substream, in snd_pcm_post_drain_init()
2083 static int snd_pcm_drain(struct snd_pcm_substream *substream, in snd_pcm_drain()
2198 static int snd_pcm_drop(struct snd_pcm_substream *substream) in snd_pcm_drop()
2244 static int snd_pcm_link(struct snd_pcm_substream *substream, int fd) in snd_pcm_link()
2294 static void relink_to_local(struct snd_pcm_substream *substream) in relink_to_local()
2301 static int snd_pcm_unlink(struct snd_pcm_substream *substream) in snd_pcm_unlink()
2452 struct snd_pcm_substream *substream = rule->private; in snd_pcm_hw_rule_buffer_bytes_max() local
2496 static int snd_pcm_hw_constraints_init(struct snd_pcm_substream *substream) in snd_pcm_hw_constraints_init()
2620 static int snd_pcm_hw_constraints_complete(struct snd_pcm_substream *substream) in snd_pcm_hw_constraints_complete()
2703 static void pcm_release_private(struct snd_pcm_substream *substream) in pcm_release_private()
2709 void snd_pcm_release_substream(struct snd_pcm_substream *substream) in snd_pcm_release_substream()
2736 struct snd_pcm_substream *substream; in snd_pcm_open_substream() local
2786 struct snd_pcm_substream *substream; in snd_pcm_open_file() local
2894 struct snd_pcm_substream *substream; in snd_pcm_release() local
2919 static int do_pcm_hwsync(struct snd_pcm_substream *substream) in do_pcm_hwsync()
2941 static snd_pcm_sframes_t forward_appl_ptr(struct snd_pcm_substream *substream, in forward_appl_ptr()
2961 static snd_pcm_sframes_t rewind_appl_ptr(struct snd_pcm_substream *substream, in rewind_appl_ptr()
2985 static snd_pcm_sframes_t snd_pcm_rewind(struct snd_pcm_substream *substream, in snd_pcm_rewind()
3004 static snd_pcm_sframes_t snd_pcm_forward(struct snd_pcm_substream *substream, in snd_pcm_forward()
3023 static int snd_pcm_delay(struct snd_pcm_substream *substream, in snd_pcm_delay()
3038 static inline int snd_pcm_hwsync(struct snd_pcm_substream *substream) in snd_pcm_hwsync()
3043 static int snd_pcm_sync_ptr(struct snd_pcm_substream *substream, in snd_pcm_sync_ptr()
3131 static int snd_pcm_ioctl_sync_ptr_compat(struct snd_pcm_substream *substream, in snd_pcm_ioctl_sync_ptr_compat()
3196 static int snd_pcm_tstamp(struct snd_pcm_substream *substream, int __user *_arg) in snd_pcm_tstamp()
3209 static int snd_pcm_xferi_frames_ioctl(struct snd_pcm_substream *substream, in snd_pcm_xferi_frames_ioctl()
3231 static int snd_pcm_xfern_frames_ioctl(struct snd_pcm_substream *substream, in snd_pcm_xfern_frames_ioctl()
3260 static int snd_pcm_rewind_ioctl(struct snd_pcm_substream *substream, in snd_pcm_rewind_ioctl()
3276 static int snd_pcm_forward_ioctl(struct snd_pcm_substream *substream, in snd_pcm_forward_ioctl()
3293 struct snd_pcm_substream *substream, in snd_pcm_common_ioctl()
3427 int snd_pcm_kernel_ioctl(struct snd_pcm_substream *substream, in snd_pcm_kernel_ioctl()
3469 struct snd_pcm_substream *substream; in snd_pcm_read() local
3494 struct snd_pcm_substream *substream; in snd_pcm_write() local
3518 struct snd_pcm_substream *substream; in snd_pcm_readv() local
3557 struct snd_pcm_substream *substream; in snd_pcm_writev() local
3595 struct snd_pcm_substream *substream; in snd_pcm_poll() local
3654 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_status_fault() local
3670 static int snd_pcm_mmap_status(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_status()
3692 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_control_fault() local
3708 static int snd_pcm_mmap_control(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_control()
3764 static int snd_pcm_mmap_status(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_status()
3769 static int snd_pcm_mmap_control(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_control()
3781 struct snd_pcm_substream *substream = area->vm_private_data; in snd_pcm_mmap_data_open() local
3791 struct snd_pcm_substream *substream = area->vm_private_data; in snd_pcm_mmap_data_close() local
3801 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_data_fault() local
3854 int snd_pcm_lib_default_mmap(struct snd_pcm_substream *substream, in snd_pcm_lib_default_mmap()
3882 int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream, in snd_pcm_lib_mmap_iomem()
3896 int snd_pcm_mmap_data(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_data()
3943 struct snd_pcm_substream *substream; in snd_pcm_mmap() local
3980 struct snd_pcm_substream *substream; in snd_pcm_fasync() local
4048 static int snd_pcm_hw_refine_old_user(struct snd_pcm_substream *substream, in snd_pcm_hw_refine_old_user()
4077 static int snd_pcm_hw_params_old_user(struct snd_pcm_substream *substream, in snd_pcm_hw_params_old_user()
4112 struct snd_pcm_substream *substream = pcm_file->substream; in snd_pcm_get_unmapped_area() local