Home
last modified time | relevance | path

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

1234567891011

/linux/include/sound/
H A Dpcm.h362 struct snd_pcm_runtime { struct
426 void (*private_free)(struct snd_pcm_runtime *runtime); argument
478 struct snd_pcm_runtime *runtime;
725 static inline void __snd_pcm_set_state(struct snd_pcm_runtime *runtime, in __snd_pcm_set_state()
739 static inline ssize_t bytes_to_samples(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_samples()
751 static inline snd_pcm_sframes_t bytes_to_frames(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_frames()
763 static inline ssize_t samples_to_bytes(struct snd_pcm_runtime *runtime, ssize_t size) in samples_to_bytes()
775 static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size) in frames_to_bytes()
787 static inline int frame_aligned(struct snd_pcm_runtime *runtime, ssize_t bytes) in frame_aligned()
800 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_buffer_bytes()
[all …]
H A 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/drivers/staging/vc04_services/bcm2835-audio/
H A 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/sound/pci/ctxfi/
H A 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/sound/soc/dwc/
H A 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/sound/soc/fsl/
H A 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()
H A 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()
312 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_hw_free()
334 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_startup()
409 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_shutdown()
430 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_pcm_pointer()
/linux/sound/core/
H A Dpcm_native.c600 static int period_to_usecs(struct snd_pcm_runtime *runtime) in period_to_usecs()
711 static int snd_pcm_buffer_access_lock(struct snd_pcm_runtime *runtime) in snd_pcm_buffer_access_lock()
720 static void snd_pcm_buffer_access_unlock(struct snd_pcm_runtime *runtime) in snd_pcm_buffer_access_unlock()
735 struct snd_pcm_runtime *runtime; in snd_pcm_hw_params()
900 struct snd_pcm_runtime *runtime; in snd_pcm_hw_free()
934 struct snd_pcm_runtime *runtime; in snd_pcm_sw_params()
1012 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_status64()
1159 struct snd_pcm_runtime *runtime; in snd_pcm_channel_info()
1193 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_trigger_tstamp()
1419 struct snd_pcm_runtime *runtim in snd_pcm_pre_start()
[all...]
H A Dpcm_lib.c37 static inline void update_silence_vars(struct snd_pcm_runtime *runtime, in update_silence_vars()
66 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_silence()
170 struct snd_pcm_runtime *runtime = substream->runtime; in __snd_pcm_xrun()
210 struct snd_pcm_runtime *runtime) in snd_pcm_update_state()
240 struct snd_pcm_runtime *runtime = substream->runtime; in update_audio_tstamp()
289 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_update_hw_ptr0()
1165 int snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime, unsigned int cond, in snd_pcm_hw_rule_add()
1219 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_mask()
1241 int snd_pcm_hw_constraint_mask64(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_mask64()
1265 int snd_pcm_hw_constraint_integer(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var) in snd_pcm_hw_constraint_integer()
[all …]
H A Dpcm_local.h23 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime,
29 struct snd_pcm_runtime *runtime);
/linux/sound/core/oss/
H A Dpcm_oss.c533 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_oss_plugin_clear()
548 struct snd_pcm_runtime *runtime = plugin->plug->runtime; in snd_pcm_plugin_insert()
563 struct snd_pcm_runtime *runtime = plugin->plug->runtime; in snd_pcm_plugin_append()
579 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_oss_bytes()
596 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_alsa_frames()
604 snd_pcm_uframes_t get_hw_ptr_period(struct snd_pcm_runtime *runtime) in get_hw_ptr_period()
681 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_oss_period_size()
818 static int lock_params(struct snd_pcm_runtime *runtime) in lock_params()
829 static void unlock_params(struct snd_pcm_runtime *runtime) in unlock_params()
836 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_oss_release_buffers()
[all …]
/linux/sound/isa/gus/
H A Dgus_pcm.c65 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_block_change()
89 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_trigger_up()
166 struct snd_pcm_runtime *runtime; in snd_gf1_pcm_interrupt_wave()
341 struct snd_pcm_runtime *runtime = substream->runtime; in playback_copy_ack()
360 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_copy()
377 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_silence()
394 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_hw_params()
441 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_hw_free()
461 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_prepare()
475 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_trigger()
[all …]
/linux/sound/pci/emu10k1/
H A Dp16v.c155 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_open_playback_channel()
183 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_open_capture_channel()
239 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_playback()
306 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_capture()
376 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_interrupt()
389 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_interrupt()
406 struct snd_pcm_runtime *runtime; in snd_p16v_pcm_trigger_playback()
458 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_trigger_capture()
487 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_pointer_playback()
512 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_pointer_capture()
H A Demupcm.c186 struct snd_pcm_runtime *runtime) in snd_emu10k1_constrain_capture_rates()
203 struct snd_pcm_runtime *runtime) in snd_emu1010_constrain_efx_rate()
353 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_hw_params()
399 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_hw_free()
422 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_prepare()
452 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_prepare()
501 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_capture_prepare()
587 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_prepare_voices()
724 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_trigger()
769 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_capture_trigger()
[all …]
H A Demu10k1x.c342 static void snd_emu10k1x_pcm_free_substream(struct snd_pcm_runtime *runtime) in snd_emu10k1x_pcm_free_substream()
371 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()
586 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1x_pcm_hw_params_capture()
603 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1x_pcm_hw_free_capture()
[all …]
/linux/sound/soc/uniphier/
H A 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/sound/soc/samsung/
H A 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/sound/drivers/vx/
H A 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()
516 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_open()
612 struct snd_pcm_runtime *runtime, in vx_pcm_playback_transfer_chunk()
650 struct snd_pcm_runtime *runtime, in vx_update_pipe_position()
682 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_transfer()
703 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_update()
776 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_pointer()
787 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_prepare()
892 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_capture_open()
[all …]
/linux/sound/pci/aw2/
H A 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/sound/soc/sprd/
H A 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/sound/firewire/fireface/
H A 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/sound/soc/xtensa/
H A 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/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-ahb-audio.c211 struct snd_pcm_runtime *runtime) in dw_hdmi_create_cs()
321 struct snd_pcm_runtime *runtime = substream->runtime; in dw_hdmi_open()
392 struct snd_pcm_runtime *runtime = substream->runtime; in dw_hdmi_hw_free()
402 struct snd_pcm_runtime *runtime = substream->runtime; in dw_hdmi_hw_params()
426 struct snd_pcm_runtime *runtime = substream->runtime; in dw_hdmi_prepare()
521 struct snd_pcm_runtime *runtime = substream->runtime; in dw_hdmi_pointer()
/linux/sound/soc/atmel/
H A Datmel-pcm-pdc.c141 struct snd_pcm_runtime *runtime = substream->runtime; in atmel_pcm_hw_params()
195 struct snd_pcm_runtime *rtd = substream->runtime; in atmel_pcm_trigger()
261 struct snd_pcm_runtime *runtime = substream->runtime; in atmel_pcm_pointer()
279 struct snd_pcm_runtime *runtime = substream->runtime; in atmel_pcm_open()
/linux/sound/pcmcia/pdaudiocf/
H A 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()

1234567891011