/openbmc/linux/include/sound/ |
H A D | pcm.h | 345 struct snd_pcm_runtime { struct 409 void (*private_free)(struct snd_pcm_runtime *runtime); argument 461 struct snd_pcm_runtime *runtime; 693 static inline void __snd_pcm_set_state(struct snd_pcm_runtime *runtime, in __snd_pcm_set_state() 707 static inline ssize_t bytes_to_samples(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_samples() 719 static inline snd_pcm_sframes_t bytes_to_frames(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_frames() 731 static inline ssize_t samples_to_bytes(struct snd_pcm_runtime *runtime, ssize_t size) in samples_to_bytes() 743 static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size) in frames_to_bytes() 755 static inline int frame_aligned(struct snd_pcm_runtime *runtime, ssize_t bytes) in frame_aligned() 768 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_buffer_bytes() [all …]
|
H A D | pcm_iec958.h | 9 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,
|
/openbmc/linux/drivers/staging/vc04_services/bcm2835-audio/ |
H A D | bcm2835-pcm.c | 47 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()
|
/openbmc/linux/sound/pci/ctxfi/ |
H A D | ctpcm.c | 103 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()
|
/openbmc/linux/sound/soc/dwc/ |
H A D | dwc-pcm.c | 26 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()
|
/openbmc/linux/sound/soc/fsl/ |
H A D | imx-pcm-fiq.c | 76 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 D | fsl_asrc_dma.c | 45 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()
|
/openbmc/linux/sound/drivers/ |
H A D | pcmtest.c | 171 static void check_buf_block_i(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) in check_buf_block_i() 195 static void check_buf_block_ni(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) in check_buf_block_ni() 222 static void check_buf_block(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) in check_buf_block() 238 static void fill_block_pattern_n(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) in fill_block_pattern_n() 254 static void fill_block_pattern_i(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) in fill_block_pattern_i() 274 static void fill_block_pattern(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) in fill_block_pattern() 282 static void fill_block_rand_n(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) in fill_block_rand_n() 305 static void fill_block_rand_i(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) in fill_block_rand_i() 318 static void fill_block_random(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) in fill_block_random() 326 static void fill_block(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) in fill_block() [all …]
|
/openbmc/linux/sound/core/ |
H A D | pcm_native.c | 579 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 …]
|
H A D | pcm_lib.c | 37 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() 207 struct snd_pcm_runtime *runtime) in snd_pcm_update_state() 237 struct snd_pcm_runtime *runtime = substream->runtime; in update_audio_tstamp() 286 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_update_hw_ptr0() 526 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_set_sync() 1145 int snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime, unsigned int cond, in snd_pcm_hw_rule_add() 1199 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_mask() 1221 int snd_pcm_hw_constraint_mask64(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, in snd_pcm_hw_constraint_mask64() [all …]
|
H A D | pcm_local.h | 23 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime, 29 struct snd_pcm_runtime *runtime);
|
/openbmc/linux/sound/core/oss/ |
H A D | pcm_oss.c | 541 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 …]
|
/openbmc/linux/sound/isa/gus/ |
H A D | gus_pcm.c | 65 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_silence() 408 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_hw_params() 455 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_hw_free() 475 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_prepare() 489 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_trigger() [all …]
|
/openbmc/linux/sound/soc/amd/ |
H A D | acp-da7219-max98357a.c | 247 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 *runtime = substream->runtime; in cz_rt5682_dmic1_startup()
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | p16v.c | 155 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_open_playback_channel() 188 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_open_capture_channel() 233 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_playback() 300 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_capture() 370 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_interrupt() 383 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_interrupt() 400 struct snd_pcm_runtime *runtime; in snd_p16v_pcm_trigger_playback() 452 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_trigger_capture() 481 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_pointer_playback() 506 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_pointer_capture()
|
H A D | emupcm.c | 206 struct snd_pcm_runtime *runtime) in snd_emu10k1_constrain_capture_rates() 224 struct snd_pcm_runtime *runtime) in snd_emu1010_constrain_efx_rate() 374 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_hw_params() 420 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_hw_free() 443 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_prepare() 473 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_prepare() 522 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_capture_prepare() 608 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_prepare_voices() 745 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_trigger() 790 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_capture_trigger() [all …]
|
/openbmc/linux/sound/soc/uniphier/ |
H A D | aio-dma.c | 30 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()
|
/openbmc/linux/sound/soc/samsung/ |
H A D | idma.c | 66 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()
|
/openbmc/linux/sound/drivers/vx/ |
H A D | vx_pcm.c | 45 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 …]
|
/openbmc/linux/sound/soc/sprd/ |
H A D | sprd-pcm-dma.c | 52 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()
|
/openbmc/linux/sound/pci/aw2/ |
H A D | aw2-alsa.c | 313 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()
|
/openbmc/linux/sound/firewire/fireface/ |
H A D | amdtp-ff.c | 36 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()
|
/openbmc/linux/sound/soc/xtensa/ |
H A D | xtfpga-i2s.c | 77 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()
|
/openbmc/linux/sound/soc/atmel/ |
H A D | atmel-pcm-pdc.c | 141 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()
|
/openbmc/linux/sound/pcmcia/pdaudiocf/ |
H A D | pdaudiocf_pcm.c | 37 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()
|