| /linux/include/sound/ |
| H A D | soc_sdw_utils.h | 75 int (*rtd_init)(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); 168 int (*init)(struct snd_soc_pcm_runtime *rtd), 175 int no_pcm, int (*init)(struct snd_soc_pcm_runtime *rtd), 192 int asoc_sdw_rtd_init(struct snd_soc_pcm_runtime *rtd); 195 int asoc_sdw_dmic_init(struct snd_soc_pcm_runtime *rtd); 262 int asoc_sdw_rt_dmic_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); 263 int asoc_sdw_rt_sdca_jack_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); 264 int asoc_sdw_rt_amp_spk_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); 265 int asoc_sdw_rt700_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); 266 int asoc_sdw_rt711_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 | 418 struct snd_soc_pcm_runtime; 472 int soc_new_pcm(struct snd_soc_pcm_runtime *rtd); 474 int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd); 476 static inline int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd) in snd_soc_new_compress() 482 struct snd_soc_pcm_runtime *snd_soc_get_pcm_runtime(struct snd_soc_card *card, 485 bool snd_soc_runtime_ignore_pmdown_time(struct snd_soc_pcm_runtime *rtd); 487 void snd_soc_runtime_action(struct snd_soc_pcm_runtime *rtd, 489 static inline void snd_soc_runtime_activate(struct snd_soc_pcm_runtime *rtd, in snd_soc_runtime_activate() 494 static inline void snd_soc_runtime_deactivate(struct snd_soc_pcm_runtime *rtd, in snd_soc_runtime_deactivate() 500 int snd_soc_runtime_calc_hw(struct snd_soc_pcm_runtime *rtd, [all …]
|
| /linux/sound/soc/ |
| H A D | soc-pcm.c | 34 static inline int _soc_pcm_ret(struct snd_soc_pcm_runtime *rtd, in DEFINE_GUARD() 43 static int snd_soc_dpcm_can_fe_update(struct snd_soc_pcm_runtime *fe, int stream) 52 static int snd_soc_dpcm_can_be_update(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_update() 53 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_update() 62 static int snd_soc_dpcm_check_state(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_check_state() 63 struct snd_soc_pcm_runtime *be, in snd_soc_dpcm_check_state() 95 static int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_free_stop() 96 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_free_stop() 111 static int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_params() 112 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_params() [all …]
|
| H A D | soc-component.c | 472 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_trigger() 493 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_set_params() 514 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_params() 534 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_caps() 558 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_codec_caps() 581 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_ack() 602 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_pointer() 622 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_copy() 646 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_set_metadata() 667 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_metadata() [all …]
|
| /linux/sound/soc/qcom/ |
| H A D | usb_offload_utils.h | 11 int qcom_snd_usb_offload_jack_setup(struct snd_soc_pcm_runtime *rtd, 14 int qcom_snd_usb_offload_jack_remove(struct snd_soc_pcm_runtime *rtd, 17 static inline int qcom_snd_usb_offload_jack_setup(struct snd_soc_pcm_runtime *rtd, in qcom_snd_usb_offload_jack_setup() 24 static inline int qcom_snd_usb_offload_jack_remove(struct snd_soc_pcm_runtime *rtd, in qcom_snd_usb_offload_jack_remove()
|
| H A D | sc7280.c | 58 static int sc7280_headset_init(struct snd_soc_pcm_runtime *rtd) in sc7280_headset_init() 115 static int sc7280_hdmi_init(struct snd_soc_pcm_runtime *rtd) in sc7280_hdmi_init() 139 static int sc7280_rt5682_init(struct snd_soc_pcm_runtime *rtd) in sc7280_rt5682_init() 178 static int sc7280_init(struct snd_soc_pcm_runtime *rtd) in sc7280_init() 207 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc7280_snd_hw_params() 219 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc7280_snd_swr_prepare() 228 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc7280_snd_prepare() 247 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc7280_snd_hw_free() 256 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc7280_snd_shutdown() 285 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc7280_snd_startup() [all …]
|
| H A D | sm8250.c | 31 static int sm8250_snd_init(struct snd_soc_pcm_runtime *rtd) in sm8250_snd_init() 47 static void sm8250_snd_exit(struct snd_soc_pcm_runtime *rtd) in sm8250_snd_exit() 58 static int sm8250_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in sm8250_be_hw_params_fixup() 78 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_startup() 140 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 149 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_add_be_ops()
|
| H A D | sdm845.c | 60 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_slim_snd_hw_params() 97 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_tdm_snd_hw_params() 182 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_snd_hw_params() 229 static int sdm845_dai_init(struct snd_soc_pcm_runtime *rtd) 331 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_snd_startup() 422 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_snd_shutdown() 471 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_snd_prepare() 480 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_snd_hw_free() 495 static int sdm845_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
|
| H A D | common.c | 26 static struct device_node *qcom_snd_get_link_node(struct snd_soc_pcm_runtime *rtd) in qcom_snd_get_link_node() 98 static int qcom_snd_parse_dai_tdm_slots(struct snd_soc_pcm_runtime *rtd, in qcom_snd_parse_dai_tdm_slots() 122 int qcom_snd_get_dai_tdm_slots(struct snd_soc_pcm_runtime *rtd, in qcom_snd_get_dai_tdm_slots() 136 int qcom_snd_apply_dai_tdm_slots_cfg(struct snd_soc_pcm_runtime *rtd, in qcom_snd_apply_dai_tdm_slots_cfg() 167 int qcom_snd_apply_dai_tdm_slots(struct snd_soc_pcm_runtime *rtd) in qcom_snd_apply_dai_tdm_slots() 342 int qcom_snd_wcd_jack_setup(struct snd_soc_pcm_runtime *rtd, in qcom_snd_wcd_jack_setup() 397 int qcom_snd_dp_jack_setup(struct snd_soc_pcm_runtime *rtd, in qcom_snd_dp_jack_setup()
|
| 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() 216 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in msm8916_qdsp6_shutdown() 239 static int msm8916_qdsp6_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in msm8916_qdsp6_be_hw_params_fixup()
|
| H A D | x1e80100.c | 26 static int x1e80100_snd_init(struct snd_soc_pcm_runtime *rtd) in x1e80100_snd_init() 71 static int x1e80100_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in x1e80100_be_hw_params_fixup() 125 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in x1e80100_snd_prepare() 153 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in x1e80100_snd_hw_free()
|
| H A D | common.h | 20 int qcom_snd_get_dai_tdm_slots(struct snd_soc_pcm_runtime *rtd, 23 int qcom_snd_apply_dai_tdm_slots_cfg(struct snd_soc_pcm_runtime *rtd, 26 int qcom_snd_apply_dai_tdm_slots(struct snd_soc_pcm_runtime *rtd); 27 int qcom_snd_wcd_jack_setup(struct snd_soc_pcm_runtime *rtd, 29 int qcom_snd_dp_jack_setup(struct snd_soc_pcm_runtime *rtd,
|
| H A D | apq8096.c | 15 static int apq8096_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in apq8096_be_hw_params_fixup() 32 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in msm_snd_hw_params() 66 static int apq8096_init(struct snd_soc_pcm_runtime *rtd) in apq8096_init()
|
| /linux/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() 143 struct snd_soc_pcm_runtime *rtd; in mtk_sof_card_late_probe() 186 struct snd_soc_pcm_runtime *sof_rt in mtk_sof_card_late_probe() [all...] |
| 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,
|
| H A D | mtk-afe-platform-driver.h | 20 struct snd_soc_pcm_runtime; 25 struct snd_soc_pcm_runtime *rtd);
|
| /linux/sound/soc/amd/ |
| H A D | acp-da7219-max98357a.c | 51 static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd) in cz_da7219_init() 107 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in da7219_clk_enable() 131 static int cz_rt5682_init(struct snd_soc_pcm_runtime *rtd) in cz_rt5682_init() 192 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in rt5682_clk_enable() 246 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_da7219_play_startup() 267 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_da7219_cap_startup() 289 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_max_startup() 310 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_dmic0_startup() 331 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_dmic1_startup() 358 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in cz_rt5682_play_startup() [all …]
|
| /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() 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/sound/soc/stm/ |
| H A D | stm32_adfsdm.c | 166 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(priv->substream); 211 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 232 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 246 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 259 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in stm32_adfsdm_pcm_pointer() 270 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in stm32_adfsdm_pcm_hw_params() 281 struct snd_soc_pcm_runtime *rtd) in stm32_adfsdm_pcm_hw_params()
|
| /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() 155 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in chv3_dma_close() 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() 232 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in chv3_dma_pointer() 255 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in chv3_dma_ack()
|
| /linux/sound/soc/sof/ |
| H A D | pcm.c | 45 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_sof_pcm_period_elapsed() 70 sof_pcm_setup_connected_widgets(struct snd_sof_dev *sdev, struct snd_soc_pcm_runtime *rtd, in sof_pcm_setup_connected_widgets() 121 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_hw_params() 290 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_prepare() 318 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_prepare() 388 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_trigger() 500 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_open() 539 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 602 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_new() 638 struct snd_soc_pcm_runtime *rt in sof_pcm_new() [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() 186 static int rt1011_init(struct snd_soc_pcm_runtime *rtd) in rt1011_init() 342 static int rt1015p_init(struct snd_soc_pcm_runtime *rtd) 398 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in rt1015_hw_params() 480 static int speaker_codec_init_lr(struct snd_soc_pcm_runtime *rtd) 561 static int rt1308_init(struct snd_soc_pcm_runtime *rtd) in rt1308_init() 593 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in rt1308_hw_params() 651 static int rt1019p_init(struct snd_soc_pcm_runtime *rtd) in rt1019p_init()
|
| /linux/sound/soc/samsung/ |
| H A D | littlemill.c | 20 struct snd_soc_pcm_runtime *rtd; in littlemill_set_bias_level() 67 struct snd_soc_pcm_runtime *rtd; in littlemill_set_bias_level_post() 104 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in littlemill_hw_params() 177 struct snd_soc_pcm_runtime *rtd; in bbclk_ev() 271 struct snd_soc_pcm_runtime *rtd; in littlemill_late_probe()
|
| /linux/sound/soc/bcm/ |
| H A D | bcm63xx-pcm-whistler.c | 49 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in bcm63xx_pcm_hw_params() 64 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in bcm63xx_pcm_hw_free() 76 struct snd_soc_pcm_runtime *rtd; in bcm63xx_pcm_trigger() 147 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in bcm63xx_pcm_prepare() 241 struct snd_soc_pcm_runtime *rtd; in i2s_dma_isr() 353 struct snd_soc_pcm_runtime *rtd) in bcm63xx_soc_pcm_new()
|