Home
last modified time | relevance | path

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

12345678910>>...18

/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()
1571 runtime = substream->runtime; in snd_pcm_oss_reset()
1608 runtime = substream->runtime; in snd_pcm_oss_sync1()
1921 runtime = substream->runtime; in snd_pcm_oss_set_subdivide1()
1965 runtime = substream->runtime; in snd_pcm_oss_set_fragment1()
2168 runtime = substream->runtime; in snd_pcm_oss_get_odelay()
2196 runtime = substream->runtime; in snd_pcm_oss_get_ptr()
2263 runtime = substream->runtime; in snd_pcm_oss_get_space()
[all …]
/sound/core/
A Drawmidi.c127 runtime->event(runtime->substream); in snd_rawmidi_input_event_work()
181 substream->runtime = runtime; in snd_rawmidi_runtime_create()
256 runtime = substream->runtime; in snd_rawmidi_drain_output()
1153 runtime = substream->runtime; in snd_rawmidi_receive()
1283 runtime = substream->runtime; in snd_rawmidi_read()
1336 runtime = substream->runtime; in snd_rawmidi_transmit_empty()
1508 runtime = substream->runtime; in snd_rawmidi_proceed()
1598 runtime = substream->runtime; in snd_rawmidi_write()
1669 runtime = rfile->input->runtime; in snd_rawmidi_poll()
1731 runtime = substream->runtime; in snd_rawmidi_proc_info_read()
[all …]
A Dpcm_native.c754 runtime = substream->runtime; in snd_pcm_hw_params()
917 runtime = substream->runtime; in snd_pcm_hw_free()
951 runtime = substream->runtime; in snd_pcm_sw_params()
1175 runtime = substream->runtime; in snd_pcm_channel_info()
2107 runtime = substream->runtime; in snd_pcm_drain()
2147 runtime = s->runtime; in snd_pcm_drain()
2217 runtime = substream->runtime; in snd_pcm_drop()
3525 runtime = substream->runtime; in snd_pcm_read()
3550 runtime = substream->runtime; in snd_pcm_write()
3578 runtime = substream->runtime; in snd_pcm_readv()
[all …]
A Dpcm_lib.c66 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_silence() local
70 if (runtime->silence_size < runtime->boundary) { in snd_pcm_playback_silence()
125 ofs = (runtime->silence_start + runtime->silence_filled) % runtime->buffer_size; in snd_pcm_playback_silence()
170 struct snd_pcm_runtime *runtime = substream->runtime; in __snd_pcm_xrun() local
240 struct snd_pcm_runtime *runtime = substream->runtime; in update_audio_tstamp() local
289 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_update_hw_ptr0() local
426 (((runtime->period_size * HZ) / runtime->rate) in snd_pcm_update_hw_ptr0()
481 runtime->hw_ptr_interrupt -= runtime->boundary; in snd_pcm_update_hw_ptr0()
488 runtime->hw_ptr_wrap += runtime->boundary; in snd_pcm_update_hw_ptr0()
1906 runtime = substream->runtime; in snd_pcm_period_elapsed_under_stream_lock()
[all …]
A Dcompress_offload.c129 runtime = kzalloc(sizeof(*runtime), GFP_KERNEL); in snd_compr_open()
130 if (!runtime) { in snd_compr_open()
140 data->stream.runtime = runtime; in snd_compr_open()
145 kfree(runtime); in snd_compr_open()
155 struct snd_compr_runtime *runtime = data->stream.runtime; in snd_compr_free() local
159 switch (runtime->state) { in snd_compr_free()
269 struct snd_compr_runtime *runtime = stream->runtime; in snd_compr_write_data() local
417 runtime = stream->runtime; in snd_compr_poll()
434 if (runtime->fragments > runtime->active_tasks) in snd_compr_poll()
540 runtime = stream->runtime; in snd_compr_free_pages()
[all …]
A Dpcm.c379 runtime = substream->runtime; in snd_pcm_substream_proc_hw_params_read()
380 if (!runtime) { in snd_pcm_substream_proc_hw_params_read()
392 snd_iprintf(buffer, "rate: %u (%u/%u)\n", runtime->rate, runtime->rate_num, runtime->rate_den); in snd_pcm_substream_proc_hw_params_read()
414 runtime = substream->runtime; in snd_pcm_substream_proc_sw_params_read()
415 if (!runtime) { in snd_pcm_substream_proc_sw_params_read()
442 runtime = substream->runtime; in snd_pcm_substream_proc_status_read()
443 if (!runtime) { in snd_pcm_substream_proc_status_read()
938 runtime = kzalloc(sizeof(*runtime), GFP_KERNEL); in snd_pcm_attach_substream()
967 substream->runtime = runtime; in snd_pcm_attach_substream()
986 runtime = substream->runtime; in snd_pcm_detach_substream()
[all …]
/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 …]
/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 …]
/sound/drivers/
A Dpcmtest.c184 runtime->channels, in check_buf_block_i()
226 check_buf_block_i(v_iter, runtime); in check_buf_block()
228 check_buf_block_ni(v_iter, runtime); in check_buf_block()
322 fill_block_rand_i(v_iter, runtime); in fill_block_random()
324 fill_block_rand_n(v_iter, runtime); in fill_block_random()
331 fill_block_random(v_iter, runtime); in fill_block()
334 fill_block_pattern(v_iter, runtime); in fill_block()
374 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcmtst_pcm_open() local
385 runtime->hw = snd_pcmtst_hw; in snd_pcmtst_pcm_open()
386 runtime->private_data = v_iter; in snd_pcmtst_pcm_open()
[all …]
/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 …]
/sound/pci/emu10k1/
A Dp16v.c155 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_open_playback_channel() local
183 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_open_capture_channel() local
239 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_playback() local
251 channel, runtime->rate, runtime->format, runtime->channels, in snd_p16v_pcm_prepare_playback()
252 runtime->buffer_size, runtime->period_size, in snd_p16v_pcm_prepare_playback()
253 runtime->periods, frames_to_bytes(runtime, 1)); in snd_p16v_pcm_prepare_playback()
256 runtime->dma_addr, runtime->dma_area, table_base); in snd_p16v_pcm_prepare_playback()
306 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_capture() local
378 if (runtime && runtime->private_data) { in snd_p16v_interrupt()
392 if (runtime && runtime->private_data) { in snd_p16v_interrupt()
[all …]
A Demupcm.c208 runtime->hw.rate_min = runtime->hw.rate_max = rate; in snd_emu1010_constrain_efx_rate()
353 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_hw_params() local
399 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_hw_free() local
422 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_prepare() local
452 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_prepare() local
501 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_capture_prepare() local
587 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_prepare_voices() local
724 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_trigger() local
769 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_capture_trigger() local
841 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_pointer() local
[all …]
/sound/soc/qcom/qdsp6/
A Dq6apm-dai.c212 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_prepare() local
289 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_ack() local
311 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_trigger() local
338 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_open() local
418 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_close() local
484 struct snd_compr_runtime *runtime = stream->runtime; in q6apm_dai_compr_open() local
530 struct snd_compr_runtime *runtime = stream->runtime; in q6apm_dai_compr_free() local
580 struct snd_compr_runtime *runtime = stream->runtime; in q6apm_dai_compr_pointer() local
595 struct snd_compr_runtime *runtime = stream->runtime; in q6apm_dai_compr_trigger() local
628 struct snd_compr_runtime *runtime = stream->runtime; in q6apm_dai_compr_ack() local
[all …]
/sound/isa/gus/
A Dgus_pcm.c65 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_block_change() local
89 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_trigger_up() local
183 runtime = pcmp->substream->runtime; in snd_gf1_pcm_interrupt_wave()
341 struct snd_pcm_runtime *runtime = substream->runtime; in playback_copy_ack() local
360 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_copy() local
377 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_silence() local
394 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_hw_params() local
441 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_hw_free() local
461 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_prepare() local
475 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_trigger() local
[all …]
/sound/soc/bcm/
A Dbcm63xx-pcm-whistler.c148 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_prepare() local
193 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_open() local
217 runtime->private_data = prtd; in bcm63xx_pcm_open()
226 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_close() local
238 struct snd_pcm_runtime *runtime; in i2s_dma_isr() local
252 runtime = substream->runtime; in i2s_dma_isr()
254 prtd = runtime->private_data; in i2s_dma_isr()
279 runtime->dma_bytes) { in i2s_dma_isr()
304 runtime = substream->runtime; in i2s_dma_isr()
306 prtd = runtime->private_data; in i2s_dma_isr()
[all …]
/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 …]
/sound/soc/sof/intel/
A Dhda-pcm.c112 dmab = substream->runtime->dma_buffer_p; in hda_dsp_pcm_hw_params()
156 struct snd_pcm_runtime *runtime = substream->runtime; in hda_dsp_pcm_ack() local
160 appl_pos = frames_to_bytes(runtime, runtime->control->appl_ptr); in hda_dsp_pcm_ack()
161 buf_size = frames_to_bytes(runtime, runtime->buffer_size); in hda_dsp_pcm_ack()
210 pos = bytes_to_frames(substream->runtime, pos); in hda_dsp_pcm_pointer()
221 struct snd_pcm_runtime *runtime = substream->runtime; in hda_dsp_pcm_open() local
246 runtime->hw.info &= ~SNDRV_PCM_INFO_PAUSE; in hda_dsp_pcm_open()
256 runtime->hw.info &= ~SNDRV_PCM_INFO_PAUSE; in hda_dsp_pcm_open()
273 snd_pcm_hw_constraint_integer(substream->runtime, in hda_dsp_pcm_open()
279 runtime->hw.periods_min, in hda_dsp_pcm_open()
[all …]
/sound/drivers/vx/
A Dvx_pcm.c159 if (runtime->rate < 32000 && runtime->rate > 11025) in vx_set_format()
516 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_open() local
682 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_transfer() local
703 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_update() local
776 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_pointer() local
787 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_prepare() local
835 pipe->buffer_bytes = frames_to_bytes(runtime, runtime->buffer_size); in vx_pcm_prepare()
892 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_capture_open() local
989 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_capture_update() local
994 size = runtime->buffer_size - snd_pcm_capture_avail(runtime); in vx_pcm_capture_update()
[all …]
/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 …]
/sound/soc/amd/
A Dacp-da7219-max98357a.c247 struct snd_pcm_runtime *runtime = substream->runtime; in cz_da7219_play_startup() local
256 runtime->hw.channels_max = DUAL_CHANNEL; in cz_da7219_play_startup()
268 struct snd_pcm_runtime *runtime = substream->runtime; in cz_da7219_cap_startup() local
290 struct snd_pcm_runtime *runtime = substream->runtime; in cz_max_startup() local
311 struct snd_pcm_runtime *runtime = substream->runtime; in cz_dmic0_startup() local
332 struct snd_pcm_runtime *runtime = substream->runtime; in cz_dmic1_startup() local
359 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_play_startup() local
380 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_cap_startup() local
402 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_max_startup() local
423 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_dmic0_startup() local
[all …]
/sound/firewire/fireface/
A Damdtp-ff.c36 struct snd_pcm_runtime *runtime = pcm->runtime; in write_pcm_s32() local
43 pcm_buffer_pointer %= runtime->buffer_size; in write_pcm_s32()
45 src = (void *)runtime->dma_area + in write_pcm_s32()
46 frames_to_bytes(runtime, pcm_buffer_pointer); in write_pcm_s32()
56 src = (void *)runtime->dma_area; in write_pcm_s32()
66 struct snd_pcm_runtime *runtime = pcm->runtime; in read_pcm_s32() local
73 pcm_buffer_pointer %= runtime->buffer_size; in read_pcm_s32()
75 dst = (void *)runtime->dma_area + in read_pcm_s32()
76 frames_to_bytes(runtime, pcm_buffer_pointer); in read_pcm_s32()
86 dst = (void *)runtime->dma_area; in read_pcm_s32()
[all …]
/sound/soc/samsung/
A Didma.c66 struct snd_pcm_runtime *runtime = substream->runtime; in idma_enqueue() local
88 val |= (((runtime->dma_bytes >> 2) & in idma_enqueue()
144 struct snd_pcm_runtime *runtime = substream->runtime; in idma_hw_params() local
157 prtd->start = prtd->pos = runtime->dma_addr; in idma_hw_params()
160 prtd->end = runtime->dma_addr + runtime->dma_bytes; in idma_hw_params()
226 struct snd_pcm_runtime *runtime = substream->runtime; in idma_pointer() local
245 struct snd_pcm_runtime *runtime = substream->runtime; in idma_mmap() local
253 (runtime->dma_addr + offset) >> PAGE_SHIFT, in idma_mmap()
287 struct snd_pcm_runtime *runtime = substream->runtime; in idma_open() local
306 runtime->private_data = prtd; in idma_open()
[all …]
/sound/firewire/tascam/
A Dtascam-pcm.c13 struct snd_pcm_runtime *runtime = substream->runtime; in pcm_init_hw_params() local
14 struct snd_pcm_hardware *hw = &runtime->hw; in pcm_init_hw_params()
19 runtime->hw.formats = SNDRV_PCM_FMTBIT_S32; in pcm_init_hw_params()
23 runtime->hw.formats = SNDRV_PCM_FMTBIT_S32; in pcm_init_hw_params()
32 runtime->hw.channels_min = runtime->hw.channels_max = pcm_channels; in pcm_init_hw_params()
38 snd_pcm_limit_hw_rates(runtime); in pcm_init_hw_params()
77 substream->runtime->hw.rate_min = rate; in pcm_open()
78 substream->runtime->hw.rate_max = rate; in pcm_open()
80 err = snd_pcm_hw_constraint_minmax(substream->runtime, in pcm_open()
157 struct snd_pcm_runtime *runtime = substream->runtime; in pcm_capture_prepare() local
[all …]
/sound/pcmcia/pdaudiocf/
A Dpdaudiocf_pcm.c37 struct snd_pcm_runtime *runtime = subs->runtime; in pdacf_pcm_trigger() local
92 struct snd_pcm_runtime *runtime = subs->runtime; in pdacf_pcm_prepare() local
98 chip->pcm_channels = runtime->channels; in pdacf_pcm_prepare()
115 switch (runtime->format) { in pdacf_pcm_prepare()
125 switch (runtime->format) { in pdacf_pcm_prepare()
153 chip->pcm_size = runtime->buffer_size; in pdacf_pcm_prepare()
154 chip->pcm_period = runtime->period_size; in pdacf_pcm_prepare()
155 chip->pcm_area = runtime->dma_area; in pdacf_pcm_prepare()
198 struct snd_pcm_runtime *runtime = subs->runtime; in pdacf_pcm_capture_open() local
204 runtime->hw = pdacf_pcm_capture_hw; in pdacf_pcm_capture_open()
[all …]

Completed in 126 milliseconds

12345678910>>...18