Searched refs:rtd (Results 26 - 50 of 336) sorted by relevance

1234567891011>>

/linux-master/sound/soc/amd/yc/
H A Dacp6x-pdm-dma.c153 static void acp6x_config_dma(struct pdm_stream_instance *rtd, int direction) argument
159 addr = rtd->dma_addr;
163 acp6x_writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp6x_base +
165 acp6x_writel(PAGE_SIZE_4K_ENABLE, rtd->acp6x_base +
167 for (page_idx = 0; page_idx < rtd->num_pages; page_idx++) {
172 acp6x_writel(low, rtd->acp6x_base + ACP_SCRATCH_REG_0 + val);
174 acp6x_writel(high, rtd->acp6x_base + ACP_SCRATCH_REG_0 + val + 4);
219 struct pdm_stream_instance *rtd; local
222 rtd = substream->runtime->private_data;
223 if (!rtd)
235 acp6x_pdm_get_byte_count(struct pdm_stream_instance *rtd, int direction) argument
250 struct pdm_stream_instance *rtd; local
264 acp6x_pdm_dma_new(struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd) argument
287 struct pdm_stream_instance *rtd; local
401 struct pdm_stream_instance *rtd; local
[all...]
/linux-master/sound/soc/amd/ps/
H A Dps-pdm-dma.c157 static void acp63_config_dma(struct pdm_stream_instance *rtd, int direction) argument
163 addr = rtd->dma_addr;
167 writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp63_base + ACPAXI2AXI_ATU_BASE_ADDR_GRP_1);
168 writel(PAGE_SIZE_4K_ENABLE, rtd->acp63_base + ACPAXI2AXI_ATU_PAGE_SIZE_GRP_1);
169 for (page_idx = 0; page_idx < rtd->num_pages; page_idx++) {
174 writel(low, rtd->acp63_base + ACP_SCRATCH_REG_0 + val);
176 writel(high, rtd->acp63_base + ACP_SCRATCH_REG_0 + val + 4);
221 struct pdm_stream_instance *rtd; local
224 rtd = substream->runtime->private_data;
225 if (!rtd)
237 acp63_pdm_get_byte_count(struct pdm_stream_instance *rtd, int direction) argument
253 struct pdm_stream_instance *rtd; local
267 acp63_pdm_dma_new(struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd) argument
292 struct pdm_stream_instance *rtd; local
409 struct pdm_stream_instance *rtd; local
[all...]
/linux-master/sound/soc/amd/vangogh/
H A Dacp5x-pcm-dma.c103 static void config_acp5x_dma(struct i2s_stream_instance *rtd, int direction) argument
110 addr = rtd->dma_addr;
112 switch (rtd->i2s_instance) {
121 switch (rtd->i2s_instance) {
131 acp_writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp5x_base +
133 acp_writel(PAGE_SIZE_4K_ENABLE, rtd->acp5x_base +
136 for (page_idx = 0; page_idx < rtd->num_pages; page_idx++) {
141 acp_writel(low, rtd->acp5x_base + ACP_SCRATCH_REG_0 + val);
143 acp_writel(high, rtd->acp5x_base + ACP_SCRATCH_REG_0 + val + 4);
150 switch (rtd
241 struct i2s_stream_instance *rtd; local
293 struct i2s_stream_instance *rtd; local
308 acp5x_dma_new(struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd) argument
426 struct i2s_stream_instance *rtd; local
[all...]
/linux-master/sound/soc/intel/boards/
H A Dsof_realtek_common.c71 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
77 for_each_rtd_codec_dais(rtd, i, codec_dai) {
118 static int rt1011_init(struct snd_soc_pcm_runtime *rtd) argument
120 struct snd_soc_card *card = rtd->card;
126 dev_err(rtd->dev, "Speaker map addition failed: %d\n", ret);
217 static int rt1015p_init(struct snd_soc_pcm_runtime *rtd) argument
219 struct snd_soc_card *card = rtd->card;
229 dev_err(rtd->dev, "Speaker map addition failed: %d\n", ret);
267 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
268 struct snd_soc_dai_link *dai_link = rtd
349 speaker_codec_init_lr(struct snd_soc_pcm_runtime *rtd) argument
395 rt1308_init(struct snd_soc_pcm_runtime *rtd) argument
426 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
484 rt1019p_init(struct snd_soc_pcm_runtime *rtd) argument
[all...]
H A Dsof_nuvoton_common.c34 static int nau8318_init(struct snd_soc_pcm_runtime *rtd) argument
36 struct snd_soc_card *card = rtd->card;
42 dev_err(rtd->dev, "fail to add nau8318 widgets, ret %d\n", ret);
49 dev_err(rtd->dev, "fail to add nau8318 kcontrols, ret %d\n", ret);
57 dev_err(rtd->dev, "fail to add nau8318 routes, ret %d\n", ret);
H A Dsof_sdw_hdmi.c18 int sof_sdw_hdmi_init(struct snd_soc_pcm_runtime *rtd) argument
20 struct mc_private *ctx = snd_soc_card_get_drvdata(rtd->card);
21 struct snd_soc_dai *dai = snd_soc_rtd_to_codec(rtd, 0);
H A Dsof_sdw_rt722_sdca.c30 static int rt722_spk_init(struct snd_soc_pcm_runtime *rtd) argument
32 struct snd_soc_card *card = rtd->card;
57 dev_err(rtd->dev, "failed to add rt722 spk map: %d\n", ret);
73 static int rt722_sdca_dmic_rtd_init(struct snd_soc_pcm_runtime *rtd) argument
75 struct snd_soc_card *card = rtd->card;
76 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0);
H A Dsof_sdw_rt712_sdca.c38 int rt712_spk_rtd_init(struct snd_soc_pcm_runtime *rtd) argument
40 struct snd_soc_card *card = rtd->card;
65 dev_err(rtd->dev, "failed to add SPK map: %d\n", ret);
74 int rt712_sdca_dmic_rtd_init(struct snd_soc_pcm_runtime *rtd) argument
76 struct snd_soc_card *card = rtd->card;
80 codec_dai = get_codec_dai_by_name(rtd, dmics, ARRAY_SIZE(dmics));
H A Dsof_sdw_dmic.c22 int sof_sdw_dmic_init(struct snd_soc_pcm_runtime *rtd) argument
24 struct snd_soc_card *card = rtd->card;
H A Dsof_maxim_common.c62 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
67 for_each_rtd_codec_dais(rtd, j, codec_dai) {
86 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
96 cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
97 for_each_rtd_codec_dais(rtd, j, codec_dai) {
135 int max_98373_spk_codec_init(struct snd_soc_pcm_runtime *rtd) argument
137 struct snd_soc_card *card = rtd->card;
143 dev_err(rtd->dev, "Speaker map addition failed: %d\n", ret);
231 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
235 for_each_rtd_codec_dais(rtd,
253 max_98390_init(struct snd_soc_pcm_runtime *rtd) argument
381 max_98357a_init(struct snd_soc_pcm_runtime *rtd) argument
[all...]
H A Dsof_sdw_cs_amp.c21 int cs_spk_rtd_init(struct snd_soc_pcm_runtime *rtd) argument
23 const char *dai_name = rtd->dai_link->codecs->dai_name;
24 struct snd_soc_card *card = rtd->card;
45 for_each_rtd_codec_dais(rtd, i, codec_dai) {
H A Dhda_dsp_common.c23 struct snd_soc_pcm_runtime *rtd; local
27 for_each_card_rtds(card, rtd) {
28 spcm = rtd->pcm ?
29 rtd->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].pcm : NULL;
32 return rtd->pcm;
/linux-master/sound/soc/
H A Dsoc-pcm.c29 #define soc_pcm_ret(rtd, ret) _soc_pcm_ret(rtd, __func__, ret)
30 static inline int _soc_pcm_ret(struct snd_soc_pcm_runtime *rtd, argument
44 dev_err(rtd->dev,
46 func, rtd->dai_link->name, ret);
52 static inline void snd_soc_dpcm_stream_lock_irq(struct snd_soc_pcm_runtime *rtd, argument
55 snd_pcm_stream_lock_irq(snd_soc_dpcm_get_substream(rtd, stream));
58 #define snd_soc_dpcm_stream_lock_irqsave_nested(rtd, stream, flags) \
59 snd_pcm_stream_lock_irqsave_nested(snd_soc_dpcm_get_substream(rtd, stream), flags)
61 static inline void snd_soc_dpcm_stream_unlock_irq(struct snd_soc_pcm_runtime *rtd, argument
72 soc_cpu_dai_name(struct snd_soc_pcm_runtime *rtd) argument
76 soc_codec_dai_name(struct snd_soc_pcm_runtime *rtd) argument
205 soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd) argument
292 snd_soc_runtime_action(struct snd_soc_pcm_runtime *rtd, int stream, int action) argument
322 snd_soc_runtime_ignore_pmdown_time(struct snd_soc_pcm_runtime *rtd) argument
397 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
430 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
463 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
484 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
498 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
580 snd_soc_runtime_calc_hw(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_hardware *hw, int stream) argument
655 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
671 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
691 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
706 soc_pcm_clean(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_substream *substream, int rollback) argument
747 __soc_pcm_close(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_substream *substream) argument
756 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
766 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
807 __soc_pcm_open(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_substream *substream) argument
872 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
886 __soc_pcm_prepare(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_substream *substream) argument
928 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
948 soc_pcm_hw_clean(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_substream *substream, int rollback) argument
987 __soc_pcm_hw_free(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_substream *substream) argument
996 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
1010 __soc_pcm_hw_params(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument
1115 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
1140 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
1407 struct snd_soc_pcm_runtime *rtd; local
1880 struct snd_soc_pcm_runtime *rtd; local
2792 soc_get_playback_capture(struct snd_soc_pcm_runtime *rtd, int *playback, int *capture) argument
2886 soc_create_pcm(struct snd_pcm **pcm, struct snd_soc_pcm_runtime *rtd, int playback, int capture, int num) argument
2929 soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num) argument
[all...]
H A Dsoc-component.c510 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
514 for_each_rtd_components(rtd, i, component) {
531 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
535 for_each_rtd_components(rtd, i, component) {
552 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
556 for_each_rtd_components(rtd, i, component) {
572 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
576 snd_soc_dpcm_mutex_lock(rtd);
578 for_each_rtd_components(rtd, i, component) {
587 snd_soc_dpcm_mutex_unlock(rtd);
596 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
619 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
640 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
660 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
684 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
705 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
966 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
978 snd_soc_component_is_codec_on_rtd(struct snd_soc_pcm_runtime *rtd, struct snd_soc_component *component) argument
996 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
1023 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
1040 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
1060 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
1077 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
1098 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
1113 snd_soc_pcm_component_new(struct snd_soc_pcm_runtime *rtd) argument
1130 snd_soc_pcm_component_free(struct snd_soc_pcm_runtime *rtd) argument
1145 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
1163 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
1184 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
1218 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
1250 snd_soc_pcm_component_pm_runtime_get(struct snd_soc_pcm_runtime *rtd, void *stream) argument
1269 snd_soc_pcm_component_pm_runtime_put(struct snd_soc_pcm_runtime *rtd, void *stream, int rollback) argument
1289 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
[all...]
/linux-master/sound/soc/qcom/
H A Dsm8250.c28 static int sm8250_snd_init(struct snd_soc_pcm_runtime *rtd) argument
30 struct sm8250_snd_data *data = snd_soc_card_get_drvdata(rtd->card);
32 return qcom_snd_wcd_jack_setup(rtd, &data->jack, &data->jack_setup);
35 static int sm8250_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, argument
53 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
54 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
55 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0);
75 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
76 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
77 struct sm8250_snd_data *data = snd_soc_card_get_drvdata(rtd
87 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
96 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
107 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
[all...]
H A Dsc8280xp.c25 static int sc8280xp_snd_init(struct snd_soc_pcm_runtime *rtd) argument
27 struct sc8280xp_snd_data *data = snd_soc_card_get_drvdata(rtd->card);
28 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
29 struct snd_soc_card *card = rtd->card;
48 return qcom_snd_wcd_jack_setup(rtd, &data->jack, &data->jack_setup);
53 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
54 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
55 struct sc8280xp_snd_data *pdata = snd_soc_card_get_drvdata(rtd->card);
62 static int sc8280xp_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, argument
65 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd,
92 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
101 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
112 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
[all...]
H A Dsdm845.c61 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
62 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
64 struct sdm845_snd_data *pdata = snd_soc_card_get_drvdata(rtd->card);
70 for_each_rtd_codec_dais(rtd, i, codec_dai) {
101 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
102 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
112 dev_err(rtd->dev, "%s: invalid param format 0x%x\n",
122 dev_err(rtd->dev, "%s: failed to set tdm slot, err:%d\n",
130 dev_err(rtd->dev, "%s: failed to set channel map, err:%d\n",
138 dev_err(rtd
186 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
232 sdm845_dai_init(struct snd_soc_pcm_runtime *rtd) argument
334 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
424 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
470 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
509 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
531 sdm845_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_hw_params *params) argument
[all...]
/linux-master/sound/soc/mediatek/common/
H A Dmtk-dsp-sof-common.c13 int mtk_sof_dai_link_fixup(struct snd_soc_pcm_runtime *rtd, argument
16 struct snd_soc_card *card = rtd->card;
27 if (conn->normal_link && strcmp(rtd->dai_link->name, conn->normal_link))
72 static struct snd_soc_pcm_runtime *mtk_sof_find_tplg_be(struct snd_soc_pcm_runtime *rtd) argument
74 struct snd_soc_card *card = rtd->card;
84 for_each_dpcm_fe(rtd, stream, dpcm) {
95 if (be == rtd)
111 static int mtk_sof_check_tplg_be_dai_link_fixup(struct snd_soc_pcm_runtime *rtd, argument
114 struct snd_soc_card *card = rtd->card;
121 sof_be = mtk_sof_find_tplg_be(rtd);
143 struct snd_soc_pcm_runtime *rtd; local
[all...]
H A Dmtk-afe-platform-driver.h23 struct snd_soc_pcm_runtime *rtd);
/linux-master/sound/soc/sof/
H A Dcompress.c50 struct snd_soc_pcm_runtime *rtd; local
59 rtd = cstream->private_data;
62 component = snd_soc_rtdcom_lookup(rtd, SOF_AUDIO_PCM_DRV_NAME);
64 spcm = snd_sof_find_spcm_dai(component, rtd);
83 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
87 spcm = snd_sof_find_spcm_dai(component, rtd);
98 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
108 spcm = snd_sof_find_spcm_dai(component, rtd);
136 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
141 spcm = snd_sof_find_spcm_dai(component, rtd);
166 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
272 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
305 sof_compr_copy_playback(struct snd_compr_runtime *rtd, char __user *buf, size_t count) argument
326 sof_compr_copy_capture(struct snd_compr_runtime *rtd, char __user *buf, size_t count) argument
351 struct snd_compr_runtime *rtd = cstream->runtime; local
367 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
[all...]
/linux-master/sound/soc/amd/raven/
H A Dacp3x.h124 static inline u64 acp_get_byte_count(struct i2s_stream_instance *rtd, argument
130 switch (rtd->i2s_instance) {
132 byte_count = rv_readl(rtd->acp3x_base +
134 byte_count |= rv_readl(rtd->acp3x_base +
139 byte_count = rv_readl(rtd->acp3x_base +
141 byte_count |= rv_readl(rtd->acp3x_base +
146 switch (rtd->i2s_instance) {
148 byte_count = rv_readl(rtd->acp3x_base +
150 byte_count |= rv_readl(rtd->acp3x_base +
155 byte_count = rv_readl(rtd
[all...]
/linux-master/sound/soc/samsung/
H A Dlittlemill.c21 struct snd_soc_pcm_runtime *rtd; local
25 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[0]);
26 aif1_dai = snd_soc_rtd_to_codec(rtd, 0);
68 struct snd_soc_pcm_runtime *rtd; local
72 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[0]);
73 aif1_dai = snd_soc_rtd_to_codec(rtd, 0);
107 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
108 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0);
180 struct snd_soc_pcm_runtime *rtd; local
184 rtd
274 struct snd_soc_pcm_runtime *rtd; local
[all...]
H A Dtobermory.c21 struct snd_soc_pcm_runtime *rtd; local
25 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[0]);
26 codec_dai = snd_soc_rtd_to_codec(rtd, 0);
64 struct snd_soc_pcm_runtime *rtd; local
68 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[0]);
69 codec_dai = snd_soc_rtd_to_codec(rtd, 0);
178 struct snd_soc_pcm_runtime *rtd; local
183 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[0]);
184 component = snd_soc_rtd_to_codec(rtd, 0)->component;
185 codec_dai = snd_soc_rtd_to_codec(rtd,
[all...]
/linux-master/sound/soc/sh/
H A Ddma-sh7760.c121 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
122 struct camelot_pcm *cam = &cam_pcm_data[snd_soc_rtd_to_cpu(rtd, 0)->id];
135 snd_soc_rtd_to_cpu(rtd, 0)->id);
144 snd_soc_rtd_to_cpu(rtd, 0)->id);
155 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
156 struct camelot_pcm *cam = &cam_pcm_data[snd_soc_rtd_to_cpu(rtd, 0)->id];
177 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
178 struct camelot_pcm *cam = &cam_pcm_data[snd_soc_rtd_to_cpu(rtd, 0)->id];
195 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
196 struct camelot_pcm *cam = &cam_pcm_data[snd_soc_rtd_to_cpu(rtd,
243 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
271 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
290 camelot_pcm_new(struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd) argument
[all...]
/linux-master/sound/soc/amd/acp/
H A Dacp-mach-common.c116 static int acp_card_rt5682_init(struct snd_soc_pcm_runtime *rtd) argument
118 struct snd_soc_card *card = rtd->card;
120 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0);
124 dev_info(rtd->dev, "codec dai name = %s\n", codec_dai->name);
135 dev_err(rtd->dev, "unable to add widget dapm controls, ret %d\n", ret);
142 dev_err(rtd->dev, "unable to add card controls, ret %d\n", ret);
165 dev_err(rtd->dev, "Headset Jack call-back failed: %d\n", ret);
169 return snd_soc_dapm_add_routes(&rtd->card->dapm, rt5682_map, ARRAY_SIZE(rt5682_map));
175 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
176 struct snd_soc_card *card = rtd
209 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
220 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
357 acp_card_rt5682s_init(struct snd_soc_pcm_runtime *rtd) argument
418 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
581 acp_card_rt1019_init(struct snd_soc_pcm_runtime *rtd) argument
611 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
746 acp_card_maxim_init(struct snd_soc_pcm_runtime *rtd) argument
776 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
882 acp_card_max98388_init(struct snd_soc_pcm_runtime *rtd) argument
914 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
966 acp_card_nau8825_init(struct snd_soc_pcm_runtime *rtd) argument
1022 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
1181 acp_8821_init(struct snd_soc_pcm_runtime *rtd) argument
1246 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
[all...]

Completed in 188 milliseconds

1234567891011>>