| /linux/include/sound/ |
| A D | pcm.h | 48 struct snd_pcm_substream; 220 struct snd_pcm_substream *substream; 346 struct snd_pcm_substream *trigger_master; 442 struct snd_pcm_substream { struct 462 struct snd_pcm_substream *next; argument 494 struct snd_pcm_substream *substream; argument 873 struct snd_pcm_substream *master) in snd_pcm_trigger_done() 1327 struct snd_pcm_substream *substream = (struct snd_pcm_substream *)area->vm_private_data; in snd_pcm_mmap_data_open() 1339 struct snd_pcm_substream *substream = (struct snd_pcm_substream *)area->vm_private_data; in snd_pcm_mmap_data_close() 1414 static inline struct snd_pcm_substream * [all …]
|
| A D | dmaengine_pcm.h | 20 snd_pcm_substream_to_dma_direction(const struct snd_pcm_substream *substream) in snd_pcm_substream_to_dma_direction() 28 int snd_hwparams_to_dma_slave_config(const struct snd_pcm_substream *substream, 30 int snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd); 34 int snd_dmaengine_pcm_open(struct snd_pcm_substream *substream, 36 int snd_dmaengine_pcm_close(struct snd_pcm_substream *substream); 38 int snd_dmaengine_pcm_open_request_chan(struct snd_pcm_substream *substream, 87 const struct snd_pcm_substream *substream, 92 struct snd_pcm_substream *substream, 137 int (*prepare_slave_config)(struct snd_pcm_substream *substream, 142 struct snd_pcm_substream *substream); [all …]
|
| A D | pxa2xx-lib.h | 9 struct snd_pcm_substream; 15 extern int pxa2xx_pcm_hw_params(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); 35 struct snd_pcm_substream *substream, int cmd); [all …]
|
| A D | soc-component.h | 115 struct snd_pcm_substream *substream); 117 struct snd_pcm_substream *substream); 119 struct snd_pcm_substream *substream, 122 struct snd_pcm_substream *substream, 131 struct snd_pcm_substream *substream); 144 struct snd_pcm_substream *substream, 147 struct snd_pcm_substream *substream, 150 struct snd_pcm_substream *substream); 224 struct snd_pcm_substream *mark_open; 225 struct snd_pcm_substream *mark_hw_params; [all …]
|
| A D | soc-dai.h | 17 struct snd_pcm_substream; 202 struct snd_pcm_substream *substream, 205 struct snd_pcm_substream *substream, 208 struct snd_pcm_substream *substream); 212 struct snd_pcm_substream *substream); 312 int (*startup)(struct snd_pcm_substream *, 318 int (*hw_free)(struct snd_pcm_substream *, 320 int (*prepare)(struct snd_pcm_substream *, 458 struct snd_pcm_substream *mark_startup; 459 struct snd_pcm_substream *mark_hw_params; [all …]
|
| A D | soc-link.h | 16 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,
|
| /linux/sound/core/oss/ |
| A D | pcm_plugin.h | 61 struct snd_pcm_substream *plug; 70 int snd_pcm_plugin_build(struct snd_pcm_substream *handle, 85 int snd_pcm_plugin_build_io(struct snd_pcm_substream *handle, 88 int snd_pcm_plugin_build_linear(struct snd_pcm_substream *handle, 92 int snd_pcm_plugin_build_mulaw(struct snd_pcm_substream *handle, 96 int snd_pcm_plugin_build_rate(struct snd_pcm_substream *handle, 100 int snd_pcm_plugin_build_route(struct snd_pcm_substream *handle, 104 int snd_pcm_plugin_build_copy(struct snd_pcm_substream *handle, 109 int snd_pcm_plug_format_plugins(struct snd_pcm_substream *substream, 143 void snd_pcm_plug_buf_unlock(struct snd_pcm_substream *plug, void *ptr); [all …]
|
| /linux/sound/core/ |
| A D | pcm_local.h | 26 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) in snd_pcm_avail() 45 snd_pcm_hw_avail(struct snd_pcm_substream *substream) in snd_pcm_hw_avail() 54 void snd_pcm_timer_resolution_change(struct snd_pcm_substream *substream); 55 void snd_pcm_timer_init(struct snd_pcm_substream *substream); 56 void snd_pcm_timer_done(struct snd_pcm_substream *substream); 59 snd_pcm_timer_resolution_change(struct snd_pcm_substream *substream) {} in snd_pcm_timer_resolution_change() [all …]
|
| A D | pcm_native.c | 1165 struct snd_pcm_substream *s = NULL; in snd_pcm_action_group() 1166 struct snd_pcm_substream *s1; in snd_pcm_action_group() 1686 struct snd_pcm_substream *substream; in snd_pcm_suspend_all() 2027 struct snd_pcm_substream *s; in snd_pcm_drain() 2279 struct snd_pcm_substream, in snd_pcm_unlink() 2659 struct snd_pcm_substream *substream; in snd_pcm_open_substream() 2709 struct snd_pcm_substream *substream; in snd_pcm_open_file() 2817 struct snd_pcm_substream *substream; in snd_pcm_release() 3395 struct snd_pcm_substream *substream; in snd_pcm_read() 3420 struct snd_pcm_substream *substream; in snd_pcm_write() [all …]
|
| A D | pcm_dmaengine.c | 30 const struct snd_pcm_substream *substream) in substream_to_prtd() 35 struct dma_chan *snd_dmaengine_pcm_get_chan(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_get_chan() 52 int snd_hwparams_to_dma_slave_config(const struct snd_pcm_substream *substream, in snd_hwparams_to_dma_slave_config() 105 const struct snd_pcm_substream *substream, in snd_dmaengine_pcm_set_config_from_dai_data() 135 struct snd_pcm_substream *substream = arg; in dmaengine_pcm_dma_complete() 184 int snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_dmaengine_pcm_trigger() 298 int snd_dmaengine_pcm_open(struct snd_pcm_substream *substream, in snd_dmaengine_pcm_open() 337 int snd_dmaengine_pcm_open_request_chan(struct snd_pcm_substream *substream, in snd_dmaengine_pcm_open_request_chan() 349 int snd_dmaengine_pcm_close(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_close() 367 int snd_dmaengine_pcm_close_release_chan(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_close_release_chan() [all …]
|
| A D | pcm_memory.c | 75 static int preallocate_pcm_pages(struct snd_pcm_substream *substream, in preallocate_pcm_pages() 106 void snd_pcm_lib_preallocate_free(struct snd_pcm_substream *substream) in snd_pcm_lib_preallocate_free() 119 struct snd_pcm_substream *substream; in snd_pcm_lib_preallocate_free_for_all() 136 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_read() 148 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_max_proc_read() 160 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_write() 234 static int preallocate_pages(struct snd_pcm_substream *substream, in preallocate_pages() 274 struct snd_pcm_substream *substream; in preallocate_pages_for_all() 295 void snd_pcm_lib_preallocate_pages(struct snd_pcm_substream *substream, in snd_pcm_lib_preallocate_pages() 451 int snd_pcm_lib_free_pages(struct snd_pcm_substream *substream) in snd_pcm_lib_free_pages() [all …]
|
| /linux/sound/soc/meson/ |
| A D | aiu-fifo.h | 15 struct snd_pcm_substream; 32 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,
|
| A D | axg-fifo.h | 80 struct snd_pcm_substream *ss); 82 struct snd_pcm_substream *ss); 84 struct snd_pcm_substream *ss, 87 struct snd_pcm_substream *ss, 90 struct snd_pcm_substream *ss); 92 struct snd_pcm_substream *ss); 94 struct snd_pcm_substream *ss, int cmd);
|
| /linux/sound/arm/ |
| A D | pxa2xx-pcm-lib.c | 32 int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream, in pxa2xx_pcm_hw_params() 68 pxa2xx_pcm_pointer(struct snd_pcm_substream *substream) in pxa2xx_pcm_pointer() 74 int pxa2xx_pcm_prepare(struct snd_pcm_substream *substream) in pxa2xx_pcm_prepare() 80 int pxa2xx_pcm_open(struct snd_pcm_substream *substream) in pxa2xx_pcm_open() 119 int pxa2xx_pcm_close(struct snd_pcm_substream *substream) in pxa2xx_pcm_close() 150 struct snd_pcm_substream *substream) in pxa2xx_soc_pcm_open() 157 struct snd_pcm_substream *substream) in pxa2xx_soc_pcm_close() 164 struct snd_pcm_substream *substream, in pxa2xx_soc_pcm_hw_params() 172 struct snd_pcm_substream *substream) in pxa2xx_soc_pcm_prepare() 179 struct snd_pcm_substream *substream, int cmd) in pxa2xx_soc_pcm_trigger() [all …]
|
| /linux/sound/pci/aw2/ |
| A D | aw2-alsa.c | 105 static int snd_aw2_pcm_playback_open(struct snd_pcm_substream *substream); 106 static int snd_aw2_pcm_playback_close(struct snd_pcm_substream *substream); 107 static int snd_aw2_pcm_capture_open(struct snd_pcm_substream *substream); 108 static int snd_aw2_pcm_capture_close(struct snd_pcm_substream *substream); 110 static int snd_aw2_pcm_prepare_capture(struct snd_pcm_substream *substream); 111 static int snd_aw2_pcm_trigger_playback(struct snd_pcm_substream *substream, 113 static int snd_aw2_pcm_trigger_capture(struct snd_pcm_substream *substream, 307 static int snd_aw2_pcm_playback_open(struct snd_pcm_substream *substream) in snd_aw2_pcm_playback_open() 317 static int snd_aw2_pcm_playback_close(struct snd_pcm_substream *substream) in snd_aw2_pcm_playback_close() 323 static int snd_aw2_pcm_capture_open(struct snd_pcm_substream *substream) in snd_aw2_pcm_capture_open() [all …]
|
| /linux/sound/soc/mediatek/common/ |
| A D | mtk-afe-fe-dai.h | 16 int mtk_afe_fe_startup(struct snd_pcm_substream *substream, 18 void mtk_afe_fe_shutdown(struct snd_pcm_substream *substream, 20 int mtk_afe_fe_hw_params(struct snd_pcm_substream *substream, 23 int mtk_afe_fe_hw_free(struct snd_pcm_substream *substream, 25 int mtk_afe_fe_prepare(struct snd_pcm_substream *substream, 27 int mtk_afe_fe_trigger(struct snd_pcm_substream *substream, int cmd, 47 int mtk_memif_set_rate_substream(struct snd_pcm_substream *substream,
|
| /linux/sound/firewire/tascam/ |
| A D | tascam-pcm.c | 11 struct snd_pcm_substream *substream) in pcm_init_hw_params() 43 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open() 107 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() 116 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params() 138 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free() 154 static int pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare() 171 static int pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare() 188 static int pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_capture_trigger() 206 static int pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_playback_trigger() 238 static int pcm_capture_ack(struct snd_pcm_substream *substream) in pcm_capture_ack() [all …]
|
| /linux/sound/firewire/oxfw/ |
| A D | oxfw-pcm.c | 110 struct snd_pcm_substream *substream) in init_hw_params() 170 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open() 228 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() 283 static int pcm_capture_hw_free(struct snd_pcm_substream *substream) in pcm_capture_hw_free() 298 static int pcm_playback_hw_free(struct snd_pcm_substream *substream) in pcm_playback_hw_free() 314 static int pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare() 329 static int pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare() 348 struct snd_pcm_substream *pcm; in pcm_capture_trigger() 366 struct snd_pcm_substream *pcm; in pcm_playback_trigger() 395 static int pcm_capture_ack(struct snd_pcm_substream *substream) in pcm_capture_ack() [all …]
|
| /linux/sound/firewire/digi00x/ |
| A D | digi00x-pcm.c | 58 struct snd_pcm_substream *substream) in pcm_init_hw_params() 100 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open() 178 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() 187 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params() 209 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free() 225 static int pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare() 241 static int pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare() 259 static int pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_capture_trigger() 277 static int pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_playback_trigger() 309 static int pcm_capture_ack(struct snd_pcm_substream *substream) in pcm_capture_ack() [all …]
|
| /linux/sound/soc/generic/ |
| A D | test-component.c | 25 struct snd_pcm_substream *substream; 353 struct snd_pcm_substream *substream) in test_component_open() 367 struct snd_pcm_substream *substream) in test_component_close() 375 struct snd_pcm_substream *substream, in test_component_ioctl() 384 struct snd_pcm_substream *substream, in test_component_hw_params() 393 struct snd_pcm_substream *substream) in test_component_hw_free() 401 struct snd_pcm_substream *substream) in test_component_prepare() 429 struct snd_pcm_substream *substream, int cmd) in test_component_trigger() 449 struct snd_pcm_substream *substream) in test_component_sync_stop() 457 struct snd_pcm_substream *substream) in test_component_pointer() [all …]
|
| /linux/sound/firewire/dice/ |
| A D | dice-pcm.c | 14 struct snd_pcm_substream *substream = rule->private; in dice_rate_constraint() 52 struct snd_pcm_substream *substream = rule->private; in dice_channels_constraint() 126 struct snd_pcm_substream *substream) in init_hw_info() 164 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open() 254 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() 263 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params() 290 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free() 306 static int capture_prepare(struct snd_pcm_substream *substream) in capture_prepare() 320 static int playback_prepare(struct snd_pcm_substream *substream) in playback_prepare() 387 static int capture_ack(struct snd_pcm_substream *substream) in capture_ack() [all …]
|
| /linux/sound/firewire/bebob/ |
| A D | bebob_pcm.c | 96 struct snd_pcm_substream *substream) in pcm_init_hw_params() 132 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open() 204 pcm_close(struct snd_pcm_substream *substream) in pcm_close() 211 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params() 233 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free() 250 pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare() 262 pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare() 275 pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_capture_trigger() 293 pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_playback_trigger() 326 static int pcm_capture_ack(struct snd_pcm_substream *substream) in pcm_capture_ack() [all …]
|
| /linux/sound/firewire/fireworks/ |
| A D | fireworks_pcm.c | 133 struct snd_pcm_substream *substream) in pcm_init_hw_params() 173 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open() 240 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() 247 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params() 269 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free() 285 static int pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare() 296 static int pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare() 308 static int pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_capture_trigger() 325 static int pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_playback_trigger() 356 static int pcm_capture_ack(struct snd_pcm_substream *substream) in pcm_capture_ack() [all …]
|
| /linux/sound/firewire/motu/ |
| A D | motu-pcm.c | 96 struct snd_pcm_substream *substream) in init_hw_info() 130 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open() 198 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() 207 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params() 229 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free() 245 static int capture_prepare(struct snd_pcm_substream *substream) in capture_prepare() 258 static int playback_prepare(struct snd_pcm_substream *substream) in playback_prepare() 272 static int capture_trigger(struct snd_pcm_substream *substream, int cmd) in capture_trigger() 289 static int playback_trigger(struct snd_pcm_substream *substream, int cmd) in playback_trigger() 320 static int capture_ack(struct snd_pcm_substream *substream) in capture_ack() [all …]
|
| /linux/sound/firewire/fireface/ |
| A D | ff-pcm.c | 105 struct snd_pcm_substream *substream) in pcm_init_hw_params() 139 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open() 218 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() 227 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params() 249 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free() 265 static int pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare() 282 static int pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare() 299 static int pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_capture_trigger() 317 static int pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_playback_trigger() 349 static int pcm_capture_ack(struct snd_pcm_substream *substream) in pcm_capture_ack() [all …]
|