/Linux-v5.4/sound/core/ |
D | pcm_native.c | 34 #define trace_hw_mask_param(substream, type, index, prev, curr) argument 35 #define trace_hw_interval_param(substream, type, index, prev, curr) argument 106 void snd_pcm_stream_lock(struct snd_pcm_substream *substream) in snd_pcm_stream_lock() 118 void snd_pcm_stream_unlock(struct snd_pcm_substream *substream) in snd_pcm_stream_unlock() 132 void snd_pcm_stream_lock_irq(struct snd_pcm_substream *substream) in snd_pcm_stream_lock_irq() 145 void snd_pcm_stream_unlock_irq(struct snd_pcm_substream *substream) in snd_pcm_stream_unlock_irq() 152 unsigned long _snd_pcm_stream_lock_irqsave(struct snd_pcm_substream *substream) in _snd_pcm_stream_lock_irqsave() 170 void snd_pcm_stream_unlock_irqrestore(struct snd_pcm_substream *substream, in snd_pcm_stream_unlock_irqrestore() 180 int snd_pcm_info(struct snd_pcm_substream *substream, struct snd_pcm_info *info) in snd_pcm_info() 201 int snd_pcm_info_user(struct snd_pcm_substream *substream, in snd_pcm_info_user() [all …]
|
D | pcm_memory.c | 36 static int preallocate_pcm_pages(struct snd_pcm_substream *substream, size_t size) in preallocate_pcm_pages() 62 static void snd_pcm_lib_preallocate_dma_free(struct snd_pcm_substream *substream) in snd_pcm_lib_preallocate_dma_free() 76 void snd_pcm_lib_preallocate_free(struct snd_pcm_substream *substream) in snd_pcm_lib_preallocate_free() 89 struct snd_pcm_substream *substream; in snd_pcm_lib_preallocate_free_for_all() local 107 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_read() local 119 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_max_proc_read() local 131 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_write() local 170 static inline void preallocate_info_init(struct snd_pcm_substream *substream) in preallocate_info_init() 196 static void snd_pcm_lib_preallocate_pages1(struct snd_pcm_substream *substream, in snd_pcm_lib_preallocate_pages1() 220 void snd_pcm_lib_preallocate_pages(struct snd_pcm_substream *substream, in snd_pcm_lib_preallocate_pages() [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() 133 struct snd_pcm_substream *substream = arg; in dmaengine_pcm_dma_complete() local 143 static int dmaengine_pcm_prepare_and_submit(struct snd_pcm_substream *substream) in dmaengine_pcm_prepare_and_submit() 182 int snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_dmaengine_pcm_trigger() 226 snd_pcm_uframes_t snd_dmaengine_pcm_pointer_no_residue(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_pointer_no_residue() 240 snd_pcm_uframes_t snd_dmaengine_pcm_pointer(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_pointer() 292 int snd_dmaengine_pcm_open(struct snd_pcm_substream *substream, in snd_dmaengine_pcm_open() [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() 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() 124 void snd_pcm_timer_done(struct snd_pcm_substream *substream) in snd_pcm_timer_done()
|
D | rawmidi.c | 75 static inline int snd_rawmidi_ready(struct snd_rawmidi_substream *substream) in snd_rawmidi_ready() 82 static inline int snd_rawmidi_ready_append(struct snd_rawmidi_substream *substream, in snd_rawmidi_ready_append() 100 static int snd_rawmidi_runtime_create(struct snd_rawmidi_substream *substream) in snd_rawmidi_runtime_create() 128 static int snd_rawmidi_runtime_free(struct snd_rawmidi_substream *substream) in snd_rawmidi_runtime_free() 138 static inline void snd_rawmidi_output_trigger(struct snd_rawmidi_substream *substream, int up) in snd_rawmidi_output_trigger() 145 static void snd_rawmidi_input_trigger(struct snd_rawmidi_substream *substream, int up) in snd_rawmidi_input_trigger() 172 int snd_rawmidi_drop_output(struct snd_rawmidi_substream *substream) in snd_rawmidi_drop_output() 180 int snd_rawmidi_drain_output(struct snd_rawmidi_substream *substream) in snd_rawmidi_drain_output() 212 int snd_rawmidi_drain_input(struct snd_rawmidi_substream *substream) in snd_rawmidi_drain_input() 227 struct snd_rawmidi_substream *substream; in assign_substream() local [all …]
|
D | pcm_local.h | 39 snd_pcm_avail(struct snd_pcm_substream *substream) in snd_pcm_avail() 48 snd_pcm_hw_avail(struct snd_pcm_substream *substream) in snd_pcm_hw_avail() 62 snd_pcm_timer_resolution_change(struct snd_pcm_substream *substream) {} in snd_pcm_timer_resolution_change() 63 static inline void snd_pcm_timer_init(struct snd_pcm_substream *substream) {} in snd_pcm_timer_init() 64 static inline void snd_pcm_timer_done(struct snd_pcm_substream *substream) {} in snd_pcm_timer_done()
|
/Linux-v5.4/sound/pci/oxygen/ |
D | oxygen_pcm.c | 115 oxygen_substream_channel(struct snd_pcm_substream *substream) in oxygen_substream_channel() 120 static int oxygen_open(struct snd_pcm_substream *substream, in oxygen_open() 189 static int oxygen_rec_a_open(struct snd_pcm_substream *substream) in oxygen_rec_a_open() 194 static int oxygen_rec_b_open(struct snd_pcm_substream *substream) in oxygen_rec_b_open() 199 static int oxygen_rec_c_open(struct snd_pcm_substream *substream) in oxygen_rec_c_open() 204 static int oxygen_spdif_open(struct snd_pcm_substream *substream) in oxygen_spdif_open() 209 static int oxygen_multich_open(struct snd_pcm_substream *substream) in oxygen_multich_open() 214 static int oxygen_ac97_open(struct snd_pcm_substream *substream) in oxygen_ac97_open() 219 static int oxygen_close(struct snd_pcm_substream *substream) in oxygen_close() 302 static int oxygen_hw_params(struct snd_pcm_substream *substream, in oxygen_hw_params() [all …]
|
/Linux-v5.4/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() local 161 struct snd_pcm_substream *substream; in pxa2xx_pcm_free_dma_buffers() local
|
/Linux-v5.4/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() 80 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() 89 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params() 113 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free() 129 static int pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare() 146 static int pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare() 163 static int pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_capture_trigger() 181 static int pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_playback_trigger() 213 static int pcm_capture_ack(struct snd_pcm_substream *substream) in pcm_capture_ack() [all …]
|
/Linux-v5.4/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835-pcm.c | 55 struct snd_pcm_substream *substream = alsa_stream->substream; in bcm2835_playback_fifo() local 86 struct snd_pcm_substream *substream, int spdif) in snd_bcm2835_playback_open_generic() 158 static int snd_bcm2835_playback_open(struct snd_pcm_substream *substream) in snd_bcm2835_playback_open() 163 static int snd_bcm2835_playback_spdif_open(struct snd_pcm_substream *substream) in snd_bcm2835_playback_spdif_open() 168 static int snd_bcm2835_playback_close(struct snd_pcm_substream *substream) in snd_bcm2835_playback_close() 196 static int snd_bcm2835_pcm_hw_params(struct snd_pcm_substream *substream, in snd_bcm2835_pcm_hw_params() 202 static int snd_bcm2835_pcm_hw_free(struct snd_pcm_substream *substream) in snd_bcm2835_pcm_hw_free() 207 static int snd_bcm2835_pcm_prepare(struct snd_pcm_substream *substream) in snd_bcm2835_pcm_prepare() 246 static void snd_bcm2835_pcm_transfer(struct snd_pcm_substream *substream, in snd_bcm2835_pcm_transfer() 256 static int snd_bcm2835_pcm_ack(struct snd_pcm_substream *substream) in snd_bcm2835_pcm_ack() [all …]
|
/Linux-v5.4/sound/firewire/dice/ |
D | dice-pcm.c | 14 struct snd_pcm_substream *substream = rule->private; in dice_rate_constraint() local 52 struct snd_pcm_substream *substream = rule->private; in dice_channels_constraint() local 126 struct snd_pcm_substream *substream) in init_hw_info() 164 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open() 224 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() 233 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params() 257 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free() 273 static int capture_prepare(struct snd_pcm_substream *substream) in capture_prepare() 287 static int playback_prepare(struct snd_pcm_substream *substream) in playback_prepare() 302 static int capture_trigger(struct snd_pcm_substream *substream, int cmd) in capture_trigger() [all …]
|
/Linux-v5.4/sound/firewire/motu/ |
D | motu-pcm.c | 99 struct snd_pcm_substream *substream) in init_hw_info() 133 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open() 183 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() 192 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params() 216 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free() 232 static int capture_prepare(struct snd_pcm_substream *substream) in capture_prepare() 245 static int playback_prepare(struct snd_pcm_substream *substream) in playback_prepare() 259 static int capture_trigger(struct snd_pcm_substream *substream, int cmd) in capture_trigger() 276 static int playback_trigger(struct snd_pcm_substream *substream, int cmd) in playback_trigger() 294 static snd_pcm_uframes_t capture_pointer(struct snd_pcm_substream *substream) in capture_pointer() [all …]
|
/Linux-v5.4/sound/pci/emu10k1/ |
D | emupcm.c | 78 static snd_pcm_uframes_t snd_emu10k1_efx_playback_pointer(struct snd_pcm_substream *substream) in snd_emu10k1_efx_playback_pointer() 275 struct snd_pcm_substream *substream = evoice->epcm->substream; in snd_emu10k1_pcm_init_voice() local 393 static int snd_emu10k1_playback_hw_params(struct snd_pcm_substream *substream, in snd_emu10k1_playback_hw_params() 429 static int snd_emu10k1_playback_hw_free(struct snd_pcm_substream *substream) in snd_emu10k1_playback_hw_free() 459 static int snd_emu10k1_efx_playback_hw_free(struct snd_pcm_substream *substream) in snd_emu10k1_efx_playback_hw_free() 488 static int snd_emu10k1_playback_prepare(struct snd_pcm_substream *substream) in snd_emu10k1_playback_prepare() 516 static int snd_emu10k1_efx_playback_prepare(struct snd_pcm_substream *substream) in snd_emu10k1_efx_playback_prepare() 572 static int snd_emu10k1_capture_hw_params(struct snd_pcm_substream *substream, in snd_emu10k1_capture_hw_params() 578 static int snd_emu10k1_capture_hw_free(struct snd_pcm_substream *substream) in snd_emu10k1_capture_hw_free() 583 static int snd_emu10k1_capture_prepare(struct snd_pcm_substream *substream) in snd_emu10k1_capture_prepare() [all …]
|
/Linux-v5.4/sound/drivers/pcsp/ |
D | pcsp_lib.c | 32 struct snd_pcm_substream *substream; in pcsp_call_pcm_elapsed() local 48 struct snd_pcm_substream *substream; in pcsp_timer_update() local 90 struct snd_pcm_substream *substream; in pcsp_pointer_update() local 202 static int snd_pcsp_playback_close(struct snd_pcm_substream *substream) in snd_pcsp_playback_close() 213 static int snd_pcsp_playback_hw_params(struct snd_pcm_substream *substream, in snd_pcsp_playback_hw_params() 226 static int snd_pcsp_playback_hw_free(struct snd_pcm_substream *substream) in snd_pcsp_playback_hw_free() 236 static int snd_pcsp_playback_prepare(struct snd_pcm_substream *substream) in snd_pcsp_playback_prepare() 258 static int snd_pcsp_trigger(struct snd_pcm_substream *substream, int cmd) in snd_pcsp_trigger() 278 static snd_pcm_uframes_t snd_pcsp_playback_pointer(struct snd_pcm_substream in snd_pcsp_playback_pointer() 311 static int snd_pcsp_playback_open(struct snd_pcm_substream *substream) in snd_pcsp_playback_open()
|
/Linux-v5.4/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() 202 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() 210 static int pcm_capture_hw_params(struct snd_pcm_substream *substream, in pcm_capture_hw_params() 235 static int pcm_playback_hw_params(struct snd_pcm_substream *substream, in pcm_playback_hw_params() 261 static int pcm_capture_hw_free(struct snd_pcm_substream *substream) in pcm_capture_hw_free() 276 static int pcm_playback_hw_free(struct snd_pcm_substream *substream) in pcm_playback_hw_free() 292 static int pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare() 307 static int pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare() [all …]
|
/Linux-v5.4/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() 148 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() 157 static int pcm_hw_params(struct snd_pcm_substream *substream, in pcm_hw_params() 181 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free() 197 static int pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare() 213 static int pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare() 231 static int pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_capture_trigger() 249 static int pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_playback_trigger() 281 static int pcm_capture_ack(struct snd_pcm_substream *substream) in pcm_capture_ack() [all …]
|
/Linux-v5.4/sound/firewire/fireface/ |
D | ff-midi.c | 10 static int midi_capture_open(struct snd_rawmidi_substream *substream) in midi_capture_open() 16 static int midi_playback_open(struct snd_rawmidi_substream *substream) in midi_playback_open() 29 static int midi_capture_close(struct snd_rawmidi_substream *substream) in midi_capture_close() 35 static int midi_playback_close(struct snd_rawmidi_substream *substream) in midi_playback_close() 45 static void midi_capture_trigger(struct snd_rawmidi_substream *substream, in midi_capture_trigger() 62 static void midi_playback_trigger(struct snd_rawmidi_substream *substream, in midi_playback_trigger() 79 struct snd_rawmidi_substream *substream; in set_midi_substream_names() local
|
/Linux-v5.4/sound/soc/atmel/ |
D | atmel-pcm-pdc.c | 40 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in atmel_pcm_preallocate_dma_buffer() local 59 static int atmel_pcm_mmap(struct snd_pcm_substream *substream, in atmel_pcm_mmap() 98 struct snd_pcm_substream *substream; in atmel_pcm_free() local 151 struct snd_pcm_substream *substream) in atmel_pcm_dma_irq() 199 static int atmel_pcm_hw_params(struct snd_pcm_substream *substream, in atmel_pcm_hw_params() 228 static int atmel_pcm_hw_free(struct snd_pcm_substream *substream) in atmel_pcm_hw_free() 242 static int atmel_pcm_prepare(struct snd_pcm_substream *substream) in atmel_pcm_prepare() 254 static int atmel_pcm_trigger(struct snd_pcm_substream *substream, in atmel_pcm_trigger() 321 struct snd_pcm_substream *substream) in atmel_pcm_pointer() 338 static int atmel_pcm_open(struct snd_pcm_substream *substream) in atmel_pcm_open() [all …]
|
/Linux-v5.4/sound/soc/fsl/ |
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 72 static int snd_imx_pcm_hw_params(struct snd_pcm_substream *substream, in snd_imx_pcm_hw_params() 88 static int snd_imx_pcm_prepare(struct snd_pcm_substream *substream) in snd_imx_pcm_prepare() 107 static int snd_imx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_imx_pcm_trigger() 144 static snd_pcm_uframes_t snd_imx_pcm_pointer(struct snd_pcm_substream *substream) in snd_imx_pcm_pointer() 168 static int snd_imx_open(struct snd_pcm_substream *substream) in snd_imx_open() 197 static int snd_imx_close(struct snd_pcm_substream *substream) in snd_imx_close() 209 static int snd_imx_pcm_mmap(struct snd_pcm_substream *substream, in snd_imx_pcm_mmap() 238 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in imx_pcm_preallocate_dma_buffer() local [all …]
|
/Linux-v5.4/sound/pci/cs5535audio/ |
D | cs5535audio_pcm.c | 79 static int snd_cs5535audio_playback_open(struct snd_pcm_substream *substream) in snd_cs5535audio_playback_open() 97 static int snd_cs5535audio_playback_close(struct snd_pcm_substream *substream) in snd_cs5535audio_playback_close() 107 struct snd_pcm_substream *substream, in cs5535audio_build_dma_packets() 225 struct snd_pcm_substream *substream) in cs5535audio_clear_dma_packets() 232 static int snd_cs5535audio_hw_params(struct snd_pcm_substream *substream, in snd_cs5535audio_hw_params() 255 static int snd_cs5535audio_hw_free(struct snd_pcm_substream *substream) in snd_cs5535audio_hw_free() 273 static int snd_cs5535audio_playback_prepare(struct snd_pcm_substream *substream) in snd_cs5535audio_playback_prepare() 280 static int snd_cs5535audio_trigger(struct snd_pcm_substream *substream, int cmd) in snd_cs5535audio_trigger() 315 static snd_pcm_uframes_t snd_cs5535audio_pcm_pointer(struct snd_pcm_substream in snd_cs5535audio_pcm_pointer() 338 static int snd_cs5535audio_capture_open(struct snd_pcm_substream *substream) in snd_cs5535audio_capture_open() [all …]
|
/Linux-v5.4/sound/pci/ctxfi/ |
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() 192 static int ct_pcm_hw_free(struct snd_pcm_substream *substream) in ct_pcm_hw_free() 204 static int ct_pcm_playback_prepare(struct snd_pcm_substream *substream) in ct_pcm_playback_prepare() 226 ct_pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in ct_pcm_playback_trigger() 251 ct_pcm_playback_pointer(struct snd_pcm_substream *substream) in ct_pcm_playback_pointer() 267 static int ct_pcm_capture_open(struct snd_pcm_substream *substream) in ct_pcm_capture_open() 310 static int ct_pcm_capture_close(struct snd_pcm_substream *substream) in ct_pcm_capture_close() 317 static int ct_pcm_capture_prepare(struct snd_pcm_substream *substream) in ct_pcm_capture_prepare() [all …]
|
/Linux-v5.4/sound/firewire/bebob/ |
D | bebob_pcm.c | 96 struct snd_pcm_substream *substream) in pcm_init_hw_params() 133 pcm_open(struct snd_pcm_substream *substream) in pcm_open() 180 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() 211 static int pcm_hw_free(struct snd_pcm_substream *substream) in pcm_hw_free() 228 pcm_capture_prepare(struct snd_pcm_substream *substream) in pcm_capture_prepare() 240 pcm_playback_prepare(struct snd_pcm_substream *substream) in pcm_playback_prepare() 253 pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_capture_trigger() 271 pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_playback_trigger() 302 static int pcm_capture_ack(struct snd_pcm_substream *substream) in pcm_capture_ack() [all …]
|
/Linux-v5.4/drivers/media/pci/cobalt/ |
D | cobalt-alsa-pcm.c | 102 struct snd_pcm_substream *substream; in cobalt_alsa_announce_pcm_data() local 207 static int snd_cobalt_pcm_capture_open(struct snd_pcm_substream *substream) in snd_cobalt_pcm_capture_open() 230 static int snd_cobalt_pcm_capture_close(struct snd_pcm_substream *substream) in snd_cobalt_pcm_capture_close() 241 static int snd_cobalt_pcm_ioctl(struct snd_pcm_substream *substream, in snd_cobalt_pcm_ioctl() 269 static int snd_cobalt_pcm_hw_params(struct snd_pcm_substream *substream, in snd_cobalt_pcm_hw_params() 278 static int snd_cobalt_pcm_hw_free(struct snd_pcm_substream *substream) in snd_cobalt_pcm_hw_free() 289 static int snd_cobalt_pcm_prepare(struct snd_pcm_substream *substream) in snd_cobalt_pcm_prepare() 299 static int snd_cobalt_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in snd_cobalt_pcm_trigger() 312 snd_pcm_uframes_t snd_cobalt_pcm_pointer(struct snd_pcm_substream *substream) in snd_cobalt_pcm_pointer() 350 struct snd_pcm_substream *substream; in cobalt_alsa_pb_pcm_data() local [all …]
|
/Linux-v5.4/sound/usb/line6/ |
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() 146 static int line6_midi_output_open(struct snd_rawmidi_substream *substream) in line6_midi_output_open() 151 static int line6_midi_output_close(struct snd_rawmidi_substream *substream) in line6_midi_output_close() 156 static void line6_midi_output_trigger(struct snd_rawmidi_substream *substream, in line6_midi_output_trigger() 172 static void line6_midi_output_drain(struct snd_rawmidi_substream *substream) in line6_midi_output_drain() 182 static int line6_midi_input_open(struct snd_rawmidi_substream *substream) in line6_midi_input_open() 187 static int line6_midi_input_close(struct snd_rawmidi_substream *substream) in line6_midi_input_close() 192 static void line6_midi_input_trigger(struct snd_rawmidi_substream *substream, in line6_midi_input_trigger()
|
/Linux-v5.4/sound/usb/caiaq/ |
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()
|