Lines Matching defs:substream
34 #define trace_hw_mask_param(substream, type, index, prev, curr) argument
35 #define trace_hw_interval_param(substream, type, index, prev, curr) argument
106 void snd_pcm_stream_lock(struct snd_pcm_substream *substream) in snd_pcm_stream_lock()
118 void snd_pcm_stream_unlock(struct snd_pcm_substream *substream) in snd_pcm_stream_unlock()
132 void snd_pcm_stream_lock_irq(struct snd_pcm_substream *substream) in snd_pcm_stream_lock_irq()
145 void snd_pcm_stream_unlock_irq(struct snd_pcm_substream *substream) in snd_pcm_stream_unlock_irq()
152 unsigned long _snd_pcm_stream_lock_irqsave(struct snd_pcm_substream *substream) in _snd_pcm_stream_lock_irqsave()
170 void snd_pcm_stream_unlock_irqrestore(struct snd_pcm_substream *substream, in snd_pcm_stream_unlock_irqrestore()
180 int snd_pcm_info(struct snd_pcm_substream *substream, struct snd_pcm_info *info) in snd_pcm_info()
201 int snd_pcm_info_user(struct snd_pcm_substream *substream, in snd_pcm_info_user()
219 static bool hw_support_mmap(struct snd_pcm_substream *substream) in hw_support_mmap()
231 static int constrain_mask_params(struct snd_pcm_substream *substream, in constrain_mask_params()
267 static int constrain_interval_params(struct snd_pcm_substream *substream, in constrain_interval_params()
303 static int constrain_params_by_rules(struct snd_pcm_substream *substream, in constrain_params_by_rules()
424 static int fixup_unreferenced_params(struct snd_pcm_substream *substream, in fixup_unreferenced_params()
468 int snd_pcm_hw_refine(struct snd_pcm_substream *substream, in snd_pcm_hw_refine()
500 static int snd_pcm_hw_refine_user(struct snd_pcm_substream *substream, in snd_pcm_hw_refine_user()
540 static void snd_pcm_set_state(struct snd_pcm_substream *substream, int state) in snd_pcm_set_state()
548 static inline void snd_pcm_timer_notify(struct snd_pcm_substream *substream, in snd_pcm_timer_notify()
622 static int snd_pcm_hw_params(struct snd_pcm_substream *substream, in snd_pcm_hw_params()
727 static int snd_pcm_hw_params_user(struct snd_pcm_substream *substream, in snd_pcm_hw_params_user()
748 static int snd_pcm_hw_free(struct snd_pcm_substream *substream) in snd_pcm_hw_free()
775 static int snd_pcm_sw_params(struct snd_pcm_substream *substream, in snd_pcm_sw_params()
830 static int snd_pcm_sw_params_user(struct snd_pcm_substream *substream, in snd_pcm_sw_params_user()
844 snd_pcm_calc_delay(struct snd_pcm_substream *substream) in snd_pcm_calc_delay()
855 int snd_pcm_status(struct snd_pcm_substream *substream, in snd_pcm_status()
918 static int snd_pcm_status_user(struct snd_pcm_substream *substream, in snd_pcm_status_user()
942 static int snd_pcm_channel_info(struct snd_pcm_substream *substream, in snd_pcm_channel_info()
963 static int snd_pcm_channel_info_user(struct snd_pcm_substream *substream, in snd_pcm_channel_info_user()
979 static void snd_pcm_trigger_tstamp(struct snd_pcm_substream *substream) in snd_pcm_trigger_tstamp()
1007 struct snd_pcm_substream *substream, in snd_pcm_action_group()
1064 struct snd_pcm_substream *substream, in snd_pcm_action_single()
1080 static void snd_pcm_group_assign(struct snd_pcm_substream *substream, in snd_pcm_group_assign()
1092 struct snd_pcm_substream *substream) in snd_pcm_group_unref()
1109 snd_pcm_stream_group_ref(struct snd_pcm_substream *substream) in snd_pcm_stream_group_ref()
1145 struct snd_pcm_substream *substream, in snd_pcm_action()
1164 struct snd_pcm_substream *substream, in snd_pcm_action_lock_irq()
1178 struct snd_pcm_substream *substream, in snd_pcm_action_nonatomic()
1196 static int snd_pcm_pre_start(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_start()
1209 static int snd_pcm_do_start(struct snd_pcm_substream *substream, int state) in snd_pcm_do_start()
1216 static void snd_pcm_undo_start(struct snd_pcm_substream *substream, int state) in snd_pcm_undo_start()
1222 static void snd_pcm_post_start(struct snd_pcm_substream *substream, int state) in snd_pcm_post_start()
1250 int snd_pcm_start(struct snd_pcm_substream *substream) in snd_pcm_start()
1257 static int snd_pcm_start_lock_irq(struct snd_pcm_substream *substream) in snd_pcm_start_lock_irq()
1266 static int snd_pcm_pre_stop(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_stop()
1275 static int snd_pcm_do_stop(struct snd_pcm_substream *substream, int state) in snd_pcm_do_stop()
1283 static void snd_pcm_post_stop(struct snd_pcm_substream *substream, int state) in snd_pcm_post_stop()
1310 int snd_pcm_stop(struct snd_pcm_substream *substream, snd_pcm_state_t state) in snd_pcm_stop()
1325 int snd_pcm_drain_done(struct snd_pcm_substream *substream) in snd_pcm_drain_done()
1340 int snd_pcm_stop_xrun(struct snd_pcm_substream *substream) in snd_pcm_stop_xrun()
1355 static int snd_pcm_pre_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_pre_pause()
1369 static int snd_pcm_do_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_do_pause()
1387 static void snd_pcm_undo_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_undo_pause()
1395 static void snd_pcm_post_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_post_pause()
1420 static int snd_pcm_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_pause()
1428 static int snd_pcm_pre_suspend(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_suspend()
1444 static int snd_pcm_do_suspend(struct snd_pcm_substream *substream, int state) in snd_pcm_do_suspend()
1455 static void snd_pcm_post_suspend(struct snd_pcm_substream *substream, int state) in snd_pcm_post_suspend()
1480 static int snd_pcm_suspend(struct snd_pcm_substream *substream) in snd_pcm_suspend()
1501 struct snd_pcm_substream *substream; in snd_pcm_suspend_all() local
1532 static int snd_pcm_pre_resume(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_resume()
1541 static int snd_pcm_do_resume(struct snd_pcm_substream *substream, int state) in snd_pcm_do_resume()
1554 static void snd_pcm_undo_resume(struct snd_pcm_substream *substream, int state) in snd_pcm_undo_resume()
1561 static void snd_pcm_post_resume(struct snd_pcm_substream *substream, int state) in snd_pcm_post_resume()
1576 static int snd_pcm_resume(struct snd_pcm_substream *substream) in snd_pcm_resume()
1583 static int snd_pcm_resume(struct snd_pcm_substream *substream) in snd_pcm_resume()
1595 static int snd_pcm_xrun(struct snd_pcm_substream *substream) in snd_pcm_xrun()
1619 static int snd_pcm_pre_reset(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_reset()
1633 static int snd_pcm_do_reset(struct snd_pcm_substream *substream, int state) in snd_pcm_do_reset()
1647 static void snd_pcm_post_reset(struct snd_pcm_substream *substream, int state) in snd_pcm_post_reset()
1662 static int snd_pcm_reset(struct snd_pcm_substream *substream) in snd_pcm_reset()
1671 static int snd_pcm_pre_prepare(struct snd_pcm_substream *substream, in snd_pcm_pre_prepare()
1684 static int snd_pcm_do_prepare(struct snd_pcm_substream *substream, int state) in snd_pcm_do_prepare()
1693 static void snd_pcm_post_prepare(struct snd_pcm_substream *substream, int state) in snd_pcm_post_prepare()
1713 static int snd_pcm_prepare(struct snd_pcm_substream *substream, in snd_pcm_prepare()
1742 static int snd_pcm_pre_drain_init(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_drain_init()
1755 static int snd_pcm_do_drain_init(struct snd_pcm_substream *substream, int state) in snd_pcm_do_drain_init()
1797 static void snd_pcm_post_drain_init(struct snd_pcm_substream *substream, int state) in snd_pcm_post_drain_init()
1814 static int snd_pcm_drain(struct snd_pcm_substream *substream, in snd_pcm_drain()
1928 static int snd_pcm_drop(struct snd_pcm_substream *substream) in snd_pcm_drop()
1975 static int snd_pcm_link(struct snd_pcm_substream *substream, int fd) in snd_pcm_link()
2034 static void relink_to_local(struct snd_pcm_substream *substream) in relink_to_local()
2041 static int snd_pcm_unlink(struct snd_pcm_substream *substream) in snd_pcm_unlink()
2193 struct snd_pcm_substream *substream = rule->private; in snd_pcm_hw_rule_buffer_bytes_max() local
2202 int snd_pcm_hw_constraints_init(struct snd_pcm_substream *substream) in snd_pcm_hw_constraints_init()
2326 int snd_pcm_hw_constraints_complete(struct snd_pcm_substream *substream) in snd_pcm_hw_constraints_complete()
2409 static void pcm_release_private(struct snd_pcm_substream *substream) in pcm_release_private()
2415 void snd_pcm_release_substream(struct snd_pcm_substream *substream) in snd_pcm_release_substream()
2443 struct snd_pcm_substream *substream; in snd_pcm_open_substream() local
2485 struct snd_pcm_substream *substream; in snd_pcm_open_file() local
2593 struct snd_pcm_substream *substream; in snd_pcm_release() local
2614 static int do_pcm_hwsync(struct snd_pcm_substream *substream) in do_pcm_hwsync()
2636 static snd_pcm_sframes_t forward_appl_ptr(struct snd_pcm_substream *substream, in forward_appl_ptr()
2656 static snd_pcm_sframes_t rewind_appl_ptr(struct snd_pcm_substream *substream, in rewind_appl_ptr()
2680 static snd_pcm_sframes_t snd_pcm_rewind(struct snd_pcm_substream *substream, in snd_pcm_rewind()
2697 static snd_pcm_sframes_t snd_pcm_forward(struct snd_pcm_substream *substream, in snd_pcm_forward()
2714 static int snd_pcm_hwsync(struct snd_pcm_substream *substream) in snd_pcm_hwsync()
2724 static int snd_pcm_delay(struct snd_pcm_substream *substream, in snd_pcm_delay()
2740 static int snd_pcm_sync_ptr(struct snd_pcm_substream *substream, in snd_pcm_sync_ptr()
2787 static int snd_pcm_tstamp(struct snd_pcm_substream *substream, int __user *_arg) in snd_pcm_tstamp()
2800 static int snd_pcm_xferi_frames_ioctl(struct snd_pcm_substream *substream, in snd_pcm_xferi_frames_ioctl()
2821 static int snd_pcm_xfern_frames_ioctl(struct snd_pcm_substream *substream, in snd_pcm_xfern_frames_ioctl()
2850 static int snd_pcm_rewind_ioctl(struct snd_pcm_substream *substream, in snd_pcm_rewind_ioctl()
2865 static int snd_pcm_forward_ioctl(struct snd_pcm_substream *substream, in snd_pcm_forward_ioctl()
2881 struct snd_pcm_substream *substream, in snd_pcm_common_ioctl()
3006 int snd_pcm_kernel_ioctl(struct snd_pcm_substream *substream, in snd_pcm_kernel_ioctl()
3045 struct snd_pcm_substream *substream; in snd_pcm_read() local
3069 struct snd_pcm_substream *substream; in snd_pcm_write() local
3092 struct snd_pcm_substream *substream; in snd_pcm_readv() local
3128 struct snd_pcm_substream *substream; in snd_pcm_writev() local
3163 struct snd_pcm_substream *substream; in snd_pcm_poll() local
3220 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_status_fault() local
3236 static int snd_pcm_mmap_status(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_status()
3256 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_control_fault() local
3272 static int snd_pcm_mmap_control(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_control()
3321 static int snd_pcm_mmap_status(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_status()
3326 static int snd_pcm_mmap_control(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_control()
3334 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 = vmf->vma->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()
3446 int snd_pcm_mmap_data(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_data()
3493 struct snd_pcm_substream *substream; in snd_pcm_mmap() local
3520 struct snd_pcm_substream *substream; in snd_pcm_fasync() local
3586 static int snd_pcm_hw_refine_old_user(struct snd_pcm_substream *substream, in snd_pcm_hw_refine_old_user()
3621 static int snd_pcm_hw_params_old_user(struct snd_pcm_substream *substream, in snd_pcm_hw_params_old_user()
3662 struct snd_pcm_substream *substream = pcm_file->substream; in snd_pcm_get_unmapped_area() local