Home
last modified time | relevance | path

Searched refs:snd_pcm_runtime (Results 1 – 25 of 246) sorted by relevance

12345678910

/Linux-v4.19/include/sound/
Dpcm.h351 struct snd_pcm_runtime { struct
410 void (*private_free)(struct snd_pcm_runtime *runtime); argument
461 struct snd_pcm_runtime *runtime;
686 static inline ssize_t bytes_to_samples(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_samples()
696 static inline snd_pcm_sframes_t bytes_to_frames(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_frames()
706 static inline ssize_t samples_to_bytes(struct snd_pcm_runtime *runtime, ssize_t size) in samples_to_bytes()
716 static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size) in frames_to_bytes()
726 static inline int frame_aligned(struct snd_pcm_runtime *runtime, ssize_t bytes) in frame_aligned()
737 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_buffer_bytes()
747 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_period_bytes()
[all …]
/Linux-v4.19/sound/soc/nuc900/
Dnuc900-pcm.c50 struct snd_pcm_runtime *runtime = substream->runtime; in nuc900_update_dma_register()
68 struct snd_pcm_runtime *runtime = substream->runtime; in nuc900_dma_start()
79 struct snd_pcm_runtime *runtime = substream->runtime; in nuc900_dma_stop()
147 struct snd_pcm_runtime *runtime = substream->runtime; in nuc900_dma_prepare()
209 struct snd_pcm_runtime *runtime = substream->runtime; in nuc900_dma_getposition()
223 struct snd_pcm_runtime *runtime = substream->runtime; in nuc900_dma_pointer()
239 struct snd_pcm_runtime *runtime = substream->runtime; in nuc900_dma_open()
257 struct snd_pcm_runtime *runtime = substream->runtime; in nuc900_dma_close()
268 struct snd_pcm_runtime *runtime = substream->runtime; in nuc900_dma_mmap()
/Linux-v4.19/sound/pci/ctxfi/
Dctpcm.c107 static void ct_atc_pcm_free_substream(struct snd_pcm_runtime *runtime) in ct_atc_pcm_free_substream()
122 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_open()
212 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_prepare()
233 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_trigger()
259 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_pointer()
274 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_open()
325 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_prepare()
342 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_trigger()
365 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_pointer()
/Linux-v4.19/sound/soc/dwc/
Ddwc-pcm.c26 struct snd_pcm_runtime *runtime, unsigned int tx_ptr, \
46 struct snd_pcm_runtime *runtime, unsigned int rx_ptr, \
140 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_open()
160 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_hw_params()
202 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_trigger()
236 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_pointer()
/Linux-v4.19/sound/soc/fsl/
Dimx-pcm-fiq.c80 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_hw_params()
95 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_prepare()
114 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_trigger()
151 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_pointer()
175 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_open()
204 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_close()
217 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_mmap()
Dfsl_asrc_dma.c47 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_complete()
61 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_prepare_and_submit()
102 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_trigger()
138 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_hw_params()
254 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_hw_free()
274 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_startup()
297 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_shutdown()
316 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_pcm_pointer()
/Linux-v4.19/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-pcm.c45 static void snd_bcm2835_playback_free(struct snd_pcm_runtime *runtime) in snd_bcm2835_playback_free()
97 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_playback_open_generic()
193 struct snd_pcm_runtime *runtime; in snd_bcm2835_playback_close()
244 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_hw_params()
272 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_prepare()
321 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_transfer()
334 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_ack()
346 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_trigger()
398 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_pointer()
/Linux-v4.19/sound/core/
Dpcm_native.c571 static int period_to_usecs(struct snd_pcm_runtime *runtime) in period_to_usecs()
671 struct snd_pcm_runtime *runtime; in snd_pcm_hw_params()
796 struct snd_pcm_runtime *runtime; in snd_pcm_hw_free()
824 struct snd_pcm_runtime *runtime; in snd_pcm_sw_params()
904 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_status()
991 struct snd_pcm_runtime *runtime; in snd_pcm_channel_info()
1027 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_trigger_tstamp()
1195 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_pre_start()
1221 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_post_start()
1265 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_pre_stop()
[all …]
Dpcm_lib.c62 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_silence()
159 struct snd_pcm_runtime *runtime = substream->runtime; in __snd_pcm_xrun()
191 struct snd_pcm_runtime *runtime) in snd_pcm_update_state()
221 struct snd_pcm_runtime *runtime = substream->runtime; in update_audio_tstamp()
265 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_update_hw_ptr0()
504 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_set_sync()
1123 int snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime, unsigned int cond, in snd_pcm_hw_rule_add()
1177 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_mask()
1199 int snd_pcm_hw_constraint_mask64(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_mask64()
1223 int snd_pcm_hw_constraint_integer(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var) in snd_pcm_hw_constraint_integer()
[all …]
Dpcm_local.h27 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime,
33 struct snd_pcm_runtime *runtime);
Dpcm_memory.c330 struct snd_pcm_runtime *runtime; in snd_pcm_lib_malloc_pages()
381 struct snd_pcm_runtime *runtime; in snd_pcm_lib_free_pages()
401 struct snd_pcm_runtime *runtime; in _snd_pcm_lib_alloc_vmalloc_buffer()
428 struct snd_pcm_runtime *runtime; in snd_pcm_lib_free_vmalloc_buffer()
/Linux-v4.19/sound/isa/gus/
Dgus_pcm.c80 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_block_change()
108 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_trigger_up()
190 struct snd_pcm_runtime *runtime; in snd_gf1_pcm_interrupt_wave()
370 struct snd_pcm_runtime *runtime = substream->runtime; in playback_copy_ack()
389 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_copy()
406 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_copy_kernel()
422 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_silence()
439 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_hw_params()
486 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_hw_free()
507 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_prepare()
[all …]
/Linux-v4.19/sound/core/oss/
Dpcm_oss.c556 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_oss_plugin_clear()
571 struct snd_pcm_runtime *runtime = plugin->plug->runtime; in snd_pcm_plugin_insert()
586 struct snd_pcm_runtime *runtime = plugin->plug->runtime; in snd_pcm_plugin_append()
602 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_oss_bytes()
619 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_alsa_frames()
627 snd_pcm_uframes_t get_hw_ptr_period(struct snd_pcm_runtime *runtime) in get_hw_ptr_period()
703 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_oss_period_size()
827 static int lock_params(struct snd_pcm_runtime *runtime) in lock_params()
838 static void unlock_params(struct snd_pcm_runtime *runtime) in unlock_params()
846 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_oss_change_params_locked()
[all …]
/Linux-v4.19/sound/soc/qcom/
Dlpass-platform.c63 struct snd_pcm_runtime *runtime = substream->runtime; in lpass_platform_pcmops_open()
118 struct snd_pcm_runtime *runtime = substream->runtime; in lpass_platform_pcmops_close()
139 struct snd_pcm_runtime *rt = substream->runtime; in lpass_platform_pcmops_hw_params()
232 struct snd_pcm_runtime *rt = substream->runtime; in lpass_platform_pcmops_hw_free()
249 struct snd_pcm_runtime *runtime = substream->runtime; in lpass_platform_pcmops_prepare()
253 struct snd_pcm_runtime *rt = substream->runtime; in lpass_platform_pcmops_prepare()
305 struct snd_pcm_runtime *rt = substream->runtime; in lpass_platform_pcmops_trigger()
379 struct snd_pcm_runtime *rt = substream->runtime; in lpass_platform_pcmops_pointer()
409 struct snd_pcm_runtime *runtime = substream->runtime; in lpass_platform_pcmops_mmap()
/Linux-v4.19/sound/sh/
Dsh_dac_audio.c117 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sh_dac_pcm_open()
158 struct snd_pcm_runtime *runtime = chip->substream->runtime; in snd_sh_dac_pcm_prepare()
193 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sh_dac_pcm_copy()
213 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sh_dac_pcm_copy_kernel()
232 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sh_dac_pcm_silence()
323 struct snd_pcm_runtime *runtime = chip->substream->runtime; in sh_dac_audio_timer()
/Linux-v4.19/sound/pci/emu10k1/
Demupcm.c95 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_pointer()
290 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_pcm_init_voice()
411 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_hw_params()
446 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_hw_free()
476 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_hw_free()
505 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_prepare()
533 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_prepare()
600 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_capture_prepare()
646 struct snd_pcm_runtime *runtime; in snd_emu10k1_playback_invalidate_cache()
684 struct snd_pcm_runtime *runtime; in snd_emu10k1_playback_prepare_voice()
[all …]
Dp16v.c166 static void snd_p16v_pcm_free_substream(struct snd_pcm_runtime *runtime) in snd_p16v_pcm_free_substream()
179 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_open_playback_channel()
227 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_open_capture_channel()
333 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_playback()
395 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_capture()
461 struct snd_pcm_runtime *runtime; in snd_p16v_pcm_trigger_playback()
515 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_trigger_capture()
545 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_pointer_playback()
570 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_pointer_capture()
/Linux-v4.19/sound/soc/uniphier/
Daio-dma.c30 struct snd_pcm_runtime *runtime = sub->substream->runtime; in aiodma_pcm_irq()
98 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_open()
125 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_prepare()
151 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_trigger()
186 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_pointer()
/Linux-v4.19/sound/soc/samsung/
Didma.c72 struct snd_pcm_runtime *runtime = substream->runtime; in idma_enqueue()
149 struct snd_pcm_runtime *runtime = substream->runtime; in idma_hw_params()
227 struct snd_pcm_runtime *runtime = substream->runtime; in idma_pointer()
245 struct snd_pcm_runtime *runtime = substream->runtime; in idma_mmap()
289 struct snd_pcm_runtime *runtime = substream->runtime; in idma_open()
315 struct snd_pcm_runtime *runtime = substream->runtime; in idma_close()
/Linux-v4.19/sound/soc/qcom/qdsp6/
Dq6asm-dai.c180 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_prepare()
269 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_trigger()
296 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_open()
387 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_close()
409 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_pointer()
422 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_mmap()
435 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_hw_params()
/Linux-v4.19/sound/firewire/fireface/
Damdtp-ff.c36 struct snd_pcm_runtime *runtime = pcm->runtime; in write_pcm_s32()
61 struct snd_pcm_runtime *runtime = pcm->runtime; in read_pcm_s32()
95 struct snd_pcm_runtime *runtime) in amdtp_ff_add_pcm_hw_constraints()
/Linux-v4.19/sound/firewire/tascam/
Damdtp-tascam.c41 struct snd_pcm_runtime *runtime = pcm->runtime; in write_pcm_s32()
66 struct snd_pcm_runtime *runtime = pcm->runtime; in read_pcm_s32()
105 struct snd_pcm_runtime *runtime) in amdtp_tscm_add_pcm_hw_constraints()
/Linux-v4.19/sound/drivers/vx/
Dvx_pcm.c60 static void vx_pcm_read_per_bytes(struct vx_core *chip, struct snd_pcm_runtime *runtime, in vx_pcm_read_per_bytes()
167 struct snd_pcm_runtime *runtime) in vx_set_format()
528 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_open()
625 struct snd_pcm_runtime *runtime, in vx_pcm_playback_transfer_chunk()
663 struct snd_pcm_runtime *runtime, in vx_update_pipe_position()
695 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_transfer()
715 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_update()
785 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_pointer()
814 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_prepare()
918 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_capture_open()
[all …]
/Linux-v4.19/sound/soc/xtensa/
Dxtfpga-i2s.c80 struct snd_pcm_runtime *runtime,
134 struct xtfpga_i2s *i2s, struct snd_pcm_runtime *runtime, \
373 struct snd_pcm_runtime *runtime = substream->runtime; in xtfpga_pcm_open()
394 struct snd_pcm_runtime *runtime = substream->runtime; in xtfpga_pcm_hw_params()
433 struct snd_pcm_runtime *runtime = substream->runtime; in xtfpga_pcm_trigger()
460 struct snd_pcm_runtime *runtime = substream->runtime; in xtfpga_pcm_pointer()
/Linux-v4.19/sound/pcmcia/pdaudiocf/
Dpdaudiocf_pcm.c50 struct snd_pcm_runtime *runtime = subs->runtime; in pdacf_pcm_trigger()
123 struct snd_pcm_runtime *runtime = subs->runtime; in pdacf_pcm_prepare()
229 struct snd_pcm_runtime *runtime = subs->runtime; in pdacf_pcm_capture_open()

12345678910