| /linux-6.15/include/sound/ |
| H A D | soc-dpcm.h | 15 struct snd_soc_pcm_runtime; 70 struct snd_soc_pcm_runtime *be; 71 struct snd_soc_pcm_runtime *fe; 125 void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd); 132 int dpcm_path_get(struct snd_soc_pcm_runtime *fe, 135 int dpcm_add_paths(struct snd_soc_pcm_runtime *fe, int stream, 137 int dpcm_be_dai_startup(struct snd_soc_pcm_runtime *fe, int stream); 138 void dpcm_be_dai_stop(struct snd_soc_pcm_runtime *fe, int stream, 140 void dpcm_be_disconnect(struct snd_soc_pcm_runtime *fe, int stream); 142 void dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime *fe, int stream); [all …]
|
| H A D | soc_sdw_utils.h | 60 int (*rtd_init)(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); 156 int (*init)(struct snd_soc_pcm_runtime *rtd), 164 int (*init)(struct snd_soc_pcm_runtime *rtd), 177 int asoc_sdw_rtd_init(struct snd_soc_pcm_runtime *rtd); 180 int asoc_sdw_dmic_init(struct snd_soc_pcm_runtime *rtd); 227 int asoc_sdw_cs_spk_feedback_rtd_init(struct snd_soc_pcm_runtime *rtd, 238 int asoc_sdw_rt_dmic_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); 241 int asoc_sdw_rt700_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); 242 int asoc_sdw_rt711_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); 244 int asoc_sdw_rt5682_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); [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,
|
| H A D | soc.h | 401 struct snd_soc_pcm_runtime; 461 int soc_new_pcm(struct snd_soc_pcm_runtime *rtd); 463 int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd); 478 void snd_soc_runtime_action(struct snd_soc_pcm_runtime *rtd, 633 snd_soc_rtdcom_lookup(struct snd_soc_pcm_runtime *rtd, 748 int (*init)(struct snd_soc_pcm_runtime *rtd); 751 void (*exit)(struct snd_soc_pcm_runtime *rtd); 754 int (*be_hw_params_fixup)(struct snd_soc_pcm_runtime *rtd, 1131 struct snd_soc_pcm_runtime { struct 1187 static inline struct snd_soc_pcm_runtime * argument [all …]
|
| H A D | sof.h | 174 int sof_dai_get_mclk(struct snd_soc_pcm_runtime *rtd); 175 int sof_dai_get_bclk(struct snd_soc_pcm_runtime *rtd); 176 int sof_dai_get_tdm_slots(struct snd_soc_pcm_runtime *rtd);
|
| /linux-6.15/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() 27 int snd_soc_link_init(struct snd_soc_pcm_runtime *rtd) in snd_soc_link_init() 37 void snd_soc_link_exit(struct snd_soc_pcm_runtime *rtd) in snd_soc_link_exit() 43 int snd_soc_link_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in snd_soc_link_be_hw_params_fixup() 56 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_soc_link_startup() 73 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_soc_link_shutdown() 88 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_soc_link_prepare() 101 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_soc_link_hw_params() 172 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_link_compr_startup() 189 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_link_compr_shutdown() [all …]
|
| H A D | soc-pcm.c | 59 struct snd_soc_pcm_runtime *be, in snd_soc_dpcm_check_state() 210 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_show_state() 1408 struct snd_soc_pcm_runtime *be; in dpcm_get_be() 1455 struct snd_soc_pcm_runtime *rtd; in dpcm_end_walk_at_be() 1551 struct snd_soc_pcm_runtime *be; in dpcm_add_paths() 1670 struct snd_soc_pcm_runtime *be; in dpcm_be_dai_startup() 1914 struct snd_soc_pcm_runtime *rtd; in dpcm_apply_symmetry() 2067 struct snd_soc_pcm_runtime *be; in dpcm_be_dai_hw_params() 2179 struct snd_soc_pcm_runtime *be; in dpcm_be_dai_trigger() 2709 struct snd_soc_pcm_runtime *fe; in snd_soc_dpcm_runtime_update() [all …]
|
| H A D | soc-component.c | 512 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_trigger() 533 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_set_params() 554 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_params() 574 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_caps() 598 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_codec_caps() 621 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_ack() 642 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_pointer() 662 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_copy() 686 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_set_metadata() 707 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_metadata() [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 *fe = cstream->private_data; in soc_compr_set_params_fe() [all …]
|
| /linux-6.15/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() 71 static struct snd_soc_pcm_runtime *mtk_sof_find_tplg_be(struct snd_soc_pcm_runtime *rtd) in mtk_sof_find_tplg_be() 76 struct snd_soc_pcm_runtime *fe; in mtk_sof_find_tplg_be() 77 struct snd_soc_pcm_runtime *be; in mtk_sof_find_tplg_be() 110 static int mtk_sof_check_tplg_be_dai_link_fixup(struct snd_soc_pcm_runtime *rtd, in mtk_sof_check_tplg_be_dai_link_fixup() 116 struct snd_soc_pcm_runtime *sof_be; in mtk_sof_check_tplg_be_dai_link_fixup() 142 struct snd_soc_pcm_runtime *rtd; in mtk_sof_card_late_probe() 185 struct snd_soc_pcm_runtime *sof_rtd = NULL; in mtk_sof_card_late_probe()
|
| H A D | mtk-dsp-sof-common.h | 23 int (*be_hw_params_fixup)(struct snd_soc_pcm_runtime *rtd, 31 int (*sof_dai_link_fixup)(struct snd_soc_pcm_runtime *rtd, 35 int mtk_sof_dai_link_fixup(struct snd_soc_pcm_runtime *rtd,
|
| /linux-6.15/sound/soc/qcom/ |
| H A D | sm8250.c | 29 static int sm8250_snd_init(struct snd_soc_pcm_runtime *rtd) in sm8250_snd_init() 36 static int sm8250_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in sm8250_be_hw_params_fixup() 56 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_startup() 94 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_shutdown() 106 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_hw_params() 115 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_prepare() 126 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_hw_free()
|
| H A D | sc7280.c | 60 static int sc7280_headset_init(struct snd_soc_pcm_runtime *rtd) in sc7280_headset_init() 117 static int sc7280_hdmi_init(struct snd_soc_pcm_runtime *rtd) in sc7280_hdmi_init() 141 static int sc7280_rt5682_init(struct snd_soc_pcm_runtime *rtd) in sc7280_rt5682_init() 180 static int sc7280_init(struct snd_soc_pcm_runtime *rtd) in sc7280_init() 209 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc7280_snd_hw_params() 241 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc7280_snd_swr_prepare() 272 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc7280_snd_prepare() 291 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc7280_snd_hw_free() 316 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc7280_snd_shutdown() 347 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc7280_snd_startup() [all …]
|
| H A D | sc7180.c | 57 static int sc7180_headset_init(struct snd_soc_pcm_runtime *rtd) in sc7180_headset_init() 93 static int sc7180_hdmi_init(struct snd_soc_pcm_runtime *rtd) in sc7180_hdmi_init() 119 static int sc7180_init(struct snd_soc_pcm_runtime *rtd) in sc7180_init() 138 static int sc7180_qdsp_init(struct snd_soc_pcm_runtime *rtd) in sc7180_qdsp_init() 158 static int sc7180_startup_realtek_codec(struct snd_soc_pcm_runtime *rtd) in sc7180_startup_realtek_codec() 203 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc7180_snd_startup() 237 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc7180_qdsp_snd_startup() 310 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc7180_snd_shutdown() 337 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc7180_qdsp_snd_shutdown() 371 static int sc7180_adau7002_init(struct snd_soc_pcm_runtime *rtd) in sc7180_adau7002_init() [all …]
|
| H A D | sc8280xp.c | 26 static int sc8280xp_snd_init(struct snd_soc_pcm_runtime *rtd) in sc8280xp_snd_init() 68 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc8280xp_snd_shutdown() 77 static int sc8280xp_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in sc8280xp_be_hw_params_fixup() 107 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc8280xp_snd_hw_params() 116 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc8280xp_snd_prepare() 127 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc8280xp_snd_hw_free()
|
| H A D | x1e80100.c | 27 static int x1e80100_snd_init(struct snd_soc_pcm_runtime *rtd) in x1e80100_snd_init() 55 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in x1e80100_snd_shutdown() 64 static int x1e80100_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in x1e80100_be_hw_params_fixup() 91 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in x1e80100_snd_hw_params() 128 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in x1e80100_snd_prepare() 158 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in x1e80100_snd_hw_free()
|
| H A D | lpass-cdc-dma.c | 36 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in __lpass_get_dmactl_handle() 126 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in __lpass_platform_codec_intf_init() 175 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in lpass_cdc_dma_daiops_startup() 198 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in lpass_cdc_dma_daiops_shutdown() 218 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in lpass_cdc_dma_daiops_hw_params() 261 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in lpass_cdc_dma_daiops_trigger()
|
| H A D | sdw.c | 24 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in qcom_snd_sdw_startup() 85 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in qcom_snd_sdw_prepare() 136 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in qcom_snd_sdw_hw_params() 166 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in qcom_snd_sdw_hw_free()
|
| H A D | sdm845.c | 62 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_slim_snd_hw_params() 102 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_tdm_snd_hw_params() 187 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_snd_hw_params() 234 static int sdm845_dai_init(struct snd_soc_pcm_runtime *rtd) in sdm845_dai_init() 336 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_snd_startup() 425 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_snd_shutdown() 476 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_snd_prepare() 515 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_snd_hw_free() 537 static int sdm845_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in sdm845_be_hw_params_fixup()
|
| /linux-6.15/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 *rtd = cstream->private_data; in uniphier_aio_compr_pointer() [all …]
|
| /linux-6.15/sound/soc/renesas/ |
| H A D | dma-sh7760.c | 121 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in camelot_pcm_open() 155 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in camelot_pcm_close() 177 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in camelot_hw_params() 195 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in camelot_prepare() 243 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in camelot_trigger() 271 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in camelot_pos() 291 struct snd_soc_pcm_runtime *rtd) in camelot_pcm_new()
|
| /linux-6.15/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 = snd_soc_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 = snd_soc_substream_to_rtd(substream); in rt5682_clk_enable() 248 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_da7219_play_startup() 269 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_da7219_cap_startup() 291 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_max_startup() 312 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_dmic0_startup() 333 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_dmic1_startup() 360 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_rt5682_play_startup() [all …]
|
| /linux-6.15/sound/soc/tegra/ |
| H A D | tegra_pcm.c | 79 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in tegra_pcm_open() 130 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in tegra_pcm_close() 145 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 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()
|
| /linux-6.15/sound/soc/sof/ |
| H A D | pcm.c | 28 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in create_page_table() 63 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_sof_pcm_period_elapsed() 88 sof_pcm_setup_connected_widgets(struct snd_sof_dev *sdev, struct snd_soc_pcm_runtime *rtd, in sof_pcm_setup_connected_widgets() 126 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_hw_params() 273 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_hw_free() 298 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_prepare() 345 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_trigger() 457 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_pointer() 496 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_open() 559 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_close() [all …]
|
| /linux-6.15/sound/soc/stm/ |
| H A D | stm32_adfsdm.c | 170 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(priv->substream); in stm32_afsdm_pcm_cb() 215 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in stm32_adfsdm_trigger() 236 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in stm32_adfsdm_pcm_open() 250 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in stm32_adfsdm_pcm_close() 263 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in stm32_adfsdm_pcm_pointer() 274 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in stm32_adfsdm_pcm_hw_params() 285 struct snd_soc_pcm_runtime *rtd) in stm32_adfsdm_pcm_new()
|