Home
last modified time | relevance | path

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

1234567891011

/kernel/linux/linux-5.10/include/sound/
Dpcm.h344 struct snd_pcm_runtime { struct
406 void (*private_free)(struct snd_pcm_runtime *runtime); argument
458 struct snd_pcm_runtime *runtime;
673 static inline ssize_t bytes_to_samples(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_samples()
683 static inline snd_pcm_sframes_t bytes_to_frames(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_frames()
693 static inline ssize_t samples_to_bytes(struct snd_pcm_runtime *runtime, ssize_t size) in samples_to_bytes()
703 static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size) in frames_to_bytes()
713 static inline int frame_aligned(struct snd_pcm_runtime *runtime, ssize_t bytes) in frame_aligned()
724 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_buffer_bytes()
734 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_period_bytes()
[all …]
/kernel/linux/linux-5.10/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()
199 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_prepare()
238 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_transfer()
247 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_ack()
258 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_trigger()
278 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_pointer()
/kernel/linux/linux-5.10/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()
202 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_prepare()
223 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_trigger()
249 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_pointer()
264 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_open()
315 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_prepare()
332 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_trigger()
355 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_pointer()
/kernel/linux/linux-5.10/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, \
141 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_open()
163 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_hw_params()
195 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_trigger()
230 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_pointer()
/kernel/linux/linux-5.10/sound/soc/fsl/
Dimx-pcm-fiq.c76 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_hw_params()
92 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_prepare()
112 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()
176 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_open()
206 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_close()
220 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_mmap()
Dfsl_asrc_dma.c45 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_complete()
59 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_prepare_and_submit()
100 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_trigger()
136 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_hw_params()
293 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_hw_free()
317 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_startup()
392 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_shutdown()
413 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_pcm_pointer()
/kernel/linux/linux-5.10/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()
468 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_hw_free()
488 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_prepare()
[all …]
/kernel/linux/linux-5.10/sound/core/
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()
181 struct snd_pcm_runtime *runtime) in snd_pcm_update_state()
211 struct snd_pcm_runtime *runtime = substream->runtime; in update_audio_tstamp()
260 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_update_hw_ptr0()
500 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_set_sync()
1119 int snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime, unsigned int cond, in snd_pcm_hw_rule_add()
1173 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_mask()
1195 int snd_pcm_hw_constraint_mask64(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_mask64()
1219 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_native.c561 static int period_to_usecs(struct snd_pcm_runtime *runtime) in period_to_usecs()
673 static int snd_pcm_buffer_access_lock(struct snd_pcm_runtime *runtime) in snd_pcm_buffer_access_lock()
682 static void snd_pcm_buffer_access_unlock(struct snd_pcm_runtime *runtime) in snd_pcm_buffer_access_unlock()
697 struct snd_pcm_runtime *runtime; in snd_pcm_hw_params()
863 struct snd_pcm_runtime *runtime; in snd_pcm_hw_free()
897 struct snd_pcm_runtime *runtime; in snd_pcm_sw_params()
977 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_status64()
1126 struct snd_pcm_runtime *runtime; in snd_pcm_channel_info()
1162 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_trigger_tstamp()
1394 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_pre_start()
[all …]
Dpcm_local.h23 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime,
29 struct snd_pcm_runtime *runtime);
/kernel/linux/linux-5.10/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()
689 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_oss_period_size()
829 static int lock_params(struct snd_pcm_runtime *runtime) in lock_params()
840 static void unlock_params(struct snd_pcm_runtime *runtime) in unlock_params()
848 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_oss_change_params_locked()
[all …]
/kernel/linux/linux-5.10/sound/soc/uniphier/
Daio-dma.c30 struct snd_pcm_runtime *runtime = sub->substream->runtime; in aiodma_pcm_irq()
99 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_open()
110 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_prepare()
137 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_trigger()
173 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_pointer()
/kernel/linux/linux-5.10/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()
575 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_capture_prepare()
621 struct snd_pcm_runtime *runtime; in snd_emu10k1_playback_invalidate_cache()
659 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()
289 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_playback()
351 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_capture()
417 struct snd_pcm_runtime *runtime; in snd_p16v_pcm_trigger_playback()
471 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_trigger_capture()
501 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_pointer_playback()
526 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_pointer_capture()
Demu10k1x.c344 static void snd_emu10k1x_pcm_free_substream(struct snd_pcm_runtime *runtime) in snd_emu10k1x_pcm_free_substream()
372 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1x_playback_open()
405 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1x_pcm_hw_params()
420 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1x_pcm_hw_free()
441 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1x_pcm_prepare()
471 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1x_pcm_trigger()
508 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1x_pcm_pointer()
551 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1x_pcm_open_capture()
584 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1x_pcm_hw_params_capture()
601 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1x_pcm_hw_free_capture()
[all …]
/kernel/linux/linux-5.10/sound/soc/samsung/
Didma.c66 struct snd_pcm_runtime *runtime = substream->runtime; in idma_enqueue()
144 struct snd_pcm_runtime *runtime = substream->runtime; in idma_hw_params()
226 struct snd_pcm_runtime *runtime = substream->runtime; in idma_pointer()
245 struct snd_pcm_runtime *runtime = substream->runtime; in idma_mmap()
290 struct snd_pcm_runtime *runtime = substream->runtime; in idma_open()
317 struct snd_pcm_runtime *runtime = substream->runtime; in idma_close()
/kernel/linux/linux-5.10/sound/soc/bcm/
Dbcm63xx-pcm-whistler.c49 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_hw_params()
152 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_prepare()
197 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_mmap()
210 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_open()
243 struct snd_pcm_runtime *runtime = substream->runtime; in bcm63xx_pcm_close()
255 struct snd_pcm_runtime *runtime; in i2s_dma_isr()
/kernel/linux/linux-5.10/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()
151 struct snd_pcm_runtime *runtime) in vx_set_format()
512 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_open()
608 struct snd_pcm_runtime *runtime, in vx_pcm_playback_transfer_chunk()
646 struct snd_pcm_runtime *runtime, in vx_update_pipe_position()
678 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_transfer()
698 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_update()
768 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_pointer()
779 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_prepare()
879 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_capture_open()
[all …]
/kernel/linux/linux-5.10/sound/soc/sprd/
Dsprd-pcm-dma.c52 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_open()
115 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_close()
142 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_release_dma_channel()
160 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_request_dma_channel()
191 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_hw_params()
386 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_pointer()
442 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_mmap()
/kernel/linux/linux-5.10/sound/soc/amd/
Dacp-da7219-max98357a.c153 struct snd_pcm_runtime *runtime = substream->runtime; in cz_da7219_play_startup()
174 struct snd_pcm_runtime *runtime = substream->runtime; in cz_da7219_cap_startup()
196 struct snd_pcm_runtime *runtime = substream->runtime; in cz_max_startup()
217 struct snd_pcm_runtime *runtime = substream->runtime; in cz_dmic0_startup()
238 struct snd_pcm_runtime *runtime = substream->runtime; in cz_dmic1_startup()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/soc/xtensa/
Dxtfpga-i2s.c77 struct snd_pcm_runtime *runtime,
131 struct xtfpga_i2s *i2s, struct snd_pcm_runtime *runtime, \
371 struct snd_pcm_runtime *runtime = substream->runtime; in xtfpga_pcm_open()
393 struct snd_pcm_runtime *runtime = substream->runtime; in xtfpga_pcm_hw_params()
431 struct snd_pcm_runtime *runtime = substream->runtime; in xtfpga_pcm_trigger()
459 struct snd_pcm_runtime *runtime = substream->runtime; in xtfpga_pcm_pointer()
/kernel/linux/linux-5.10/sound/pci/aw2/
Daw2-alsa.c376 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_playback_open()
392 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_capture_open()
411 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_prepare_playback()
440 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_prepare_capture()
525 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_pointer_playback()
544 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_pointer_capture()
/kernel/linux/linux-5.10/sound/pcmcia/pdaudiocf/
Dpdaudiocf_pcm.c37 struct snd_pcm_runtime *runtime = subs->runtime; in pdacf_pcm_trigger()
92 struct snd_pcm_runtime *runtime = subs->runtime; in pdacf_pcm_prepare()
198 struct snd_pcm_runtime *runtime = subs->runtime; in pdacf_pcm_capture_open()
/kernel/linux/linux-5.10/sound/soc/qcom/
Dlpass-platform.c103 struct snd_pcm_runtime *runtime = substream->runtime; in lpass_platform_pcmops_open()
167 struct snd_pcm_runtime *runtime = substream->runtime; in lpass_platform_pcmops_close()
194 struct snd_pcm_runtime *rt = substream->runtime; in lpass_platform_pcmops_hw_params()
352 struct snd_pcm_runtime *rt = substream->runtime; in lpass_platform_pcmops_hw_free()
377 struct snd_pcm_runtime *runtime = substream->runtime; in lpass_platform_pcmops_prepare()
381 struct snd_pcm_runtime *rt = substream->runtime; in lpass_platform_pcmops_prepare()
448 struct snd_pcm_runtime *rt = substream->runtime; in lpass_platform_pcmops_trigger()
599 struct snd_pcm_runtime *rt = substream->runtime; in lpass_platform_pcmops_pointer()
637 struct snd_pcm_runtime *runtime = substream->runtime; in lpass_platform_pcmops_mmap()

1234567891011