Home
last modified time | relevance | path

Searched refs:substream (Results 1 – 25 of 690) sorted by relevance

12345678910>>...28

/Linux-v4.19/sound/core/
Dpcm_memory.c51 static int preallocate_pcm_pages(struct snd_pcm_substream *substream, size_t size) in preallocate_pcm_pages() argument
53 struct snd_dma_buffer *dmab = &substream->dma_buffer; in preallocate_pcm_pages()
68 substream->pcm->card->number, substream->pcm->device, in preallocate_pcm_pages()
69 substream->stream ? 'c' : 'p', substream->number, in preallocate_pcm_pages()
70 substream->pcm->name, orig_size); in preallocate_pcm_pages()
77 static void snd_pcm_lib_preallocate_dma_free(struct snd_pcm_substream *substream) in snd_pcm_lib_preallocate_dma_free() argument
79 if (substream->dma_buffer.area == NULL) in snd_pcm_lib_preallocate_dma_free()
81 snd_dma_free_pages(&substream->dma_buffer); in snd_pcm_lib_preallocate_dma_free()
82 substream->dma_buffer.area = NULL; in snd_pcm_lib_preallocate_dma_free()
93 int snd_pcm_lib_preallocate_free(struct snd_pcm_substream *substream) in snd_pcm_lib_preallocate_free() argument
[all …]
Dpcm_native.c48 #define trace_hw_mask_param(substream, type, index, prev, curr) argument
49 #define trace_hw_interval_param(substream, type, index, prev, curr) argument
76 static int snd_pcm_hw_refine_old_user(struct snd_pcm_substream *substream,
78 static int snd_pcm_hw_params_old_user(struct snd_pcm_substream *substream,
106 static unsigned long __snd_pcm_stream_lock_mode(struct snd_pcm_substream *substream, in __snd_pcm_stream_lock_mode() argument
110 if (substream->pcm->nonatomic) { in __snd_pcm_stream_lock_mode()
112 mutex_lock(&substream->self_group.mutex); in __snd_pcm_stream_lock_mode()
125 spin_lock(&substream->self_group.lock); in __snd_pcm_stream_lock_mode()
130 static void __snd_pcm_stream_unlock_mode(struct snd_pcm_substream *substream, in __snd_pcm_stream_unlock_mode() argument
133 if (substream->pcm->nonatomic) { in __snd_pcm_stream_unlock_mode()
[all …]
Dpcm.c122 struct snd_pcm_substream *substream; in snd_pcm_control_ioctl() local
149 for (substream = pstr->substream; substream; in snd_pcm_control_ioctl()
150 substream = substream->next) in snd_pcm_control_ioctl()
151 if (substream->number == (int)subdevice) in snd_pcm_control_ioctl()
153 if (substream == NULL) { in snd_pcm_control_ioctl()
158 err = snd_pcm_info_user(substream, info); in snd_pcm_control_ioctl()
343 static void snd_pcm_proc_info_read(struct snd_pcm_substream *substream, in snd_pcm_proc_info_read() argument
349 if (! substream) in snd_pcm_proc_info_read()
356 err = snd_pcm_info(substream, info); in snd_pcm_proc_info_read()
379 snd_pcm_proc_info_read(((struct snd_pcm_str *)entry->private_data)->substream, in snd_pcm_stream_proc_info_read()
[all …]
Dpcm_timer.c34 void snd_pcm_timer_resolution_change(struct snd_pcm_substream *substream) in snd_pcm_timer_resolution_change() argument
37 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_timer_resolution_change()
58 pcm_err(substream->pcm, in snd_pcm_timer_resolution_change()
69 struct snd_pcm_substream *substream; in snd_pcm_timer_resolution() local
71 substream = timer->private_data; in snd_pcm_timer_resolution()
72 return substream->runtime ? substream->runtime->timer_resolution : 0; in snd_pcm_timer_resolution()
77 struct snd_pcm_substream *substream; in snd_pcm_timer_start() local
79 substream = snd_timer_chip(timer); in snd_pcm_timer_start()
80 substream->timer_running = 1; in snd_pcm_timer_start()
86 struct snd_pcm_substream *substream; in snd_pcm_timer_stop() local
[all …]
Dpcm_trace.h12 TP_PROTO(struct snd_pcm_substream *substream, snd_pcm_uframes_t pos, bool irq),
13 TP_ARGS(substream, pos, irq),
28 __entry->card = (substream)->pcm->card->number;
29 __entry->device = (substream)->pcm->device;
30 __entry->number = (substream)->number;
31 __entry->stream = (substream)->stream;
33 __entry->period_size = (substream)->runtime->period_size;
34 __entry->buffer_size = (substream)->runtime->buffer_size;
35 __entry->old_hw_ptr = (substream)->runtime->status->hw_ptr;
36 __entry->hw_ptr_base = (substream)->runtime->hw_ptr_base;
[all …]
Dpcm_dmaengine.c39 const struct snd_pcm_substream *substream) in substream_to_prtd() argument
41 return substream->runtime->private_data; in substream_to_prtd()
44 struct dma_chan *snd_dmaengine_pcm_get_chan(struct snd_pcm_substream *substream) in snd_dmaengine_pcm_get_chan() argument
46 struct dmaengine_pcm_runtime_data *prtd = substream_to_prtd(substream); in snd_dmaengine_pcm_get_chan()
61 int snd_hwparams_to_dma_slave_config(const struct snd_pcm_substream *substream, in snd_hwparams_to_dma_slave_config() argument
82 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hwparams_to_dma_slave_config()
114 const struct snd_pcm_substream *substream, in snd_dmaengine_pcm_set_config_from_dai_data() argument
118 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_dmaengine_pcm_set_config_from_dai_data()
142 struct snd_pcm_substream *substream = arg; in dmaengine_pcm_dma_complete() local
143 struct dmaengine_pcm_runtime_data *prtd = substream_to_prtd(substream); in dmaengine_pcm_dma_complete()
[all …]
Dpcm_local.h24 int snd_pcm_hw_constraints_init(struct snd_pcm_substream *substream);
25 int snd_pcm_hw_constraints_complete(struct snd_pcm_substream *substream);
30 int pcm_lib_apply_appl_ptr(struct snd_pcm_substream *substream,
32 int snd_pcm_update_state(struct snd_pcm_substream *substream,
34 int snd_pcm_update_hw_ptr(struct snd_pcm_substream *substream);
36 void snd_pcm_playback_silence(struct snd_pcm_substream *substream,
40 snd_pcm_avail(struct snd_pcm_substream *substream) in snd_pcm_avail() argument
42 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_avail()
43 return snd_pcm_playback_avail(substream->runtime); in snd_pcm_avail()
45 return snd_pcm_capture_avail(substream->runtime); in snd_pcm_avail()
[all …]
Drawmidi.c89 static inline int snd_rawmidi_ready(struct snd_rawmidi_substream *substream) in snd_rawmidi_ready() argument
91 struct snd_rawmidi_runtime *runtime = substream->runtime; in snd_rawmidi_ready()
96 static inline int snd_rawmidi_ready_append(struct snd_rawmidi_substream *substream, in snd_rawmidi_ready_append() argument
99 struct snd_rawmidi_runtime *runtime = substream->runtime; in snd_rawmidi_ready_append()
102 (!substream->append || runtime->avail >= count); in snd_rawmidi_ready_append()
111 runtime->event(runtime->substream); in snd_rawmidi_input_event_work()
114 static int snd_rawmidi_runtime_create(struct snd_rawmidi_substream *substream) in snd_rawmidi_runtime_create() argument
121 runtime->substream = substream; in snd_rawmidi_runtime_create()
128 if (substream->stream == SNDRV_RAWMIDI_STREAM_INPUT) in snd_rawmidi_runtime_create()
138 substream->runtime = runtime; in snd_rawmidi_runtime_create()
[all …]
/Linux-v4.19/sound/firewire/dice/
Ddice-pcm.c15 struct snd_pcm_substream *substream = rule->private; in dice_rate_constraint() local
16 struct snd_dice *dice = substream->private_data; in dice_rate_constraint()
17 unsigned int index = substream->pcm->device; in dice_rate_constraint()
30 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in dice_rate_constraint()
53 struct snd_pcm_substream *substream = rule->private; in dice_channels_constraint() local
54 struct snd_dice *dice = substream->private_data; in dice_channels_constraint()
55 unsigned int index = substream->pcm->device; in dice_channels_constraint()
68 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in dice_channels_constraint()
127 struct snd_pcm_substream *substream) in init_hw_info() argument
129 struct snd_pcm_runtime *runtime = substream->runtime; in init_hw_info()
[all …]
/Linux-v4.19/sound/arm/
Dpxa2xx-pcm-lib.c36 int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream, in pxa2xx_pcm_hw_params() argument
39 struct dma_chan *chan = snd_dmaengine_pcm_get_chan(substream); in pxa2xx_pcm_hw_params()
40 struct snd_soc_pcm_runtime *rtd = substream->private_data; in pxa2xx_pcm_hw_params()
45 dma_params = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in pxa2xx_pcm_hw_params()
49 ret = snd_hwparams_to_dma_slave_config(substream, params, &config); in pxa2xx_pcm_hw_params()
53 snd_dmaengine_pcm_set_config_from_dai_data(substream, in pxa2xx_pcm_hw_params()
54 snd_soc_dai_get_dma_data(rtd->cpu_dai, substream), in pxa2xx_pcm_hw_params()
61 snd_pcm_set_runtime_buffer(substream, &substream->dma_buffer); in pxa2xx_pcm_hw_params()
67 int pxa2xx_pcm_hw_free(struct snd_pcm_substream *substream) in pxa2xx_pcm_hw_free() argument
69 snd_pcm_set_runtime_buffer(substream, NULL); in pxa2xx_pcm_hw_free()
[all …]
/Linux-v4.19/sound/firewire/tascam/
Dtascam-pcm.c12 struct snd_pcm_substream *substream) in pcm_init_hw_params() argument
14 struct snd_pcm_runtime *runtime = substream->runtime; in pcm_init_hw_params()
19 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in pcm_init_hw_params()
44 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open() argument
46 struct snd_tscm *tscm = substream->private_data; in pcm_open()
55 err = pcm_init_hw_params(tscm, substream); in pcm_open()
66 substream->runtime->hw.rate_min = rate; in pcm_open()
67 substream->runtime->hw.rate_max = rate; in pcm_open()
70 snd_pcm_set_sync(substream); in pcm_open()
78 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() argument
[all …]
/Linux-v4.19/sound/soc/fsl/
Dimx-pcm-fiq.c44 struct snd_pcm_substream *substream; member
53 struct snd_pcm_substream *substream = iprtd->substream; in snd_hrtimer_callback() local
61 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_hrtimer_callback()
66 snd_pcm_period_elapsed(substream); in snd_hrtimer_callback()
77 static int snd_imx_pcm_hw_params(struct snd_pcm_substream *substream, in snd_imx_pcm_hw_params() argument
80 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_hw_params()
88 snd_pcm_set_runtime_buffer(substream, &substream->dma_buffer); in snd_imx_pcm_hw_params()
93 static int snd_imx_pcm_prepare(struct snd_pcm_substream *substream) in snd_imx_pcm_prepare() argument
95 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_prepare()
100 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_imx_pcm_prepare()
[all …]
Dfsl_asrc_dma.c46 struct snd_pcm_substream *substream = arg; in fsl_asrc_dma_complete() local
47 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_complete()
50 pair->pos += snd_pcm_lib_period_bytes(substream); in fsl_asrc_dma_complete()
51 if (pair->pos >= snd_pcm_lib_buffer_bytes(substream)) in fsl_asrc_dma_complete()
54 snd_pcm_period_elapsed(substream); in fsl_asrc_dma_complete()
57 static int fsl_asrc_dma_prepare_and_submit(struct snd_pcm_substream *substream) in fsl_asrc_dma_prepare_and_submit() argument
59 u8 dir = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? OUT : IN; in fsl_asrc_dma_prepare_and_submit()
60 struct snd_soc_pcm_runtime *rtd = substream->private_data; in fsl_asrc_dma_prepare_and_submit()
61 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_prepare_and_submit()
68 if (!substream->runtime->no_period_wakeup) in fsl_asrc_dma_prepare_and_submit()
[all …]
/Linux-v4.19/sound/firewire/digi00x/
Ddigi00x-pcm.c59 struct snd_pcm_substream *substream) in pcm_init_hw_params() argument
61 struct snd_pcm_runtime *runtime = substream->runtime; in pcm_init_hw_params()
67 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in pcm_init_hw_params()
68 substream->runtime->hw.formats = SNDRV_PCM_FMTBIT_S32; in pcm_init_hw_params()
71 substream->runtime->hw.formats = SNDRV_PCM_FMTBIT_S32; in pcm_init_hw_params()
84 err = snd_pcm_hw_rule_add(substream->runtime, 0, in pcm_init_hw_params()
91 err = snd_pcm_hw_rule_add(substream->runtime, 0, in pcm_init_hw_params()
98 return amdtp_dot_add_pcm_hw_constraints(s, substream->runtime); in pcm_init_hw_params()
101 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open() argument
103 struct snd_dg00x *dg00x = substream->private_data; in pcm_open()
[all …]
/Linux-v4.19/sound/firewire/fireface/
Dff-midi.c11 static int midi_capture_open(struct snd_rawmidi_substream *substream) in midi_capture_open() argument
17 static int midi_playback_open(struct snd_rawmidi_substream *substream) in midi_playback_open() argument
19 struct snd_ff *ff = substream->rmidi->private_data; in midi_playback_open()
22 ff->running_status[substream->number] = 0; in midi_playback_open()
23 ff->rx_midi_error[substream->number] = false; in midi_playback_open()
25 WRITE_ONCE(ff->rx_midi_substreams[substream->number], substream); in midi_playback_open()
30 static int midi_capture_close(struct snd_rawmidi_substream *substream) in midi_capture_close() argument
36 static int midi_playback_close(struct snd_rawmidi_substream *substream) in midi_playback_close() argument
38 struct snd_ff *ff = substream->rmidi->private_data; in midi_playback_close()
40 cancel_work_sync(&ff->rx_midi_work[substream->number]); in midi_playback_close()
[all …]
Dff-pcm.c95 struct snd_pcm_substream *substream) in pcm_init_hw_params() argument
97 struct snd_pcm_runtime *runtime = substream->runtime; in pcm_init_hw_params()
102 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in pcm_init_hw_params()
129 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open() argument
131 struct snd_ff *ff = substream->private_data; in pcm_open()
140 err = pcm_init_hw_params(ff, substream); in pcm_open()
162 substream->runtime->hw.rate_min = rate; in pcm_open()
163 substream->runtime->hw.rate_max = rate; in pcm_open()
168 substream->runtime->hw.rate_min = rate; in pcm_open()
169 substream->runtime->hw.rate_max = rate; in pcm_open()
[all …]
/Linux-v4.19/include/sound/
Dpcm.h34 #define snd_pcm_substream_chip(substream) ((substream)->private_data) argument
67 int (*open)(struct snd_pcm_substream *substream);
68 int (*close)(struct snd_pcm_substream *substream);
69 int (*ioctl)(struct snd_pcm_substream * substream,
71 int (*hw_params)(struct snd_pcm_substream *substream,
73 int (*hw_free)(struct snd_pcm_substream *substream);
74 int (*prepare)(struct snd_pcm_substream *substream);
75 int (*trigger)(struct snd_pcm_substream *substream, int cmd);
76 snd_pcm_uframes_t (*pointer)(struct snd_pcm_substream *substream);
77 int (*get_time_info)(struct snd_pcm_substream *substream,
[all …]
/Linux-v4.19/sound/firewire/motu/
Dmotu-pcm.c100 struct snd_pcm_substream *substream) in init_hw_info() argument
102 struct snd_pcm_runtime *runtime = substream->runtime; in init_hw_info()
108 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in init_hw_info()
134 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open() argument
136 struct snd_motu *motu = substream->private_data; in pcm_open()
152 err = init_hw_info(motu, substream); in pcm_open()
169 substream->runtime->hw.rate_min = rate; in pcm_open()
170 substream->runtime->hw.rate_max = rate; in pcm_open()
173 snd_pcm_set_sync(substream); in pcm_open()
184 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() argument
[all …]
/Linux-v4.19/sound/soc/nuc900/
Dnuc900-pcm.c42 static int nuc900_dma_hw_params(struct snd_pcm_substream *substream, in nuc900_dma_hw_params() argument
45 return snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(params)); in nuc900_dma_hw_params()
48 static void nuc900_update_dma_register(struct snd_pcm_substream *substream) in nuc900_update_dma_register() argument
50 struct snd_pcm_runtime *runtime = substream->runtime; in nuc900_update_dma_register()
54 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in nuc900_update_dma_register()
66 static void nuc900_dma_start(struct snd_pcm_substream *substream) in nuc900_dma_start() argument
68 struct snd_pcm_runtime *runtime = substream->runtime; in nuc900_dma_start()
77 static void nuc900_dma_stop(struct snd_pcm_substream *substream) in nuc900_dma_stop() argument
79 struct snd_pcm_runtime *runtime = substream->runtime; in nuc900_dma_stop()
90 struct snd_pcm_substream *substream = dev_id; in nuc900_dma_interrupt() local
[all …]
/Linux-v4.19/sound/firewire/oxfw/
Doxfw-pcm.c110 struct snd_pcm_substream *substream) in init_hw_params() argument
112 struct snd_pcm_runtime *runtime = substream->runtime; in init_hw_params()
117 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in init_hw_params()
146 static int limit_to_current_params(struct snd_pcm_substream *substream) in limit_to_current_params() argument
148 struct snd_oxfw *oxfw = substream->private_data; in limit_to_current_params()
153 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in limit_to_current_params()
162 substream->runtime->hw.channels_min = formation.pcm; in limit_to_current_params()
163 substream->runtime->hw.channels_max = formation.pcm; in limit_to_current_params()
164 substream->runtime->hw.rate_min = formation.rate; in limit_to_current_params()
165 substream->runtime->hw.rate_max = formation.rate; in limit_to_current_params()
[all …]
/Linux-v4.19/sound/drivers/pcsp/
Dpcsp_lib.c32 struct snd_pcm_substream *substream; in pcsp_call_pcm_elapsed() local
33 substream = pcsp_chip.playback_substream; in pcsp_call_pcm_elapsed()
34 if (substream) in pcsp_call_pcm_elapsed()
35 snd_pcm_period_elapsed(substream); in pcsp_call_pcm_elapsed()
48 struct snd_pcm_substream *substream; in pcsp_timer_update() local
58 substream = chip->playback_substream; in pcsp_timer_update()
59 if (!substream) in pcsp_timer_update()
62 runtime = substream->runtime; in pcsp_timer_update()
90 struct snd_pcm_substream *substream; in pcsp_pointer_update() local
96 substream = chip->playback_substream; in pcsp_pointer_update()
[all …]
/Linux-v4.19/sound/soc/bcm/
Dcygnus-pcm.c208 struct snd_pcm_substream *substream) in cygnus_dai_get_dma_data() argument
210 struct snd_soc_pcm_runtime *soc_runtime = substream->private_data; in cygnus_dai_get_dma_data()
212 return snd_soc_dai_get_dma_data(soc_runtime->cpu_dai, substream); in cygnus_dai_get_dma_data()
256 static int configure_ringbuf_regs(struct snd_pcm_substream *substream) in configure_ringbuf_regs() argument
262 aio = cygnus_dai_get_dma_data(substream); in configure_ringbuf_regs()
265 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in configure_ringbuf_regs()
305 static struct ringbuf_regs *get_ringbuf(struct snd_pcm_substream *substream) in get_ringbuf() argument
310 aio = cygnus_dai_get_dma_data(substream); in get_ringbuf()
312 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in get_ringbuf()
320 static void enable_intr(struct snd_pcm_substream *substream) in enable_intr() argument
[all …]
/Linux-v4.19/sound/pci/au88x0/
Dau88x0_pcm.c138 static int snd_vortex_pcm_open(struct snd_pcm_substream *substream) in snd_vortex_pcm_open() argument
140 vortex_t *vortex = snd_pcm_substream_chip(substream); in snd_vortex_pcm_open()
141 struct snd_pcm_runtime *runtime = substream->runtime; in snd_vortex_pcm_open()
158 if (VORTEX_PCM_TYPE(substream->pcm) != VORTEX_PCM_WT) { in snd_vortex_pcm_open()
160 if (VORTEX_PCM_TYPE(substream->pcm) == VORTEX_PCM_A3D) { in snd_vortex_pcm_open()
164 if (VORTEX_PCM_TYPE(substream->pcm) == VORTEX_PCM_SPDIF) { in snd_vortex_pcm_open()
178 if (VORTEX_PCM_TYPE(substream->pcm) == VORTEX_PCM_ADB in snd_vortex_pcm_open()
179 || VORTEX_PCM_TYPE(substream->pcm) == VORTEX_PCM_I2S) in snd_vortex_pcm_open()
182 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_vortex_pcm_open()
184 VORTEX_PCM_TYPE(substream->pcm) == VORTEX_PCM_ADB) { in snd_vortex_pcm_open()
[all …]
/Linux-v4.19/sound/soc/kirkwood/
Dkirkwood-dma.c105 static int kirkwood_dma_open(struct snd_pcm_substream *substream) in kirkwood_dma_open() argument
108 struct snd_pcm_runtime *runtime = substream->runtime; in kirkwood_dma_open()
109 struct kirkwood_dma_data *priv = kirkwood_priv(substream); in kirkwood_dma_open()
113 snd_soc_set_runtime_hwparams(substream, &kirkwood_dma_snd_hw); in kirkwood_dma_open()
129 err = snd_pcm_hw_constraint_step(substream->runtime, 0, in kirkwood_dma_open()
149 addr = substream->dma_buffer.addr; in kirkwood_dma_open()
150 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in kirkwood_dma_open()
153 priv->substream_play = substream; in kirkwood_dma_open()
159 priv->substream_rec = substream; in kirkwood_dma_open()
167 static int kirkwood_dma_close(struct snd_pcm_substream *substream) in kirkwood_dma_close() argument
[all …]
/Linux-v4.19/sound/firewire/fireworks/
Dfireworks_pcm.c134 struct snd_pcm_substream *substream) in pcm_init_hw_params() argument
136 struct snd_pcm_runtime *runtime = substream->runtime; in pcm_init_hw_params()
141 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in pcm_init_hw_params()
174 static int pcm_open(struct snd_pcm_substream *substream) in pcm_open() argument
176 struct snd_efw *efw = substream->private_data; in pcm_open()
185 err = pcm_init_hw_params(efw, substream); in pcm_open()
203 substream->runtime->hw.rate_min = sampling_rate; in pcm_open()
204 substream->runtime->hw.rate_max = sampling_rate; in pcm_open()
207 snd_pcm_set_sync(substream); in pcm_open()
215 static int pcm_close(struct snd_pcm_substream *substream) in pcm_close() argument
[all …]

12345678910>>...28