Home
last modified time | relevance | path

Searched refs:mtkaif_chosen_phase (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-mt6359-rt1015-rt5682.c182 afe_priv->mtkaif_chosen_phase[0] = -1; in mt8192_mt6359_mtkaif_calibration()
183 afe_priv->mtkaif_chosen_phase[1] = -1; in mt8192_mt6359_mtkaif_calibration()
184 afe_priv->mtkaif_chosen_phase[2] = -1; in mt8192_mt6359_mtkaif_calibration()
238 afe_priv->mtkaif_chosen_phase[0] < 0) { in mt8192_mt6359_mtkaif_calibration()
260 afe_priv->mtkaif_chosen_phase[2] >= 0) in mt8192_mt6359_mtkaif_calibration()
264 if (afe_priv->mtkaif_chosen_phase[0] < 0) in mt8192_mt6359_mtkaif_calibration()
269 if (afe_priv->mtkaif_chosen_phase[1] < 0) in mt8192_mt6359_mtkaif_calibration()
274 if (afe_priv->mtkaif_chosen_phase[2] < 0) in mt8192_mt6359_mtkaif_calibration()
297 afe_priv->mtkaif_chosen_phase[0], in mt8192_mt6359_mtkaif_calibration()
298 afe_priv->mtkaif_chosen_phase[1], in mt8192_mt6359_mtkaif_calibration()
[all …]
H A Dmt8192-dai-adda.c439 (afe_priv->mtkaif_chosen_phase[0] < 0 || in mtk_adda_mtkaif_cfg_event()
440 afe_priv->mtkaif_chosen_phase[1] < 0)) { in mtk_adda_mtkaif_cfg_event()
444 afe_priv->mtkaif_chosen_phase[0], in mtk_adda_mtkaif_cfg_event()
445 afe_priv->mtkaif_chosen_phase[1]); in mtk_adda_mtkaif_cfg_event()
448 afe_priv->mtkaif_chosen_phase[2] < 0) { in mtk_adda_mtkaif_cfg_event()
452 afe_priv->mtkaif_chosen_phase[2]); in mtk_adda_mtkaif_cfg_event()
H A Dmt8192-afe-common.h144 int mtkaif_chosen_phase[4]; member
/openbmc/linux/sound/soc/mediatek/mt8195/
H A Dmt8195-mt6359.c157 int mtkaif_chosen_phase[MT8195_MTKAIF_MISO_NUM]; in mt8195_mt6359_mtkaif_calibration() local
170 param->mtkaif_chosen_phase[i] = -1; in mt8195_mt6359_mtkaif_calibration()
172 mtkaif_chosen_phase[i] = -1; in mt8195_mt6359_mtkaif_calibration()
239 mtkaif_chosen_phase[MT8195_MTKAIF_MISO_0] < 0) { in mt8195_mt6359_mtkaif_calibration()
245 mtkaif_chosen_phase[MT8195_MTKAIF_MISO_1] < 0) { in mt8195_mt6359_mtkaif_calibration()
251 mtkaif_chosen_phase[MT8195_MTKAIF_MISO_2] < 0) { in mt8195_mt6359_mtkaif_calibration()
259 if (mtkaif_chosen_phase[MT8195_MTKAIF_MISO_0] >= 0 && in mt8195_mt6359_mtkaif_calibration()
261 mtkaif_chosen_phase[MT8195_MTKAIF_MISO_2] >= 0) in mt8195_mt6359_mtkaif_calibration()
265 if (mtkaif_chosen_phase[MT8195_MTKAIF_MISO_0] < 0) { in mt8195_mt6359_mtkaif_calibration()
272 if (mtkaif_chosen_phase[MT8195_MTKAIF_MISO_1] < 0) { in mt8195_mt6359_mtkaif_calibration()
[all …]
H A Dmt8195-afe-common.h117 int mtkaif_chosen_phase[MT8195_MTKAIF_MISO_NUM]; member
/openbmc/linux/sound/soc/mediatek/mt8188/
H A Dmt8188-mt6359.c283 int mtkaif_chosen_phase[MT8188_MTKAIF_MISO_NUM]; in mt8188_mt6359_mtkaif_calibration() local
303 param->mtkaif_chosen_phase[i] = -1; in mt8188_mt6359_mtkaif_calibration()
305 mtkaif_chosen_phase[i] = -1; in mt8188_mt6359_mtkaif_calibration()
377 mtkaif_chosen_phase[MT8188_MTKAIF_MISO_0] < 0) { in mt8188_mt6359_mtkaif_calibration()
378 mtkaif_chosen_phase[MT8188_MTKAIF_MISO_0] = phase - 1; in mt8188_mt6359_mtkaif_calibration()
383 mtkaif_chosen_phase[MT8188_MTKAIF_MISO_1] < 0) { in mt8188_mt6359_mtkaif_calibration()
384 mtkaif_chosen_phase[MT8188_MTKAIF_MISO_1] = phase - 1; in mt8188_mt6359_mtkaif_calibration()
390 if (mtkaif_chosen_phase[MT8188_MTKAIF_MISO_0] >= 0 && in mt8188_mt6359_mtkaif_calibration()
391 mtkaif_chosen_phase[MT8188_MTKAIF_MISO_1] >= 0) in mt8188_mt6359_mtkaif_calibration()
395 if (mtkaif_chosen_phase[MT8188_MTKAIF_MISO_0] < 0) { in mt8188_mt6359_mtkaif_calibration()
[all …]
H A Dmt8188-afe-common.h117 int mtkaif_chosen_phase[MT8188_MTKAIF_MISO_NUM]; member
/openbmc/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-dai-adda.c325 if (afe_priv->mtkaif_chosen_phase[0] < 0 && in mtk_adda_mtkaif_cfg_event()
326 afe_priv->mtkaif_chosen_phase[1] < 0) { in mtk_adda_mtkaif_cfg_event()
330 afe_priv->mtkaif_chosen_phase[0], in mtk_adda_mtkaif_cfg_event()
331 afe_priv->mtkaif_chosen_phase[1]); in mtk_adda_mtkaif_cfg_event()
335 if (afe_priv->mtkaif_chosen_phase[0] < 0 || in mtk_adda_mtkaif_cfg_event()
336 afe_priv->mtkaif_chosen_phase[1] < 0) { in mtk_adda_mtkaif_cfg_event()
340 afe_priv->mtkaif_chosen_phase[0], in mtk_adda_mtkaif_cfg_event()
341 afe_priv->mtkaif_chosen_phase[1]); in mtk_adda_mtkaif_cfg_event()
H A Dmt8186-afe-common.h164 int mtkaif_chosen_phase[4]; member
/openbmc/linux/sound/soc/mediatek/mt8183/
H A Dmt8183-afe-common.h88 int mtkaif_chosen_phase[4]; member