Home
last modified time | relevance | path

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

1234567891011

/Linux-v5.4/include/sound/
Dpcm.h342 struct snd_pcm_runtime { struct
401 void (*private_free)(struct snd_pcm_runtime *runtime); argument
452 struct snd_pcm_runtime *runtime;
661 static inline ssize_t bytes_to_samples(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_samples()
671 static inline snd_pcm_sframes_t bytes_to_frames(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_frames()
681 static inline ssize_t samples_to_bytes(struct snd_pcm_runtime *runtime, ssize_t size) in samples_to_bytes()
691 static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size) in frames_to_bytes()
701 static inline int frame_aligned(struct snd_pcm_runtime *runtime, ssize_t bytes) in frame_aligned()
712 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_buffer_bytes()
722 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_period_bytes()
[all …]
/Linux-v5.4/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-pcm.c47 static void snd_bcm2835_playback_free(struct snd_pcm_runtime *runtime) in snd_bcm2835_playback_free()
89 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_playback_open_generic()
171 struct snd_pcm_runtime *runtime; in snd_bcm2835_playback_close()
210 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_prepare()
249 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_transfer()
258 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_ack()
269 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_trigger()
289 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_pointer()
/Linux-v5.4/sound/pci/ctxfi/
Dctpcm.c103 static void ct_atc_pcm_free_substream(struct snd_pcm_runtime *runtime) in ct_atc_pcm_free_substream()
118 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_open()
208 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_prepare()
229 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_trigger()
255 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_pointer()
270 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_open()
321 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_prepare()
338 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_trigger()
361 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_pointer()
/Linux-v5.4/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-v5.4/sound/soc/fsl/
Dimx-pcm-fiq.c75 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_hw_params()
90 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_prepare()
109 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_trigger()
146 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_pointer()
170 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_open()
199 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_close()
212 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-v5.4/sound/core/
Dpcm_native.c525 static int period_to_usecs(struct snd_pcm_runtime *runtime) in period_to_usecs()
625 struct snd_pcm_runtime *runtime; in snd_pcm_hw_params()
750 struct snd_pcm_runtime *runtime; in snd_pcm_hw_free()
778 struct snd_pcm_runtime *runtime; in snd_pcm_sw_params()
858 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_status()
945 struct snd_pcm_runtime *runtime; in snd_pcm_channel_info()
981 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_trigger_tstamp()
1198 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_pre_start()
1224 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_post_start()
1268 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_pre_stop()
[all …]
Dpcm_lib.c47 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_silence()
144 struct snd_pcm_runtime *runtime = substream->runtime; in __snd_pcm_xrun()
176 struct snd_pcm_runtime *runtime) in snd_pcm_update_state()
206 struct snd_pcm_runtime *runtime = substream->runtime; in update_audio_tstamp()
250 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_update_hw_ptr0()
489 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_set_sync()
1108 int snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime, unsigned int cond, in snd_pcm_hw_rule_add()
1162 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_mask()
1184 int snd_pcm_hw_constraint_mask64(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_mask64()
1208 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.h26 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime,
32 struct snd_pcm_runtime *runtime);
Dpcm_memory.c289 struct snd_pcm_runtime *runtime; in snd_pcm_lib_malloc_pages()
340 struct snd_pcm_runtime *runtime; in snd_pcm_lib_free_pages()
360 struct snd_pcm_runtime *runtime; in _snd_pcm_lib_alloc_vmalloc_buffer()
387 struct snd_pcm_runtime *runtime; in snd_pcm_lib_free_vmalloc_buffer()
/Linux-v5.4/sound/isa/gus/
Dgus_pcm.c65 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_block_change()
93 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_trigger_up()
175 struct snd_pcm_runtime *runtime; in snd_gf1_pcm_interrupt_wave()
355 struct snd_pcm_runtime *runtime = substream->runtime; in playback_copy_ack()
374 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_copy()
391 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_copy_kernel()
407 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_silence()
424 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_hw_params()
471 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_hw_free()
492 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_prepare()
[all …]
/Linux-v5.4/sound/core/oss/
Dpcm_oss.c541 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_oss_plugin_clear()
556 struct snd_pcm_runtime *runtime = plugin->plug->runtime; in snd_pcm_plugin_insert()
571 struct snd_pcm_runtime *runtime = plugin->plug->runtime; in snd_pcm_plugin_append()
587 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_oss_bytes()
604 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_alsa_frames()
612 snd_pcm_uframes_t get_hw_ptr_period(struct snd_pcm_runtime *runtime) in get_hw_ptr_period()
688 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_oss_period_size()
812 static int lock_params(struct snd_pcm_runtime *runtime) in lock_params()
823 static void unlock_params(struct snd_pcm_runtime *runtime) in unlock_params()
831 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_oss_change_params_locked()
[all …]
/Linux-v5.4/sound/soc/qcom/
Dlpass-platform.c55 struct snd_pcm_runtime *runtime = substream->runtime; in lpass_platform_pcmops_open()
110 struct snd_pcm_runtime *runtime = substream->runtime; in lpass_platform_pcmops_close()
131 struct snd_pcm_runtime *rt = substream->runtime; in lpass_platform_pcmops_hw_params()
224 struct snd_pcm_runtime *rt = substream->runtime; in lpass_platform_pcmops_hw_free()
241 struct snd_pcm_runtime *runtime = substream->runtime; in lpass_platform_pcmops_prepare()
245 struct snd_pcm_runtime *rt = substream->runtime; in lpass_platform_pcmops_prepare()
297 struct snd_pcm_runtime *rt = substream->runtime; in lpass_platform_pcmops_trigger()
371 struct snd_pcm_runtime *rt = substream->runtime; in lpass_platform_pcmops_pointer()
401 struct snd_pcm_runtime *runtime = substream->runtime; in lpass_platform_pcmops_mmap()
/Linux-v5.4/sound/sh/
Dsh_dac_audio.c102 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sh_dac_pcm_open()
143 struct snd_pcm_runtime *runtime = chip->substream->runtime; in snd_sh_dac_pcm_prepare()
178 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sh_dac_pcm_copy()
198 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sh_dac_pcm_copy_kernel()
217 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sh_dac_pcm_silence()
308 struct snd_pcm_runtime *runtime = chip->substream->runtime; in sh_dac_audio_timer()
/Linux-v5.4/sound/pci/emu10k1/
Demupcm.c81 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_pointer()
276 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_pcm_init_voice()
397 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_hw_params()
432 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_hw_free()
462 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_hw_free()
491 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_prepare()
519 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_prepare()
586 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_capture_prepare()
632 struct snd_pcm_runtime *runtime; in snd_emu10k1_playback_invalidate_cache()
670 struct snd_pcm_runtime *runtime; in snd_emu10k1_playback_prepare_voice()
[all …]
Dp16v.c152 static void snd_p16v_pcm_free_substream(struct snd_pcm_runtime *runtime) in snd_p16v_pcm_free_substream()
165 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_open_playback_channel()
213 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_open_capture_channel()
319 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_playback()
381 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_capture()
447 struct snd_pcm_runtime *runtime; in snd_p16v_pcm_trigger_playback()
501 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_trigger_capture()
531 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_pointer_playback()
556 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_pointer_capture()
/Linux-v5.4/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-v5.4/sound/soc/samsung/
Didma.c66 struct snd_pcm_runtime *runtime = substream->runtime; in idma_enqueue()
143 struct snd_pcm_runtime *runtime = substream->runtime; in idma_hw_params()
221 struct snd_pcm_runtime *runtime = substream->runtime; in idma_pointer()
239 struct snd_pcm_runtime *runtime = substream->runtime; in idma_mmap()
283 struct snd_pcm_runtime *runtime = substream->runtime; in idma_open()
309 struct snd_pcm_runtime *runtime = substream->runtime; in idma_close()
/Linux-v5.4/sound/drivers/vx/
Dvx_pcm.c45 static void vx_pcm_read_per_bytes(struct vx_core *chip, struct snd_pcm_runtime *runtime, in vx_pcm_read_per_bytes()
152 struct snd_pcm_runtime *runtime) in vx_set_format()
513 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_open()
610 struct snd_pcm_runtime *runtime, in vx_pcm_playback_transfer_chunk()
648 struct snd_pcm_runtime *runtime, in vx_update_pipe_position()
680 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_transfer()
700 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_update()
770 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_pointer()
799 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_prepare()
903 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_capture_open()
[all …]
/Linux-v5.4/sound/soc/amd/
Dacp-da7219-max98357a.c143 struct snd_pcm_runtime *runtime = substream->runtime; in cz_da7219_play_startup()
164 struct snd_pcm_runtime *runtime = substream->runtime; in cz_da7219_cap_startup()
186 struct snd_pcm_runtime *runtime = substream->runtime; in cz_max_startup()
207 struct snd_pcm_runtime *runtime = substream->runtime; in cz_dmic0_startup()
228 struct snd_pcm_runtime *runtime = substream->runtime; in cz_dmic1_startup()
/Linux-v5.4/sound/firewire/fireface/
Damdtp-ff.c36 struct snd_pcm_runtime *runtime = pcm->runtime; in write_pcm_s32()
66 struct snd_pcm_runtime *runtime = pcm->runtime; in read_pcm_s32()
104 struct snd_pcm_runtime *runtime) in amdtp_ff_add_pcm_hw_constraints()
/Linux-v5.4/sound/soc/sprd/
Dsprd-pcm-dma.c51 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_open()
116 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_close()
146 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_release_dma_channel()
163 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_request_dma_channel()
196 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_hw_params()
392 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_pointer()
450 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_mmap()
/Linux-v5.4/sound/soc/xtensa/
Dxtfpga-i2s.c77 struct snd_pcm_runtime *runtime,
131 struct xtfpga_i2s *i2s, struct snd_pcm_runtime *runtime, \
370 struct snd_pcm_runtime *runtime = substream->runtime; in xtfpga_pcm_open()
391 struct snd_pcm_runtime *runtime = substream->runtime; in xtfpga_pcm_hw_params()
430 struct snd_pcm_runtime *runtime = substream->runtime; in xtfpga_pcm_trigger()
457 struct snd_pcm_runtime *runtime = substream->runtime; in xtfpga_pcm_pointer()
/Linux-v5.4/sound/pci/aw2/
Daw2-alsa.c384 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_playback_open()
400 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_capture_open()
433 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_prepare_playback()
462 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_prepare_capture()
547 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_pointer_playback()
566 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_pointer_capture()
/Linux-v5.4/sound/pcmcia/pdaudiocf/
Dpdaudiocf_pcm.c37 struct snd_pcm_runtime *runtime = subs->runtime; in pdacf_pcm_trigger()
110 struct snd_pcm_runtime *runtime = subs->runtime; in pdacf_pcm_prepare()
216 struct snd_pcm_runtime *runtime = subs->runtime; in pdacf_pcm_capture_open()

1234567891011