Home
last modified time | relevance | path

Searched refs:snd_pcm_runtime (Results 1 – 25 of 269) 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 *runtim in snd_pcm_lib_buffer_bytes()
364 statesnd_pcm_runtime global() argument
365 suspended_statesnd_pcm_runtime global() argument
366 trigger_mastersnd_pcm_runtime global() argument
367 trigger_tstampsnd_pcm_runtime global() argument
368 trigger_tstamp_latchedsnd_pcm_runtime global() argument
369 overrangesnd_pcm_runtime global() argument
370 avail_maxsnd_pcm_runtime global() argument
371 hw_ptr_basesnd_pcm_runtime global() argument
372 hw_ptr_interruptsnd_pcm_runtime global() argument
373 hw_ptr_jiffiessnd_pcm_runtime global() argument
374 hw_ptr_buffer_jiffiessnd_pcm_runtime global() argument
375 delaysnd_pcm_runtime global() argument
376 hw_ptr_wrapsnd_pcm_runtime global() argument
379 accesssnd_pcm_runtime global() argument
380 formatsnd_pcm_runtime global() argument
381 subformatsnd_pcm_runtime global() argument
382 ratesnd_pcm_runtime global() argument
383 channelssnd_pcm_runtime global() argument
384 period_sizesnd_pcm_runtime global() argument
385 periodssnd_pcm_runtime global() argument
386 buffer_sizesnd_pcm_runtime global() argument
387 min_alignsnd_pcm_runtime global() argument
388 byte_alignsnd_pcm_runtime global() argument
389 frame_bitssnd_pcm_runtime global() argument
390 sample_bitssnd_pcm_runtime global() argument
391 infosnd_pcm_runtime global() argument
392 rate_numsnd_pcm_runtime global() argument
393 rate_densnd_pcm_runtime global() argument
394 no_period_wakeupsnd_pcm_runtime global() argument
397 tstamp_modesnd_pcm_runtime global() argument
398 period_stepsnd_pcm_runtime global() argument
399 start_thresholdsnd_pcm_runtime global() argument
400 stop_thresholdsnd_pcm_runtime global() argument
401 silence_thresholdsnd_pcm_runtime global() argument
402 silence_sizesnd_pcm_runtime global() argument
429 hwsnd_pcm_runtime global() argument
430 hw_constraintssnd_pcm_runtime global() argument
433 timer_resolutionsnd_pcm_runtime global() argument
434 tstamp_typesnd_pcm_runtime global() argument
437 dma_areasnd_pcm_runtime global() argument
438 dma_addrsnd_pcm_runtime global() argument
439 dma_bytessnd_pcm_runtime global() argument
441 dma_buffer_psnd_pcm_runtime global() argument
442 buffer_changedsnd_pcm_runtime global() argument
445 audio_tstamp_configsnd_pcm_runtime global() argument
446 audio_tstamp_reportsnd_pcm_runtime global() argument
447 driver_tstampsnd_pcm_runtime global() argument
451 osssnd_pcm_runtime global() argument
[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()
204 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()
325 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_hw_free()
347 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_startup()
422 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_shutdown()
443 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_pcm_pointer()
/linux/sound/core/
H A Dpcm_native.c601 static int period_to_usecs(struct snd_pcm_runtime *runtime) in period_to_usecs()
712 static int snd_pcm_buffer_access_lock(struct snd_pcm_runtime *runtime) in snd_pcm_buffer_access_lock()
721 static void snd_pcm_buffer_access_unlock(struct snd_pcm_runtime *runtime) in snd_pcm_buffer_access_unlock()
728 void snd_pcm_runtime_buffer_set_silence(struct snd_pcm_runtime *runtime) in snd_pcm_runtime_buffer_set_silence()
747 struct snd_pcm_runtime *runtime; in snd_pcm_hw_params()
912 struct snd_pcm_runtime *runtime; in snd_pcm_hw_free()
946 struct snd_pcm_runtime *runtime; in snd_pcm_sw_params()
1024 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_status64()
1171 struct snd_pcm_runtime *runtime; in snd_pcm_channel_info()
1205 struct snd_pcm_runtime *runtim in snd_pcm_trigger_tstamp()
[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 *runtim
[all...]
H A Dpcm_local.h23 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime,
29 struct snd_pcm_runtime *runtime);
H A 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/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 *runtim in snd_gf1_pcm_playback_trigger()
[all...]
/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 *runtim in snd_pcm_oss_release_buffers()
[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/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 *runtim in snd_p16v_pcm_pointer_capture()
[all...]
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 *runtim in snd_emu10k1_capture_trigger()
[all...]
/linux/sound/soc/amd/
H A Dacp-da7219-max98357a.c247 struct snd_pcm_runtime *runtime = substream->runtime; in cz_da7219_play_startup()
268 struct snd_pcm_runtime *runtime = substream->runtime; in cz_da7219_cap_startup()
290 struct snd_pcm_runtime *runtime = substream->runtime; in cz_max_startup()
311 struct snd_pcm_runtime *runtime = substream->runtime; in cz_dmic0_startup()
332 struct snd_pcm_runtime *runtime = substream->runtime; in cz_dmic1_startup()
359 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_play_startup()
380 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_cap_startup()
402 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_max_startup()
423 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_dmic0_startup()
444 struct snd_pcm_runtime *runtim in cz_rt5682_dmic1_startup()
[all...]
/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 *runtim in vx_pcm_capture_open()
[all...]
/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/pci/aw2/
H A Daw2-alsa.c312 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_playback_open()
328 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_capture_open()
347 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_prepare_playback()
376 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_prepare_capture()
461 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_pointer_playback()
480 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/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/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()
/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()

1234567891011