Lines Matching defs:afe

14 #include "../common/mtk-afe-fe-dai.h"
15 #include "../common/mtk-afe-platform-driver.h"
16 #include "mt8186-afe-common.h"
78 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt);
79 struct mt8186_afe_private *afe_priv = afe->platform_priv;
90 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt);
91 struct mt8186_afe_private *afe_priv = afe->platform_priv;
102 dev_dbg(afe->dev, "%s(), mode %d, mode_idx %d\n",
109 regmap_update_bits(afe->regmap, AFE_SINEGEN_CON2,
112 regmap_update_bits(afe->regmap, AFE_SINEGEN_CON0,
116 regmap_update_bits(afe->regmap, AFE_SINEGEN_CON0,
118 regmap_update_bits(afe->regmap, AFE_SINEGEN_CON2,
132 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt);
133 struct mt8186_afe_private *afe_priv = afe->platform_priv;
144 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt);
145 struct mt8186_afe_private *afe_priv = afe->platform_priv;
154 dev_dbg(afe->dev, "%s(), rate %d\n", __func__, rate);
159 regmap_update_bits(afe->regmap, AFE_SINEGEN_CON0,
163 regmap_update_bits(afe->regmap, AFE_SINEGEN_CON0,
176 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt);
177 struct mt8186_afe_private *afe_priv = afe->platform_priv;
187 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt);
188 struct mt8186_afe_private *afe_priv = afe->platform_priv;
197 dev_err(afe->dev, "%s(), amplitude %d invalid\n",
202 dev_dbg(afe->dev, "%s(), amplitude %d\n", __func__, amplitude);
207 regmap_update_bits(afe->regmap, AFE_SINEGEN_CON0,
210 regmap_update_bits(afe->regmap, AFE_SINEGEN_CON0,