| /linux/include/sound/ |
| H A D | pcm.h | 50 struct snd_pcm_substream; 56 int (*open)(struct snd_pcm_substream *substream); 57 int (*close)(struct snd_pcm_substream *substream); 58 int (*ioctl)(struct snd_pcm_substream * substream, 60 int (*hw_params)(struct snd_pcm_substream *substream, 62 int (*hw_free)(struct snd_pcm_substream *substream); 63 int (*prepare)(struct snd_pcm_substream *substream); 64 int (*trigger)(struct snd_pcm_substream *substream, int cmd); 65 int (*sync_stop)(struct snd_pcm_substream *substream); 66 snd_pcm_uframes_t (*pointer)(struct snd_pcm_substream *substream); [all …]
|
| H A D | dmaengine_pcm.h | 22 snd_pcm_substream_to_dma_direction(const struct snd_pcm_substream *substream) in snd_pcm_substream_to_dma_direction() 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, 38 int snd_dmaengine_pcm_close(struct snd_pcm_substream *substream); 39 int snd_dmaengine_pcm_sync_stop(struct snd_pcm_substream *substream); 41 int snd_dmaengine_pcm_close_release_chan(struct snd_pcm_substream *substream); 45 struct dma_chan *snd_dmaengine_pcm_get_chan(struct snd_pcm_substream *substream); [all …]
|
| H A 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_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, [all …]
|
| H A D | soc-component.h | 116 struct snd_pcm_substream *substream); 118 struct snd_pcm_substream *substream); 120 struct snd_pcm_substream *substream, 123 struct snd_pcm_substream *substream, 126 struct snd_pcm_substream *substream); 128 struct snd_pcm_substream *substream); 130 struct snd_pcm_substream *substream, int cmd); 132 struct snd_pcm_substream *substream); 134 struct snd_pcm_substream *substream); 136 struct snd_pcm_substream *substrea [all...] |
| H A D | soc-dai.h | 17 struct snd_pcm_substream; 191 struct snd_pcm_substream *substream); 205 struct snd_pcm_substream *substream, 208 struct snd_pcm_substream *substream, 211 struct snd_pcm_substream *substream); 213 struct snd_pcm_substream *substream, int rollback); 235 int snd_soc_pcm_dai_prepare(struct snd_pcm_substream *substream); 236 int snd_soc_pcm_dai_trigger(struct snd_pcm_substream *substream, int cmd, 238 void snd_soc_pcm_dai_delay(struct snd_pcm_substream *substream, 322 int (*startup)(struct snd_pcm_substream *, [all …]
|
| H 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/ |
| H A D | pcm_plugin.h | 61 struct snd_pcm_substream *plug; 70 int snd_pcm_plugin_build(struct snd_pcm_substream *handle, 77 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames); 78 snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t drv_… 79 snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t clt_s… 84 int snd_pcm_plugin_build_io(struct snd_pcm_substream *handle, 87 int snd_pcm_plugin_build_linear(struct snd_pcm_substream *handle, 91 int snd_pcm_plugin_build_mulaw(struct snd_pcm_substream *handle, 95 int snd_pcm_plugin_build_rate(struct snd_pcm_substream *handle, 99 int snd_pcm_plugin_build_route(struct snd_pcm_substream *handle, [all …]
|
| /linux/sound/core/ |
| H 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 …]
|
| H A D | pcm_native.c | 65 static int snd_pcm_hw_refine_old_user(struct snd_pcm_substream *substream, 67 static int snd_pcm_hw_params_old_user(struct snd_pcm_substream *substream, 114 void snd_pcm_stream_lock(struct snd_pcm_substream *substream) in snd_pcm_stream_lock() 126 void snd_pcm_stream_unlock(struct snd_pcm_substream *substream) in snd_pcm_stream_unlock() 140 void snd_pcm_stream_lock_irq(struct snd_pcm_substream *substream) in snd_pcm_stream_lock_irq() 147 static void snd_pcm_stream_lock_nested(struct snd_pcm_substream *substream) in snd_pcm_stream_lock_nested() 163 void snd_pcm_stream_unlock_irq(struct snd_pcm_substream *substream) in snd_pcm_stream_unlock_irq() 170 unsigned long _snd_pcm_stream_lock_irqsave(struct snd_pcm_substream *substream) in _snd_pcm_stream_lock_irqsave() 181 unsigned long _snd_pcm_stream_lock_irqsave_nested(struct snd_pcm_substream *substream) in _snd_pcm_stream_lock_irqsave_nested() 201 void snd_pcm_stream_unlock_irqrestore(struct snd_pcm_substream *substream, in snd_pcm_stream_unlock_irqrestore() [all …]
|
| H 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() 54 int snd_hwparams_to_dma_slave_config(const struct snd_pcm_substream *substream, in snd_hwparams_to_dma_slave_config() 107 const struct snd_pcm_substream *substream, in snd_dmaengine_pcm_set_config_from_dai_data() 139 struct snd_pcm_substream *substream = arg; in dmaengine_pcm_dma_complete() 150 static int dmaengine_pcm_prepare_and_submit(struct snd_pcm_substream *substream) in dmaengine_pcm_prepare_and_submit() 189 int snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_dmaengine_pcm_trigger() 235 snd_pcm_uframes_t snd_dmaengine_pcm_pointer_no_residue(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_pointer_no_residue() 251 snd_pcm_uframes_t snd_dmaengine_pcm_pointer(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_pointer() 307 int snd_dmaengine_pcm_open(struct snd_pcm_substream *substream, in snd_dmaengine_pcm_open() [all …]
|
| H A D | pcm_memory.c | 98 static int preallocate_pcm_pages(struct snd_pcm_substream *substream, in preallocate_pcm_pages() 129 void snd_pcm_lib_preallocate_free(struct snd_pcm_substream *substream) in snd_pcm_lib_preallocate_free() 142 struct snd_pcm_substream *substream; in snd_pcm_lib_preallocate_free_for_all() 159 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_read() 171 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_max_proc_read() 183 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() 253 static inline void preallocate_info_init(struct snd_pcm_substream *substream) in preallocate_info_init() 261 static int preallocate_pages(struct snd_pcm_substream *substream, in preallocate_pages() 301 struct snd_pcm_substream *substream; in preallocate_pages_for_all() [all …]
|
| /linux/sound/arm/ |
| H A D | pxa2xx-pcm-lib.c | 32 int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream, in pxa2xx_pcm_hw_params() 61 int pxa2xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in pxa2xx_pcm_trigger() 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() [all …]
|
| /linux/sound/soc/meson/ |
| H 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_startup(struct snd_pcm_substream *substream, 43 void aiu_fifo_shutdown(struct snd_pcm_substream *substream,
|
| H A D | axg-fifo.h | 76 struct snd_pcm_substream *ss); 78 struct snd_pcm_substream *ss); 80 struct snd_pcm_substream *ss, 83 struct snd_pcm_substream *ss, 86 struct snd_pcm_substream *ss); 88 struct snd_pcm_substream *ss); 90 struct snd_pcm_substream *ss, int cmd);
|
| /linux/sound/firewire/tascam/ |
| H 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() 99 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() 108 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params() 129 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free() 143 static int pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare() 158 static int pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare() 173 static int pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_capture_trigger() 191 static int pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_playback_trigger() 209 static snd_pcm_uframes_t pcm_capture_pointer(struct snd_pcm_substream *sbstrm) in pcm_capture_pointer() [all …]
|
| /linux/sound/pci/aw2/ |
| H 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); 109 static int snd_aw2_pcm_prepare_playback(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, 115 static snd_pcm_uframes_t snd_aw2_pcm_pointer_playback(struct snd_pcm_substream 117 static snd_pcm_uframes_t snd_aw2_pcm_pointer_capture(struct snd_pcm_substream [all …]
|
| /linux/sound/soc/mediatek/common/ |
| H 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, 45 int mtk_memif_set_rate_substream(struct snd_pcm_substream *substream,
|
| /linux/sound/firewire/oxfw/ |
| H A 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() 220 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() 228 static int pcm_capture_hw_params(struct snd_pcm_substream *substream, in pcm_capture_hw_params() 250 static int pcm_playback_hw_params(struct snd_pcm_substream *substream, in pcm_playback_hw_params() 273 static int pcm_capture_hw_free(struct snd_pcm_substream *substream) in pcm_capture_hw_free() 286 static int pcm_playback_hw_free(struct snd_pcm_substream *substream) in pcm_playback_hw_free() 300 static int pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare() 314 static int pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare() [all …]
|
| /linux/sound/soc/qcom/ |
| H A D | sdw.h | 9 int qcom_snd_sdw_startup(struct snd_pcm_substream *substream); 10 void qcom_snd_sdw_shutdown(struct snd_pcm_substream *substream); 11 int qcom_snd_sdw_prepare(struct snd_pcm_substream *substream, 13 struct sdw_stream_runtime *qcom_snd_sdw_get_stream(struct snd_pcm_substream *stream); 14 int qcom_snd_sdw_hw_free(struct snd_pcm_substream *substream,
|
| /linux/sound/firewire/digi00x/ |
| H 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() 170 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() 179 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params() 200 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free() 214 static int pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare() 228 static int pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare() 244 static int pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_capture_trigger() 262 static int pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_playback_trigger() 280 static snd_pcm_uframes_t pcm_capture_pointer(struct snd_pcm_substream *sbstrm) in pcm_capture_pointer() [all …]
|
| /linux/sound/firewire/fireworks/ |
| H 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() 232 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() 239 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params() 260 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free() 274 static int pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare() 285 static int pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare() 297 static int pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_capture_trigger() 314 static int pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_playback_trigger() 332 static snd_pcm_uframes_t pcm_capture_pointer(struct snd_pcm_substream *sbstrm) in pcm_capture_pointer() [all …]
|
| /linux/sound/soc/sof/intel/ |
| H A D | hda-dai-ops.c | 30 struct snd_pcm_substream *fe_substream; in hda_check_fes() 45 hda_link_stream_assign(struct hdac_bus *bus, struct snd_pcm_substream *substream) in hda_link_stream_assign() 119 struct snd_pcm_substream *substream) in hda_get_hext_stream() 126 struct snd_pcm_substream *substream) in hda_ipc4_get_hext_stream() 146 struct snd_pcm_substream *substream) in hda_assign_hext_stream() 160 struct snd_pcm_substream *substream) in hda_release_hext_stream() 180 struct snd_pcm_substream *substream, in hda_codec_dai_set_stream() 191 struct snd_pcm_substream *substream, in hda_calc_stream_format() 216 struct snd_pcm_substream *substream) in hda_get_hlink() 226 struct snd_pcm_substream *substrea [all...] |
| /linux/sound/firewire/dice/ |
| H 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() 246 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() 255 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params() 281 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free() 295 static int capture_prepare(struct snd_pcm_substream *substream) in capture_prepare() 309 static int playback_prepare(struct snd_pcm_substream *substream) in playback_prepare() 324 static int capture_trigger(struct snd_pcm_substream *substream, int cmd) in capture_trigger() [all …]
|
| /linux/sound/firewire/bebob/ |
| H 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() 197 pcm_close(struct snd_pcm_substream *substream) in pcm_close() 204 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params() 225 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free() 240 pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare() 252 pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare() 265 pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_capture_trigger() 283 pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_playback_trigger() 301 static snd_pcm_uframes_t pcm_capture_pointer(struct snd_pcm_substream *sbstrm) in pcm_capture_pointer() [all …]
|
| /linux/sound/virtio/ |
| H A D | virtio_pcm_ops.c | 96 static int virtsnd_pcm_sync_stop(struct snd_pcm_substream *substream); 105 static int virtsnd_pcm_open(struct snd_pcm_substream *substream) in virtsnd_pcm_open() 135 static int virtsnd_pcm_close(struct snd_pcm_substream *substream) in virtsnd_pcm_close() 214 static int virtsnd_pcm_hw_params(struct snd_pcm_substream *substream, in virtsnd_pcm_hw_params() 252 static int virtsnd_pcm_hw_free(struct snd_pcm_substream *substream) in virtsnd_pcm_hw_free() 270 static int virtsnd_pcm_prepare(struct snd_pcm_substream *substream) in virtsnd_pcm_prepare() 324 static int virtsnd_pcm_trigger(struct snd_pcm_substream *substream, int command) in virtsnd_pcm_trigger() 388 static int virtsnd_pcm_sync_stop(struct snd_pcm_substream *substream) in virtsnd_pcm_sync_stop() 440 virtsnd_pcm_pb_pointer(struct snd_pcm_substream *substream) in virtsnd_pcm_pb_pointer() 458 virtsnd_pcm_cp_pointer(struct snd_pcm_substream *substream) in virtsnd_pcm_cp_pointer() [all …]
|