Searched refs:substream (Results 1 - 25 of 947) sorted by relevance

1234567891011>>

/linux-master/sound/core/
H A Dpcm_local.h26 int pcm_lib_apply_appl_ptr(struct snd_pcm_substream *substream,
28 int snd_pcm_update_state(struct snd_pcm_substream *substream,
30 int snd_pcm_update_hw_ptr(struct snd_pcm_substream *substream);
32 void snd_pcm_playback_silence(struct snd_pcm_substream *substream,
36 snd_pcm_avail(struct snd_pcm_substream *substream) argument
38 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
39 return snd_pcm_playback_avail(substream->runtime);
41 return snd_pcm_capture_avail(substream->runtime);
45 snd_pcm_hw_avail(struct snd_pcm_substream *substream) argument
47 if (substream
59 snd_pcm_timer_resolution_change(struct snd_pcm_substream *substream) argument
60 snd_pcm_timer_init(struct snd_pcm_substream *substream) argument
61 snd_pcm_timer_done(struct snd_pcm_substream *substream) argument
76 snd_pcm_dma_buffer_sync(struct snd_pcm_substream *substream, enum snd_dma_sync_mode mode) argument
[all...]
H A Dpcm_timer.c19 void snd_pcm_timer_resolution_change(struct snd_pcm_substream *substream) argument
22 struct snd_pcm_runtime *runtime = substream->runtime;
43 pcm_err(substream->pcm,
54 struct snd_pcm_substream *substream; local
56 substream = timer->private_data;
57 return substream->runtime ? substream->runtime->timer_resolution : 0;
62 struct snd_pcm_substream *substream; local
64 substream = snd_timer_chip(timer);
65 substream
71 struct snd_pcm_substream *substream; local
94 struct snd_pcm_substream *substream = timer->private_data; local
98 snd_pcm_timer_init(struct snd_pcm_substream *substream) argument
124 snd_pcm_timer_done(struct snd_pcm_substream *substream) argument
[all...]
H A Dpcm_memory.c99 static int preallocate_pcm_pages(struct snd_pcm_substream *substream, argument
102 struct snd_dma_buffer *dmab = &substream->dma_buffer;
103 struct snd_card *card = substream->pcm->card;
109 substream->stream, size, dmab);
118 substream->pcm->card->number, substream->pcm->device,
119 substream->stream ? 'c' : 'p', substream->number,
120 substream->pcm->name, orig_size);
125 * snd_pcm_lib_preallocate_free - release the preallocated buffer of the specified substream
130 snd_pcm_lib_preallocate_free(struct snd_pcm_substream *substream) argument
143 struct snd_pcm_substream *substream; local
160 struct snd_pcm_substream *substream = entry->private_data; local
172 struct snd_pcm_substream *substream = entry->private_data; local
184 struct snd_pcm_substream *substream = entry->private_data; local
231 preallocate_info_init(struct snd_pcm_substream *substream) argument
251 preallocate_info_init(struct snd_pcm_substream *substream) argument
259 preallocate_pages(struct snd_pcm_substream *substream, int type, struct device *data, size_t size, size_t max, bool managed) argument
299 struct snd_pcm_substream *substream; local
320 snd_pcm_lib_preallocate_pages(struct snd_pcm_substream *substream, int type, struct device *data, size_t size, size_t max) argument
378 snd_pcm_set_managed_buffer(struct snd_pcm_substream *substream, int type, struct device *data, size_t size, size_t max) argument
418 snd_pcm_lib_malloc_pages(struct snd_pcm_substream *substream, size_t size) argument
480 snd_pcm_lib_free_pages(struct snd_pcm_substream *substream) argument
501 _snd_pcm_lib_alloc_vmalloc_buffer(struct snd_pcm_substream *substream, size_t size, gfp_t gfp_flags) argument
529 snd_pcm_lib_free_vmalloc_buffer(struct snd_pcm_substream *substream) argument
552 snd_pcm_lib_get_vmalloc_page(struct snd_pcm_substream *substream, unsigned long offset) argument
[all...]
H A Dpcm_native.c36 #define trace_hw_mask_param(substream, type, index, prev, curr)
37 #define trace_hw_interval_param(substream, type, index, prev, curr)
64 static int snd_pcm_hw_refine_old_user(struct snd_pcm_substream *substream,
66 static int snd_pcm_hw_params_old_user(struct snd_pcm_substream *substream,
102 * @substream: PCM substream
105 * flag of the given substream. This also takes the global link rw lock
108 void snd_pcm_stream_lock(struct snd_pcm_substream *substream) argument
110 snd_pcm_group_lock(&substream->self_group, substream
120 snd_pcm_stream_unlock(struct snd_pcm_substream *substream) argument
134 snd_pcm_stream_lock_irq(struct snd_pcm_substream *substream) argument
141 snd_pcm_stream_lock_nested(struct snd_pcm_substream *substream) argument
157 snd_pcm_stream_unlock_irq(struct snd_pcm_substream *substream) argument
164 _snd_pcm_stream_lock_irqsave(struct snd_pcm_substream *substream) argument
175 _snd_pcm_stream_lock_irqsave_nested(struct snd_pcm_substream *substream) argument
195 snd_pcm_stream_unlock_irqrestore(struct snd_pcm_substream *substream, unsigned long flags) argument
206 snd_pcm_ops_ioctl(struct snd_pcm_substream *substream, unsigned cmd, void *arg) argument
215 snd_pcm_info(struct snd_pcm_substream *substream, struct snd_pcm_info *info) argument
236 snd_pcm_info_user(struct snd_pcm_substream *substream, struct snd_pcm_info __user * _info) argument
256 hw_support_mmap(struct snd_pcm_substream *substream) argument
283 constrain_mask_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument
319 constrain_interval_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument
355 constrain_params_by_rules(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument
472 fixup_unreferenced_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument
539 snd_pcm_hw_refine(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument
571 snd_pcm_hw_refine_user(struct snd_pcm_substream *substream, struct snd_pcm_hw_params __user * _params) argument
609 snd_pcm_set_state(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
617 snd_pcm_timer_notify(struct snd_pcm_substream *substream, int event) argument
627 snd_pcm_sync_stop(struct snd_pcm_substream *substream, bool sync_irq) argument
726 snd_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument
861 snd_pcm_hw_params_user(struct snd_pcm_substream *substream, struct snd_pcm_hw_params __user * _params) argument
880 do_hw_free(struct snd_pcm_substream *substream) argument
892 snd_pcm_hw_free(struct snd_pcm_substream *substream) argument
925 snd_pcm_sw_params(struct snd_pcm_substream *substream, struct snd_pcm_sw_params *params) argument
978 snd_pcm_sw_params_user(struct snd_pcm_substream *substream, struct snd_pcm_sw_params __user * _params) argument
992 snd_pcm_calc_delay(struct snd_pcm_substream *substream) argument
1003 snd_pcm_status64(struct snd_pcm_substream *substream, struct snd_pcm_status64 *status) argument
1077 snd_pcm_status_user64(struct snd_pcm_substream *substream, struct snd_pcm_status64 __user * _status, bool ext) argument
1101 snd_pcm_status_user32(struct snd_pcm_substream *substream, struct snd_pcm_status32 __user * _status, bool ext) argument
1150 snd_pcm_channel_info(struct snd_pcm_substream *substream, struct snd_pcm_channel_info * info) argument
1169 snd_pcm_channel_info_user(struct snd_pcm_substream *substream, struct snd_pcm_channel_info __user * _info) argument
1185 snd_pcm_trigger_tstamp(struct snd_pcm_substream *substream) argument
1218 snd_pcm_action_group(const struct action_ops *ops, struct snd_pcm_substream *substream, snd_pcm_state_t state, bool stream_lock) argument
1278 snd_pcm_action_single(const struct action_ops *ops, struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1295 snd_pcm_group_assign(struct snd_pcm_substream *substream, struct snd_pcm_group *new_group) argument
1306 snd_pcm_group_unref(struct snd_pcm_group *group, struct snd_pcm_substream *substream) argument
1324 snd_pcm_stream_group_ref(struct snd_pcm_substream *substream) argument
1359 snd_pcm_action(const struct action_ops *ops, struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1378 snd_pcm_action_lock_irq(const struct action_ops *ops, struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1388 snd_pcm_action_nonatomic(const struct action_ops *ops, struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1410 snd_pcm_pre_start(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1424 snd_pcm_do_start(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1438 snd_pcm_undo_start(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1447 snd_pcm_post_start(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1476 snd_pcm_start(struct snd_pcm_substream *substream) argument
1483 snd_pcm_start_lock_irq(struct snd_pcm_substream *substream) argument
1492 snd_pcm_pre_stop(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1502 snd_pcm_do_stop(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1513 snd_pcm_post_stop(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1541 snd_pcm_stop(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1556 snd_pcm_drain_done(struct snd_pcm_substream *substream) argument
1571 snd_pcm_stop_xrun(struct snd_pcm_substream *substream) argument
1585 snd_pcm_pre_pause(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1600 snd_pcm_do_pause(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1616 snd_pcm_undo_pause(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1626 snd_pcm_post_pause(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1652 snd_pcm_pause(struct snd_pcm_substream *substream, bool push) argument
1658 snd_pcm_pause_lock_irq(struct snd_pcm_substream *substream, bool push) argument
1668 snd_pcm_pre_suspend(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1685 snd_pcm_do_suspend(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1698 snd_pcm_post_suspend(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1725 snd_pcm_suspend(struct snd_pcm_substream *substream) argument
1742 struct snd_pcm_substream *substream; local
1774 snd_pcm_pre_resume(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1784 snd_pcm_do_resume(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1798 snd_pcm_undo_resume(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1806 snd_pcm_post_resume(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1822 snd_pcm_resume(struct snd_pcm_substream *substream) argument
1830 snd_pcm_resume(struct snd_pcm_substream *substream) argument
1842 snd_pcm_xrun(struct snd_pcm_substream *substream) argument
1862 snd_pcm_pre_reset(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1877 snd_pcm_do_reset(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1893 snd_pcm_post_reset(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1910 snd_pcm_reset(struct snd_pcm_substream *substream) argument
1920 snd_pcm_pre_prepare(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1935 snd_pcm_do_prepare(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1946 snd_pcm_post_prepare(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
1967 snd_pcm_prepare(struct snd_pcm_substream *substream, struct file *file) argument
1998 snd_pcm_pre_drain_init(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
2012 snd_pcm_do_drain_init(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
2057 snd_pcm_post_drain_init(struct snd_pcm_substream *substream, snd_pcm_state_t state) argument
2075 snd_pcm_drain(struct snd_pcm_substream *substream, struct file *file) argument
2190 snd_pcm_drop(struct snd_pcm_substream *substream) argument
2236 snd_pcm_link(struct snd_pcm_substream *substream, int fd) argument
2286 relink_to_local(struct snd_pcm_substream *substream) argument
2293 snd_pcm_unlink(struct snd_pcm_substream *substream) argument
2440 struct snd_pcm_substream *substream = rule->private; local
2484 snd_pcm_hw_constraints_init(struct snd_pcm_substream *substream) argument
2608 snd_pcm_hw_constraints_complete(struct snd_pcm_substream *substream) argument
2691 pcm_release_private(struct snd_pcm_substream *substream) argument
2697 snd_pcm_release_substream(struct snd_pcm_substream *substream) argument
2724 struct snd_pcm_substream *substream; local
2774 struct snd_pcm_substream *substream; local
2882 struct snd_pcm_substream *substream; local
2907 do_pcm_hwsync(struct snd_pcm_substream *substream) argument
2929 forward_appl_ptr(struct snd_pcm_substream *substream, snd_pcm_uframes_t frames, snd_pcm_sframes_t avail) argument
2949 rewind_appl_ptr(struct snd_pcm_substream *substream, snd_pcm_uframes_t frames, snd_pcm_sframes_t avail) argument
2973 snd_pcm_rewind(struct snd_pcm_substream *substream, snd_pcm_uframes_t frames) argument
2992 snd_pcm_forward(struct snd_pcm_substream *substream, snd_pcm_uframes_t frames) argument
3011 snd_pcm_delay(struct snd_pcm_substream *substream, snd_pcm_sframes_t *delay) argument
3026 snd_pcm_hwsync(struct snd_pcm_substream *substream) argument
3031 snd_pcm_sync_ptr(struct snd_pcm_substream *substream, struct snd_pcm_sync_ptr __user *_sync_ptr) argument
3119 snd_pcm_ioctl_sync_ptr_compat(struct snd_pcm_substream *substream, struct snd_pcm_sync_ptr32 __user *src) argument
3184 snd_pcm_tstamp(struct snd_pcm_substream *substream, int __user *_arg) argument
3197 snd_pcm_xferi_frames_ioctl(struct snd_pcm_substream *substream, struct snd_xferi __user *_xferi) argument
3219 snd_pcm_xfern_frames_ioctl(struct snd_pcm_substream *substream, struct snd_xfern __user *_xfern) argument
3248 snd_pcm_rewind_ioctl(struct snd_pcm_substream *substream, snd_pcm_uframes_t __user *_frames) argument
3264 snd_pcm_forward_ioctl(struct snd_pcm_substream *substream, snd_pcm_uframes_t __user *_frames) argument
3280 snd_pcm_common_ioctl(struct file *file, struct snd_pcm_substream *substream, unsigned int cmd, void __user *arg) argument
3415 snd_pcm_kernel_ioctl(struct snd_pcm_substream *substream, unsigned int cmd, void *arg) argument
3457 struct snd_pcm_substream *substream; local
3482 struct snd_pcm_substream *substream; local
3506 struct snd_pcm_substream *substream; local
3545 struct snd_pcm_substream *substream; local
3583 struct snd_pcm_substream *substream; local
3642 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; local
3658 snd_pcm_mmap_status(struct snd_pcm_substream *substream, struct file *file, struct vm_area_struct *area) argument
3680 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; local
3696 snd_pcm_mmap_control(struct snd_pcm_substream *substream, struct file *file, struct vm_area_struct *area) argument
3752 snd_pcm_mmap_status(struct snd_pcm_substream *substream, struct file *file, struct vm_area_struct *area) argument
3757 snd_pcm_mmap_control(struct snd_pcm_substream *substream, struct file *file, struct vm_area_struct *area) argument
3769 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; local
3820 snd_pcm_lib_default_mmap(struct snd_pcm_substream *substream, struct vm_area_struct *area) argument
3848 snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream, struct vm_area_struct *area) argument
3862 snd_pcm_mmap_data(struct snd_pcm_substream *substream, struct file *file, struct vm_area_struct *area) argument
3909 struct snd_pcm_substream *substream; local
3946 struct snd_pcm_substream *substream; local
4014 snd_pcm_hw_refine_old_user(struct snd_pcm_substream *substream, struct snd_pcm_hw_params_old __user * _oparams) argument
4043 snd_pcm_hw_params_old_user(struct snd_pcm_substream *substream, struct snd_pcm_hw_params_old __user * _oparams) argument
4078 struct snd_pcm_substream *substream = pcm_file->substream; local
[all...]
H A Dpcm_trace.h12 TP_PROTO(struct snd_pcm_substream *substream, snd_pcm_uframes_t pos, bool irq),
13 TP_ARGS(substream, pos, irq),
28 __entry->card = (substream)->pcm->card->number;
29 __entry->device = (substream)->pcm->device;
30 __entry->number = (substream)->number;
31 __entry->stream = (substream)->stream;
33 __entry->period_size = (substream)->runtime->period_size;
34 __entry->buffer_size = (substream)->runtime->buffer_size;
35 __entry->old_hw_ptr = (substream)->runtime->status->hw_ptr;
36 __entry->hw_ptr_base = (substream)
[all...]
H A Dpcm_dmaengine.c30 const struct snd_pcm_substream *substream)
32 return substream->runtime->private_data;
35 struct dma_chan *snd_dmaengine_pcm_get_chan(struct snd_pcm_substream *substream) argument
37 struct dmaengine_pcm_runtime_data *prtd = substream_to_prtd(substream);
45 * @substream: PCM substream
49 * This function can be used to initialize a dma_slave_config from a substream
54 int snd_hwparams_to_dma_slave_config(const struct snd_pcm_substream *substream, argument
75 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
92 * @substream
29 substream_to_prtd( const struct snd_pcm_substream *substream) argument
106 snd_dmaengine_pcm_set_config_from_dai_data( const struct snd_pcm_substream *substream, const struct snd_dmaengine_dai_dma_data *dma_data, struct dma_slave_config *slave_config) argument
137 struct snd_pcm_substream *substream = arg; local
148 dmaengine_pcm_prepare_and_submit(struct snd_pcm_substream *substream) argument
187 snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd) argument
233 snd_dmaengine_pcm_pointer_no_residue(struct snd_pcm_substream *substream) argument
249 snd_dmaengine_pcm_pointer(struct snd_pcm_substream *substream) argument
305 snd_dmaengine_pcm_open(struct snd_pcm_substream *substream, struct dma_chan *chan) argument
344 snd_dmaengine_pcm_open_request_chan(struct snd_pcm_substream *substream, dma_filter_fn filter_fn, void *filter_data) argument
358 snd_dmaengine_pcm_close(struct snd_pcm_substream *substream) argument
378 snd_dmaengine_pcm_close_release_chan(struct snd_pcm_substream *substream) argument
402 snd_dmaengine_pcm_refine_runtime_hwparams( struct snd_pcm_substream *substream, struct snd_dmaengine_dai_dma_data *dma_data, struct snd_pcm_hardware *hw, struct dma_chan *chan) argument
[all...]
/linux-master/sound/soc/qcom/
H A Dsdw.h9 int qcom_snd_sdw_startup(struct snd_pcm_substream *substream);
10 int qcom_snd_sdw_prepare(struct snd_pcm_substream *substream,
13 int qcom_snd_sdw_hw_params(struct snd_pcm_substream *substream,
16 int qcom_snd_sdw_hw_free(struct snd_pcm_substream *substream,
/linux-master/sound/firewire/fireface/
H A Dff-midi.c10 static int midi_capture_open(struct snd_rawmidi_substream *substream) argument
16 static int midi_playback_open(struct snd_rawmidi_substream *substream) argument
18 struct snd_ff *ff = substream->rmidi->private_data;
21 ff->on_sysex[substream->number] = 0;
22 ff->rx_midi_error[substream->number] = false;
24 WRITE_ONCE(ff->rx_midi_substreams[substream->number], substream);
29 static int midi_capture_close(struct snd_rawmidi_substream *substream) argument
35 static int midi_playback_close(struct snd_rawmidi_substream *substream) argument
37 struct snd_ff *ff = substream
45 midi_capture_trigger(struct snd_rawmidi_substream *substream, int up) argument
62 midi_playback_trigger(struct snd_rawmidi_substream *substream, int up) argument
79 struct snd_rawmidi_substream *substream; local
[all...]
/linux-master/include/sound/
H A Dsoc-link.h16 int snd_soc_link_startup(struct snd_pcm_substream *substream);
17 void snd_soc_link_shutdown(struct snd_pcm_substream *substream,
19 int snd_soc_link_prepare(struct snd_pcm_substream *substream);
20 int snd_soc_link_hw_params(struct snd_pcm_substream *substream,
22 void snd_soc_link_hw_free(struct snd_pcm_substream *substream,
25 int snd_soc_link_trigger(struct snd_pcm_substream *substream, int cmd,
H A Dpxa2xx-lib.h15 extern int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream,
17 extern int pxa2xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd);
18 extern snd_pcm_uframes_t pxa2xx_pcm_pointer(struct snd_pcm_substream *substream);
19 extern int pxa2xx_pcm_prepare(struct snd_pcm_substream *substream);
20 extern int pxa2xx_pcm_open(struct snd_pcm_substream *substream);
21 extern int pxa2xx_pcm_close(struct snd_pcm_substream *substream);
26 struct snd_pcm_substream *substream);
28 struct snd_pcm_substream *substream);
30 struct snd_pcm_substream *substream,
33 struct snd_pcm_substream *substream);
[all...]
H A Ddmaengine_pcm.h16 * substream
17 * @substream: PCM substream
22 snd_pcm_substream_to_dma_direction(const struct snd_pcm_substream *substream) argument
24 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
30 int snd_hwparams_to_dma_slave_config(const struct snd_pcm_substream *substream,
32 int snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd);
33 snd_pcm_uframes_t snd_dmaengine_pcm_pointer(struct snd_pcm_substream *substream);
34 snd_pcm_uframes_t snd_dmaengine_pcm_pointer_no_residue(struct snd_pcm_substream *substream);
36 int snd_dmaengine_pcm_open(struct snd_pcm_substream *substream,
[all...]
/linux-master/sound/arm/
H A Dpxa2xx-pcm-lib.c32 int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream, argument
35 struct dma_chan *chan = snd_dmaengine_pcm_get_chan(substream);
36 struct snd_soc_pcm_runtime *rtd = substream->private_data;
41 dma_params = snd_soc_dai_get_dma_data(snd_soc_rtd_to_cpu(rtd, 0), substream);
45 ret = snd_hwparams_to_dma_slave_config(substream, params, &config);
49 snd_dmaengine_pcm_set_config_from_dai_data(substream,
50 snd_soc_dai_get_dma_data(snd_soc_rtd_to_cpu(rtd, 0), substream),
61 int pxa2xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) argument
63 return snd_dmaengine_pcm_trigger(substream, cmd);
68 pxa2xx_pcm_pointer(struct snd_pcm_substream *substream) argument
74 pxa2xx_pcm_prepare(struct snd_pcm_substream *substream) argument
80 pxa2xx_pcm_open(struct snd_pcm_substream *substream) argument
119 pxa2xx_pcm_close(struct snd_pcm_substream *substream) argument
149 pxa2xx_soc_pcm_open(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
156 pxa2xx_soc_pcm_close(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
163 pxa2xx_soc_pcm_hw_params(struct snd_soc_component *component, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument
171 pxa2xx_soc_pcm_prepare(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
178 pxa2xx_soc_pcm_trigger(struct snd_soc_component *component, struct snd_pcm_substream *substream, int cmd) argument
186 pxa2xx_soc_pcm_pointer(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
[all...]
/linux-master/sound/soc/meson/
H A Daiu-fifo.h32 struct snd_pcm_substream *substream);
34 int aiu_fifo_trigger(struct snd_pcm_substream *substream, int cmd,
36 int aiu_fifo_prepare(struct snd_pcm_substream *substream,
38 int aiu_fifo_hw_params(struct snd_pcm_substream *substream,
41 int aiu_fifo_hw_free(struct snd_pcm_substream *substream,
43 int aiu_fifo_startup(struct snd_pcm_substream *substream,
45 void aiu_fifo_shutdown(struct snd_pcm_substream *substream,
/linux-master/sound/soc/codecs/
H A Dhda-dai.c12 static int hda_codec_dai_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument
20 stream_info = snd_soc_dai_get_dma_data(dai, substream);
21 pcm = container_of(stream_info, struct hda_pcm, stream[substream->stream]);
23 dev_dbg(dai->dev, "open stream codec: %08x, info: %p, pcm: %p %s substream: %p\n",
24 codec->core.vendor_id, stream_info, pcm, pcm->name, substream);
28 ret = stream_info->ops.open(stream_info, codec, substream);
38 static void hda_codec_dai_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument
46 stream_info = snd_soc_dai_get_dma_data(dai, substream);
47 pcm = container_of(stream_info, struct hda_pcm, stream[substream->stream]);
49 dev_dbg(dai->dev, "close stream codec: %08x, info: %p, pcm: %p %s substream
59 hda_codec_dai_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument
72 hda_codec_dai_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument
[all...]
/linux-master/sound/soc/tegra/
H A Dtegra_pcm.h26 struct snd_pcm_substream *substream);
28 struct snd_pcm_substream *substream);
30 struct snd_pcm_substream *substream,
33 struct snd_pcm_substream *substream);
/linux-master/sound/soc/sof/amd/
H A Dacp-pcm.c19 int acp_pcm_hw_params(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream, argument
23 struct snd_pcm_runtime *runtime = substream->runtime;
31 stream->dmab = substream->runtime->dma_buffer_p;
57 int acp_pcm_open(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument
65 substream->runtime->private_data = stream;
66 stream->substream = substream;
72 int acp_pcm_close(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument
76 stream = substream->runtime->private_data;
82 stream->substream
89 acp_pcm_pointer(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument
[all...]
/linux-master/sound/soc/
H A Dsoc-link.c34 * We might want to check substream by using list.
37 #define soc_link_mark_push(rtd, substream, tgt) ((rtd)->mark_##tgt = substream)
38 #define soc_link_mark_pop(rtd, substream, tgt) ((rtd)->mark_##tgt = NULL)
39 #define soc_link_mark_match(rtd, substream, tgt) ((rtd)->mark_##tgt == substream)
68 int snd_soc_link_startup(struct snd_pcm_substream *substream) argument
70 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
75 ret = rtd->dai_link->ops->startup(substream);
77 /* mark substream i
84 snd_soc_link_shutdown(struct snd_pcm_substream *substream, int rollback) argument
100 snd_soc_link_prepare(struct snd_pcm_substream *substream) argument
112 snd_soc_link_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument
129 snd_soc_link_hw_free(struct snd_pcm_substream *substream, int rollback) argument
144 soc_link_trigger(struct snd_pcm_substream *substream, int cmd) argument
156 snd_soc_link_trigger(struct snd_pcm_substream *substream, int cmd, int rollback) argument
[all...]
/linux-master/sound/soc/bcm/
H A Dbcm63xx-pcm-whistler.c45 struct snd_pcm_substream *substream,
49 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
55 snd_soc_dai_set_dma_data(snd_soc_rtd_to_cpu(rtd, 0), substream, dma_desc);
61 struct snd_pcm_substream *substream)
64 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
66 dma_desc = snd_soc_dai_get_dma_data(snd_soc_rtd_to_cpu(rtd, 0), substream);
73 struct snd_pcm_substream *substream, int cmd)
80 rtd = snd_soc_substream_to_rtd(substream);
84 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
142 struct snd_pcm_substream *substream)
44 bcm63xx_pcm_hw_params(struct snd_soc_component *component, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument
60 bcm63xx_pcm_hw_free(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
72 bcm63xx_pcm_trigger(struct snd_soc_component *component, struct snd_pcm_substream *substream, int cmd) argument
141 bcm63xx_pcm_prepare(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
174 bcm63xx_pcm_pointer(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
189 bcm63xx_pcm_open(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
223 bcm63xx_pcm_close(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
237 struct snd_pcm_substream *substream; local
[all...]
/linux-master/sound/firewire/tascam/
H A Dtascam-pcm.c11 struct snd_pcm_substream *substream)
13 struct snd_pcm_runtime *runtime = substream->runtime;
18 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
43 static int pcm_open(struct snd_pcm_substream *substream) argument
45 struct snd_tscm *tscm = substream->private_data;
54 err = pcm_init_hw_params(tscm, substream);
77 substream->runtime->hw.rate_min = rate;
78 substream->runtime->hw.rate_max = rate;
80 err = snd_pcm_hw_constraint_minmax(substream->runtime,
88 err = snd_pcm_hw_constraint_minmax(substream
10 pcm_init_hw_params(struct snd_tscm *tscm, struct snd_pcm_substream *substream) argument
107 pcm_close(struct snd_pcm_substream *substream) argument
116 pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params) argument
138 pcm_hw_free(struct snd_pcm_substream *substream) argument
154 pcm_capture_prepare(struct snd_pcm_substream *substream) argument
171 pcm_playback_prepare(struct snd_pcm_substream *substream) argument
188 pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) argument
206 pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) argument
238 pcm_capture_ack(struct snd_pcm_substream *substream) argument
245 pcm_playback_ack(struct snd_pcm_substream *substream) argument
[all...]
/linux-master/sound/soc/fsl/
H A Dimx-pcm-fiq.c39 struct snd_pcm_substream *substream; member in struct:imx_pcm_runtime_data
48 struct snd_pcm_substream *substream = iprtd->substream; local
56 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
61 snd_pcm_period_elapsed(substream);
73 struct snd_pcm_substream *substream,
76 struct snd_pcm_runtime *runtime = substream->runtime;
89 struct snd_pcm_substream *substream)
91 struct snd_pcm_runtime *runtime = substream->runtime;
96 if (substream
72 snd_imx_pcm_hw_params(struct snd_soc_component *component, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument
88 snd_imx_pcm_prepare(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
108 snd_imx_pcm_trigger(struct snd_soc_component *component, struct snd_pcm_substream *substream, int cmd) argument
147 snd_imx_pcm_pointer(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
172 snd_imx_open(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
202 snd_imx_close(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
236 struct snd_pcm_substream *substream; local
[all...]
/linux-master/sound/usb/caiaq/
H A Dmidi.c16 static int snd_usb_caiaq_midi_input_open(struct snd_rawmidi_substream *substream) argument
21 static int snd_usb_caiaq_midi_input_close(struct snd_rawmidi_substream *substream) argument
26 static void snd_usb_caiaq_midi_input_trigger(struct snd_rawmidi_substream *substream, int up) argument
28 struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data;
33 cdev->midi_receive_substream = up ? substream : NULL;
37 static int snd_usb_caiaq_midi_output_open(struct snd_rawmidi_substream *substream) argument
42 static int snd_usb_caiaq_midi_output_close(struct snd_rawmidi_substream *substream) argument
44 struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data;
53 struct snd_rawmidi_substream *substream)
60 len = snd_rawmidi_transmit(substream, cde
52 snd_usb_caiaq_midi_send(struct snd_usb_caiaqdev *cdev, struct snd_rawmidi_substream *substream) argument
78 snd_usb_caiaq_midi_output_trigger(struct snd_rawmidi_substream *substream, int up) argument
[all...]
/linux-master/sound/pci/ctxfi/
H A Dctpcm.c97 if (!apcm->substream)
100 snd_pcm_period_elapsed(apcm->substream);
106 struct ct_atc *atc = snd_pcm_substream_chip(apcm->substream);
115 static int ct_pcm_playback_open(struct snd_pcm_substream *substream) argument
117 struct ct_atc *atc = snd_pcm_substream_chip(substream);
118 struct snd_pcm_runtime *runtime = substream->runtime;
126 apcm->substream = substream;
128 if (IEC958 == substream->pcm->device) {
133 if (FRONT == substream
163 ct_pcm_playback_close(struct snd_pcm_substream *substream) argument
176 ct_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params) argument
187 ct_pcm_hw_free(struct snd_pcm_substream *substream) argument
198 ct_pcm_playback_prepare(struct snd_pcm_substream *substream) argument
220 ct_pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) argument
245 ct_pcm_playback_pointer(struct snd_pcm_substream *substream) argument
261 ct_pcm_capture_open(struct snd_pcm_substream *substream) argument
304 ct_pcm_capture_close(struct snd_pcm_substream *substream) argument
311 ct_pcm_capture_prepare(struct snd_pcm_substream *substream) argument
329 ct_pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) argument
351 ct_pcm_capture_pointer(struct snd_pcm_substream *substream) argument
[all...]
/linux-master/sound/soc/sof/
H A Dpcm.c25 struct snd_pcm_substream *substream,
28 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
30 struct snd_dma_buffer *dmab = snd_pcm_get_dma_buf(substream);
31 int stream = substream->stream;
50 snd_pcm_period_elapsed(sps->substream);
61 void snd_sof_pcm_period_elapsed(struct snd_pcm_substream *substream) argument
63 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
83 schedule_work(&spcm->stream[substream->stream].period_elapsed_work);
123 struct snd_pcm_substream *substream,
127 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
24 create_page_table(struct snd_soc_component *component, struct snd_pcm_substream *substream, unsigned char *dma_area, size_t size) argument
122 sof_pcm_hw_params(struct snd_soc_component *component, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument
194 sof_pcm_hw_free(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
246 sof_pcm_prepare(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
283 sof_pcm_trigger(struct snd_soc_component *component, struct snd_pcm_substream *substream, int cmd) argument
386 sof_pcm_pointer(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
425 sof_pcm_open(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
490 sof_pcm_close(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
677 sof_pcm_ack(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
685 sof_pcm_delay(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument
[all...]
/linux-master/sound/firewire/dice/
H A Ddice-pcm.c14 struct snd_pcm_substream *substream = rule->private; local
15 struct snd_dice *dice = substream->private_data;
16 unsigned int index = substream->pcm->device;
29 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
52 struct snd_pcm_substream *substream = rule->private; local
53 struct snd_dice *dice = substream->private_data;
54 unsigned int index = substream->pcm->device;
67 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
126 struct snd_pcm_substream *substream)
128 struct snd_pcm_runtime *runtime = substream
125 init_hw_info(struct snd_dice *dice, struct snd_pcm_substream *substream) argument
164 pcm_open(struct snd_pcm_substream *substream) argument
254 pcm_close(struct snd_pcm_substream *substream) argument
263 pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params) argument
290 pcm_hw_free(struct snd_pcm_substream *substream) argument
306 capture_prepare(struct snd_pcm_substream *substream) argument
320 playback_prepare(struct snd_pcm_substream *substream) argument
335 capture_trigger(struct snd_pcm_substream *substream, int cmd) argument
353 playback_trigger(struct snd_pcm_substream *substream, int cmd) argument
372 capture_pointer(struct snd_pcm_substream *substream) argument
379 playback_pointer(struct snd_pcm_substream *substream) argument
387 capture_ack(struct snd_pcm_substream *substream) argument
395 playback_ack(struct snd_pcm_substream *substream) argument
[all...]
/linux-master/sound/soc/sof/intel/
H A Dhda-pcm.c95 struct snd_pcm_substream *substream,
99 struct hdac_stream *hstream = substream->runtime->private_data;
105 hstream->substream = substream;
107 dmab = substream->runtime->dma_buffer_p;
147 int hda_dsp_pcm_ack(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument
149 struct hdac_stream *hstream = substream->runtime->private_data;
150 struct snd_pcm_runtime *runtime = substream->runtime;
169 struct snd_pcm_substream *substream, int cmd)
171 struct hdac_stream *hstream = substream
94 hda_dsp_pcm_hw_params(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_sof_platform_stream_params *platform_params) argument
168 hda_dsp_pcm_trigger(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream, int cmd) argument
177 hda_dsp_pcm_pointer(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument
208 hda_dsp_pcm_open(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument
296 hda_dsp_pcm_close(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument
[all...]

Completed in 252 milliseconds

1234567891011>>