/kernel/linux/linux-5.10/include/sound/ |
H A D | soc-dpcm.h | 15 struct snd_soc_pcm_runtime; 71 struct snd_soc_pcm_runtime *be; 72 struct snd_soc_pcm_runtime *fe; 117 int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe, 118 struct snd_soc_pcm_runtime *be, int stream); 121 int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe, 122 struct snd_soc_pcm_runtime *be, int stream); 125 int snd_soc_dpcm_can_be_prepared(struct snd_soc_pcm_runtime *fe, 126 struct snd_soc_pcm_runtime *be, int stream); 129 int snd_soc_dpcm_fe_can_update(struct snd_soc_pcm_runtime *f [all...] |
H A D | soc-link.h | 11 int snd_soc_link_init(struct snd_soc_pcm_runtime *rtd); 12 void snd_soc_link_exit(struct snd_soc_pcm_runtime *rtd); 13 int snd_soc_link_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | soc-dpcm.h | 15 struct snd_soc_pcm_runtime; 71 struct snd_soc_pcm_runtime *be; 72 struct snd_soc_pcm_runtime *fe; 118 int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe, 119 struct snd_soc_pcm_runtime *be, int stream); 122 int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe, 123 struct snd_soc_pcm_runtime *be, int stream); 126 int snd_soc_dpcm_can_be_prepared(struct snd_soc_pcm_runtime *fe, 127 struct snd_soc_pcm_runtime *be, int stream); 130 int snd_soc_dpcm_fe_can_update(struct snd_soc_pcm_runtime *f [all...] |
H A D | soc-link.h | 11 int snd_soc_link_init(struct snd_soc_pcm_runtime *rtd); 12 void snd_soc_link_exit(struct snd_soc_pcm_runtime *rtd); 13 int snd_soc_link_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
|
/kernel/linux/linux-5.10/sound/soc/ |
H A D | soc-link.c | 12 static inline int _soc_link_ret(struct snd_soc_pcm_runtime *rtd, in _soc_link_ret() 41 int snd_soc_link_init(struct snd_soc_pcm_runtime *rtd) in snd_soc_link_init() 51 void snd_soc_link_exit(struct snd_soc_pcm_runtime *rtd) in snd_soc_link_exit() 57 int snd_soc_link_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in snd_soc_link_be_hw_params_fixup() 70 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_link_startup() 87 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_link_shutdown() 102 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_link_prepare() 115 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_link_hw_params() 127 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_link_hw_free() 136 struct snd_soc_pcm_runtime *rt in snd_soc_link_trigger() [all...] |
H A D | soc-pcm.c | 61 static ssize_t dpcm_show_state(struct snd_soc_pcm_runtime *fe, in dpcm_show_state() 97 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_show_state() 124 struct snd_soc_pcm_runtime *fe = file->private_data; in dpcm_state_read_file() 157 void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd) in soc_dpcm_debugfs_add() 219 void snd_soc_runtime_action(struct snd_soc_pcm_runtime *rtd, in snd_soc_runtime_action() 241 bool snd_soc_runtime_ignore_pmdown_time(struct snd_soc_pcm_runtime *rtd) in snd_soc_runtime_ignore_pmdown_time() 280 int dpcm_dapm_stream_event(struct snd_soc_pcm_runtime *fe, int dir, in dpcm_dapm_stream_event() 287 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_dapm_stream_event() 307 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_apply_symmetry() 364 struct snd_soc_pcm_runtime *rt in soc_pcm_params_symmetry() [all...] |
H A D | soc-compress.c | 28 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_components_open() 55 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_components_free() 75 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_open() 118 struct snd_soc_pcm_runtime *fe = cstream->private_data; in soc_compr_open_fe() 197 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_free() 236 struct snd_soc_pcm_runtime *fe = cstream->private_data; in soc_compr_free_fe() 284 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_components_trigger() 304 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_trigger() 335 struct snd_soc_pcm_runtime *fe = cstream->private_data; in soc_compr_trigger_fe() 386 struct snd_soc_pcm_runtime *rt in soc_compr_components_set_params() [all...] |
H A D | soc-component.c | 618 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_pointer() 633 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_ioctl() 650 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_sync_stop() 670 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_copy_user() 689 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_page() 710 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_mmap() 725 int snd_soc_pcm_component_new(struct snd_soc_pcm_runtime *rtd) in snd_soc_pcm_component_new() 742 void snd_soc_pcm_component_free(struct snd_soc_pcm_runtime *rtd) in snd_soc_pcm_component_free() 757 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_prepare() 776 struct snd_soc_pcm_runtime *rt in snd_soc_pcm_component_hw_params() [all...] |
/kernel/linux/linux-6.6/sound/soc/ |
H A D | soc-link.c | 12 static inline int _soc_link_ret(struct snd_soc_pcm_runtime *rtd, in _soc_link_ret() 41 int snd_soc_link_init(struct snd_soc_pcm_runtime *rtd) in snd_soc_link_init() 51 void snd_soc_link_exit(struct snd_soc_pcm_runtime *rtd) in snd_soc_link_exit() 57 int snd_soc_link_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in snd_soc_link_be_hw_params_fixup() 70 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_link_startup() 87 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_link_shutdown() 102 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_link_prepare() 115 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_link_hw_params() 131 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_link_hw_free() 146 struct snd_soc_pcm_runtime *rt in soc_link_trigger() [all...] |
H A D | soc-pcm.c | 30 static inline int _soc_pcm_ret(struct snd_soc_pcm_runtime *rtd, in _soc_pcm_ret() 52 static inline void snd_soc_dpcm_stream_lock_irq(struct snd_soc_pcm_runtime *rtd, in snd_soc_dpcm_stream_lock_irq() 61 static inline void snd_soc_dpcm_stream_unlock_irq(struct snd_soc_pcm_runtime *rtd, in snd_soc_dpcm_stream_unlock_irq() 72 static inline const char *soc_cpu_dai_name(struct snd_soc_pcm_runtime *rtd) in soc_cpu_dai_name() 76 static inline const char *soc_codec_dai_name(struct snd_soc_pcm_runtime *rtd) in soc_codec_dai_name() 110 static ssize_t dpcm_show_state(struct snd_soc_pcm_runtime *fe, in dpcm_show_state() 144 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_show_state() 170 struct snd_soc_pcm_runtime *fe = file->private_data; in dpcm_state_read_file() 205 void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd) in soc_dpcm_debugfs_add() 257 static void dpcm_set_fe_update_state(struct snd_soc_pcm_runtime *f [all...] |
H A D | soc-compress.c | 26 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_compr_components_open() 47 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_compr_components_free() 59 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_clean() 100 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_open() 135 struct snd_soc_pcm_runtime *fe = cstream->private_data; in soc_compr_open_fe() 205 struct snd_soc_pcm_runtime *fe = cstream->private_data; in soc_compr_free_fe() 246 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_trigger() 278 struct snd_soc_pcm_runtime *fe = cstream->private_data; in soc_compr_trigger_fe() 325 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_set_params() 369 struct snd_soc_pcm_runtime *f in soc_compr_set_params_fe() [all...] |
H A D | soc-component.c | 510 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_trigger() 531 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_set_params() 552 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_params() 572 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_caps() 596 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_codec_caps() 619 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_ack() 640 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_pointer() 660 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_copy() 684 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_set_metadata() 705 struct snd_soc_pcm_runtime *rt in snd_soc_component_compr_get_metadata() [all...] |
/kernel/linux/linux-6.6/sound/soc/qcom/ |
H A D | sm8250.c | 28 static int sm8250_snd_init(struct snd_soc_pcm_runtime *rtd) in sm8250_snd_init() 35 static int sm8250_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in sm8250_be_hw_params_fixup() 53 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sm8250_snd_startup() 75 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sm8250_snd_hw_params() 84 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sm8250_snd_prepare() 95 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sm8250_snd_hw_free()
|
H A D | sc7280.c | 57 static int sc7280_headset_init(struct snd_soc_pcm_runtime *rtd) in sc7280_headset_init() 114 static int sc7280_hdmi_init(struct snd_soc_pcm_runtime *rtd) in sc7280_hdmi_init() 138 static int sc7280_rt5682_init(struct snd_soc_pcm_runtime *rtd) in sc7280_rt5682_init() 177 static int sc7280_init(struct snd_soc_pcm_runtime *rtd) in sc7280_init() 206 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc7280_snd_hw_params() 238 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc7280_snd_swr_prepare() 269 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc7280_snd_prepare() 288 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc7280_snd_hw_free() 313 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc7280_snd_shutdown() 340 struct snd_soc_pcm_runtime *rt in sc7280_snd_startup() [all...] |
H A D | sc8280xp.c | 27 static int sc8280xp_snd_init(struct snd_soc_pcm_runtime *rtd) in sc8280xp_snd_init() 53 static int sc8280xp_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in sc8280xp_be_hw_params_fixup() 83 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc8280xp_snd_hw_params() 92 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc8280xp_snd_prepare() 103 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc8280xp_snd_hw_free()
|
H A D | lpass-cdc-dma.c | 35 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in __lpass_get_dmactl_handle() 125 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in __lpass_platform_codec_intf_init() 174 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in lpass_cdc_dma_daiops_startup() 197 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in lpass_cdc_dma_daiops_shutdown() 217 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in lpass_cdc_dma_daiops_hw_params() 260 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in lpass_cdc_dma_daiops_trigger()
|
/kernel/linux/linux-6.6/sound/soc/amd/ |
H A D | acp-da7219-max98357a.c | 53 static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd) in cz_da7219_init() 109 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in da7219_clk_enable() 133 static int cz_rt5682_init(struct snd_soc_pcm_runtime *rtd) in cz_rt5682_init() 194 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in rt5682_clk_enable() 248 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in cz_da7219_play_startup() 269 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in cz_da7219_cap_startup() 291 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in cz_max_startup() 312 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in cz_dmic0_startup() 333 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in cz_dmic1_startup() 360 struct snd_soc_pcm_runtime *rt in cz_rt5682_play_startup() [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/boards/ |
H A D | sof_realtek_common.c | 71 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in rt1011_hw_params() 118 static int rt1011_init(struct snd_soc_pcm_runtime *rtd) in rt1011_init() 217 static int rt1015p_init(struct snd_soc_pcm_runtime *rtd) in rt1015p_init() 267 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in rt1015_hw_params() 349 static int speaker_codec_init_lr(struct snd_soc_pcm_runtime *rtd) in speaker_codec_init_lr() 395 static int rt1308_init(struct snd_soc_pcm_runtime *rtd) in rt1308_init() 426 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in rt1308_hw_params() 484 static int rt1019p_init(struct snd_soc_pcm_runtime *rtd) in rt1019p_init()
|
/kernel/linux/linux-5.10/sound/soc/uniphier/ |
H A D | aio-compress.c | 24 static int uniphier_aio_comprdma_new(struct snd_soc_pcm_runtime *rtd) in uniphier_aio_comprdma_new() 57 static int uniphier_aio_comprdma_free(struct snd_soc_pcm_runtime *rtd) in uniphier_aio_comprdma_free() 78 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_open() 104 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_free() 125 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_get_params() 138 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_set_params() 174 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_hw_free() 186 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_prepare() 225 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_trigger() 259 struct snd_soc_pcm_runtime *rt in uniphier_aio_compr_pointer() [all...] |
/kernel/linux/linux-6.6/sound/soc/uniphier/ |
H A D | aio-compress.c | 24 static int uniphier_aio_comprdma_new(struct snd_soc_pcm_runtime *rtd) in uniphier_aio_comprdma_new() 57 static int uniphier_aio_comprdma_free(struct snd_soc_pcm_runtime *rtd) in uniphier_aio_comprdma_free() 78 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_open() 104 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_free() 125 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_get_params() 138 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_set_params() 169 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_hw_free() 181 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_prepare() 220 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_trigger() 254 struct snd_soc_pcm_runtime *rt in uniphier_aio_compr_pointer() [all...] |
/kernel/linux/linux-6.6/sound/soc/tegra/ |
H A D | tegra_pcm.c | 79 struct snd_soc_pcm_runtime *rtd = substream->private_data; in tegra_pcm_open() 130 struct snd_soc_pcm_runtime *rtd = substream->private_data; in tegra_pcm_close() 145 struct snd_soc_pcm_runtime *rtd = substream->private_data; in tegra_pcm_hw_params() 194 static int tegra_pcm_dma_allocate(struct device *dev, struct snd_soc_pcm_runtime *rtd, in tegra_pcm_dma_allocate() 208 struct snd_soc_pcm_runtime *rtd) in tegra_pcm_construct()
|
/kernel/linux/linux-6.6/sound/soc/mediatek/common/ |
H A D | mtk-dsp-sof-common.c | 13 int mtk_sof_dai_link_fixup(struct snd_soc_pcm_runtime *rtd, in mtk_sof_dai_link_fixup() 23 struct snd_soc_pcm_runtime *runtime; in mtk_sof_dai_link_fixup() 70 struct snd_soc_pcm_runtime *rtd; in mtk_sof_card_late_probe() 92 struct snd_soc_pcm_runtime *sof_rtd = NULL; in mtk_sof_card_late_probe() 93 struct snd_soc_pcm_runtime *normal_rtd = NULL; in mtk_sof_card_late_probe()
|
/kernel/linux/linux-5.10/sound/soc/intel/boards/ |
H A D | sof_sdw_rt1308.c | 38 static int first_spk_init(struct snd_soc_pcm_runtime *rtd) in first_spk_init() 70 static int second_spk_init(struct snd_soc_pcm_runtime *rtd) in second_spk_init() 82 static int all_spk_init(struct snd_soc_pcm_runtime *rtd) in all_spk_init() 96 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in rt1308_i2s_hw_params()
|
/kernel/linux/linux-5.10/sound/soc/stm/ |
H A D | stm32_adfsdm.c | 169 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(priv->substream); in stm32_afsdm_pcm_cb() 214 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in stm32_adfsdm_trigger() 235 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in stm32_adfsdm_pcm_open() 249 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in stm32_adfsdm_pcm_close() 262 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in stm32_adfsdm_pcm_pointer() 273 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in stm32_adfsdm_pcm_hw_params() 284 struct snd_soc_pcm_runtime *rtd) in stm32_adfsdm_pcm_new()
|
/kernel/linux/linux-5.10/sound/soc/tegra/ |
H A D | tegra_pcm.c | 73 struct snd_soc_pcm_runtime *rtd = substream->private_data; in tegra_pcm_open() 121 struct snd_soc_pcm_runtime *rtd = substream->private_data; in tegra_pcm_close() 136 struct snd_soc_pcm_runtime *rtd = substream->private_data; in tegra_pcm_hw_params() 183 struct snd_soc_pcm_runtime *rtd = substream->private_data; in tegra_pcm_hw_free() 198 struct snd_soc_pcm_runtime *rtd = substream->private_data; in tegra_pcm_mmap() 251 static int tegra_pcm_dma_allocate(struct snd_soc_pcm_runtime *rtd, in tegra_pcm_dma_allocate() 289 struct snd_soc_pcm_runtime *rtd) in tegra_pcm_construct()
|