• Home
  • Raw
  • Download

Lines Matching refs:num_dai

28 	int num_dai;  member
152 int i, num_dai, ret; in imx_audmix_probe() local
176 num_dai = of_count_phandle_with_args(audmix_np, "dais", NULL); in imx_audmix_probe()
177 if (num_dai != FSL_AUDMIX_MAX_DAIS) { in imx_audmix_probe()
187 priv->num_dai = 2 * num_dai; in imx_audmix_probe()
188 priv->dai = devm_kcalloc(&pdev->dev, priv->num_dai, in imx_audmix_probe()
193 priv->num_dai_conf = num_dai; in imx_audmix_probe()
200 priv->num_dapm_routes = 3 * num_dai; in imx_audmix_probe()
207 for (i = 0; i < num_dai; i++) { in imx_audmix_probe()
276 priv->dai[num_dai + i].cpus = &dlc[3]; in imx_audmix_probe()
277 priv->dai[num_dai + i].codecs = &dlc[4]; in imx_audmix_probe()
278 priv->dai[num_dai + i].platforms = &dlc[5]; in imx_audmix_probe()
280 priv->dai[num_dai + i].num_cpus = 1; in imx_audmix_probe()
281 priv->dai[num_dai + i].num_codecs = 1; in imx_audmix_probe()
282 priv->dai[num_dai + i].num_platforms = 1; in imx_audmix_probe()
284 priv->dai[num_dai + i].name = be_name; in imx_audmix_probe()
285 priv->dai[num_dai + i].codecs->dai_name = "snd-soc-dummy-dai"; in imx_audmix_probe()
286 priv->dai[num_dai + i].codecs->name = "snd-soc-dummy"; in imx_audmix_probe()
287 priv->dai[num_dai + i].cpus->of_node = audmix_np; in imx_audmix_probe()
288 priv->dai[num_dai + i].cpus->dai_name = be_name; in imx_audmix_probe()
289 priv->dai[num_dai + i].platforms->name = "snd-soc-dummy"; in imx_audmix_probe()
290 priv->dai[num_dai + i].no_pcm = 1; in imx_audmix_probe()
291 priv->dai[num_dai + i].dpcm_playback = 1; in imx_audmix_probe()
292 priv->dai[num_dai + i].dpcm_capture = 1; in imx_audmix_probe()
293 priv->dai[num_dai + i].ignore_pmdown_time = 1; in imx_audmix_probe()
294 priv->dai[num_dai + i].ops = &imx_audmix_be_ops; in imx_audmix_probe()
306 priv->dapm_routes[num_dai + i].source = be_pb; in imx_audmix_probe()
307 priv->dapm_routes[num_dai + i].sink = be_cp; in imx_audmix_probe()
308 priv->dapm_routes[2 * num_dai + i].source = be_cp; in imx_audmix_probe()
309 priv->dapm_routes[2 * num_dai + i].sink = capture_dai_name; in imx_audmix_probe()
330 priv->card.num_links = priv->num_dai; in imx_audmix_probe()