Lines Matching refs:dai_priv
2901 struct madera_dai_priv *dai_priv = &priv->dai[dai->id - 1]; in madera_startup() local
2908 switch (dai_priv->clk) { in madera_startup()
2927 dai_priv->constraint.mask = MADERA_384K_RATE_MASK; in madera_startup()
2929 dai_priv->constraint.mask = MADERA_384K_44K1_RATE_MASK; in madera_startup()
2931 dai_priv->constraint.mask = MADERA_384K_48K_RATE_MASK; in madera_startup()
2935 dai_priv->constraint.mask = MADERA_192K_RATE_MASK; in madera_startup()
2937 dai_priv->constraint.mask = MADERA_192K_44K1_RATE_MASK; in madera_startup()
2939 dai_priv->constraint.mask = MADERA_192K_48K_RATE_MASK; in madera_startup()
2945 &dai_priv->constraint); in madera_startup()
2954 struct madera_dai_priv *dai_priv = &priv->dai[dai->id - 1]; in madera_hw_params_rate() local
2971 switch (dai_priv->clk) { in madera_hw_params_rate()
2993 madera_aif_err(dai, "Invalid clock %d\n", dai_priv->clk); in madera_hw_params_rate()
3216 struct madera_dai_priv *dai_priv = &priv->dai[dai->id - 1]; in madera_dai_set_sysclk() local
3226 if (is_sync == madera_is_syncclk(dai_priv->clk)) in madera_dai_set_sysclk()
3253 dai_priv->clk = clk_id; in madera_dai_set_sysclk()
3350 struct madera_dai_priv *dai_priv = &priv->dai[id]; in madera_init_dai() local
3352 dai_priv->clk = MADERA_CLK_SYSCLK_1; in madera_init_dai()
3353 dai_priv->constraint = madera_constraint; in madera_init_dai()