| /linux/sound/core/ |
| H A D | pcm_native.c | 37 #define trace_hw_mask_param(substream, type, index, prev, curr) argument 38 #define trace_hw_interval_param(substream, type, index, prev, curr) argument 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() local 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 | rawmidi.c | 106 static bool snd_rawmidi_ready(struct snd_rawmidi_substream *substream) in snd_rawmidi_ready() 112 static inline int snd_rawmidi_ready_append(struct snd_rawmidi_substream *substream, in snd_rawmidi_ready_append() 141 static void snd_rawmidi_buffer_ref_sync(struct snd_rawmidi_substream *substream) in snd_rawmidi_buffer_ref_sync() 158 static int snd_rawmidi_runtime_create(struct snd_rawmidi_substream *substream) in snd_rawmidi_runtime_create() 199 static int snd_rawmidi_runtime_free(struct snd_rawmidi_substream *substream) in snd_rawmidi_runtime_free() 209 static inline void snd_rawmidi_output_trigger(struct snd_rawmidi_substream *substream, int up) in snd_rawmidi_output_trigger() 216 static void snd_rawmidi_input_trigger(struct snd_rawmidi_substream *substream, int up) in snd_rawmidi_input_trigger() 233 static void reset_runtime_ptrs(struct snd_rawmidi_substream *substream, in reset_runtime_ptrs() 241 int snd_rawmidi_drop_output(struct snd_rawmidi_substream *substream) in snd_rawmidi_drop_output() 249 int snd_rawmidi_drain_output(struct snd_rawmidi_substream *substream) in snd_rawmidi_drain_output() [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() local 159 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_read() local 171 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_max_proc_read() local 183 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_write() local 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() local [all …]
|
| H A 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() local 62 struct snd_pcm_substream *substream; in snd_pcm_timer_start() local 71 struct snd_pcm_substream *substream; in snd_pcm_timer_stop() local 94 struct snd_pcm_substream *substream = timer->private_data; in snd_pcm_timer_free() local 98 void snd_pcm_timer_init(struct snd_pcm_substream *substream) in snd_pcm_timer_init() 123 void snd_pcm_timer_done(struct snd_pcm_substream *substream) in snd_pcm_timer_done()
|
| H A D | pcm_local.h | 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() 59 snd_pcm_timer_resolution_change(struct snd_pcm_substream *substream) {} in snd_pcm_timer_resolution_change() 60 static inline void snd_pcm_timer_init(struct snd_pcm_substream *substream) {} in snd_pcm_timer_init() 61 static inline void snd_pcm_timer_done(struct snd_pcm_substream *substream) {} in snd_pcm_timer_done() 76 static inline void snd_pcm_dma_buffer_sync(struct snd_pcm_substream *substream, in snd_pcm_dma_buffer_sync()
|
| /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/sof/intel/ |
| H A D | hda-dai-ops.c | 45 hda_link_stream_assign(struct hdac_bus *bus, struct snd_pcm_substream *substream) in hda_link_stream_assign() argument 120 hda_get_hext_stream(struct snd_sof_dev * sdev,struct snd_soc_dai * cpu_dai,struct snd_pcm_substream * substream) hda_get_hext_stream() argument 127 hda_ipc4_get_hext_stream(struct snd_sof_dev * sdev,struct snd_soc_dai * cpu_dai,struct snd_pcm_substream * substream) hda_ipc4_get_hext_stream() argument 147 hda_assign_hext_stream(struct snd_sof_dev * sdev,struct snd_soc_dai * cpu_dai,struct snd_pcm_substream * substream) hda_assign_hext_stream() argument 161 hda_release_hext_stream(struct snd_sof_dev * sdev,struct snd_soc_dai * cpu_dai,struct snd_pcm_substream * substream) hda_release_hext_stream() argument 181 hda_codec_dai_set_stream(struct snd_sof_dev * sdev,struct snd_pcm_substream * substream,struct hdac_stream * hstream) hda_codec_dai_set_stream() argument 192 hda_calc_stream_format(struct snd_sof_dev * sdev,struct snd_pcm_substream * substream,struct snd_pcm_hw_params * params) hda_calc_stream_format() argument 217 hda_get_hlink(struct snd_sof_dev * sdev,struct snd_pcm_substream * substream) hda_get_hlink() argument 227 generic_calc_stream_format(struct snd_sof_dev * sdev,struct snd_pcm_substream * substream,struct snd_pcm_hw_params * params) generic_calc_stream_format() argument 244 dmic_calc_stream_format(struct snd_sof_dev * sdev,struct snd_pcm_substream * substream,struct snd_pcm_hw_params * params) dmic_calc_stream_format() argument 273 ssp_get_hlink(struct snd_sof_dev * sdev,struct snd_pcm_substream * substream) ssp_get_hlink() argument 281 dmic_get_hlink(struct snd_sof_dev * sdev,struct snd_pcm_substream * substream) dmic_get_hlink() argument 289 sdw_get_hlink(struct snd_sof_dev * sdev,struct snd_pcm_substream * substream) sdw_get_hlink() argument 297 hda_ipc4_pre_trigger(struct snd_sof_dev * sdev,struct snd_soc_dai * cpu_dai,struct snd_pcm_substream * substream,int cmd) hda_ipc4_pre_trigger() argument 340 hda_trigger(struct snd_sof_dev * sdev,struct snd_soc_dai * cpu_dai,struct snd_pcm_substream * substream,int cmd) hda_trigger() argument 374 hda_ipc4_post_trigger(struct snd_sof_dev * sdev,struct snd_soc_dai * cpu_dai,struct snd_pcm_substream * substream,int cmd) hda_ipc4_post_trigger() argument 514 hda_ipc3_post_trigger(struct snd_sof_dev * sdev,struct snd_soc_dai * cpu_dai,struct snd_pcm_substream * substream,int cmd) hda_ipc3_post_trigger() argument 556 hda_dspless_get_hext_stream(struct snd_sof_dev * sdev,struct snd_soc_dai * cpu_dai,struct snd_pcm_substream * substream) hda_dspless_get_hext_stream() argument [all...] |
| /linux/sound/pci/ctxfi/ |
| H A D | ctpcm.c | 115 static int ct_pcm_playback_open(struct snd_pcm_substream *substream) in ct_pcm_playback_open() 163 static int ct_pcm_playback_close(struct snd_pcm_substream *substream) in ct_pcm_playback_close() 176 static int ct_pcm_hw_params(struct snd_pcm_substream *substream, in ct_pcm_hw_params() 187 static int ct_pcm_hw_free(struct snd_pcm_substream *substream) in ct_pcm_hw_free() 198 static int ct_pcm_playback_prepare(struct snd_pcm_substream *substream) in ct_pcm_playback_prepare() 220 ct_pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in ct_pcm_playback_trigger() 245 ct_pcm_playback_pointer(struct snd_pcm_substream *substream) in ct_pcm_playback_pointer() 261 static int ct_pcm_capture_open(struct snd_pcm_substream *substream) in ct_pcm_capture_open() 304 static int ct_pcm_capture_close(struct snd_pcm_substream *substream) in ct_pcm_capture_close() 311 static int ct_pcm_capture_prepare(struct snd_pcm_substream *substream) in ct_pcm_capture_prepare() [all …]
|
| /linux/sound/drivers/pcsp/ |
| H A D | pcsp_lib.c | 33 struct snd_pcm_substream *substream; in pcsp_call_pcm_elapsed() local 49 struct snd_pcm_substream *substream; in pcsp_timer_update() local 91 struct snd_pcm_substream *substream; in pcsp_pointer_update() local 201 static int snd_pcsp_playback_close(struct snd_pcm_substream *substream) in snd_pcsp_playback_close() 212 static int snd_pcsp_playback_hw_params(struct snd_pcm_substream *substream, in snd_pcsp_playback_hw_params() 220 static int snd_pcsp_playback_hw_free(struct snd_pcm_substream *substream) in snd_pcsp_playback_hw_free() 230 static int snd_pcsp_playback_prepare(struct snd_pcm_substream *substream) in snd_pcsp_playback_prepare() 251 static int snd_pcsp_trigger(struct snd_pcm_substream *substream, int cmd) in snd_pcsp_trigger() 271 static snd_pcm_uframes_t snd_pcsp_playback_pointer(struct snd_pcm_substream in snd_pcsp_playback_pointer() 304 static int snd_pcsp_playback_open(struct snd_pcm_substream *substream) in snd_pcsp_playback_open()
|
| /linux/sound/core/oss/ |
| H A D | pcm_oss.c | 533 static int snd_pcm_oss_plugin_clear(struct snd_pcm_substream *substream) in snd_pcm_oss_plugin_clear() argument 579 static long snd_pcm_oss_bytes(struct snd_pcm_substream *substream, long frames) in snd_pcm_oss_bytes() argument 596 static long snd_pcm_alsa_frames(struct snd_pcm_substream *substream, long bytes) in snd_pcm_alsa_frames() argument 675 static int snd_pcm_oss_period_size(struct snd_pcm_substream *substream, in snd_pcm_oss_period_size() argument 782 choose_rate(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * params,unsigned int best_rate) choose_rate() argument 836 snd_pcm_oss_release_buffers(struct snd_pcm_substream * substream) snd_pcm_oss_release_buffers() argument 848 snd_pcm_oss_change_params_locked(struct snd_pcm_substream * substream) snd_pcm_oss_change_params_locked() argument 1096 snd_pcm_oss_change_params(struct snd_pcm_substream * substream,bool trylock) snd_pcm_oss_change_params() argument 1116 struct snd_pcm_substream *asubstream = NULL, *substream; snd_pcm_oss_get_active_substream() local 1141 snd_pcm_oss_prepare(struct snd_pcm_substream * substream) snd_pcm_oss_prepare() argument 1160 snd_pcm_oss_make_ready(struct snd_pcm_substream * substream) snd_pcm_oss_make_ready() argument 1183 snd_pcm_oss_make_ready_locked(struct snd_pcm_substream * substream) snd_pcm_oss_make_ready_locked() argument 1202 snd_pcm_oss_capture_position_fixup(struct snd_pcm_substream * substream,snd_pcm_sframes_t * delay) snd_pcm_oss_capture_position_fixup() argument 1227 snd_pcm_oss_write3(struct snd_pcm_substream * substream,const char * ptr,snd_pcm_uframes_t frames,int in_kernel) snd_pcm_oss_write3() argument 1258 snd_pcm_oss_read3(struct snd_pcm_substream * substream,char * ptr,snd_pcm_uframes_t frames,int in_kernel) snd_pcm_oss_read3() argument 1302 snd_pcm_oss_writev3(struct snd_pcm_substream * substream,void ** bufs,snd_pcm_uframes_t frames) snd_pcm_oss_writev3() argument 1331 snd_pcm_oss_readv3(struct snd_pcm_substream * substream,void ** bufs,snd_pcm_uframes_t frames) snd_pcm_oss_readv3() argument 1360 snd_pcm_oss_write2(struct snd_pcm_substream * substream,const char * buf,size_t bytes,int in_kernel) snd_pcm_oss_write2() argument 1393 snd_pcm_oss_write1(struct snd_pcm_substream * substream,const char __user * buf,size_t bytes) snd_pcm_oss_write1() argument 1470 snd_pcm_oss_read2(struct snd_pcm_substream * substream,char * buf,size_t bytes,int in_kernel) snd_pcm_oss_read2() argument 1503 snd_pcm_oss_read1(struct snd_pcm_substream * substream,char __user * buf,size_t bytes) snd_pcm_oss_read1() argument 1567 struct snd_pcm_substream *substream; snd_pcm_oss_reset() local 1589 struct snd_pcm_substream *substream; snd_pcm_oss_post() local 1604 snd_pcm_oss_sync1(struct snd_pcm_substream * substream,size_t size) snd_pcm_oss_sync1() argument 1655 struct snd_pcm_substream *substream; snd_pcm_oss_sync() local 1753 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; snd_pcm_oss_set_rate() local 1778 struct snd_pcm_substream *substream; snd_pcm_oss_get_rate() local 1795 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; snd_pcm_oss_set_channels() local 1816 struct snd_pcm_substream *substream; snd_pcm_oss_get_channels() local 1827 struct snd_pcm_substream *substream; snd_pcm_oss_get_block_size() local 1838 struct snd_pcm_substream *substream; snd_pcm_oss_get_formats() local 1893 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; snd_pcm_oss_set_format() local 1913 struct snd_pcm_substream *substream; snd_pcm_oss_get_format() local 1922 snd_pcm_oss_set_subdivide1(struct snd_pcm_substream * substream,int subdivide) snd_pcm_oss_set_subdivide1() argument 1948 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; snd_pcm_oss_set_subdivide() local 1965 snd_pcm_oss_set_fragment1(struct snd_pcm_substream * substream,unsigned int val) snd_pcm_oss_set_fragment1() argument 1991 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; snd_pcm_oss_set_fragment() local 2015 snd_pcm_oss_get_caps1(struct snd_pcm_substream * substream,int res) snd_pcm_oss_get_caps1() argument 2045 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; snd_pcm_oss_get_caps() local 2052 snd_pcm_oss_simulate_fill(struct snd_pcm_substream * substream,snd_pcm_uframes_t hw_ptr) snd_pcm_oss_simulate_fill() argument 2161 struct snd_pcm_substream *substream; snd_pcm_oss_get_odelay() local 2185 struct snd_pcm_substream *substream; snd_pcm_oss_get_ptr() local 2255 struct snd_pcm_substream *substream; snd_pcm_oss_get_space() local 2352 snd_pcm_oss_release_substream(struct snd_pcm_substream * substream) snd_pcm_oss_release_substream() argument 2358 snd_pcm_oss_init_substream(struct snd_pcm_substream * substream,struct snd_pcm_oss_setup * setup,int minor) snd_pcm_oss_init_substream() argument 2399 struct snd_pcm_substream *substream = pcm_oss_file->streams[cidx]; snd_pcm_oss_release_file() local 2415 struct snd_pcm_substream *substream; snd_pcm_oss_open_file() local 2567 struct snd_pcm_substream *substream; snd_pcm_oss_release() local 2601 struct snd_pcm_substream *substream; snd_pcm_oss_ioctl() local 2768 struct snd_pcm_substream *substream; snd_pcm_oss_read() local 2791 struct snd_pcm_substream *substream; snd_pcm_oss_write() local 2807 snd_pcm_oss_playback_ready(struct snd_pcm_substream * substream) snd_pcm_oss_playback_ready() argument 2818 snd_pcm_oss_capture_ready(struct snd_pcm_substream * substream) snd_pcm_oss_capture_ready() argument 2876 struct snd_pcm_substream *substream = NULL; snd_pcm_oss_mmap() local [all...] |
| /linux/drivers/staging/vc04_services/bcm2835-audio/ |
| H A D | bcm2835-pcm.c | 55 struct snd_pcm_substream *substream = alsa_stream->substream; in bcm2835_playback_fifo() local 85 static int snd_bcm2835_playback_open_generic(struct snd_pcm_substream *substream, int spdif) in snd_bcm2835_playback_open_generic() 157 static int snd_bcm2835_playback_open(struct snd_pcm_substream *substream) in snd_bcm2835_playback_open() 162 static int snd_bcm2835_playback_spdif_open(struct snd_pcm_substream *substream) in snd_bcm2835_playback_spdif_open() 167 static int snd_bcm2835_playback_close(struct snd_pcm_substream *substream) in snd_bcm2835_playback_close() 195 static int snd_bcm2835_pcm_prepare(struct snd_pcm_substream *substream) in snd_bcm2835_pcm_prepare() 234 static void snd_bcm2835_pcm_transfer(struct snd_pcm_substream *substream, in snd_bcm2835_pcm_transfer() 244 static int snd_bcm2835_pcm_ack(struct snd_pcm_substream *substream) in snd_bcm2835_pcm_ack() 255 static int snd_bcm2835_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_bcm2835_pcm_trigger() 275 snd_bcm2835_pcm_pointer(struct snd_pcm_substream *substream) in snd_bcm2835_pcm_pointer()
|
| /linux/sound/soc/fsl/ |
| H A D | imx-pcm-rpmsg.c | 108 static int imx_rpmsg_insert_workqueue(struct snd_pcm_substream *substream, in imx_rpmsg_insert_workqueue() argument 139 struct snd_pcm_substream *substream, in imx_rpmsg_pcm_hw_params() argument 191 struct snd_pcm_substream *substream) in imx_rpmsg_pcm_pointer() argument 213 struct snd_pcm_substream *substream = stream_timer->substream; in imx_rpmsg_timer_callback() local 229 imx_rpmsg_pcm_open(struct snd_soc_component * component,struct snd_pcm_substream * substream) imx_rpmsg_pcm_open() argument 285 imx_rpmsg_pcm_close(struct snd_soc_component * component,struct snd_pcm_substream * substream) imx_rpmsg_pcm_close() argument 316 imx_rpmsg_pcm_prepare(struct snd_soc_component * component,struct snd_pcm_substream * substream) imx_rpmsg_pcm_prepare() argument 345 struct snd_pcm_substream *substream = arg; imx_rpmsg_pcm_dma_complete() local 351 imx_rpmsg_prepare_and_submit(struct snd_soc_component * component,struct snd_pcm_substream * substream) imx_rpmsg_prepare_and_submit() argument 380 imx_rpmsg_async_issue_pending(struct snd_soc_component * component,struct snd_pcm_substream * substream) imx_rpmsg_async_issue_pending() argument 397 imx_rpmsg_restart(struct snd_soc_component * component,struct snd_pcm_substream * substream) imx_rpmsg_restart() argument 414 imx_rpmsg_pause(struct snd_soc_component * component,struct snd_pcm_substream * substream) imx_rpmsg_pause() argument 431 imx_rpmsg_terminate_all(struct snd_soc_component * component,struct snd_pcm_substream * substream) imx_rpmsg_terminate_all() argument 461 imx_rpmsg_pcm_trigger(struct snd_soc_component * component,struct snd_pcm_substream * substream,int cmd) imx_rpmsg_pcm_trigger() argument 515 imx_rpmsg_pcm_ack(struct snd_soc_component * component,struct snd_pcm_substream * substream) imx_rpmsg_pcm_ack() argument 600 struct snd_pcm_substream *substream; imx_rpmsg_pcm_new() local [all...] |
| H A D | imx-pcm-fiq.c | 39 struct snd_pcm_substream *substream; member 48 struct snd_pcm_substream *substream = iprtd->substream; in snd_hrtimer_callback() local 73 struct snd_pcm_substream *substream, in snd_imx_pcm_hw_params() argument 89 struct snd_pcm_substream *substream) in snd_imx_pcm_prepare() argument 109 snd_imx_pcm_trigger(struct snd_soc_component * component,struct snd_pcm_substream * substream,int cmd) snd_imx_pcm_trigger() argument 148 snd_imx_pcm_pointer(struct snd_soc_component * component,struct snd_pcm_substream * substream) snd_imx_pcm_pointer() argument 173 snd_imx_open(struct snd_soc_component * component,struct snd_pcm_substream * substream) snd_imx_open() argument 202 snd_imx_close(struct snd_soc_component * component,struct snd_pcm_substream * substream) snd_imx_close() argument 235 struct snd_pcm_substream *substream; snd_imx_pcm_new() local [all...] |
| /linux/sound/usb/line6/ |
| H A D | midi.c | 17 #define line6_rawmidi_substream_midi(substream) \ argument 37 static void line6_midi_transmit(struct snd_rawmidi_substream *substream) in line6_midi_transmit() 145 static int line6_midi_output_open(struct snd_rawmidi_substream *substream) in line6_midi_output_open() 150 static int line6_midi_output_close(struct snd_rawmidi_substream *substream) in line6_midi_output_close() 155 static void line6_midi_output_trigger(struct snd_rawmidi_substream *substream, in line6_midi_output_trigger() 168 static void line6_midi_output_drain(struct snd_rawmidi_substream *substream) in line6_midi_output_drain() 178 static int line6_midi_input_open(struct snd_rawmidi_substream *substream) in line6_midi_input_open() 183 static int line6_midi_input_close(struct snd_rawmidi_substream *substream) in line6_midi_input_close() 188 static void line6_midi_input_trigger(struct snd_rawmidi_substream *substream, in line6_midi_input_trigger()
|
| /linux/sound/soc/ |
| H A D | soc-generic-dmaengine-pcm.c | 29 struct snd_pcm_substream *substream) in dmaengine_dma_dev() argument 50 int snd_dmaengine_pcm_prepare_slave_config(struct snd_pcm_substream *substream, in snd_dmaengine_pcm_prepare_slave_config() argument 77 dmaengine_pcm_hw_params(struct snd_soc_component * component,struct snd_pcm_substream * substream,struct snd_pcm_hw_params * params) dmaengine_pcm_hw_params() argument 99 dmaengine_pcm_set_runtime_hwparams(struct snd_soc_component * component,struct snd_pcm_substream * substream) dmaengine_pcm_set_runtime_hwparams() argument 149 dmaengine_pcm_open(struct snd_soc_component * component,struct snd_pcm_substream * substream) dmaengine_pcm_open() argument 163 dmaengine_pcm_close(struct snd_soc_component * component,struct snd_pcm_substream * substream) dmaengine_pcm_close() argument 169 dmaengine_pcm_trigger(struct snd_soc_component * component,struct snd_pcm_substream * substream,int cmd) dmaengine_pcm_trigger() argument 177 dmaengine_pcm_compat_request_channel(struct snd_soc_component * component,struct snd_soc_pcm_runtime * rtd,struct snd_pcm_substream * substream) dmaengine_pcm_compat_request_channel() argument 240 struct snd_pcm_substream *substream = rtd->pcm->streams[i].substream; dmaengine_pcm_new() local 280 dmaengine_pcm_pointer(struct snd_soc_component * component,struct snd_pcm_substream * substream) dmaengine_pcm_pointer() argument 291 dmaengine_copy(struct snd_soc_component * component,struct snd_pcm_substream * substream,int channel,unsigned long hwoff,struct iov_iter * iter,unsigned long bytes) dmaengine_copy() argument 322 dmaengine_pcm_sync_stop(struct snd_soc_component * component,struct snd_pcm_substream * substream) dmaengine_pcm_sync_stop() argument [all...] |
| /linux/sound/soc/intel/avs/ |
| H A D | pcm.c | 41 struct snd_pcm_substream *substream; member 74 void avs_period_elapsed(struct snd_pcm_substream *substream) in avs_period_elapsed() argument 84 static int avs_hw_constraints_init(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in avs_hw_constraints_init() argument 119 static int avs_dai_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in avs_dai_startup() argument 149 avs_dai_shutdown(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_shutdown() argument 167 avs_dai_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * fe_hw_params,struct snd_pcm_hw_params * be_hw_params,struct snd_soc_dai * dai,int dma_id) avs_dai_hw_params() argument 201 avs_dai_be_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * be_hw_params,struct snd_soc_dai * dai,int dma_id) avs_dai_be_hw_params() argument 219 avs_dai_prepare(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_prepare() argument 240 avs_dai_nonhda_be_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * hw_params,struct snd_soc_dai * dai) avs_dai_nonhda_be_hw_params() argument 253 avs_dai_nonhda_be_hw_free(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_nonhda_be_hw_free() argument 268 avs_dai_nonhda_be_trigger(struct snd_pcm_substream * substream,int cmd,struct snd_soc_dai * dai) avs_dai_nonhda_be_trigger() argument 327 __avs_dai_hda_be_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai,struct hdac_ext_link * link) __avs_dai_hda_be_startup() argument 351 avs_dai_hda_be_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_hda_be_startup() argument 374 avs_dai_i2shda_be_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_i2shda_be_startup() argument 385 avs_dai_dmichda_be_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_dmichda_be_startup() argument 396 avs_dai_hda_be_shutdown(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_hda_be_shutdown() argument 405 avs_dai_althda_be_shutdown(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_althda_be_shutdown() argument 413 avs_dai_hda_be_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * hw_params,struct snd_soc_dai * dai) avs_dai_hda_be_hw_params() argument 426 avs_dai_hda_be_hw_free(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_hda_be_hw_free() argument 448 avs_dai_hda_be_prepare(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_hda_be_prepare() argument 487 avs_dai_hda_be_trigger(struct snd_pcm_substream * substream,int cmd,struct snd_soc_dai * dai) avs_dai_hda_be_trigger() argument 590 avs_pcm_hw_constraints_init(struct snd_pcm_substream * substream) avs_pcm_hw_constraints_init() argument 615 avs_dai_fe_startup(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_fe_startup() argument 648 avs_dai_fe_shutdown(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_fe_shutdown() argument 659 avs_dai_fe_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * hw_params,struct snd_soc_dai * dai) avs_dai_fe_hw_params() argument 707 __avs_dai_fe_hw_free(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) __avs_dai_fe_hw_free() argument 734 avs_dai_fe_hw_free(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_fe_hw_free() argument 744 avs_dai_fe_prepare(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) avs_dai_fe_prepare() argument 861 avs_dai_fe_trigger(struct snd_pcm_substream * substream,int cmd,struct snd_soc_dai * dai) avs_dai_fe_trigger() argument 1088 struct snd_pcm_substream *substream; avs_dai_resume_hw_params() local 1305 avs_component_open(struct snd_soc_component * component,struct snd_pcm_substream * substream) avs_component_open() argument 1323 avs_component_pointer(struct snd_soc_component * component,struct snd_pcm_substream * substream) avs_component_pointer() argument 1344 avs_component_mmap(struct snd_soc_component * component,struct snd_pcm_substream * substream,struct vm_area_struct * vma) avs_component_mmap() argument 1712 avs_component_hda_open(struct snd_soc_component * component,struct snd_pcm_substream * substream) avs_component_hda_open() argument [all...] |
| /linux/sound/isa/gus/ |
| H A D | gus_pcm.c | 33 struct snd_pcm_substream *substream; member 59 static int snd_gf1_pcm_block_change(struct snd_pcm_substream *substream, in snd_gf1_pcm_block_change() argument 87 static void snd_gf1_pcm_trigger_up(struct snd_pcm_substream *substream) in snd_gf1_pcm_trigger_up() argument 331 playback_copy_ack(struct snd_pcm_substream * substream,unsigned int bpos,unsigned int len) playback_copy_ack() argument 349 snd_gf1_pcm_playback_copy(struct snd_pcm_substream * substream,int voice,unsigned long pos,struct iov_iter * src,unsigned long count) snd_gf1_pcm_playback_copy() argument 366 snd_gf1_pcm_playback_silence(struct snd_pcm_substream * substream,int voice,unsigned long pos,unsigned long count) snd_gf1_pcm_playback_silence() argument 383 snd_gf1_pcm_playback_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * hw_params) snd_gf1_pcm_playback_hw_params() argument 432 snd_gf1_pcm_playback_hw_free(struct snd_pcm_substream * substream) snd_gf1_pcm_playback_hw_free() argument 452 snd_gf1_pcm_playback_prepare(struct snd_pcm_substream * substream) snd_gf1_pcm_playback_prepare() argument 464 snd_gf1_pcm_playback_trigger(struct snd_pcm_substream * substream,int cmd) snd_gf1_pcm_playback_trigger() argument 490 snd_gf1_pcm_playback_pointer(struct snd_pcm_substream * substream) snd_gf1_pcm_playback_pointer() argument 523 snd_gf1_pcm_capture_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * hw_params) snd_gf1_pcm_capture_hw_params() argument 541 snd_gf1_pcm_capture_prepare(struct snd_pcm_substream * substream) snd_gf1_pcm_capture_prepare() argument 553 snd_gf1_pcm_capture_trigger(struct snd_pcm_substream * substream,int cmd) snd_gf1_pcm_capture_trigger() argument 573 snd_gf1_pcm_capture_pointer(struct snd_pcm_substream * substream) snd_gf1_pcm_capture_pointer() argument 634 snd_gf1_pcm_playback_open(struct snd_pcm_substream * substream) snd_gf1_pcm_playback_open() argument 669 snd_gf1_pcm_playback_close(struct snd_pcm_substream * substream) snd_gf1_pcm_playback_close() argument 682 snd_gf1_pcm_capture_open(struct snd_pcm_substream * substream) snd_gf1_pcm_capture_open() argument 697 snd_gf1_pcm_capture_close(struct snd_pcm_substream * substream) snd_gf1_pcm_capture_close() argument 809 struct snd_pcm_substream *substream; snd_gf1_pcm_new() local [all...] |
| /linux/sound/soc/samsung/ |
| H A D | idma.c | 64 static int idma_enqueue(struct snd_pcm_substream *substream) in idma_enqueue() argument 99 static void idma_setcallbk(struct snd_pcm_substream *substream, in idma_setcallbk() argument 133 struct snd_pcm_substream *substream = id; in idma_done() local 141 struct snd_pcm_substream *substream, in idma_hw_params() argument 168 idma_hw_free(struct snd_soc_component * component,struct snd_pcm_substream * substream) idma_hw_free() argument 176 idma_prepare(struct snd_soc_component * component,struct snd_pcm_substream * substream) idma_prepare() argument 190 idma_trigger(struct snd_soc_component * component,struct snd_pcm_substream * substream,int cmd) idma_trigger() argument 224 idma_pointer(struct snd_soc_component * component,struct snd_pcm_substream * substream) idma_pointer() argument 242 idma_mmap(struct snd_soc_component * component,struct snd_pcm_substream * substream,struct vm_area_struct * vma) idma_mmap() argument 285 idma_open(struct snd_soc_component * component,struct snd_pcm_substream * substream) idma_open() argument 312 idma_close(struct snd_soc_component * component,struct snd_pcm_substream * substream) idma_close() argument 330 struct snd_pcm_substream *substream; idma_free() local 349 struct snd_pcm_substream *substream = pcm->streams[stream].substream; preallocate_idma_buffer() local [all...] |
| /linux/sound/usb/caiaq/ |
| H A D | midi.c | 16 static int snd_usb_caiaq_midi_input_open(struct snd_rawmidi_substream *substream) in snd_usb_caiaq_midi_input_open() 21 static int snd_usb_caiaq_midi_input_close(struct snd_rawmidi_substream *substream) in snd_usb_caiaq_midi_input_close() 26 static void snd_usb_caiaq_midi_input_trigger(struct snd_rawmidi_substream *substream, int up) in snd_usb_caiaq_midi_input_trigger() 37 static int snd_usb_caiaq_midi_output_open(struct snd_rawmidi_substream *substream) in snd_usb_caiaq_midi_output_open() 42 static int snd_usb_caiaq_midi_output_close(struct snd_rawmidi_substream *substream) in snd_usb_caiaq_midi_output_close() 53 struct snd_rawmidi_substream *substream) in snd_usb_caiaq_midi_send() 78 static void snd_usb_caiaq_midi_output_trigger(struct snd_rawmidi_substream *substream, int up) in snd_usb_caiaq_midi_output_trigger()
|
| /linux/sound/soc/amd/ |
| H A D | acp-da7219-max98357a.c | 106 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in da7219_clk_enable() argument 191 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in rt5682_clk_enable() argument 245 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_da7219_play_startup() argument 266 cz_da7219_cap_startup(struct snd_pcm_substream * substream) cz_da7219_cap_startup() argument 288 cz_max_startup(struct snd_pcm_substream * substream) cz_max_startup() argument 309 cz_dmic0_startup(struct snd_pcm_substream * substream) cz_dmic0_startup() argument 330 cz_dmic1_startup(struct snd_pcm_substream * substream) cz_dmic1_startup() argument 352 cz_da7219_shutdown(struct snd_pcm_substream * substream) cz_da7219_shutdown() argument 357 cz_rt5682_play_startup(struct snd_pcm_substream * substream) cz_rt5682_play_startup() argument 378 cz_rt5682_cap_startup(struct snd_pcm_substream * substream) cz_rt5682_cap_startup() argument 400 cz_rt5682_max_startup(struct snd_pcm_substream * substream) cz_rt5682_max_startup() argument 421 cz_rt5682_dmic0_startup(struct snd_pcm_substream * substream) cz_rt5682_dmic0_startup() argument 442 cz_rt5682_dmic1_startup(struct snd_pcm_substream * substream) cz_rt5682_dmic1_startup() argument 464 cz_rt5682_shutdown(struct snd_pcm_substream * substream) cz_rt5682_shutdown() argument [all...] |
| /linux/sound/soc/intel/atom/ |
| H A D | sst-mfld-platform-pcm.c | 123 static void sst_fill_alloc_params(struct snd_pcm_substream *substream, in sst_fill_alloc_params() argument 142 static void sst_fill_pcm_params(struct snd_pcm_substream *substream, in sst_fill_pcm_params() argument 173 sst_fill_stream_params(void * substream,const struct sst_data * ctx,struct snd_sst_params * str_params,bool is_compress) sst_fill_stream_params() argument 222 sst_platform_alloc_stream(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) sst_platform_alloc_stream() argument 257 struct snd_pcm_substream *substream = arg; sst_period_elapsed() local 272 sst_platform_init_stream(struct snd_pcm_substream * substream) sst_platform_init_stream() argument 302 sst_media_open(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) sst_media_open() argument 359 sst_media_close(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) sst_media_close() argument 375 sst_media_prepare(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) sst_media_prepare() argument 401 sst_enable_ssp(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) sst_enable_ssp() argument 413 sst_be_hw_params(struct snd_pcm_substream * substream,struct snd_pcm_hw_params * params,struct snd_soc_dai * dai) sst_be_hw_params() argument 453 sst_disable_ssp(struct snd_pcm_substream * substream,struct snd_soc_dai * dai) sst_disable_ssp() argument 578 sst_soc_open(struct snd_soc_component * component,struct snd_pcm_substream * substream) sst_soc_open() argument 591 sst_soc_trigger(struct snd_soc_component * component,struct snd_pcm_substream * substream,int cmd) sst_soc_trigger() argument 639 sst_soc_pointer(struct snd_soc_component * component,struct snd_pcm_substream * substream) sst_soc_pointer() argument 660 sst_soc_delay(struct snd_soc_component * component,struct snd_pcm_substream * substream) sst_soc_delay() argument [all...] |
| /linux/sound/usb/usx2y/ |
| H A D | us144mkii_midi.c | 87 static int tascam_midi_in_open(struct snd_rawmidi_substream *substream) in tascam_midi_in_open() 101 static int tascam_midi_in_close(struct snd_rawmidi_substream *substream) in tascam_midi_in_close() 116 static void tascam_midi_in_trigger(struct snd_rawmidi_substream *substream, in tascam_midi_in_trigger() 222 struct snd_rawmidi_substream *substream = tascam->midi_out_substream; in tascam_midi_out_work_handler() local 294 static int tascam_midi_out_open(struct snd_rawmidi_substream *substream) in tascam_midi_out_open() 310 static int tascam_midi_out_close(struct snd_rawmidi_substream *substream) in tascam_midi_out_close() 322 static void tascam_midi_out_drain(struct snd_rawmidi_substream *substream) in tascam_midi_out_drain() 351 static void tascam_midi_out_trigger(struct snd_rawmidi_substream *substream, in tascam_midi_out_trigger()
|
| /linux/drivers/media/pci/cobalt/ |
| H A D | cobalt-alsa-pcm.c | 101 struct snd_pcm_substream *substream; in cobalt_alsa_announce_pcm_data() local 206 static int snd_cobalt_pcm_capture_open(struct snd_pcm_substream *substream) in snd_cobalt_pcm_capture_open() 229 static int snd_cobalt_pcm_capture_close(struct snd_pcm_substream *substream) in snd_cobalt_pcm_capture_close() 240 static int snd_cobalt_pcm_prepare(struct snd_pcm_substream *substream) in snd_cobalt_pcm_prepare() 250 static int snd_cobalt_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_cobalt_pcm_trigger() 263 snd_pcm_uframes_t snd_cobalt_pcm_pointer(struct snd_pcm_substream *substream) in snd_cobalt_pcm_pointer() 301 struct snd_pcm_substream *substream; in cobalt_alsa_pb_pcm_data() local 367 static int snd_cobalt_pcm_playback_open(struct snd_pcm_substream *substream) in snd_cobalt_pcm_playback_open() 391 static int snd_cobalt_pcm_playback_close(struct snd_pcm_substream *substream) in snd_cobalt_pcm_playback_close() 402 static int snd_cobalt_pcm_pb_prepare(struct snd_pcm_substream *substream) in snd_cobalt_pcm_pb_prepare() [all …]
|
| /linux/sound/pci/emu10k1/ |
| H A D | emupcm.c | 348 static int snd_emu10k1_playback_hw_params(struct snd_pcm_substream *substream, in snd_emu10k1_playback_hw_params() 395 static int snd_emu10k1_playback_hw_free(struct snd_pcm_substream *substream) in snd_emu10k1_playback_hw_free() 418 static int snd_emu10k1_playback_prepare(struct snd_pcm_substream *substream) in snd_emu10k1_playback_prepare() 448 static int snd_emu10k1_efx_playback_prepare(struct snd_pcm_substream *substream) in snd_emu10k1_efx_playback_prepare() 497 static int snd_emu10k1_capture_prepare(struct snd_pcm_substream *substream) in snd_emu10k1_capture_prepare() 585 struct snd_pcm_substream *substream = epcm->substream; in snd_emu10k1_playback_prepare_voices() local 719 static int snd_emu10k1_playback_trigger(struct snd_pcm_substream *substream, in snd_emu10k1_playback_trigger() 761 static int snd_emu10k1_capture_trigger(struct snd_pcm_substream *substream, in snd_emu10k1_capture_trigger() 832 static snd_pcm_uframes_t snd_emu10k1_playback_pointer(struct snd_pcm_substream *substream) in snd_emu10k1_playback_pointer() 911 static int snd_emu10k1_efx_playback_trigger(struct snd_pcm_substream *substream, in snd_emu10k1_efx_playback_trigger() [all …]
|