/linux/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() local 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() local 248 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_da7219_play_startup() local 269 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_da7219_cap_startup() local 291 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_max_startup() local 312 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_dmic0_startup() local 333 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_dmic1_startup() local 360 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_rt5682_play_startup() local [all …]
|
/linux/sound/soc/sof/ |
H A D | compress.c | 50 struct snd_soc_pcm_runtime *rtd; in snd_sof_compr_fragment_elapsed() local 83 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in create_page_table() local 98 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in sof_compr_open() local 136 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in sof_compr_free() local 166 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in sof_compr_set_params() local 272 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in sof_compr_trigger() local 305 static int sof_compr_copy_playback(struct snd_compr_runtime *rtd, in sof_compr_copy_playback() 326 static int sof_compr_copy_capture(struct snd_compr_runtime *rtd, in sof_compr_copy_capture() 351 struct snd_compr_runtime *rtd = cstream->runtime; in sof_compr_copy() local 367 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in sof_compr_pointer() local
|
H A D | pcm.c | 28 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in create_page_table() local 63 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_sof_pcm_period_elapsed() local 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() local 273 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_hw_free() local 298 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_prepare() local 345 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_trigger() local 457 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_pointer() local 496 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_open() local 559 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_close() local [all …]
|
/linux/drivers/rtc/ |
H A D | rtc-test.c | 26 struct rtc_test_data *rtd = dev_get_drvdata(dev); in test_rtc_read_alarm() local 40 struct rtc_test_data *rtd = dev_get_drvdata(dev); in test_rtc_set_alarm() local 65 struct rtc_test_data *rtd = dev_get_drvdata(dev); in test_rtc_read_time() local 74 struct rtc_test_data *rtd = dev_get_drvdata(dev); in test_rtc_set_time() local 83 struct rtc_test_data *rtd = dev_get_drvdata(dev); in test_rtc_alarm_irq_enable() local 110 struct rtc_test_data *rtd = timer_container_of(rtd, t, alarm); in test_rtc_alarm_handler() local 117 struct rtc_test_data *rtd; in test_probe() local
|
/linux/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() local 104 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_free() local 125 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_get_params() local 138 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_set_params() local 169 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_hw_free() local 181 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_prepare() local 220 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_trigger() local 254 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_pointer() local [all …]
|
/linux/sound/soc/ |
H A D | soc-pcm.c | 29 #define soc_pcm_ret(rtd, ret) _soc_pcm_ret(rtd, __func__, ret) argument 30 static inline int _soc_pcm_ret(struct snd_soc_pcm_runtime *rtd, in _soc_pcm_ret() 138 static inline const char *soc_cpu_dai_name(struct snd_soc_pcm_runtime *rtd) in soc_cpu_dai_name() 142 static inline const char *soc_codec_dai_name(struct snd_soc_pcm_runtime *rtd) in soc_codec_dai_name() 269 void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd) in soc_dpcm_debugfs_add() 356 void snd_soc_runtime_action(struct snd_soc_pcm_runtime *rtd, in snd_soc_runtime_action() 386 bool snd_soc_runtime_ignore_pmdown_time(struct snd_soc_pcm_runtime *rtd) in snd_soc_runtime_ignore_pmdown_time() 443 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in soc_pcm_apply_symmetry() local 473 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in soc_pcm_params_symmetry() local 507 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in soc_pcm_update_symmetry() local [all …]
|
H A D | soc-core.c | 74 struct snd_soc_pcm_runtime *rtd = dev_get_drvdata(dev); in pmdown_time_show() local 83 struct snd_soc_pcm_runtime *rtd = dev_get_drvdata(dev); in pmdown_time_store() local 104 struct snd_soc_pcm_runtime *rtd = dev_get_drvdata(dev); in soc_dev_attr_is_visible() local 317 static int snd_soc_rtd_add_component(struct snd_soc_pcm_runtime *rtd, in snd_soc_rtd_add_component() 336 struct snd_soc_component *snd_soc_rtdcom_lookup(struct snd_soc_pcm_runtime *rtd, in snd_soc_rtdcom_lookup() 406 struct snd_soc_pcm_runtime *rtd; in snd_soc_get_pcm_runtime() local 422 void snd_soc_close_delayed_work(struct snd_soc_pcm_runtime *rtd) in snd_soc_close_delayed_work() 453 static void soc_free_pcm_runtime(struct snd_soc_pcm_runtime *rtd) in soc_free_pcm_runtime() 486 struct snd_soc_pcm_runtime *rtd = in close_delayed_work() local 497 struct snd_soc_pcm_runtime *rtd; in soc_new_pcm_runtime() local [all …]
|
/linux/sound/soc/qcom/ |
H A D | sm8250.c | 32 static int sm8250_snd_init(struct snd_soc_pcm_runtime *rtd) in sm8250_snd_init() 46 static void sm8250_snd_exit(struct snd_soc_pcm_runtime *rtd) in sm8250_snd_exit() 57 static int sm8250_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in sm8250_be_hw_params_fixup() 77 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_startup() local 115 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_shutdown() local 127 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_hw_params() local 136 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_prepare() local 147 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_hw_free() local
|
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() local 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() local 116 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc8280xp_snd_prepare() local 127 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc8280xp_snd_hw_free() local
|
H A D | sdm845.c | 62 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_slim_snd_hw_params() local 106 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_tdm_snd_hw_params() local 191 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_snd_hw_params() local 238 static int sdm845_dai_init(struct snd_soc_pcm_runtime *rtd) in sdm845_dai_init() 340 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_snd_startup() local 429 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_snd_shutdown() local 480 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_snd_prepare() local 519 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_snd_hw_free() local 541 static int sdm845_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in sdm845_be_hw_params_fixup()
|
H A D | apq8016_sbc.c | 59 static int apq8016_dai_init(struct snd_soc_pcm_runtime *rtd, int mi2s) in apq8016_dai_init() 149 static int apq8016_sbc_dai_init(struct snd_soc_pcm_runtime *rtd) in apq8016_sbc_dai_init() 185 static int msm8916_qdsp6_dai_init(struct snd_soc_pcm_runtime *rtd) in msm8916_qdsp6_dai_init() 195 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in msm8916_qdsp6_startup() local 216 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in msm8916_qdsp6_shutdown() local 239 static int msm8916_qdsp6_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in msm8916_qdsp6_be_hw_params_fixup()
|
/linux/sound/soc/mediatek/mt8188/ |
H A D | mt8188-mt6359.c | 357 static int mt8188_mt6359_mtkaif_calibration(struct snd_soc_pcm_runtime *rtd) in mt8188_mt6359_mtkaif_calibration() 521 static int mt8188_mt6359_accdet_init(struct snd_soc_pcm_runtime *rtd) in mt8188_mt6359_accdet_init() 550 static int mt8188_mt6359_init(struct snd_soc_pcm_runtime *rtd) in mt8188_mt6359_init() 608 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in mt8188_dptx_hw_params() local 621 static int mt8188_dptx_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in mt8188_dptx_hw_params_fixup() 633 static int mt8188_hdmi_codec_init(struct snd_soc_pcm_runtime *rtd) in mt8188_hdmi_codec_init() 659 static int mt8188_dptx_codec_init(struct snd_soc_pcm_runtime *rtd) in mt8188_dptx_codec_init() 684 static int mt8188_dumb_amp_init(struct snd_soc_pcm_runtime *rtd) in mt8188_dumb_amp_init() 709 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in mt8188_max98390_hw_params() local 737 static int mt8188_max98390_codec_init(struct snd_soc_pcm_runtime *rtd) in mt8188_max98390_codec_init() [all …]
|
/linux/sound/soc/mediatek/mt8195/ |
H A D | mt8195-mt6359.c | 154 static int mt8195_mt6359_mtkaif_calibration(struct snd_soc_pcm_runtime *rtd) in mt8195_mt6359_mtkaif_calibration() 317 static int mt8195_mt6359_init(struct snd_soc_pcm_runtime *rtd) in mt8195_mt6359_init() 344 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in mt8195_dptx_hw_params() local 355 static int mt8195_dptx_codec_init(struct snd_soc_pcm_runtime *rtd) in mt8195_dptx_codec_init() 370 static int mt8195_hdmi_codec_init(struct snd_soc_pcm_runtime *rtd) in mt8195_hdmi_codec_init() 385 static int mt8195_dptx_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in mt8195_dptx_hw_params_fixup() 400 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in mt8195_rt5682_etdm_hw_params() local 442 static int mt8195_rt5682_init(struct snd_soc_pcm_runtime *rtd) in mt8195_rt5682_init() 491 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in mt8195_rt1011_etdm_hw_params() local 524 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in mt8195_sof_be_hw_params() local [all …]
|
/linux/sound/soc/intel/boards/ |
H A D | sof_realtek_common.c | 139 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in rt1011_hw_params() local 186 static int rt1011_init(struct snd_soc_pcm_runtime *rtd) in rt1011_init() 344 static int rt1015p_init(struct snd_soc_pcm_runtime *rtd) in rt1015p_init() 399 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in rt1015_hw_params() local 481 static int speaker_codec_init_lr(struct snd_soc_pcm_runtime *rtd) in speaker_codec_init_lr() 561 static int rt1308_init(struct snd_soc_pcm_runtime *rtd) in rt1308_init() 592 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in rt1308_hw_params() local 650 static int rt1019p_init(struct snd_soc_pcm_runtime *rtd) in rt1019p_init()
|
H A D | sof_maxim_common.c | 113 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in max_98373_hw_params() local 192 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in max_98373_trigger() local 239 static int max_98373_spk_codec_init(struct snd_soc_pcm_runtime *rtd) in max_98373_spk_codec_init() 382 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in max_98390_hw_params() local 416 static int max_98390_init(struct snd_soc_pcm_runtime *rtd) in max_98390_init() 564 static int max_98357a_init(struct snd_soc_pcm_runtime *rtd) in max_98357a_init()
|
H A D | sof_pcm512x.c | 71 static int sof_hdmi_init(struct snd_soc_pcm_runtime *rtd) in sof_hdmi_init() 90 static int sof_pcm512x_codec_init(struct snd_soc_pcm_runtime *rtd) in sof_pcm512x_codec_init() 104 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in aif1_startup() local 115 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in aif1_shutdown() local 177 static int dmic_init(struct snd_soc_pcm_runtime *rtd) in dmic_init()
|
H A D | sof_rt5682.c | 141 static int sof_rt5682_codec_init(struct snd_soc_pcm_runtime *rtd) in sof_rt5682_codec_init() 247 static void sof_rt5682_codec_exit(struct snd_soc_pcm_runtime *rtd) in sof_rt5682_codec_exit() 257 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_rt5682_hw_params() local 458 static int rt5650_spk_init(struct snd_soc_pcm_runtime *rtd) in rt5650_spk_init()
|
/linux/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() local 130 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in tegra_pcm_close() local 145 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in tegra_pcm_hw_params() local 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/sound/soc/amd/raven/ |
H A D | acp3x-pcm-dma.c | 107 static void config_acp3x_dma(struct i2s_stream_instance *rtd, int direction) in config_acp3x_dma() 248 struct i2s_stream_instance *rtd; in acp3x_dma_hw_params() local 298 struct i2s_stream_instance *rtd; in acp3x_dma_pointer() local 315 struct snd_soc_pcm_runtime *rtd) in acp3x_dma_new() 440 struct i2s_stream_instance *rtd = in acp3x_resume() local 457 struct i2s_stream_instance *rtd = in acp3x_resume() local
|
/linux/sound/soc/amd/renoir/ |
H A D | acp3x-pdm-dma.c | 176 static void config_acp_dma(struct pdm_stream_instance *rtd, int direction) in config_acp_dma() 243 struct pdm_stream_instance *rtd; in acp_pdm_dma_hw_params() local 259 static u64 acp_pdm_get_byte_count(struct pdm_stream_instance *rtd, in acp_pdm_get_byte_count() 276 struct pdm_stream_instance *rtd; in acp_pdm_dma_pointer() local 291 struct snd_soc_pcm_runtime *rtd) in acp_pdm_dma_new() 313 struct pdm_stream_instance *rtd; in acp_pdm_dai_trigger() local 448 struct pdm_stream_instance *rtd; in acp_pdm_resume() local
|
/linux/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() local 215 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in stm32_adfsdm_trigger() local 236 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in stm32_adfsdm_pcm_open() local 250 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in stm32_adfsdm_pcm_close() local 263 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in stm32_adfsdm_pcm_pointer() local 274 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in stm32_adfsdm_pcm_hw_params() local 285 struct snd_soc_pcm_runtime *rtd) in stm32_adfsdm_pcm_new()
|
/linux/sound/soc/fsl/ |
H A D | mpc5200_dma.c | 113 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in psc_dma_trigger() local 215 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in psc_dma_open() local 243 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in psc_dma_close() local 269 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in psc_dma_pointer() local 285 struct snd_soc_pcm_runtime *rtd) in psc_dma_new()
|
/linux/sound/soc/google/ |
H A D | chv3-i2s.c | 134 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in chv3_dma_open() local 155 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in chv3_dma_close() local 167 struct snd_soc_pcm_runtime *rtd) in chv3_dma_pcm_construct() 203 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in chv3_dma_prepare() local 232 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in chv3_dma_pointer() local 255 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in chv3_dma_ack() local
|
/linux/sound/soc/ti/ |
H A D | omap-abe-twl6040.c | 48 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in omap_abe_hw_params() local 80 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in omap_abe_dmic_hw_params() local 167 static int omap_abe_twl6040_init(struct snd_soc_pcm_runtime *rtd) in omap_abe_twl6040_init() 203 static int omap_abe_dmic_init(struct snd_soc_pcm_runtime *rtd) in omap_abe_dmic_init()
|
/linux/sound/soc/sdw_utils/ |
H A D | soc_sdw_cs42l43.c | 55 int asoc_sdw_cs42l43_hs_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai) in asoc_sdw_cs42l43_hs_rtd_init() 107 int asoc_sdw_cs42l43_spk_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai) in asoc_sdw_cs42l43_spk_rtd_init() 154 int asoc_sdw_cs42l43_dmic_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai) in asoc_sdw_cs42l43_dmic_rtd_init()
|