Searched refs:rtd (Results 1 - 25 of 336) sorted by relevance

1234567891011>>

/linux-master/sound/soc/
H A Dsoc-link.c11 #define soc_link_ret(rtd, ret) _soc_link_ret(rtd, __func__, ret)
12 static inline int _soc_link_ret(struct snd_soc_pcm_runtime *rtd, argument
25 dev_err(rtd->dev,
27 func, rtd->dai_link->name, ret);
37 #define soc_link_mark_push(rtd, substream, tgt) ((rtd)->mark_##tgt = substream)
38 #define soc_link_mark_pop(rtd, substream, tgt) ((rtd)->mark_##tgt = NULL)
39 #define soc_link_mark_match(rtd, substrea
41 snd_soc_link_init(struct snd_soc_pcm_runtime *rtd) argument
51 snd_soc_link_exit(struct snd_soc_pcm_runtime *rtd) argument
57 snd_soc_link_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_hw_params *params) argument
70 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
87 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
102 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
115 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
131 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
146 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
159 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local
186 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
203 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
218 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
[all...]
H A Dsoc-compress.c26 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
31 for_each_rtd_components(rtd, i, component) {
47 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
51 for_each_rtd_components(rtd, i, component) {
59 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
60 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
61 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0);
64 snd_soc_dpcm_mutex_lock(rtd);
67 snd_soc_runtime_deactivate(rtd, stream);
84 snd_soc_dapm_stream_stop(rtd, strea
100 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
246 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
325 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
425 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
443 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
462 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
481 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
495 struct snd_soc_pcm_runtime *rtd = cstream->private_data; local
544 snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num) argument
[all...]
/linux-master/drivers/rtc/
H A Drtc-test.c26 struct rtc_test_data *rtd = dev_get_drvdata(dev); local
29 alarm = (rtd->alarm.expires - jiffies) / HZ;
30 alarm += ktime_get_real_seconds() + rtd->offset;
33 alrm->enabled = rtd->alarm_en;
40 struct rtc_test_data *rtd = dev_get_drvdata(dev); local
45 timeout -= rtd->offset;
47 del_timer(&rtd->alarm);
53 rtd->alarm.expires = expires;
56 add_timer(&rtd->alarm);
58 rtd
65 struct rtc_test_data *rtd = dev_get_drvdata(dev); local
74 struct rtc_test_data *rtd = dev_get_drvdata(dev); local
83 struct rtc_test_data *rtd = dev_get_drvdata(dev); local
110 struct rtc_test_data *rtd = from_timer(rtd, t, alarm); local
117 struct rtc_test_data *rtd; local
[all...]
/linux-master/sound/soc/ux500/
H A Dmop500_ab8500.h14 int mop500_ab8500_machine_init(struct snd_soc_pcm_runtime *rtd);
/linux-master/sound/soc/mediatek/mt8186/
H A Dmt8186-mt6366-common.h12 int mt8186_mt6366_init(struct snd_soc_pcm_runtime *rtd);
H A Dmt8186-mt6366-common.c16 int mt8186_mt6366_init(struct snd_soc_pcm_runtime *rtd) argument
19 snd_soc_rtdcom_lookup(rtd, AFE_PCM_NAME);
21 snd_soc_rtd_to_codec(rtd, 0)->component;
24 struct snd_soc_dapm_context *dapm = &rtd->card->dapm;
34 dev_err(rtd->dev, "failed to snd_soc_dapm_sync\n");
/linux-master/sound/soc/qcom/
H A Dcommon.h10 int qcom_snd_wcd_jack_setup(struct snd_soc_pcm_runtime *rtd,
H A Dsc7180.c57 static int sc7180_headset_init(struct snd_soc_pcm_runtime *rtd) argument
59 struct snd_soc_card *card = rtd->card;
61 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0);
93 static int sc7180_hdmi_init(struct snd_soc_pcm_runtime *rtd) argument
95 struct snd_soc_card *card = rtd->card;
97 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0);
119 static int sc7180_init(struct snd_soc_pcm_runtime *rtd) argument
121 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
125 return sc7180_headset_init(rtd);
129 return sc7180_hdmi_init(rtd);
138 sc7180_qdsp_init(struct snd_soc_pcm_runtime *rtd) argument
158 sc7180_startup_realtek_codec(struct snd_soc_pcm_runtime *rtd) argument
203 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
237 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
310 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
337 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
371 sc7180_adau7002_init(struct snd_soc_pcm_runtime *rtd) argument
392 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
419 sc7180_qdsp_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_hw_params *params) argument
[all...]
H A Dx1e80100.c25 static int x1e80100_snd_init(struct snd_soc_pcm_runtime *rtd) argument
27 struct x1e80100_snd_data *data = snd_soc_card_get_drvdata(rtd->card);
29 return qcom_snd_wcd_jack_setup(rtd, &data->jack, &data->jack_setup);
34 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
35 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
36 struct x1e80100_snd_data *data = snd_soc_card_get_drvdata(rtd->card);
43 static int x1e80100_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, argument
46 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
70 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
71 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd,
79 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
90 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
[all...]
H A Dsdw.c24 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
25 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
34 for_each_rtd_codec_dais(rtd, i, codec_dai) {
38 dev_err(rtd->dev, "Failed to set sdw stream on %s\n",
57 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
58 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
108 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
110 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
122 for_each_rtd_codec_dais(rtd, i, codec_dai) {
138 struct snd_soc_pcm_runtime *rtd local
[all...]
H A Dsc7280.c59 static int sc7280_headset_init(struct snd_soc_pcm_runtime *rtd) argument
61 struct snd_soc_card *card = rtd->card;
63 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0);
64 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
101 for_each_rtd_codec_dais(rtd, i, codec_dai) {
116 static int sc7280_hdmi_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);
140 static int sc7280_rt5682_init(struct snd_soc_pcm_runtime *rtd) argument
142 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd,
179 sc7280_init(struct snd_soc_pcm_runtime *rtd) argument
208 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
240 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
271 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
290 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
315 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
342 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
384 sc7280_snd_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_hw_params *params) argument
[all...]
/linux-master/sound/soc/intel/boards/
H A Dsof_sdw_rt715.c14 int rt715_rtd_init(struct snd_soc_pcm_runtime *rtd) argument
16 struct snd_soc_card *card = rtd->card;
H A Dsof_sdw_rt715_sdca.c14 int rt715_sdca_rtd_init(struct snd_soc_pcm_runtime *rtd) argument
16 struct snd_soc_card *card = rtd->card;
H A Dsof_sdw_common.h81 int (*rtd_init)(struct snd_soc_pcm_runtime *rtd);
119 int sof_sdw_hdmi_init(struct snd_soc_pcm_runtime *rtd);
124 int sof_sdw_dmic_init(struct snd_soc_pcm_runtime *rtd);
181 int cs42l42_rtd_init(struct snd_soc_pcm_runtime *rtd);
182 int cs42l43_hs_rtd_init(struct snd_soc_pcm_runtime *rtd);
183 int cs42l43_dmic_rtd_init(struct snd_soc_pcm_runtime *rtd);
184 int cs_spk_rtd_init(struct snd_soc_pcm_runtime *rtd);
185 int maxim_spk_rtd_init(struct snd_soc_pcm_runtime *rtd);
186 int rt5682_rtd_init(struct snd_soc_pcm_runtime *rtd);
187 int rt700_rtd_init(struct snd_soc_pcm_runtime *rtd);
[all...]
/linux-master/sound/soc/amd/vangogh/
H A Dacp5x-i2s.c86 struct i2s_stream_instance *rtd; local
99 rtd = substream->runtime->private_data;
105 rtd->i2s_instance = pinfo->play_i2s_instance;
107 rtd->i2s_instance = pinfo->cap_i2s_instance;
114 rtd->xfer_resolution = 0x0;
117 rtd->xfer_resolution = 0x02;
120 rtd->xfer_resolution = 0x04;
123 rtd->xfer_resolution = 0x05;
129 switch (rtd->i2s_instance) {
140 switch (rtd
235 struct i2s_stream_instance *rtd; local
[all...]
H A Dacp5x.h152 static inline u64 acp_get_byte_count(struct i2s_stream_instance *rtd, argument
158 switch (rtd->i2s_instance) {
161 acp_readl(rtd->acp5x_base +
164 acp_readl(rtd->acp5x_base +
170 acp_readl(rtd->acp5x_base +
173 acp_readl(rtd->acp5x_base +
177 switch (rtd->i2s_instance) {
180 acp_readl(rtd->acp5x_base +
183 acp_readl(rtd->acp5x_base +
189 acp_readl(rtd
199 acp5x_set_i2s_clk(struct i2s_dev_data *adata, struct i2s_stream_instance *rtd) argument
[all...]
/linux-master/sound/soc/amd/
H A Dacp-pcm-dma.c331 struct audio_substream_data *rtd,
336 acp_pte_config(acp_mmio, rtd->dma_addr, rtd->num_of_pages,
337 rtd->pte_offset);
339 if (rtd->direction == SNDRV_PCM_STREAM_PLAYBACK) {
340 ch_acp_sysmem = rtd->ch1;
341 ch_acp_i2s = rtd->ch2;
343 ch_acp_i2s = rtd->ch1;
344 ch_acp_sysmem = rtd->ch2;
347 set_acp_sysmem_dma_descriptors(acp_mmio, rtd
330 config_acp_dma(void __iomem *acp_mmio, struct audio_substream_data *rtd, u32 asic_type) argument
851 struct audio_substream_data *rtd; local
1019 acp_get_byte_count(struct audio_substream_data *rtd) argument
1040 struct audio_substream_data *rtd = runtime->private_data; local
1089 struct audio_substream_data *rtd = runtime->private_data; local
1119 struct audio_substream_data *rtd = runtime->private_data; local
1160 acp_dma_new(struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd) argument
1190 struct audio_substream_data *rtd = runtime->private_data; local
1341 struct audio_substream_data *rtd; local
[all...]
/linux-master/sound/soc/amd/raven/
H A Dacp3x-i2s.c75 struct i2s_stream_instance *rtd; local
84 rtd = substream->runtime->private_data;
90 rtd->i2s_instance = pinfo->play_i2s_instance;
92 rtd->i2s_instance = pinfo->cap_i2s_instance;
99 rtd->xfer_resolution = 0x0;
102 rtd->xfer_resolution = 0x02;
105 rtd->xfer_resolution = 0x04;
108 rtd->xfer_resolution = 0x05;
114 switch (rtd->i2s_instance) {
125 switch (rtd
151 struct i2s_stream_instance *rtd; local
[all...]
H A Dacp3x-pcm-dma.c107 static void config_acp3x_dma(struct i2s_stream_instance *rtd, int direction) argument
114 addr = rtd->dma_addr;
117 switch (rtd->i2s_instance) {
126 switch (rtd->i2s_instance) {
136 rv_writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp3x_base +
138 rv_writel(PAGE_SIZE_4K_ENABLE, rtd->acp3x_base +
141 for (page_idx = 0; page_idx < rtd->num_pages; page_idx++) {
146 rv_writel(low, rtd->acp3x_base + mmACP_SCRATCH_REG_0 + val);
148 rv_writel(high, rtd->acp3x_base + mmACP_SCRATCH_REG_0 + val
156 switch (rtd
248 struct i2s_stream_instance *rtd; local
298 struct i2s_stream_instance *rtd; local
314 acp3x_dma_new(struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd) argument
440 struct i2s_stream_instance *rtd = local
457 struct i2s_stream_instance *rtd = local
[all...]
/linux-master/include/sound/
H A Dsoc-link.h11 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,
/linux-master/sound/soc/mediatek/common/
H A Dmtk-dsp-sof-common.h23 int (*be_hw_params_fixup)(struct snd_soc_pcm_runtime *rtd,
31 int (*sof_dai_link_fixup)(struct snd_soc_pcm_runtime *rtd,
36 int mtk_sof_dai_link_fixup(struct snd_soc_pcm_runtime *rtd,
/linux-master/sound/soc/tegra/
H A Dtegra_pcm.c79 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
82 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
85 if (rtd->dai_link->no_pcm)
97 dev_err(rtd->dev, "failed to set constraint %d\n", ret);
111 dev_err(rtd->dev,
130 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
132 if (rtd->dai_link->no_pcm)
145 struct snd_soc_pcm_runtime *rtd = substream->private_data; local
151 if (rtd->dai_link->no_pcm)
154 dmap = snd_soc_dai_get_dma_data(snd_soc_rtd_to_cpu(rtd,
194 tegra_pcm_dma_allocate(struct device *dev, struct snd_soc_pcm_runtime *rtd, size_t size) argument
207 tegra_pcm_construct(struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd) argument
[all...]
/linux-master/sound/soc/ti/
H A Domap-mcbsp.h30 int omap_mcbsp_st_add_controls(struct snd_soc_pcm_runtime *rtd, int port_id);
/linux-master/drivers/pinctrl/realtek/
H A DMakefile3 obj-$(CONFIG_PINCTRL_RTD) += pinctrl-rtd.o
/linux-master/sound/soc/amd/renoir/
H A Dacp3x-pdm-dma.c176 static void config_acp_dma(struct pdm_stream_instance *rtd, int direction) argument
182 addr = rtd->dma_addr;
186 rn_writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp_base +
188 rn_writel(PAGE_SIZE_4K_ENABLE, rtd->acp_base +
191 for (page_idx = 0; page_idx < rtd->num_pages; page_idx++) {
196 rn_writel(low, rtd->acp_base + ACP_SCRATCH_REG_0 + val);
198 rn_writel(high, rtd->acp_base + ACP_SCRATCH_REG_0 + val + 4);
243 struct pdm_stream_instance *rtd; local
246 rtd = substream->runtime->private_data;
247 if (!rtd)
259 acp_pdm_get_byte_count(struct pdm_stream_instance *rtd, int direction) argument
276 struct pdm_stream_instance *rtd; local
290 acp_pdm_dma_new(struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd) argument
313 struct pdm_stream_instance *rtd; local
448 struct pdm_stream_instance *rtd; local
[all...]

Completed in 195 milliseconds

1234567891011>>