/linux-master/sound/soc/fsl/ |
H A D | eukrea-tlv320.c | 33 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 34 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); 35 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
|
H A D | fsl-asoc-card.c | 172 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 173 struct fsl_asoc_card_priv *priv = snd_soc_card_get_drvdata(rtd->card); 177 struct device *dev = rtd->card->dev; 189 ret = snd_soc_dai_set_sysclk(snd_soc_rtd_to_cpu(rtd, 0), cpu_priv->sysclk_id[tx], 201 ret = snd_soc_dai_set_tdm_slot(snd_soc_rtd_to_cpu(rtd, 0), 0x3, 0x3, 217 ret = snd_soc_dai_set_pll(snd_soc_rtd_to_codec(rtd, 0), 226 ret = snd_soc_dai_set_sysclk(snd_soc_rtd_to_codec(rtd, 0), 245 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 246 struct fsl_asoc_card_priv *priv = snd_soc_card_get_drvdata(rtd->card); 248 struct device *dev = rtd 280 be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_hw_params *params) argument 505 struct snd_soc_pcm_runtime *rtd = list_first_entry( local [all...] |
H A D | imx-sgtl5000.c | 27 static int imx_sgtl5000_dai_init(struct snd_soc_pcm_runtime *rtd) argument 29 struct imx_sgtl5000_data *data = snd_soc_card_get_drvdata(rtd->card); 30 struct device *dev = rtd->card->dev; 33 ret = snd_soc_dai_set_sysclk(snd_soc_rtd_to_codec(rtd, 0), SGTL5000_SYSCLK,
|
H A D | imx-card.c | 255 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 256 struct imx_card_data *data = snd_soc_card_get_drvdata(rtd->card); 258 struct dai_link_data *link_data = &data->link_data[rtd->num]; 292 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 293 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); 294 struct snd_soc_card *card = rtd->card; 296 struct dai_link_data *link_data = &data->link_data[rtd->num]; 301 unsigned int fmt = rtd->dai_link->dai_fmt; 312 fmt = (rtd->dai_link->dai_fmt & ~SND_SOC_DAIFMT_FORMAT_MASK) | 317 fmt = (rtd 408 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 462 be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_hw_params *params) argument [all...] |
H A D | imx-pcm-rpmsg.c | 232 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 233 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); 287 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 306 rtd->dai_link->ignore_suspend = 0; 309 dev_warn(rtd->dev, "Msg is dropped!, number is %d\n", 319 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 320 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); 334 rtd->dai_link->ignore_suspend = 1; 464 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 465 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 518 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 593 imx_rpmsg_pcm_new(struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd) argument [all...] |
/linux-master/sound/soc/atmel/ |
H A D | mikroe-proto.c | 21 static int snd_proto_init(struct snd_soc_pcm_runtime *rtd) argument 23 struct snd_soc_card *card = rtd->card; 24 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0);
|
H A D | atmel-classd.c | 121 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 122 struct atmel_classd *dd = snd_soc_card_get_drvdata(rtd->card); 144 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 145 struct atmel_classd *dd = snd_soc_card_get_drvdata(rtd->card); 341 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 342 struct atmel_classd *dd = snd_soc_card_get_drvdata(rtd->card); 384 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 385 struct atmel_classd *dd = snd_soc_card_get_drvdata(rtd->card);
|
/linux-master/sound/soc/sof/intel/ |
H A D | hda-dai.c | 323 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 326 return hda_dai_hw_params(substream, &rtd->dpcm[stream].hw_params, dai); 354 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 403 for_each_rtd_cpu_dais(rtd, cpu_dai_id, dai) { 443 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 446 return non_hda_dai_hw_params(substream, &rtd->dpcm[stream].hw_params, cpu_dai); 470 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 506 for_each_rtd_cpu_dais(rtd, cpu_dai_id, dai) { 538 for_each_rtd_cpu_dais(rtd, i, dai) { 586 struct snd_soc_pcm_runtime *rtd; local [all...] |
/linux-master/sound/soc/sh/rcar/ |
H A D | dvc.c | 217 struct snd_soc_pcm_runtime *rtd) 226 ret = rsnd_kctrl_new_m(mod, io, rtd, 237 ret = rsnd_kctrl_new_m(mod, io, rtd, 248 ret = rsnd_kctrl_new_s(mod, io, rtd, 257 ret = rsnd_kctrl_new_e(mod, io, rtd, 268 ret = rsnd_kctrl_new_e(mod, io, rtd, 215 rsnd_dvc_pcm_new(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct snd_soc_pcm_runtime *rtd) argument
|
/linux-master/sound/soc/generic/ |
H A D | audio-graph-card2-custom-sample.c | 124 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 125 struct simple_util_priv *priv = snd_soc_card_get_drvdata(rtd->card);
|
/linux-master/sound/soc/intel/boards/ |
H A D | cht_bsw_max98090_ti.c | 115 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 116 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); 122 dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret); 251 static int cht_codec_fixup(struct snd_soc_pcm_runtime *rtd, argument 261 ret = snd_soc_dai_set_tdm_slot(snd_soc_rtd_to_cpu(rtd, 0), 0x3, 0x3, 2, 16); 263 dev_err(rtd->dev, "can't set cpu_dai slot fmt: %d\n", ret); 269 ret = snd_soc_dai_set_fmt(snd_soc_rtd_to_cpu(rtd, 0), fmt); 271 dev_err(rtd->dev, "can't set cpu_dai set fmt: %d\n", ret);
|
H A D | skl_hda_dsp_generic.c | 164 struct snd_soc_pcm_runtime *rtd; local 168 for_each_card_rtds(card, rtd) { 169 if (!strstr(rtd->dai_link->codecs->name, "ehdaudio0D0")) 171 dai = snd_soc_rtd_to_codec(rtd, 0);
|
H A D | sof_board_helpers.c | 13 static int hdmi_init(struct snd_soc_pcm_runtime *rtd) argument 15 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); 16 struct snd_soc_dai *dai = snd_soc_rtd_to_codec(rtd, 0); 51 static int dmic_init(struct snd_soc_pcm_runtime *rtd) argument 53 struct snd_soc_card *card = rtd->card; 59 dev_err(rtd->dev, "fail to add dmic widgets, ret %d\n", ret); 66 dev_err(rtd->dev, "fail to add dmic routes, ret %d\n", ret);
|
/linux-master/sound/soc/ti/ |
H A D | osk5912.c | 40 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 41 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0);
|
H A D | omap-mcpdm.h | 90 void omap_mcpdm_configure_dn_offsets(struct snd_soc_pcm_runtime *rtd,
|
H A D | n810.c | 87 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 91 n810_ext_control(&rtd->card->dapm); 103 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 104 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0);
|
/linux-master/sound/soc/sof/ |
H A D | sof-client-probes.c | 103 struct snd_compr_runtime *rtd = cstream->runtime; local 111 ret = snd_compr_malloc_pages(cstream, rtd->buffer_size); 119 ret = ipc->init(cdev, priv->extractor_stream_tag, rtd->dma_bytes); 163 struct snd_compr_runtime *rtd = cstream->runtime; local 168 if (count > rtd->buffer_size) 169 count = rtd->buffer_size; 171 div_u64_rem(rtd->total_bytes_transferred, rtd->buffer_size, &offset); 172 ptr = rtd->dma_area + offset; 173 n = rtd [all...] |
/linux-master/sound/soc/tegra/ |
H A D | tegra_asoc_machine.c | 139 int tegra_asoc_machine_init(struct snd_soc_pcm_runtime *rtd) argument 141 struct snd_soc_card *card = rtd->card; 158 dev_err(rtd->dev, 168 dev_err(rtd->dev, "HP GPIOs not added: %d\n", err); 178 dev_err(rtd->dev, 188 dev_err(rtd->dev, "Headset GPIOs not added: %d\n", err); 192 err = snd_soc_card_jack_new_pins(rtd->card, "Mic Jack", 198 dev_err(rtd->dev, "Mic Jack creation failed: %d\n", err); 214 dev_err(rtd->dev, "Mic GPIOs not added: %d\n", err); 293 struct snd_soc_pcm_runtime *rtd local 660 tegra_wm9712_init(struct snd_soc_pcm_runtime *rtd) argument 839 tegra_rt5677_init(struct snd_soc_pcm_runtime *rtd) argument [all...] |
/linux-master/include/sound/ |
H A D | pxa2xx-lib.h | 24 struct snd_soc_pcm_runtime *rtd);
|
H A D | soc-dai.h | 183 int snd_soc_dai_get_fmt_max_priority(struct snd_soc_pcm_runtime *rtd); 220 struct snd_soc_pcm_runtime *rtd, int num); 237 int snd_soc_pcm_dai_probe(struct snd_soc_pcm_runtime *rtd, int order); 238 int snd_soc_pcm_dai_remove(struct snd_soc_pcm_runtime *rtd, int order); 239 int snd_soc_pcm_dai_new(struct snd_soc_pcm_runtime *rtd); 281 int (*compress_new)(struct snd_soc_pcm_runtime *rtd, int num); 283 int (*pcm_new)(struct snd_soc_pcm_runtime *rtd,
|
/linux-master/sound/soc/dwc/ |
H A D | dwc-pcm.c | 142 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 143 struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(snd_soc_rtd_to_cpu(rtd, 0)); 243 struct snd_soc_pcm_runtime *rtd) 247 snd_pcm_set_managed_buffer_all(rtd->pcm, 242 dw_pcm_new(struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd) argument
|
/linux-master/sound/soc/loongson/ |
H A D | loongson_card.c | 26 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 27 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); 28 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); 29 struct loongson_card_data *ls_card = snd_soc_card_get_drvdata(rtd->card);
|
/linux-master/sound/soc/intel/avs/boards/ |
H A D | rt5514.c | 66 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 67 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); 72 dev_err(rtd->dev, "set TDM slot err:%d\n", ret); 78 dev_err(rtd->dev, "set sysclk err: %d\n", ret);
|
/linux-master/sound/soc/mediatek/common/ |
H A D | mtk-soundcard-driver.c | 145 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 146 struct mtk_soc_card_data *soc_card = snd_soc_card_get_drvdata(rtd->card); 157 dev_err(rtd->dev, "hw_constraint_list rate failed\n"); 165 dev_err(rtd->dev, "hw_constraint_list channel failed\n");
|
/linux-master/sound/soc/samsung/ |
H A D | spdif.c | 144 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 145 struct samsung_spdif_info *spdif = to_info(snd_soc_rtd_to_cpu(rtd, 0)); 180 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 181 struct samsung_spdif_info *spdif = to_info(snd_soc_rtd_to_cpu(rtd, 0)); 197 snd_soc_dai_set_dma_data(snd_soc_rtd_to_cpu(rtd, 0), substream, dma_data); 282 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); local 283 struct samsung_spdif_info *spdif = to_info(snd_soc_rtd_to_cpu(rtd, 0));
|