Searched refs:dai_priv (Results 1 – 5 of 5) sorted by relevance
253 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[MT8183_DAI_TDM]; in mtk_tdm_bck_en_event()279 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[MT8183_DAI_TDM]; in mtk_tdm_mck_en_event()337 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[MT8183_DAI_TDM]; in mtk_afe_tdm_apll_connect()471 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[tdm_id]; in mtk_dai_tdm_hw_params()620 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_tdm_set_sysclk()641 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_tdm_set_fmt()746 afe_priv->dai_priv[MT8183_DAI_TDM] = tdm_priv; in mt8183_dai_tdm_register()
106 return afe_priv->dai_priv[dai_id]; in get_i2s_priv_by_name()710 struct mtk_afe_i2s_priv *i2s_priv = afe_priv->dai_priv[i2s_id]; in mtk_dai_i2s_config()800 struct mtk_afe_i2s_priv *i2s_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_i2s_set_sysclk()836 share_i2s_priv = afe_priv->dai_priv[i2s_priv->share_i2s_id]; in mtk_dai_i2s_set_sysclk()868 i2s_priv = afe_priv->dai_priv[dai->id]; in mtk_dai_i2s_set_fmt()1019 i2s_priv = afe_priv->dai_priv[mt8183_i2s_priv[i].id]; in mt8183_dai_i2s_get_share()1045 afe_priv->dai_priv[mt8183_i2s_priv[i].id] = i2s_priv; in mt8183_dai_i2s_set_priv()
83 void *dai_priv[MT8183_DAI_NUM]; member
1620 struct arizona_dai_priv *dai_priv = &priv->dai[dai->id - 1]; in arizona_startup() local1626 switch (dai_priv->clk) { in arizona_startup()1638 dai_priv->constraint.mask = ARIZONA_RATE_MASK; in arizona_startup()1640 dai_priv->constraint.mask = ARIZONA_44K1_RATE_MASK; in arizona_startup()1642 dai_priv->constraint.mask = ARIZONA_48K_RATE_MASK; in arizona_startup()1646 &dai_priv->constraint); in arizona_startup()1680 struct arizona_dai_priv *dai_priv = &priv->dai[dai->id - 1]; in arizona_hw_params_rate() local1715 switch (dai_priv->clk) { in arizona_hw_params_rate()1746 arizona_aif_err(dai, "Invalid clock %d\n", dai_priv->clk); in arizona_hw_params_rate()1915 struct arizona_dai_priv *dai_priv = &priv->dai[dai->id - 1]; in arizona_dai_set_sysclk() local[all …]
2944 struct madera_dai_priv *dai_priv = &priv->dai[dai->id - 1]; in madera_startup() local2951 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[all …]