Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.1.9/include/sound/
Dpcm.h347 struct snd_pcm_runtime { struct
411 void (*private_free)(struct snd_pcm_runtime *runtime); argument
463 struct snd_pcm_runtime *runtime;
695 static inline void __snd_pcm_set_state(struct snd_pcm_runtime *runtime, in __snd_pcm_set_state()
709 static inline ssize_t bytes_to_samples(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_samples()
721 static inline snd_pcm_sframes_t bytes_to_frames(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_frames()
733 static inline ssize_t samples_to_bytes(struct snd_pcm_runtime *runtime, ssize_t size) in samples_to_bytes()
745 static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size) in frames_to_bytes()
757 static inline int frame_aligned(struct snd_pcm_runtime *runtime, ssize_t bytes) in frame_aligned()
770 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_buffer_bytes()
[all …]
Dpcm_iec958.h9 int snd_pcm_fill_iec958_consumer(struct snd_pcm_runtime *runtime, u8 *cs,
15 int snd_pcm_create_iec958_consumer(struct snd_pcm_runtime *runtime, u8 *cs,
/linux-6.1.9/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()
88 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_playback_open_generic()
170 struct snd_pcm_runtime *runtime; in snd_bcm2835_playback_close()
198 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_prepare()
237 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_transfer()
246 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_ack()
257 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_trigger()
277 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_pointer()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/sound/soc/fsl/
Dimx-pcm-fiq.c76 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_hw_params()
91 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_prepare()
111 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_trigger()
150 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_pointer()
175 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_open()
205 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_close()
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()
137 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_hw_params()
307 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_hw_free()
329 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_startup()
404 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_shutdown()
425 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_pcm_pointer()
/linux-6.1.9/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()
491 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_prepare()
[all …]
/linux-6.1.9/sound/soc/amd/
Dacp-da7219-max98357a.c229 struct snd_pcm_runtime *runtime = substream->runtime; in cz_da7219_play_startup()
250 struct snd_pcm_runtime *runtime = substream->runtime; in cz_da7219_cap_startup()
272 struct snd_pcm_runtime *runtime = substream->runtime; in cz_max_startup()
293 struct snd_pcm_runtime *runtime = substream->runtime; in cz_dmic0_startup()
314 struct snd_pcm_runtime *runtime = substream->runtime; in cz_dmic1_startup()
341 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_play_startup()
362 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_cap_startup()
384 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_max_startup()
405 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_dmic0_startup()
426 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_dmic1_startup()
/linux-6.1.9/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()
847 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_oss_release_buffers()
[all …]
/linux-6.1.9/sound/core/
Dpcm_native.c579 static int period_to_usecs(struct snd_pcm_runtime *runtime) in period_to_usecs()
691 static int snd_pcm_buffer_access_lock(struct snd_pcm_runtime *runtime) in snd_pcm_buffer_access_lock()
700 static void snd_pcm_buffer_access_unlock(struct snd_pcm_runtime *runtime) in snd_pcm_buffer_access_unlock()
715 struct snd_pcm_runtime *runtime; in snd_pcm_hw_params()
882 struct snd_pcm_runtime *runtime; in snd_pcm_hw_free()
916 struct snd_pcm_runtime *runtime; in snd_pcm_sw_params()
996 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_status64()
1145 struct snd_pcm_runtime *runtime; in snd_pcm_channel_info()
1181 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_trigger_tstamp()
1413 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_pre_start()
[all …]
Dpcm_lib.c47 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_silence()
145 struct snd_pcm_runtime *runtime = substream->runtime; in __snd_pcm_xrun()
182 struct snd_pcm_runtime *runtime) in snd_pcm_update_state()
212 struct snd_pcm_runtime *runtime = substream->runtime; in update_audio_tstamp()
261 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_update_hw_ptr0()
501 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_set_sync()
1120 int snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime, unsigned int cond, in snd_pcm_hw_rule_add()
1174 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_mask()
1196 int snd_pcm_hw_constraint_mask64(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_mask64()
1220 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.h23 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime,
29 struct snd_pcm_runtime *runtime);
Dpcm_iec958.c133 int snd_pcm_fill_iec958_consumer(struct snd_pcm_runtime *runtime, in snd_pcm_fill_iec958_consumer()
176 int snd_pcm_create_iec958_consumer(struct snd_pcm_runtime *runtime, u8 *cs, in snd_pcm_create_iec958_consumer()
/linux-6.1.9/sound/soc/qcom/qdsp6/
Dq6apm-dai.c129 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_prepare()
206 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_trigger()
236 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_open()
314 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_close()
333 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_pointer()
346 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_hw_params()
/linux-6.1.9/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()
/linux-6.1.9/sound/pci/emu10k1/
Demupcm.c82 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_pointer()
277 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_pcm_init_voice()
398 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_hw_params()
434 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_hw_free()
464 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_hw_free()
493 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_prepare()
521 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_prepare()
577 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_capture_prepare()
623 struct snd_pcm_runtime *runtime; in snd_emu10k1_playback_invalidate_cache()
661 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()
214 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_open_capture_channel()
291 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_playback()
353 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_capture()
419 struct snd_pcm_runtime *runtime; in snd_p16v_pcm_trigger_playback()
473 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_trigger_capture()
503 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_pointer_playback()
528 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_pointer_capture()
/linux-6.1.9/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()
287 struct snd_pcm_runtime *runtime = substream->runtime; in idma_open()
314 struct snd_pcm_runtime *runtime = substream->runtime; in idma_close()
/linux-6.1.9/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()
514 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()
701 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_update()
774 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_pointer()
785 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_prepare()
888 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_capture_open()
[all …]
/linux-6.1.9/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-6.1.9/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()
380 struct snd_pcm_runtime *runtime = substream->runtime; in sprd_pcm_pointer()
/linux-6.1.9/sound/pci/aw2/
Daw2-alsa.c313 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_playback_open()
329 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_capture_open()
348 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_prepare_playback()
377 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_prepare_capture()
462 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_pointer_playback()
481 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_pointer_capture()
/linux-6.1.9/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()
/linux-6.1.9/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()

12345678910>>...12