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 int snd_pcm_hw_params(struct snd_pcm_substream *substream, in snd_pcm_hw_params()
602 static int snd_pcm_hw_params_user(struct snd_pcm_substream *substream, in snd_pcm_hw_params_user()
622 static int snd_pcm_hw_free(struct snd_pcm_substream *substream) in snd_pcm_hw_free()
649 static int snd_pcm_sw_params(struct snd_pcm_substream *substream, in snd_pcm_sw_params()
703 static int snd_pcm_sw_params_user(struct snd_pcm_substream *substream, in snd_pcm_sw_params_user()
716 int snd_pcm_status(struct snd_pcm_substream *substream, in snd_pcm_status()
791 static int snd_pcm_status_user(struct snd_pcm_substream *substream, in snd_pcm_status_user()
815 static int snd_pcm_channel_info(struct snd_pcm_substream *substream, in snd_pcm_channel_info()
836 static int snd_pcm_channel_info_user(struct snd_pcm_substream *substream, in snd_pcm_channel_info_user()
852 static void snd_pcm_trigger_tstamp(struct snd_pcm_substream *substream) in snd_pcm_trigger_tstamp()
880 struct snd_pcm_substream *substream, in snd_pcm_action_group()
937 struct snd_pcm_substream *substream, in snd_pcm_action_single()
957 struct snd_pcm_substream *substream, in snd_pcm_action()
989 struct snd_pcm_substream *substream, in snd_pcm_action_lock_irq()
1003 struct snd_pcm_substream *substream, in snd_pcm_action_nonatomic()
1020 static int snd_pcm_pre_start(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_start()
1033 static int snd_pcm_do_start(struct snd_pcm_substream *substream, int state) in snd_pcm_do_start()
1040 static void snd_pcm_undo_start(struct snd_pcm_substream *substream, int state) in snd_pcm_undo_start()
1046 static void snd_pcm_post_start(struct snd_pcm_substream *substream, int state) in snd_pcm_post_start()
1075 int snd_pcm_start(struct snd_pcm_substream *substream) in snd_pcm_start()
1084 static int snd_pcm_pre_stop(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_stop()
1093 static int snd_pcm_do_stop(struct snd_pcm_substream *substream, int state) in snd_pcm_do_stop()
1101 static void snd_pcm_post_stop(struct snd_pcm_substream *substream, int state) in snd_pcm_post_stop()
1130 int snd_pcm_stop(struct snd_pcm_substream *substream, snd_pcm_state_t state) in snd_pcm_stop()
1146 int snd_pcm_drain_done(struct snd_pcm_substream *substream) in snd_pcm_drain_done()
1161 int snd_pcm_stop_xrun(struct snd_pcm_substream *substream) in snd_pcm_stop_xrun()
1177 static int snd_pcm_pre_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_pre_pause()
1191 static int snd_pcm_do_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_do_pause()
1209 static void snd_pcm_undo_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_undo_pause()
1217 static void snd_pcm_post_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_post_pause()
1248 static int snd_pcm_pause(struct snd_pcm_substream *substream, int push) in snd_pcm_pause()
1256 static int snd_pcm_pre_suspend(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_suspend()
1265 static int snd_pcm_do_suspend(struct snd_pcm_substream *substream, int state) in snd_pcm_do_suspend()
1276 static void snd_pcm_post_suspend(struct snd_pcm_substream *substream, int state) in snd_pcm_post_suspend()
1304 int snd_pcm_suspend(struct snd_pcm_substream *substream) in snd_pcm_suspend()
1330 struct snd_pcm_substream *substream; in snd_pcm_suspend_all() local
1354 static int snd_pcm_pre_resume(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_resume()
1363 static int snd_pcm_do_resume(struct snd_pcm_substream *substream, int state) in snd_pcm_do_resume()
1376 static void snd_pcm_undo_resume(struct snd_pcm_substream *substream, int state) in snd_pcm_undo_resume()
1383 static void snd_pcm_post_resume(struct snd_pcm_substream *substream, int state) in snd_pcm_post_resume()
1400 static int snd_pcm_resume(struct snd_pcm_substream *substream) in snd_pcm_resume()
1414 static int snd_pcm_resume(struct snd_pcm_substream *substream) in snd_pcm_resume()
1426 static int snd_pcm_xrun(struct snd_pcm_substream *substream) in snd_pcm_xrun()
1459 static int snd_pcm_pre_reset(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_reset()
1473 static int snd_pcm_do_reset(struct snd_pcm_substream *substream, int state) in snd_pcm_do_reset()
1487 static void snd_pcm_post_reset(struct snd_pcm_substream *substream, int state) in snd_pcm_post_reset()
1502 static int snd_pcm_reset(struct snd_pcm_substream *substream) in snd_pcm_reset()
1511 static int snd_pcm_pre_prepare(struct snd_pcm_substream *substream, in snd_pcm_pre_prepare()
1524 static int snd_pcm_do_prepare(struct snd_pcm_substream *substream, int state) in snd_pcm_do_prepare()
1533 static void snd_pcm_post_prepare(struct snd_pcm_substream *substream, int state) in snd_pcm_post_prepare()
1553 static int snd_pcm_prepare(struct snd_pcm_substream *substream, in snd_pcm_prepare()
1577 static int snd_pcm_pre_drain_init(struct snd_pcm_substream *substream, int state) in snd_pcm_pre_drain_init()
1590 static int snd_pcm_do_drain_init(struct snd_pcm_substream *substream, int state) in snd_pcm_do_drain_init()
1632 static void snd_pcm_post_drain_init(struct snd_pcm_substream *substream, int state) in snd_pcm_post_drain_init()
1651 static int snd_pcm_drain(struct snd_pcm_substream *substream, in snd_pcm_drain()
1768 static int snd_pcm_drop(struct snd_pcm_substream *substream) in snd_pcm_drop()
1810 static int snd_pcm_link(struct snd_pcm_substream *substream, int fd) in snd_pcm_link()
1866 static void relink_to_local(struct snd_pcm_substream *substream) in relink_to_local()
1873 static int snd_pcm_unlink(struct snd_pcm_substream *substream) in snd_pcm_unlink()
2012 struct snd_pcm_substream *substream = rule->private; in snd_pcm_hw_rule_buffer_bytes_max() local
2021 int snd_pcm_hw_constraints_init(struct snd_pcm_substream *substream) in snd_pcm_hw_constraints_init()
2145 int snd_pcm_hw_constraints_complete(struct snd_pcm_substream *substream) in snd_pcm_hw_constraints_complete()
2228 static void pcm_release_private(struct snd_pcm_substream *substream) in pcm_release_private()
2233 void snd_pcm_release_substream(struct snd_pcm_substream *substream) in snd_pcm_release_substream()
2261 struct snd_pcm_substream *substream; in snd_pcm_open_substream() local
2304 struct snd_pcm_substream *substream; in snd_pcm_open_file() local
2414 struct snd_pcm_substream *substream; in snd_pcm_release() local
2432 static snd_pcm_sframes_t snd_pcm_playback_rewind(struct snd_pcm_substream *substream, in snd_pcm_playback_rewind()
2480 static snd_pcm_sframes_t snd_pcm_capture_rewind(struct snd_pcm_substream *substream, in snd_pcm_capture_rewind()
2528 static snd_pcm_sframes_t snd_pcm_playback_forward(struct snd_pcm_substream *substream, in snd_pcm_playback_forward()
2577 static snd_pcm_sframes_t snd_pcm_capture_forward(struct snd_pcm_substream *substream, in snd_pcm_capture_forward()
2626 static int snd_pcm_hwsync(struct snd_pcm_substream *substream) in snd_pcm_hwsync()
2657 static int snd_pcm_delay(struct snd_pcm_substream *substream, in snd_pcm_delay()
2698 static int snd_pcm_sync_ptr(struct snd_pcm_substream *substream, in snd_pcm_sync_ptr()
2738 static int snd_pcm_tstamp(struct snd_pcm_substream *substream, int __user *_arg) in snd_pcm_tstamp()
2752 struct snd_pcm_substream *substream, in snd_pcm_common_ioctl1()
2822 struct snd_pcm_substream *substream, in snd_pcm_playback_ioctl1()
2902 struct snd_pcm_substream *substream, in snd_pcm_capture_ioctl1()
3009 int snd_pcm_kernel_ioctl(struct snd_pcm_substream *substream, in snd_pcm_kernel_ioctl()
3039 struct snd_pcm_substream *substream; in snd_pcm_read() local
3063 struct snd_pcm_substream *substream; in snd_pcm_write() local
3086 struct snd_pcm_substream *substream; in snd_pcm_readv() local
3122 struct snd_pcm_substream *substream; in snd_pcm_writev() local
3157 struct snd_pcm_substream *substream; in snd_pcm_playback_poll() local
3196 struct snd_pcm_substream *substream; in snd_pcm_capture_poll() local
3251 struct snd_pcm_substream *substream = area->vm_private_data; in snd_pcm_mmap_status_fault() local
3267 static int snd_pcm_mmap_status(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_status()
3288 struct snd_pcm_substream *substream = area->vm_private_data; in snd_pcm_mmap_control_fault() local
3304 static int snd_pcm_mmap_control(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_control()
3322 static int snd_pcm_mmap_status(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_status()
3327 static int snd_pcm_mmap_control(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_control()
3335 snd_pcm_default_page_ops(struct snd_pcm_substream *substream, unsigned long ofs) in snd_pcm_default_page_ops()
3347 struct snd_pcm_substream *substream = area->vm_private_data; in snd_pcm_mmap_data_fault() local
3394 int snd_pcm_lib_default_mmap(struct snd_pcm_substream *substream, in snd_pcm_lib_default_mmap()
3434 int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream, in snd_pcm_lib_mmap_iomem()
3449 int snd_pcm_mmap_data(struct snd_pcm_substream *substream, struct file *file, in snd_pcm_mmap_data()
3497 struct snd_pcm_substream *substream; in snd_pcm_mmap() local
3524 struct snd_pcm_substream *substream; in snd_pcm_fasync() local
3590 static int snd_pcm_hw_refine_old_user(struct snd_pcm_substream *substream, in snd_pcm_hw_refine_old_user()
3620 static int snd_pcm_hw_params_old_user(struct snd_pcm_substream *substream, in snd_pcm_hw_params_old_user()
3659 struct snd_pcm_substream *substream = pcm_file->substream; in snd_pcm_get_unmapped_area() local