| /Linux-v5.15/include/sound/ |
| D | pcm.h | 344 struct snd_pcm_runtime { struct 404 void (*private_free)(struct snd_pcm_runtime *runtime); argument 456 struct snd_pcm_runtime *runtime; 671 static inline ssize_t bytes_to_samples(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_samples() 681 static inline snd_pcm_sframes_t bytes_to_frames(struct snd_pcm_runtime *runtime, ssize_t size) in bytes_to_frames() 691 static inline ssize_t samples_to_bytes(struct snd_pcm_runtime *runtime, ssize_t size) in samples_to_bytes() 701 static inline ssize_t frames_to_bytes(struct snd_pcm_runtime *runtime, snd_pcm_sframes_t size) in frames_to_bytes() 711 static inline int frame_aligned(struct snd_pcm_runtime *runtime, ssize_t bytes) in frame_aligned() 722 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_buffer_bytes() 732 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_lib_period_bytes() [all …]
|
| 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,
|
| /Linux-v5.15/drivers/staging/vc04_services/bcm2835-audio/ |
| D | bcm2835-pcm.c | 47 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()
|
| /Linux-v5.15/sound/pci/ctxfi/ |
| 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()
|
| /Linux-v5.15/sound/soc/dwc/ |
| 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()
|
| /Linux-v5.15/sound/soc/fsl/ |
| 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()
|
| 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() 136 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_hw_params() 294 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_hw_free() 316 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_startup() 391 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_shutdown() 412 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_pcm_pointer()
|
| /Linux-v5.15/sound/isa/gus/ |
| 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_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-v5.15/sound/core/ |
| D | pcm_native.c | 566 static int period_to_usecs(struct snd_pcm_runtime *runtime) in period_to_usecs() 678 struct snd_pcm_runtime *runtime; in snd_pcm_hw_params() 837 struct snd_pcm_runtime *runtime; in snd_pcm_hw_free() 864 struct snd_pcm_runtime *runtime; in snd_pcm_sw_params() 944 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_status64() 1093 struct snd_pcm_runtime *runtime; in snd_pcm_channel_info() 1129 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_trigger_tstamp() 1354 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_pre_start() 1383 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_post_start() 1428 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_pre_stop() [all …]
|
| D | pcm_lib.c | 47 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 …]
|
| D | pcm_local.h | 23 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime, 29 struct snd_pcm_runtime *runtime);
|
| D | pcm_iec958.c | 133 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-v5.15/sound/soc/amd/ |
| D | acp-da7219-max98357a.c | 229 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-v5.15/sound/core/oss/ |
| 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() 688 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() 837 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_oss_change_params_locked() [all …]
|
| /Linux-v5.15/sound/soc/uniphier/ |
| 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()
|
| /Linux-v5.15/sound/pci/emu10k1/ |
| D | emupcm.c | 82 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 …]
|
| D | p16v.c | 152 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()
|
| D | emu10k1x.c | 342 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-v5.15/sound/soc/samsung/ |
| 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() 290 struct snd_pcm_runtime *runtime = substream->runtime; in idma_open() 317 struct snd_pcm_runtime *runtime = substream->runtime; in idma_close()
|
| /Linux-v5.15/sound/drivers/vx/ |
| 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 …]
|
| /Linux-v5.15/sound/firewire/fireface/ |
| 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()
|
| /Linux-v5.15/sound/soc/sprd/ |
| 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()
|
| /Linux-v5.15/sound/pci/aw2/ |
| D | aw2-alsa.c | 309 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_playback_open() 325 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_capture_open() 344 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_prepare_playback() 373 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_prepare_capture() 458 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_pointer_playback() 477 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_pointer_capture()
|
| /Linux-v5.15/sound/soc/xtensa/ |
| 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()
|
| /Linux-v5.15/sound/soc/atmel/ |
| 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()
|