/kernel/linux/linux-5.10/include/sound/ |
D | pxa2xx-lib.h | 9 struct snd_pcm_substream; 15 extern int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream, 17 extern int pxa2xx_pcm_hw_free(struct snd_pcm_substream *substream); 18 extern int pxa2xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd); 19 extern snd_pcm_uframes_t pxa2xx_pcm_pointer(struct snd_pcm_substream *substream); 20 extern int pxa2xx_pcm_prepare(struct snd_pcm_substream *substream); 21 extern int pxa2xx_pcm_open(struct snd_pcm_substream *substream); 22 extern int pxa2xx_pcm_close(struct snd_pcm_substream *substream); 23 extern int pxa2xx_pcm_mmap(struct snd_pcm_substream *substream, 32 struct snd_pcm_substream *substream); [all …]
|
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); 31 snd_pcm_uframes_t snd_dmaengine_pcm_pointer(struct snd_pcm_substream *substream); 32 snd_pcm_uframes_t snd_dmaengine_pcm_pointer_no_residue(struct snd_pcm_substream *substream); 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, 40 int snd_dmaengine_pcm_close_release_chan(struct snd_pcm_substream *substream); 44 struct dma_chan *snd_dmaengine_pcm_get_chan(struct snd_pcm_substream *substream); [all …]
|
D | pcm.h | 48 struct snd_pcm_substream; 54 int (*open)(struct snd_pcm_substream *substream); 55 int (*close)(struct snd_pcm_substream *substream); 56 int (*ioctl)(struct snd_pcm_substream * substream, 58 int (*hw_params)(struct snd_pcm_substream *substream, 60 int (*hw_free)(struct snd_pcm_substream *substream); 61 int (*prepare)(struct snd_pcm_substream *substream); 62 int (*trigger)(struct snd_pcm_substream *substream, int cmd); 63 int (*sync_stop)(struct snd_pcm_substream *substream); 64 snd_pcm_uframes_t (*pointer)(struct snd_pcm_substream *substream); [all …]
|
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, 125 struct snd_pcm_substream *substream); 127 struct snd_pcm_substream *substream); 129 struct snd_pcm_substream *substream, int cmd); 131 struct snd_pcm_substream *substream); 133 struct snd_pcm_substream *substream); 135 struct snd_pcm_substream *substream, struct timespec64 *system_ts, [all …]
|
D | soc-dai.h | 17 struct snd_pcm_substream; 149 struct snd_pcm_substream *substream, 152 struct snd_pcm_substream *substream); 154 struct snd_pcm_substream *substream); 156 struct snd_pcm_substream *substream, int rollback); 158 struct snd_pcm_substream *substream); 182 int snd_soc_pcm_dai_prepare(struct snd_pcm_substream *substream); 183 int snd_soc_pcm_dai_trigger(struct snd_pcm_substream *substream, int cmd); 184 int snd_soc_pcm_dai_bespoke_trigger(struct snd_pcm_substream *substream, 256 int (*startup)(struct snd_pcm_substream *, [all …]
|
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); 23 int snd_soc_link_trigger(struct snd_pcm_substream *substream, int cmd);
|
/kernel/linux/linux-5.10/sound/core/ |
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 …]
|
D | pcm_native.c | 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, 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() 182 void snd_pcm_stream_unlock_irqrestore(struct snd_pcm_substream *substream, in snd_pcm_stream_unlock_irqrestore() 193 static int snd_pcm_ops_ioctl(struct snd_pcm_substream *substream, in snd_pcm_ops_ioctl() [all …]
|
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() 134 struct snd_pcm_substream *substream = arg; in dmaengine_pcm_dma_complete() 145 static int dmaengine_pcm_prepare_and_submit(struct snd_pcm_substream *substream) in dmaengine_pcm_prepare_and_submit() 184 int snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_dmaengine_pcm_trigger() 228 snd_pcm_uframes_t snd_dmaengine_pcm_pointer_no_residue(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_pointer_no_residue() 242 snd_pcm_uframes_t snd_dmaengine_pcm_pointer(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_pointer() 298 int snd_dmaengine_pcm_open(struct snd_pcm_substream *substream, in snd_dmaengine_pcm_open() [all …]
|
D | pcm_memory.c | 98 static int preallocate_pcm_pages(struct snd_pcm_substream *substream, size_t size) in preallocate_pcm_pages() 123 static void snd_pcm_lib_preallocate_dma_free(struct snd_pcm_substream *substream) in snd_pcm_lib_preallocate_dma_free() 134 void snd_pcm_lib_preallocate_free(struct snd_pcm_substream *substream) in snd_pcm_lib_preallocate_free() 147 struct snd_pcm_substream *substream; in snd_pcm_lib_preallocate_free_for_all() 165 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_read() 177 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_max_proc_read() 189 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_write() 233 static inline void preallocate_info_init(struct snd_pcm_substream *substream) in preallocate_info_init() 259 static void preallocate_pages(struct snd_pcm_substream *substream, in preallocate_pages() 285 struct snd_pcm_substream *substream; in preallocate_pages_for_all() [all …]
|
D | pcm_timer.c | 19 void snd_pcm_timer_resolution_change(struct snd_pcm_substream *substream) in snd_pcm_timer_resolution_change() 54 struct snd_pcm_substream *substream; in snd_pcm_timer_resolution() 62 struct snd_pcm_substream *substream; in snd_pcm_timer_start() 71 struct snd_pcm_substream *substream; in snd_pcm_timer_stop() 94 struct snd_pcm_substream *substream = timer->private_data; in snd_pcm_timer_free() 98 void snd_pcm_timer_init(struct snd_pcm_substream *substream) in snd_pcm_timer_init() 124 void snd_pcm_timer_done(struct snd_pcm_substream *substream) in snd_pcm_timer_done()
|
/kernel/linux/linux-5.10/sound/core/oss/ |
D | pcm_plugin.h | 61 struct snd_pcm_substream *plug; 70 int snd_pcm_plugin_build(struct snd_pcm_substream *handle, 78 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames); 79 snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t drv_… 80 snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t clt_s… 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, [all …]
|
/kernel/linux/linux-5.10/sound/arm/ |
D | pxa2xx-pcm-lib.c | 32 int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream, in pxa2xx_pcm_hw_params() 63 int pxa2xx_pcm_hw_free(struct snd_pcm_substream *substream) in pxa2xx_pcm_hw_free() 70 int pxa2xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in pxa2xx_pcm_trigger() 77 pxa2xx_pcm_pointer(struct snd_pcm_substream *substream) in pxa2xx_pcm_pointer() 83 int pxa2xx_pcm_prepare(struct snd_pcm_substream *substream) in pxa2xx_pcm_prepare() 89 int pxa2xx_pcm_open(struct snd_pcm_substream *substream) in pxa2xx_pcm_open() 128 int pxa2xx_pcm_close(struct snd_pcm_substream *substream) in pxa2xx_pcm_close() 134 int pxa2xx_pcm_mmap(struct snd_pcm_substream *substream, in pxa2xx_pcm_mmap() 145 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in pxa2xx_pcm_preallocate_dma_buffer() 161 struct snd_pcm_substream *substream; in pxa2xx_pcm_free_dma_buffers() [all …]
|
/kernel/linux/linux-5.10/sound/soc/meson/ |
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,
|
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);
|
D | aiu-fifo.c | 26 static struct snd_soc_dai *aiu_fifo_dai(struct snd_pcm_substream *ss) in aiu_fifo_dai() 34 struct snd_pcm_substream *substream) in aiu_fifo_pointer() 58 int aiu_fifo_trigger(struct snd_pcm_substream *substream, int cmd, in aiu_fifo_trigger() 79 int aiu_fifo_prepare(struct snd_pcm_substream *substream, in aiu_fifo_prepare() 95 int aiu_fifo_hw_params(struct snd_pcm_substream *substream, in aiu_fifo_hw_params() 128 int aiu_fifo_hw_free(struct snd_pcm_substream *substream, in aiu_fifo_hw_free() 136 struct snd_pcm_substream *playback = dev_id; in aiu_fifo_isr() 143 int aiu_fifo_startup(struct snd_pcm_substream *substream, in aiu_fifo_startup() 179 void aiu_fifo_shutdown(struct snd_pcm_substream *substream, in aiu_fifo_shutdown() 191 struct snd_pcm_substream *substream = in aiu_fifo_pcm_new()
|
/kernel/linux/linux-5.10/sound/soc/mediatek/common/ |
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,
|
/kernel/linux/linux-5.10/sound/soc/tegra/ |
D | tegra_pcm.h | 28 struct snd_pcm_substream *substream); 30 struct snd_pcm_substream *substream); 32 struct snd_pcm_substream *substream, 35 struct snd_pcm_substream *substream); 37 struct snd_pcm_substream *substream, 40 struct snd_pcm_substream *substream);
|
/kernel/linux/linux-5.10/sound/firewire/tascam/ |
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() 224 static snd_pcm_uframes_t pcm_capture_pointer(struct snd_pcm_substream *sbstrm) in pcm_capture_pointer() [all …]
|
/kernel/linux/linux-5.10/sound/firewire/oxfw/ |
D | oxfw-pcm.c | 110 struct snd_pcm_substream *substream) in init_hw_params() 146 static int limit_to_current_params(struct snd_pcm_substream *substream) in limit_to_current_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() 236 static int pcm_capture_hw_params(struct snd_pcm_substream *substream, in pcm_capture_hw_params() 259 static int pcm_playback_hw_params(struct snd_pcm_substream *substream, in pcm_playback_hw_params() 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() [all …]
|
/kernel/linux/linux-5.10/sound/pci/aw2/ |
D | aw2-alsa.c | 108 static int snd_aw2_pcm_playback_open(struct snd_pcm_substream *substream); 109 static int snd_aw2_pcm_playback_close(struct snd_pcm_substream *substream); 110 static int snd_aw2_pcm_capture_open(struct snd_pcm_substream *substream); 111 static int snd_aw2_pcm_capture_close(struct snd_pcm_substream *substream); 112 static int snd_aw2_pcm_prepare_playback(struct snd_pcm_substream *substream); 113 static int snd_aw2_pcm_prepare_capture(struct snd_pcm_substream *substream); 114 static int snd_aw2_pcm_trigger_playback(struct snd_pcm_substream *substream, 116 static int snd_aw2_pcm_trigger_capture(struct snd_pcm_substream *substream, 118 static snd_pcm_uframes_t snd_aw2_pcm_pointer_playback(struct snd_pcm_substream 120 static snd_pcm_uframes_t snd_aw2_pcm_pointer_capture(struct snd_pcm_substream [all …]
|
/kernel/linux/linux-5.10/sound/firewire/digi00x/ |
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() 295 static snd_pcm_uframes_t pcm_capture_pointer(struct snd_pcm_substream *sbstrm) in pcm_capture_pointer() [all …]
|
/kernel/linux/linux-5.10/sound/usb/line6/ |
D | pcm.h | 184 extern int snd_line6_trigger(struct snd_pcm_substream *substream, int cmd); 185 extern int snd_line6_prepare(struct snd_pcm_substream *substream); 186 extern int snd_line6_hw_params(struct snd_pcm_substream *substream, 188 extern int snd_line6_hw_free(struct snd_pcm_substream *substream); 189 extern snd_pcm_uframes_t snd_line6_pointer(struct snd_pcm_substream *substream);
|
/kernel/linux/linux-5.10/sound/soc/fsl/ |
D | imx-pcm-fiq.c | 39 struct snd_pcm_substream *substream; 48 struct snd_pcm_substream *substream = iprtd->substream; in snd_hrtimer_callback() 73 struct snd_pcm_substream *substream, in snd_imx_pcm_hw_params() 90 struct snd_pcm_substream *substream) in snd_imx_pcm_prepare() 110 struct snd_pcm_substream *substream, int cmd) in snd_imx_pcm_trigger() 149 struct snd_pcm_substream *substream) in snd_imx_pcm_pointer() 174 struct snd_pcm_substream *substream) in snd_imx_open() 204 struct snd_pcm_substream *substream) in snd_imx_close() 217 struct snd_pcm_substream *substream, in snd_imx_pcm_mmap() 235 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in imx_pcm_preallocate_dma_buffer() [all …]
|
/kernel/linux/linux-5.10/sound/firewire/motu/ |
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() 307 static snd_pcm_uframes_t capture_pointer(struct snd_pcm_substream *substream) in capture_pointer() [all …]
|