/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() local 556 struct snd_pcm_runtime *runtime = plugin->plug->runtime; in snd_pcm_plugin_insert() local 571 struct snd_pcm_runtime *runtime = plugin->plug->runtime; in snd_pcm_plugin_append() local 587 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_oss_bytes() local 604 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_alsa_frames() local 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() local 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() local [all …]
|
/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() local 170 struct snd_pcm_runtime *runtime; in snd_bcm2835_playback_close() local 198 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_prepare() local 237 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_transfer() local 246 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_ack() local 257 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_trigger() local 277 struct snd_pcm_runtime *runtime = substream->runtime; in snd_bcm2835_pcm_pointer() local
|
/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() local 202 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_prepare() local 223 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_trigger() local 249 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_playback_pointer() local 264 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_open() local 315 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_prepare() local 332 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_trigger() local 355 struct snd_pcm_runtime *runtime = substream->runtime; in ct_pcm_capture_pointer() local
|
/openbmc/linux/sound/isa/sb/ |
H A D | sb16_main.c | 37 #define runtime_format_bits(runtime) \ argument 41 static void snd_sb16_csp_playback_prepare(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_playback_prepare() 89 static void snd_sb16_csp_capture_prepare(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_capture_prepare() 140 static void snd_sb16_csp_playback_open(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_playback_open() 171 static void snd_sb16_csp_capture_open(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_capture_open() 202 #define snd_sb16_csp_playback_prepare(chip, runtime) /*nop*/ argument 203 #define snd_sb16_csp_capture_prepare(chip, runtime) /*nop*/ argument 205 #define snd_sb16_csp_playback_open(chip, runtime) /*nop*/ argument 207 #define snd_sb16_csp_capture_open(chip, runtime) /*nop*/ argument 239 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb16_playback_prepare() local [all …]
|
H A D | sb8_main.c | 94 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb8_playback_prepare() local 211 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb8_playback_trigger() local 232 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb8_capture_prepare() local 336 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb8_capture_trigger() local 466 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sb8_open() local
|
/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() local 93 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_trigger_up() local 175 struct snd_pcm_runtime *runtime; in snd_gf1_pcm_interrupt_wave() local 355 struct snd_pcm_runtime *runtime = substream->runtime; in playback_copy_ack() local 374 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_copy() local 391 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_silence() local 408 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_hw_params() local 455 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_hw_free() local 475 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_prepare() local 489 struct snd_pcm_runtime *runtime = substream->runtime; in snd_gf1_pcm_playback_trigger() local [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() local 882 struct snd_pcm_runtime *runtime; in snd_pcm_hw_free() local 916 struct snd_pcm_runtime *runtime; in snd_pcm_sw_params() local 996 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_status64() local 1145 struct snd_pcm_runtime *runtime; in snd_pcm_channel_info() local 1181 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_trigger_tstamp() local 1413 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_pre_start() local [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() local 170 struct snd_pcm_runtime *runtime = substream->runtime; in __snd_pcm_xrun() local 207 struct snd_pcm_runtime *runtime) in snd_pcm_update_state() 237 struct snd_pcm_runtime *runtime = substream->runtime; in update_audio_tstamp() local 286 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_update_hw_ptr0() local 526 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_set_sync() local 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 | rawmidi.c | 101 static inline bool __snd_rawmidi_ready(struct snd_rawmidi_runtime *runtime) in __snd_rawmidi_ready() 120 struct snd_rawmidi_runtime *runtime = substream->runtime; in snd_rawmidi_ready_append() local 128 struct snd_rawmidi_runtime *runtime = in snd_rawmidi_input_event_work() local 136 static inline void snd_rawmidi_buffer_ref(struct snd_rawmidi_runtime *runtime) in snd_rawmidi_buffer_ref() 141 static inline void snd_rawmidi_buffer_unref(struct snd_rawmidi_runtime *runtime) in snd_rawmidi_buffer_unref() 165 struct snd_rawmidi_runtime *runtime; in snd_rawmidi_runtime_create() local 193 static inline int get_align(struct snd_rawmidi_runtime *runtime) in get_align() 202 #define get_aligned_size(runtime, size) ((size) & ~get_align(runtime)) argument 206 struct snd_rawmidi_runtime *runtime = substream->runtime; in snd_rawmidi_runtime_free() local 230 static void __reset_runtime_ptrs(struct snd_rawmidi_runtime *runtime, in __reset_runtime_ptrs() [all …]
|
/openbmc/linux/sound/soc/fsl/ |
H A D | fsl_asrc_dma.c | 45 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_complete() local 59 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_prepare_and_submit() local 100 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_trigger() local 137 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_hw_params() local 312 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_hw_free() local 334 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_startup() local 409 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_shutdown() local 430 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_pcm_pointer() local
|
H A D | imx-pcm-fiq.c | 76 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_hw_params() local 91 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_prepare() local 111 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_trigger() local 150 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_pcm_pointer() local 175 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_open() local 205 struct snd_pcm_runtime *runtime = substream->runtime; in snd_imx_close() local
|
/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() local 268 struct snd_pcm_runtime *runtime = substream->runtime; in cz_da7219_cap_startup() local 290 struct snd_pcm_runtime *runtime = substream->runtime; in cz_max_startup() local 311 struct snd_pcm_runtime *runtime = substream->runtime; in cz_dmic0_startup() local 332 struct snd_pcm_runtime *runtime = substream->runtime; in cz_dmic1_startup() local 359 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_play_startup() local 380 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_cap_startup() local 402 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_max_startup() local 423 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_dmic0_startup() local 444 struct snd_pcm_runtime *runtime = substream->runtime; in cz_rt5682_dmic1_startup() local
|
/openbmc/linux/sound/soc/qcom/qdsp6/ |
H A D | q6apm-dai.c | 225 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_prepare() local 303 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_trigger() local 333 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_open() local 412 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_close() local 431 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_pointer() local 450 struct snd_pcm_runtime *runtime = substream->runtime; in q6apm_dai_hw_params() local 482 struct snd_compr_runtime *runtime = stream->runtime; in q6apm_dai_compr_open() local 528 struct snd_compr_runtime *runtime = stream->runtime; in q6apm_dai_compr_free() local 578 struct snd_compr_runtime *runtime = stream->runtime; in q6apm_dai_compr_pointer() local 593 struct snd_compr_runtime *runtime = stream->runtime; in q6apm_dai_compr_trigger() local [all …]
|
H A D | q6asm-dai.c | 220 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_prepare() local 321 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_trigger() local 352 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_open() local 445 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_close() local 469 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_pointer() local 482 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_hw_params() local 605 struct snd_compr_runtime *runtime = stream->runtime; in q6asm_dai_compr_open() local 667 struct snd_compr_runtime *runtime = stream->runtime; in q6asm_dai_compr_free() local 699 struct snd_compr_runtime *runtime = stream->runtime; in __q6asm_dai_compr_set_codec_params() local 876 struct snd_compr_runtime *runtime = stream->runtime; in q6asm_dai_compr_set_params() local [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() local 50 struct snd_compr_runtime *runtime = sub->cstream->runtime; in aiodma_compr_irq() local 99 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_open() local 110 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_prepare() local 137 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_trigger() local 173 struct snd_pcm_runtime *runtime = substream->runtime; in uniphier_aiodma_pointer() local
|
/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() local 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() local 701 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_update() local 774 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_pointer() local 785 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_prepare() local 888 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_capture_open() local [all …]
|
/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() local 188 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_open_capture_channel() local 233 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_playback() local 300 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_prepare_capture() local 370 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_interrupt() local 383 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_interrupt() local 400 struct snd_pcm_runtime *runtime; in snd_p16v_pcm_trigger_playback() local 452 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_trigger_capture() local 481 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_pointer_playback() local 506 struct snd_pcm_runtime *runtime = substream->runtime; in snd_p16v_pcm_pointer_capture() local
|
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() local 420 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_hw_free() local 443 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_prepare() local 473 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_efx_playback_prepare() local 522 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_capture_prepare() local 608 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_prepare_voices() local 745 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_playback_trigger() local 790 struct snd_pcm_runtime *runtime = substream->runtime; in snd_emu10k1_capture_trigger() local [all …]
|
/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/soc/sprd/ |
H A D | sprd-pcm-compress.c | 106 struct snd_compr_runtime *runtime = cstream->runtime; in sprd_platform_compr_drain_notify() local 117 struct snd_compr_runtime *runtime = cstream->runtime; in sprd_platform_compr_dma_complete() local 134 struct snd_compr_runtime *runtime = cstream->runtime; in sprd_platform_compr_dma_config() local 268 struct snd_compr_runtime *runtime = cstream->runtime; in sprd_platform_compr_set_params() local 318 struct snd_compr_runtime *runtime = cstream->runtime; in sprd_platform_compr_open() local 395 struct snd_compr_runtime *runtime = cstream->runtime; in sprd_platform_compr_free() local 422 struct snd_compr_runtime *runtime = cstream->runtime; in sprd_platform_compr_trigger() local 518 struct snd_compr_runtime *runtime = cstream->runtime; in sprd_platform_compr_pointer() local 533 struct snd_compr_runtime *runtime = cstream->runtime; in sprd_platform_compr_copy() local
|
/openbmc/linux/sound/soc/dwc/ |
H A D | dwc-pcm.c | 141 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_open() local 163 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_hw_params() local 195 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_trigger() local 230 struct snd_pcm_runtime *runtime = substream->runtime; in dw_pcm_pointer() local
|
/openbmc/linux/sound/usb/usx2y/ |
H A D | usx2yhwdeppcm.c | 52 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usx2y_usbpcm_urb_capt_retire() local 86 static int usx2y_iso_frames_per_buffer(struct snd_pcm_runtime *runtime, in usx2y_iso_frames_per_buffer() 108 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usx2y_hwdep_urb_play_prepare() local 361 struct snd_pcm_runtime *runtime = substream->runtime; in snd_usx2y_usbpcm_hw_free() local 497 struct snd_pcm_runtime *runtime = substream->runtime; in snd_usx2y_usbpcm_prepare() local 590 struct snd_pcm_runtime *runtime = substream->runtime; in snd_usx2y_usbpcm_open() local 607 struct snd_pcm_runtime *runtime = substream->runtime; in snd_usx2y_usbpcm_close() local
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | intel_device_info.c | 93 const struct intel_runtime_info *runtime, in intel_device_info_print() 329 struct intel_runtime_info *runtime = RUNTIME_INFO(i915); in intel_ipver_early_init() local 387 struct intel_runtime_info *runtime = RUNTIME_INFO(dev_priv); in intel_device_info_runtime_init() local 426 struct intel_runtime_info *runtime; in intel_device_info_driver_create() local
|
/openbmc/linux/sound/soc/samsung/ |
H A D | idma.c | 66 struct snd_pcm_runtime *runtime = substream->runtime; in idma_enqueue() local 144 struct snd_pcm_runtime *runtime = substream->runtime; in idma_hw_params() local 226 struct snd_pcm_runtime *runtime = substream->runtime; in idma_pointer() local 245 struct snd_pcm_runtime *runtime = substream->runtime; in idma_mmap() local 287 struct snd_pcm_runtime *runtime = substream->runtime; in idma_open() local 314 struct snd_pcm_runtime *runtime = substream->runtime; in idma_close() local
|
/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() local 329 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_capture_open() local 348 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_prepare_playback() local 377 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_prepare_capture() local 462 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_pointer_playback() local 481 struct snd_pcm_runtime *runtime = substream->runtime; in snd_aw2_pcm_pointer_capture() local
|