/sound/soc/ |
D | soc-dai.c | 21 int snd_soc_dai_set_sysclk(struct snd_soc_dai *dai, int clk_id, in snd_soc_dai_set_sysclk() argument 24 if (dai->driver->ops->set_sysclk) in snd_soc_dai_set_sysclk() 25 return dai->driver->ops->set_sysclk(dai, clk_id, freq, dir); in snd_soc_dai_set_sysclk() 27 return snd_soc_component_set_sysclk(dai->component, clk_id, 0, in snd_soc_dai_set_sysclk() 42 int snd_soc_dai_set_clkdiv(struct snd_soc_dai *dai, in snd_soc_dai_set_clkdiv() argument 45 if (dai->driver->ops->set_clkdiv) in snd_soc_dai_set_clkdiv() 46 return dai->driver->ops->set_clkdiv(dai, div_id, div); in snd_soc_dai_set_clkdiv() 62 int snd_soc_dai_set_pll(struct snd_soc_dai *dai, int pll_id, int source, in snd_soc_dai_set_pll() argument 65 if (dai->driver->ops->set_pll) in snd_soc_dai_set_pll() 66 return dai->driver->ops->set_pll(dai, pll_id, source, in snd_soc_dai_set_pll() [all …]
|
/sound/soc/meson/ |
D | axg-tdm-interface.c | 35 int axg_tdm_set_tdm_slots(struct snd_soc_dai *dai, u32 *tx_mask, in axg_tdm_set_tdm_slots() argument 39 struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); in axg_tdm_set_tdm_slots() 41 dai->playback_dma_data; in axg_tdm_set_tdm_slots() 43 dai->capture_dma_data; in axg_tdm_set_tdm_slots() 52 dev_err(dai->dev, "interface has no slot\n"); in axg_tdm_set_tdm_slots() 76 dev_err(dai->dev, "unsupported slot width: %d\n", slot_width); in axg_tdm_set_tdm_slots() 85 dai->driver->playback.channels_max = tx_slots; in axg_tdm_set_tdm_slots() 86 dai->driver->playback.formats = fmt; in axg_tdm_set_tdm_slots() 91 dai->driver->capture.channels_max = rx_slots; in axg_tdm_set_tdm_slots() 92 dai->driver->capture.formats = fmt; in axg_tdm_set_tdm_slots() [all …]
|
D | axg-spdifout.c | 89 struct snd_soc_dai *dai) in axg_spdifout_trigger() argument 91 struct axg_spdifout *priv = snd_soc_dai_get_drvdata(dai); in axg_spdifout_trigger() 111 static int axg_spdifout_digital_mute(struct snd_soc_dai *dai, int mute) in axg_spdifout_digital_mute() argument 113 struct axg_spdifout *priv = snd_soc_dai_get_drvdata(dai); in axg_spdifout_digital_mute() 123 struct snd_soc_dai *dai) in axg_spdifout_sample_fmt() argument 125 struct axg_spdifout *priv = snd_soc_dai_get_drvdata(dai); in axg_spdifout_sample_fmt() 137 dev_err(dai->dev, "too many channels for spdif dai: %u\n", in axg_spdifout_sample_fmt() 160 dev_err(dai->dev, "Unsupported physical width: %u\n", in axg_spdifout_sample_fmt() 180 struct snd_soc_dai *dai) in axg_spdifout_set_chsts() argument 182 struct axg_spdifout *priv = snd_soc_dai_get_drvdata(dai); in axg_spdifout_set_chsts() [all …]
|
/sound/soc/ux500/ |
D | ux500_msp_dai.c | 30 static int setup_pcm_multichan(struct snd_soc_dai *dai, in setup_pcm_multichan() argument 33 struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); in setup_pcm_multichan() 54 dev_dbg(dai->dev, in setup_pcm_multichan() 63 static int setup_frameper(struct snd_soc_dai *dai, unsigned int rate, in setup_frameper() argument 66 struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); in setup_frameper() 92 dev_err(dai->dev, in setup_frameper() 111 dev_err(dai->dev, in setup_frameper() 120 dev_dbg(dai->dev, "%s: Clocks per frame: %u\n", in setup_frameper() 127 static int setup_pcm_framing(struct snd_soc_dai *dai, unsigned int rate, in setup_pcm_framing() argument 130 struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); in setup_pcm_framing() [all …]
|
/sound/soc/fsl/ |
D | imx-spdif.c | 10 struct snd_soc_dai_link dai; member 35 data->dai.cpus = &comp[0]; in imx_spdif_audio_probe() 36 data->dai.codecs = &comp[1]; in imx_spdif_audio_probe() 37 data->dai.platforms = &comp[2]; in imx_spdif_audio_probe() 39 data->dai.num_cpus = 1; in imx_spdif_audio_probe() 40 data->dai.num_codecs = 1; in imx_spdif_audio_probe() 41 data->dai.num_platforms = 1; in imx_spdif_audio_probe() 43 data->dai.name = "S/PDIF PCM"; in imx_spdif_audio_probe() 44 data->dai.stream_name = "S/PDIF PCM"; in imx_spdif_audio_probe() 45 data->dai.codecs->dai_name = "snd-soc-dummy-dai"; in imx_spdif_audio_probe() [all …]
|
D | p1022_rdk.c | 71 struct snd_soc_dai_link dai[2]; member 229 mdata->dai[0].cpus = &comp[0]; in p1022_rdk_probe() 230 mdata->dai[0].codecs = &comp[1]; in p1022_rdk_probe() 231 mdata->dai[0].platforms = &comp[2]; in p1022_rdk_probe() 233 mdata->dai[0].num_cpus = 1; in p1022_rdk_probe() 234 mdata->dai[0].num_codecs = 1; in p1022_rdk_probe() 235 mdata->dai[0].num_platforms = 1; in p1022_rdk_probe() 237 mdata->dai[1].cpus = &comp[3]; in p1022_rdk_probe() 238 mdata->dai[1].codecs = &comp[4]; in p1022_rdk_probe() 239 mdata->dai[1].platforms = &comp[5]; in p1022_rdk_probe() [all …]
|
D | imx-audmix.c | 29 struct snd_soc_dai_link *dai; member 188 priv->dai = devm_kzalloc(&pdev->dev, priv->num_dai * in imx_audmix_probe() 190 if (!priv->dai) in imx_audmix_probe() 243 priv->dai[i].cpus = &dlc[0]; in imx_audmix_probe() 244 priv->dai[i].codecs = &dlc[1]; in imx_audmix_probe() 245 priv->dai[i].platforms = &dlc[2]; in imx_audmix_probe() 247 priv->dai[i].num_cpus = 1; in imx_audmix_probe() 248 priv->dai[i].num_codecs = 1; in imx_audmix_probe() 249 priv->dai[i].num_platforms = 1; in imx_audmix_probe() 251 priv->dai[i].name = dai_name; in imx_audmix_probe() [all …]
|
D | p1022_ds.c | 64 struct snd_soc_dai_link dai[2]; member 226 mdata->dai[0].cpus = &comp[0]; in p1022_ds_probe() 227 mdata->dai[0].codecs = &comp[1]; in p1022_ds_probe() 228 mdata->dai[0].platforms = &comp[2]; in p1022_ds_probe() 230 mdata->dai[0].num_cpus = 1; in p1022_ds_probe() 231 mdata->dai[0].num_codecs = 1; in p1022_ds_probe() 232 mdata->dai[0].num_platforms = 1; in p1022_ds_probe() 234 mdata->dai[1].cpus = &comp[3]; in p1022_ds_probe() 235 mdata->dai[1].codecs = &comp[4]; in p1022_ds_probe() 236 mdata->dai[1].platforms = &comp[5]; in p1022_ds_probe() [all …]
|
D | mpc8610_hpcd.c | 31 struct snd_soc_dai_link dai[2]; member 216 machine_data->dai[0].cpus = &comp[0]; in mpc8610_hpcd_probe() 217 machine_data->dai[0].codecs = &comp[1]; in mpc8610_hpcd_probe() 218 machine_data->dai[0].platforms = &comp[2]; in mpc8610_hpcd_probe() 220 machine_data->dai[0].num_cpus = 1; in mpc8610_hpcd_probe() 221 machine_data->dai[0].num_codecs = 1; in mpc8610_hpcd_probe() 222 machine_data->dai[0].num_platforms = 1; in mpc8610_hpcd_probe() 224 machine_data->dai[1].cpus = &comp[3]; in mpc8610_hpcd_probe() 225 machine_data->dai[1].codecs = &comp[4]; in mpc8610_hpcd_probe() 226 machine_data->dai[1].platforms = &comp[5]; in mpc8610_hpcd_probe() [all …]
|
/sound/soc/atmel/ |
D | mikroe-proto.c | 65 struct snd_soc_dai_link *dai; in snd_proto_probe() local 84 dai = devm_kzalloc(&pdev->dev, sizeof(*dai), GFP_KERNEL); in snd_proto_probe() 85 if (!dai) in snd_proto_probe() 93 snd_proto.dai_link = dai; in snd_proto_probe() 96 dai->cpus = &comp[0]; in snd_proto_probe() 97 dai->num_cpus = 1; in snd_proto_probe() 98 dai->codecs = &comp[1]; in snd_proto_probe() 99 dai->num_codecs = 1; in snd_proto_probe() 100 dai->platforms = &comp[2]; in snd_proto_probe() 101 dai->num_platforms = 1; in snd_proto_probe() [all …]
|
D | sam9x5_wm8731.c | 78 struct snd_soc_dai_link *dai; in sam9x5_wm8731_driver_probe() local 90 dai = devm_kzalloc(&pdev->dev, sizeof(*dai), GFP_KERNEL); in sam9x5_wm8731_driver_probe() 92 if (!dai || !card || !priv || !comp) { in sam9x5_wm8731_driver_probe() 101 card->dai_link = dai; in sam9x5_wm8731_driver_probe() 106 dai->cpus = &comp[0]; in sam9x5_wm8731_driver_probe() 107 dai->num_cpus = 1; in sam9x5_wm8731_driver_probe() 108 dai->codecs = &comp[1]; in sam9x5_wm8731_driver_probe() 109 dai->num_codecs = 1; in sam9x5_wm8731_driver_probe() 110 dai->platforms = &comp[2]; in sam9x5_wm8731_driver_probe() 111 dai->num_platforms = 1; in sam9x5_wm8731_driver_probe() [all …]
|
/sound/soc/mediatek/common/ |
D | mtk-afe-platform-driver.c | 18 struct mtk_base_afe_dai *dai; in mtk_afe_combine_sub_dai() local 22 list_for_each_entry(dai, &afe->sub_dais, list) { in mtk_afe_combine_sub_dai() 23 num_dai_drivers += dai->num_dai_drivers; in mtk_afe_combine_sub_dai() 37 list_for_each_entry(dai, &afe->sub_dais, list) { in mtk_afe_combine_sub_dai() 40 dai->dai_drivers, in mtk_afe_combine_sub_dai() 41 dai->num_dai_drivers * in mtk_afe_combine_sub_dai() 43 dai_idx += dai->num_dai_drivers; in mtk_afe_combine_sub_dai() 52 struct mtk_base_afe_dai *dai; in mtk_afe_add_sub_dai_control() local 54 list_for_each_entry(dai, &afe->sub_dais, list) { in mtk_afe_add_sub_dai_control() 55 if (dai->controls) in mtk_afe_add_sub_dai_control() [all …]
|
/sound/soc/qcom/qdsp6/ |
D | q6afe-dai.c | 77 struct snd_soc_dai *dai) in q6slim_hw_params() argument 80 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6slim_hw_params() 81 struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim; in q6slim_hw_params() 107 struct snd_soc_dai *dai) in q6hdmi_hw_params() argument 109 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6hdmi_hw_params() 111 struct q6afe_hdmi_cfg *hdmi = &dai_data->port_config[dai->id].hdmi; in q6hdmi_hw_params() 147 dev_err(dai->dev, "invalid Channels = %u\n", channels); in q6hdmi_hw_params() 156 struct snd_soc_dai *dai) in q6i2s_hw_params() argument 158 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6i2s_hw_params() 159 struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg; in q6i2s_hw_params() [all …]
|
/sound/soc/codecs/ |
D | hdac_hda.c | 36 struct snd_soc_dai *dai); 38 struct snd_soc_dai *dai); 40 struct snd_soc_dai *dai); 43 struct snd_soc_dai *dai); 45 struct snd_soc_dai *dai); 46 static int hdac_hda_dai_set_tdm_slot(struct snd_soc_dai *dai, 50 struct snd_soc_dai *dai); 128 static int hdac_hda_dai_set_tdm_slot(struct snd_soc_dai *dai, in hdac_hda_dai_set_tdm_slot() argument 132 struct snd_soc_component *component = dai->component; in hdac_hda_dai_set_tdm_slot() 137 pcm = &hda_pvt->pcm[dai->id]; in hdac_hda_dai_set_tdm_slot() [all …]
|
D | pcm3060.c | 16 static int pcm3060_set_sysclk(struct snd_soc_dai *dai, int clk_id, in pcm3060_set_sysclk() argument 19 struct snd_soc_component *comp = dai->component; in pcm3060_set_sysclk() 35 val = (dai->id == PCM3060_DAI_ID_DAC ? PCM3060_REG_CSEL : 0); in pcm3060_set_sysclk() 39 val = (dai->id == PCM3060_DAI_ID_DAC ? 0 : PCM3060_REG_CSEL); in pcm3060_set_sysclk() 47 if (dai->id == PCM3060_DAI_ID_DAC) in pcm3060_set_sysclk() 54 priv->dai[dai->id].sclk_freq = freq; in pcm3060_set_sysclk() 59 static int pcm3060_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in pcm3060_set_fmt() argument 61 struct snd_soc_component *comp = dai->component; in pcm3060_set_fmt() 73 priv->dai[dai->id].is_master = true; in pcm3060_set_fmt() 76 priv->dai[dai->id].is_master = false; in pcm3060_set_fmt() [all …]
|
/sound/soc/qcom/ |
D | lpass-cpu.c | 22 static int lpass_cpu_daiops_set_sysclk(struct snd_soc_dai *dai, int clk_id, in lpass_cpu_daiops_set_sysclk() argument 25 struct lpass_data *drvdata = snd_soc_dai_get_drvdata(dai); in lpass_cpu_daiops_set_sysclk() 28 ret = clk_set_rate(drvdata->mi2s_osr_clk[dai->driver->id], freq); in lpass_cpu_daiops_set_sysclk() 30 dev_err(dai->dev, "error setting mi2s osrclk to %u: %d\n", in lpass_cpu_daiops_set_sysclk() 37 struct snd_soc_dai *dai) in lpass_cpu_daiops_startup() argument 39 struct lpass_data *drvdata = snd_soc_dai_get_drvdata(dai); in lpass_cpu_daiops_startup() 42 ret = clk_prepare_enable(drvdata->mi2s_osr_clk[dai->driver->id]); in lpass_cpu_daiops_startup() 44 dev_err(dai->dev, "error in enabling mi2s osr clk: %d\n", ret); in lpass_cpu_daiops_startup() 48 ret = clk_prepare_enable(drvdata->mi2s_bit_clk[dai->driver->id]); in lpass_cpu_daiops_startup() 50 dev_err(dai->dev, "error in enabling mi2s bit clk: %d\n", ret); in lpass_cpu_daiops_startup() [all …]
|
/sound/soc/mediatek/mt6797/ |
D | mt6797-dai-pcm.c | 183 struct snd_soc_dai *dai) in mtk_dai_pcm_hw_params() argument 185 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_pcm_hw_params() 187 unsigned int rate_reg = mt6797_rate_transform(afe->dev, rate, dai->id); in mtk_dai_pcm_hw_params() 192 dai->id, in mtk_dai_pcm_hw_params() 196 dai->playback_widget->active, in mtk_dai_pcm_hw_params() 197 dai->capture_widget->active); in mtk_dai_pcm_hw_params() 199 if (dai->playback_widget->active || dai->capture_widget->active) in mtk_dai_pcm_hw_params() 202 switch (dai->id) { in mtk_dai_pcm_hw_params() 233 __func__, dai->id); in mtk_dai_pcm_hw_params() 301 struct mtk_base_afe_dai *dai; in mt6797_dai_pcm_register() local [all …]
|
D | mt6797-dai-hostless.c | 38 struct snd_soc_dai *dai) in mtk_dai_hostless_startup() argument 40 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_hostless_startup() 103 struct mtk_base_afe_dai *dai; in mt6797_dai_hostless_register() local 105 dai = devm_kzalloc(afe->dev, sizeof(*dai), GFP_KERNEL); in mt6797_dai_hostless_register() 106 if (!dai) in mt6797_dai_hostless_register() 109 list_add(&dai->list, &afe->sub_dais); in mt6797_dai_hostless_register() 111 dai->dai_drivers = mtk_dai_hostless_driver; in mt6797_dai_hostless_register() 112 dai->num_dai_drivers = ARRAY_SIZE(mtk_dai_hostless_driver); in mt6797_dai_hostless_register() 114 dai->dapm_routes = mtk_dai_hostless_routes; in mt6797_dai_hostless_register() 115 dai->num_dapm_routes = ARRAY_SIZE(mtk_dai_hostless_routes); in mt6797_dai_hostless_register()
|
/sound/soc/mediatek/mt8183/ |
D | mt8183-dai-pcm.c | 183 struct snd_soc_dai *dai) in mtk_dai_pcm_hw_params() argument 185 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_pcm_hw_params() 187 unsigned int rate_reg = mt8183_rate_transform(afe->dev, rate, dai->id); in mtk_dai_pcm_hw_params() 192 dai->id, in mtk_dai_pcm_hw_params() 196 dai->playback_widget->active, in mtk_dai_pcm_hw_params() 197 dai->capture_widget->active); in mtk_dai_pcm_hw_params() 199 if (dai->playback_widget->active || dai->capture_widget->active) in mtk_dai_pcm_hw_params() 202 switch (dai->id) { in mtk_dai_pcm_hw_params() 233 __func__, dai->id); in mtk_dai_pcm_hw_params() 301 struct mtk_base_afe_dai *dai; in mt8183_dai_pcm_register() local [all …]
|
D | mt8183-dai-hostless.c | 38 struct snd_soc_dai *dai) in mtk_dai_hostless_startup() argument 40 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_hostless_startup() 103 struct mtk_base_afe_dai *dai; in mt8183_dai_hostless_register() local 105 dai = devm_kzalloc(afe->dev, sizeof(*dai), GFP_KERNEL); in mt8183_dai_hostless_register() 106 if (!dai) in mt8183_dai_hostless_register() 109 list_add(&dai->list, &afe->sub_dais); in mt8183_dai_hostless_register() 111 dai->dai_drivers = mtk_dai_hostless_driver; in mt8183_dai_hostless_register() 112 dai->num_dai_drivers = ARRAY_SIZE(mtk_dai_hostless_driver); in mt8183_dai_hostless_register() 114 dai->dapm_routes = mtk_dai_hostless_routes; in mt8183_dai_hostless_register() 115 dai->num_dapm_routes = ARRAY_SIZE(mtk_dai_hostless_routes); in mt8183_dai_hostless_register()
|
/sound/pci/ctxfi/ |
D | ctdaio.c | 273 static int dai_set_srt_srcl(struct dai *dai, struct rsc *src) in dai_set_srt_srcl() argument 276 dai->hw->dai_srt_set_srcm(dai->ctrl_blk, src->ops->index(src)); in dai_set_srt_srcl() 280 static int dai_set_srt_srcr(struct dai *dai, struct rsc *src) in dai_set_srt_srcr() argument 283 dai->hw->dai_srt_set_srco(dai->ctrl_blk, src->ops->index(src)); in dai_set_srt_srcr() 287 static int dai_set_srt_msr(struct dai *dai, unsigned int msr) in dai_set_srt_msr() argument 294 dai->hw->dai_srt_set_rsr(dai->ctrl_blk, rsr); in dai_set_srt_msr() 298 static int dai_set_enb_src(struct dai *dai, unsigned int enb) in dai_set_enb_src() argument 300 dai->hw->dai_srt_set_ec(dai->ctrl_blk, enb); in dai_set_enb_src() 304 static int dai_set_enb_srt(struct dai *dai, unsigned int enb) in dai_set_enb_srt() argument 306 dai->hw->dai_srt_set_et(dai->ctrl_blk, enb); in dai_set_enb_srt() [all …]
|
D | ctdaio.h | 57 struct dai { struct 81 int (*set_srt_srcl)(struct dai *dai, struct rsc *src); argument 82 int (*set_srt_srcr)(struct dai *dai, struct rsc *src); 83 int (*set_srt_msr)(struct dai *dai, unsigned int msr); 84 int (*set_enb_src)(struct dai *dai, unsigned int enb); 85 int (*set_enb_srt)(struct dai *dai, unsigned int enb); 86 int (*commit_write)(struct dai *dai);
|
/sound/soc/sti/ |
D | sti_uniperif.c | 123 int sti_uniperiph_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, in sti_uniperiph_set_tdm_slot() argument 127 struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); in sti_uniperiph_set_tdm_slot() 255 static int sti_uniperiph_dai_create_ctrl(struct snd_soc_dai *dai) in sti_uniperiph_dai_create_ctrl() argument 257 struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); in sti_uniperiph_dai_create_ctrl() 275 return snd_soc_add_dai_controls(dai, uni->snd_ctrls, uni->num_ctrls); in sti_uniperiph_dai_create_ctrl() 283 struct snd_soc_dai *dai) in sti_uniperiph_dai_hw_params() argument 285 struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); in sti_uniperiph_dai_hw_params() 296 dma_data = snd_soc_dai_get_dma_data(dai, substream); in sti_uniperiph_dai_hw_params() 302 int sti_uniperiph_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in sti_uniperiph_dai_set_fmt() argument 304 struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); in sti_uniperiph_dai_set_fmt() [all …]
|
/sound/soc/intel/atom/ |
D | sst-mfld-platform-pcm.c | 96 static int sst_media_digital_mute(struct snd_soc_dai *dai, int mute, int stream) in sst_media_digital_mute() argument 99 return sst_send_pipe_gains(dai, stream, mute); in sst_media_digital_mute() 223 struct snd_soc_dai *dai) in sst_platform_alloc_stream() argument 231 struct sst_data *ctx = snd_soc_dai_get_drvdata(dai); in sst_platform_alloc_stream() 304 struct snd_soc_dai *dai) in sst_media_open() argument 319 dev_err(dai->dev, "no device available to run\n"); in sst_media_open() 349 struct snd_soc_dai *dai) in sst_media_close() argument 365 struct snd_soc_dai *dai) in sst_media_prepare() argument 377 ret_val = sst_platform_alloc_stream(substream, dai); in sst_media_prepare() 392 struct snd_soc_dai *dai) in sst_media_hw_params() argument [all …]
|
/sound/soc/intel/skylake/ |
D | skl-pcm.c | 115 struct snd_soc_dai *dai, bool enable) in skl_set_suspend_active() argument 117 struct hdac_bus *bus = dev_get_drvdata(dai->dev); in skl_set_suspend_active() 122 w = dai->playback_widget; in skl_set_suspend_active() 124 w = dai->capture_widget; in skl_set_suspend_active() 221 struct snd_soc_dai *dai) in skl_pcm_open() argument 223 struct hdac_bus *bus = dev_get_drvdata(dai->dev); in skl_pcm_open() 227 struct skl_dev *skl = get_skl_ctx(dai->dev); in skl_pcm_open() 230 dev_dbg(dai->dev, "%s: %s\n", __func__, dai->name); in skl_pcm_open() 255 snd_soc_dai_set_dma_data(dai, substream, dma_params); in skl_pcm_open() 257 dev_dbg(dai->dev, "stream tag set in dma params=%d\n", in skl_pcm_open() [all …]
|