Lines Matching refs:dai_priv
2944 struct madera_dai_priv *dai_priv = &priv->dai[dai->id - 1]; in madera_startup() local
2951 switch (dai_priv->clk) { in madera_startup()
2970 dai_priv->constraint.mask = MADERA_384K_RATE_MASK; in madera_startup()
2972 dai_priv->constraint.mask = MADERA_384K_44K1_RATE_MASK; in madera_startup()
2974 dai_priv->constraint.mask = MADERA_384K_48K_RATE_MASK; in madera_startup()
2978 dai_priv->constraint.mask = MADERA_192K_RATE_MASK; in madera_startup()
2980 dai_priv->constraint.mask = MADERA_192K_44K1_RATE_MASK; in madera_startup()
2982 dai_priv->constraint.mask = MADERA_192K_48K_RATE_MASK; in madera_startup()
2988 &dai_priv->constraint); in madera_startup()
2997 struct madera_dai_priv *dai_priv = &priv->dai[dai->id - 1]; in madera_hw_params_rate() local
3014 switch (dai_priv->clk) { in madera_hw_params_rate()
3036 madera_aif_err(dai, "Invalid clock %d\n", dai_priv->clk); in madera_hw_params_rate()
3246 struct madera_dai_priv *dai_priv = &priv->dai[dai->id - 1]; in madera_dai_set_sysclk() local
3256 if (is_sync == madera_is_syncclk(dai_priv->clk)) in madera_dai_set_sysclk()
3283 dai_priv->clk = clk_id; in madera_dai_set_sysclk()
3380 struct madera_dai_priv *dai_priv = &priv->dai[id]; in madera_init_dai() local
3382 dai_priv->clk = MADERA_CLK_SYSCLK_1; in madera_init_dai()
3383 dai_priv->constraint = madera_constraint; in madera_init_dai()