Home
last modified time | relevance | path

Searched refs:runtime (Results 1 – 25 of 872) sorted by relevance

12345678910>>...35

/linux/sound/core/
A Drawmidi.c130 runtime->event(runtime->substream); in snd_rawmidi_input_event_work()
161 runtime->avail = runtime->buffer_size; in snd_rawmidi_runtime_create()
167 runtime->appl_ptr = runtime->hw_ptr = 0; in snd_rawmidi_runtime_create()
168 substream->runtime = runtime; in snd_rawmidi_runtime_create()
202 runtime->appl_ptr = runtime->hw_ptr = 0; in __reset_runtime_ptrs()
1195 runtime = substream->runtime; in snd_rawmidi_read()
1524 runtime = substream->runtime; in snd_rawmidi_write()
1595 runtime = rfile->input->runtime; in snd_rawmidi_poll()
1600 runtime = rfile->output->runtime; in snd_rawmidi_poll()
1652 runtime = substream->runtime; in snd_rawmidi_proc_info_read()
[all …]
A Dpcm_native.c685 runtime = substream->runtime; in snd_pcm_hw_params()
842 runtime = substream->runtime; in snd_pcm_hw_free()
869 runtime = substream->runtime; in snd_pcm_sw_params()
1097 runtime = substream->runtime; in snd_pcm_channel_info()
2034 runtime = substream->runtime; in snd_pcm_drain()
2074 runtime = s->runtime; in snd_pcm_drain()
2144 runtime = substream->runtime; in snd_pcm_drop()
3403 runtime = substream->runtime; in snd_pcm_read()
3428 runtime = substream->runtime; in snd_pcm_write()
3455 runtime = substream->runtime; in snd_pcm_readv()
[all …]
A Dpcm_lib.c47 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_silence() local
51 if (runtime->silence_size < runtime->boundary) { in snd_pcm_playback_silence()
64 if (runtime->silence_filled >= runtime->buffer_size) in snd_pcm_playback_silence()
78 runtime->silence_start = (runtime->status->hw_ptr + in snd_pcm_playback_silence()
100 ofs = runtime->silence_start % runtime->buffer_size; in snd_pcm_playback_silence()
145 struct snd_pcm_runtime *runtime = substream->runtime; in __snd_pcm_xrun() local
398 (((runtime->period_size * HZ) / runtime->rate) in snd_pcm_update_hw_ptr0()
453 runtime->hw_ptr_interrupt -= runtime->boundary; in snd_pcm_update_hw_ptr0()
460 runtime->hw_ptr_wrap += runtime->boundary; in snd_pcm_update_hw_ptr0()
1814 runtime = substream->runtime; in snd_pcm_period_elapsed_under_stream_lock()
[all …]
A Dcompress_offload.c120 runtime = kzalloc(sizeof(*runtime), GFP_KERNEL); in snd_compr_open()
121 if (!runtime) { in snd_compr_open()
128 data->stream.runtime = runtime; in snd_compr_open()
134 kfree(runtime); in snd_compr_open()
144 struct snd_compr_runtime *runtime = data->stream.runtime; in snd_compr_free() local
148 switch (runtime->state) { in snd_compr_free()
161 kfree(data->stream.runtime); in snd_compr_free()
253 struct snd_compr_runtime *runtime = stream->runtime; in snd_compr_write_data() local
256 runtime->buffer_size); in snd_compr_write_data()
518 runtime = stream->runtime; in snd_compr_free_pages()
[all …]
A Dpcm.c383 runtime = substream->runtime; in snd_pcm_substream_proc_hw_params_read()
384 if (!runtime) { in snd_pcm_substream_proc_hw_params_read()
396 snd_iprintf(buffer, "rate: %u (%u/%u)\n", runtime->rate, runtime->rate_num, runtime->rate_den); in snd_pcm_substream_proc_hw_params_read()
420 runtime = substream->runtime; in snd_pcm_substream_proc_sw_params_read()
421 if (!runtime) { in snd_pcm_substream_proc_sw_params_read()
450 runtime = substream->runtime; in snd_pcm_substream_proc_status_read()
451 if (!runtime) { in snd_pcm_substream_proc_status_read()
942 runtime = kzalloc(sizeof(*runtime), GFP_KERNEL); in snd_pcm_attach_substream()
969 substream->runtime = runtime; in snd_pcm_attach_substream()
985 runtime = substream->runtime; in snd_pcm_detach_substream()
[all …]
A Dpcm_memory.c166 if (substream->runtime) { in snd_pcm_lib_preallocate_proc_write()
400 runtime = substream->runtime; in snd_pcm_lib_malloc_pages()
438 runtime->dma_bytes = size; in snd_pcm_lib_malloc_pages()
458 runtime = substream->runtime; in snd_pcm_lib_free_pages()
478 runtime = substream->runtime; in _snd_pcm_lib_alloc_vmalloc_buffer()
479 if (runtime->dma_area) { in _snd_pcm_lib_alloc_vmalloc_buffer()
482 vfree(runtime->dma_area); in _snd_pcm_lib_alloc_vmalloc_buffer()
485 if (!runtime->dma_area) in _snd_pcm_lib_alloc_vmalloc_buffer()
505 runtime = substream->runtime; in snd_pcm_lib_free_vmalloc_buffer()
506 vfree(runtime->dma_area); in snd_pcm_lib_free_vmalloc_buffer()
[all …]
/linux/sound/core/oss/
A Dpcm_oss.c1161 runtime = substream->runtime; in snd_pcm_oss_make_ready()
1184 runtime = substream->runtime; in snd_pcm_oss_make_ready_locked()
1208 runtime = substream->runtime; in snd_pcm_oss_capture_position_fixup()
1608 runtime = substream->runtime; in snd_pcm_oss_sync1()
1924 runtime = substream->runtime; in snd_pcm_oss_set_subdivide1()
1968 runtime = substream->runtime; in snd_pcm_oss_set_fragment1()
2171 runtime = substream->runtime; in snd_pcm_oss_get_odelay()
2199 runtime = substream->runtime; in snd_pcm_oss_get_ptr()
2266 runtime = substream->runtime; in snd_pcm_oss_get_space()
2355 runtime = substream->runtime; in snd_pcm_oss_release_substream()
[all …]
/linux/sound/soc/uniphier/
A Daio-dma.c30 struct snd_pcm_runtime *runtime = sub->substream->runtime; in aiodma_pcm_irq() local
32 runtime->channels * samples_to_bytes(runtime, 1); in aiodma_pcm_irq()
50 struct snd_compr_runtime *runtime = sub->cstream->runtime; in aiodma_compr_irq() local
99 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_open() local
110 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_prepare() local
115 runtime->channels * samples_to_bytes(runtime, 1); in uniphier_aiodma_prepare()
125 runtime->dma_addr + runtime->dma_bytes, in uniphier_aiodma_prepare()
137 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_trigger() local
143 runtime->channels * samples_to_bytes(runtime, 1); in uniphier_aiodma_trigger()
173 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_pointer() local
[all …]
/linux/sound/pci/ctxfi/
A Dctpcm.c111 runtime->private_data = NULL; in ct_atc_pcm_free_substream()
118 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_open() local
153 runtime->private_data = apcm; in ct_pcm_playback_open()
202 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_prepare() local
223 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_trigger() local
249 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_pointer() local
264 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_open() local
294 runtime->private_data = apcm; in ct_pcm_capture_open()
315 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_prepare() local
332 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_trigger() local
[all …]
/linux/drivers/staging/vc04_services/bcm2835-audio/
A Dbcm2835-pcm.c49 kfree(runtime->private_data); in snd_bcm2835_playback_free()
89 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_playback_open_generic() local
171 struct snd_pcm_runtime *runtime; in snd_bcm2835_playback_close() local
176 runtime = substream->runtime; in snd_bcm2835_playback_close()
199 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_prepare() local
211 channels = runtime->channels; in snd_bcm2835_pcm_prepare()
214 runtime->rate, in snd_bcm2835_pcm_prepare()
238 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_transfer() local
247 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_ack() local
258 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_trigger() local
[all …]
/linux/sound/pci/emu10k1/
A Demupcm.c82 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_pointer() local
277 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_pcm_init_voice() local
398 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_hw_params() local
434 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_hw_free() local
464 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_hw_free() local
493 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_prepare() local
521 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_prepare() local
628 runtime = evoice->epcm->substream->runtime; in snd_emu10k1_playback_invalidate_cache()
668 runtime = substream->runtime; in snd_emu10k1_playback_prepare_voice()
690 runtime = substream->runtime; in snd_emu10k1_playback_trigger_voice()
[all …]
A Dp16v.c165 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_open_playback_channel() local
214 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_open_capture_channel() local
291 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_playback() local
303 channel, runtime->rate, runtime->format, runtime->channels, in snd_p16v_pcm_prepare_playback()
304 runtime->buffer_size, runtime->period_size, in snd_p16v_pcm_prepare_playback()
305 runtime->periods, frames_to_bytes(runtime, 1)); in snd_p16v_pcm_prepare_playback()
308 runtime->dma_addr, runtime->dma_area, table_base); in snd_p16v_pcm_prepare_playback()
353 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_capture() local
441 runtime = s->runtime; in snd_p16v_pcm_trigger_playback()
473 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_trigger_capture() local
[all …]
/linux/sound/isa/sb/
A Dsb16_main.c239 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb16_playback_prepare() local
309 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb16_capture_prepare() local
496 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb16_playback_open() local
541 runtime->hw.rate_max = 48000; in snd_sb16_playback_open()
544 runtime->hw.periods_min = 2; in snd_sb16_playback_open()
545 runtime->hw.rate_min = 44100; in snd_sb16_playback_open()
548 runtime->hw.rate_min = runtime->hw.rate_max = chip->locked_rate; in snd_sb16_playback_open()
571 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb16_capture_open() local
616 runtime->hw.rate_max = 48000; in snd_sb16_capture_open()
619 runtime->hw.periods_min = 2; in snd_sb16_capture_open()
[all …]
A Dsb8_main.c94 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb8_playback_prepare() local
100 rate = runtime->rate; in snd_sb8_playback_prepare()
112 if (runtime->channels > 1) { in snd_sb8_playback_prepare()
158 runtime->dma_area[0] = 0x80; in snd_sb8_playback_prepare()
211 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb8_playback_trigger() local
213 if (runtime->channels > 1) { in snd_sb8_playback_trigger()
232 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb8_capture_prepare() local
238 rate = runtime->rate; in snd_sb8_capture_prepare()
250 if (runtime->channels > 1) { in snd_sb8_capture_prepare()
336 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb8_capture_trigger() local
[all …]
/linux/sound/isa/gus/
A Dgus_pcm.c65 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_block_change() local
93 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_trigger_up() local
192 runtime = pcmp->substream->runtime; in snd_gf1_pcm_interrupt_wave()
355 struct snd_pcm_runtime *runtime = substream->runtime; in playback_copy_ack() local
374 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_copy() local
391 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_copy_kernel() local
407 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_silence() local
424 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_hw_params() local
471 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_hw_free() local
491 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_prepare() local
[all …]
/linux/include/sound/
A Dpcm.h722 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_buffer_bytes() local
723 return frames_to_bytes(runtime, runtime->buffer_size); in snd_pcm_lib_buffer_bytes()
732 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_period_bytes() local
733 return frames_to_bytes(runtime, runtime->period_size); in snd_pcm_lib_period_bytes()
794 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_ready() local
808 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_capture_ready() local
823 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_data() local
825 if (runtime->stop_threshold >= runtime->boundary) in snd_pcm_playback_data()
840 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_empty() local
854 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_capture_empty() local
[all …]
/linux/sound/soc/bcm/
A Dbcm63xx-pcm-whistler.c147 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_prepare() local
192 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_open() local
216 runtime->private_data = prtd; in bcm63xx_pcm_open()
225 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_close() local
237 struct snd_pcm_runtime *runtime; in i2s_dma_isr() local
251 runtime = substream->runtime; in i2s_dma_isr()
253 prtd = runtime->private_data; in i2s_dma_isr()
274 runtime->dma_bytes) { in i2s_dma_isr()
299 runtime = substream->runtime; in i2s_dma_isr()
301 prtd = runtime->private_data; in i2s_dma_isr()
[all …]
/linux/sound/soc/amd/
A Dacp-da7219-max98357a.c229 struct snd_pcm_runtime *runtime = substream->runtime; in cz_da7219_play_startup() local
238 runtime->hw.channels_max = DUAL_CHANNEL; in cz_da7219_play_startup()
250 struct snd_pcm_runtime *runtime = substream->runtime; in cz_da7219_cap_startup() local
272 struct snd_pcm_runtime *runtime = substream->runtime; in cz_max_startup() local
293 struct snd_pcm_runtime *runtime = substream->runtime; in cz_dmic0_startup() local
314 struct snd_pcm_runtime *runtime = substream->runtime; in cz_dmic1_startup() local
341 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_play_startup() local
362 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_cap_startup() local
384 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_max_startup() local
405 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_dmic0_startup() local
[all …]
/linux/sound/soc/dwc/
A Ddwc-pcm.c37 if (++tx_ptr >= runtime->buffer_size) \
57 if (++rx_ptr >= runtime->buffer_size) \
141 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_open() local
147 runtime->private_data = dev; in dw_pcm_open()
163 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_hw_params() local
164 struct dw_i2s_dev *dev = runtime->private_data; in dw_pcm_hw_params()
195 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_trigger() local
196 struct dw_i2s_dev *dev = runtime->private_data; in dw_pcm_trigger()
230 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_pointer() local
231 struct dw_i2s_dev *dev = runtime->private_data; in dw_pcm_pointer()
[all …]
/linux/sound/drivers/vx/
A Dvx_pcm.c159 if (runtime->rate < 32000 && runtime->rate > 11025) in vx_set_format()
514 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_open() local
680 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_transfer() local
701 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_update() local
774 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_pointer() local
785 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_prepare() local
831 pipe->buffer_bytes = frames_to_bytes(runtime, runtime->buffer_size); in vx_pcm_prepare()
888 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_capture_open() local
985 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_capture_update() local
990 size = runtime->buffer_size - snd_pcm_capture_avail(runtime); in vx_pcm_capture_update()
[all …]
/linux/sound/atmel/
A Dac97c.c89 struct snd_pcm_runtime *runtime = substream->runtime; in atmel_ac97c_playback_open() local
108 struct snd_pcm_runtime *runtime = substream->runtime; in atmel_ac97c_capture_open() local
189 struct snd_pcm_runtime *runtime = substream->runtime; in atmel_ac97c_playback_prepare() local
190 int block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_playback_prepare()
271 struct snd_pcm_runtime *runtime = substream->runtime; in atmel_ac97c_capture_prepare() local
417 struct snd_pcm_runtime *runtime = substream->runtime; in atmel_ac97c_playback_pointer() local
434 struct snd_pcm_runtime *runtime = substream->runtime; in atmel_ac97c_capture_pointer() local
485 runtime = chip->playback_substream->runtime; in atmel_ac97c_interrupt()
486 block_size = frames_to_bytes(runtime, runtime->period_size); in atmel_ac97c_interrupt()
503 runtime = chip->capture_substream->runtime; in atmel_ac97c_interrupt()
[all …]
/linux/drivers/media/pci/cobalt/
A Dcobalt-alsa-pcm.c119 runtime = substream->runtime; in cobalt_alsa_announce_pcm_data()
120 if (runtime == NULL) { in cobalt_alsa_announce_pcm_data()
166 runtime->buffer_size) in cobalt_alsa_announce_pcm_data()
168 runtime->buffer_size; in cobalt_alsa_announce_pcm_data()
172 runtime->period_size) { in cobalt_alsa_announce_pcm_data()
174 runtime->period_size; in cobalt_alsa_announce_pcm_data()
208 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cobalt_pcm_capture_open() local
215 runtime->private_data = s; in snd_cobalt_pcm_capture_open()
318 runtime = substream->runtime; in cobalt_alsa_pb_pcm_data()
319 if (runtime == NULL) { in cobalt_alsa_pb_pcm_data()
[all …]
/linux/sound/soc/qcom/qdsp6/
A Dq6apm-dai.c129 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_prepare() local
146 cfg.sample_rate = runtime->rate; in q6apm_dai_prepare()
147 cfg.num_channels = runtime->channels; in q6apm_dai_prepare()
200 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_trigger() local
230 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_open() local
291 runtime->private_data = prtd; in q6apm_dai_open()
292 runtime->dma_bytes = BUFFER_BYTES_MAX; in q6apm_dai_open()
308 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_close() local
316 runtime->private_data = NULL; in q6apm_dai_close()
324 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_pointer() local
[all …]
/linux/drivers/media/pci/cx18/
A Dcx18-alsa-pcm.c62 struct snd_pcm_runtime *runtime; in cx18_alsa_announce_pcm_data() local
77 runtime = substream->runtime; in cx18_alsa_announce_pcm_data()
78 if (runtime == NULL) { in cx18_alsa_announce_pcm_data()
95 if (runtime->dma_area == NULL) { in cx18_alsa_announce_pcm_data()
103 runtime->buffer_size - oldptr; in cx18_alsa_announce_pcm_data()
116 runtime->buffer_size) in cx18_alsa_announce_pcm_data()
118 runtime->buffer_size; in cx18_alsa_announce_pcm_data()
122 runtime->period_size) { in cx18_alsa_announce_pcm_data()
124 runtime->period_size; in cx18_alsa_announce_pcm_data()
137 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cx18_pcm_capture_open() local
[all …]
/linux/sound/usb/
A Dpcm.c74 struct snd_pcm_runtime *runtime = substream->runtime; in snd_usb_pcm_pointer() local
82 runtime->delay = snd_usb_pcm_delay(subs, runtime); in snd_usb_pcm_pointer()
587 return runtime->stop_threshold > runtime->buffer_size; in in_free_wheeling_mode()
616 struct snd_pcm_runtime *runtime = substream->runtime; in snd_usb_pcm_prepare() local
1006 runtime->hw.period_bytes_min = runtime->hw.period_bytes_max = in setup_hw_info()
1103 struct snd_pcm_runtime *runtime = substream->runtime; in snd_usb_pcm_open() local
1163 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in retire_capture_urb() local
1246 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in fill_playback_urb_dsd_dop() local
1303 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in fill_playback_urb_dsd_bitrev() local
1393 avail = (runtime->control->appl_ptr - runtime->hw_ptr_base) in prepare_playback_urb()
[all …]

Completed in 111 milliseconds

12345678910>>...35