Home
last modified time | relevance | path

Searched refs:mtkaif_phase_cycle (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/sound/soc/mediatek/mt8195/
H A Dmt8195-dai-adda.c148 if (param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_0] >= in mt8195_adda_mtkaif_init()
149 param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_1]) { in mt8195_adda_mtkaif_init()
152 param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_0] - in mt8195_adda_mtkaif_init()
153 param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_1]; in mt8195_adda_mtkaif_init()
157 param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_1] - in mt8195_adda_mtkaif_init()
158 param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_0]; in mt8195_adda_mtkaif_init()
169 if (param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_2] >= in mt8195_adda_mtkaif_init()
173 param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_2] - in mt8195_adda_mtkaif_init()
174 param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_1]; in mt8195_adda_mtkaif_init()
178 param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_1] - in mt8195_adda_mtkaif_init()
[all …]
H A Dmt8195-mt6359.c158 int mtkaif_phase_cycle[MT8195_MTKAIF_MISO_NUM]; in mt8195_mt6359_mtkaif_calibration() local
171 param->mtkaif_phase_cycle[i] = 0; in mt8195_mt6359_mtkaif_calibration()
173 mtkaif_phase_cycle[i] = 0; in mt8195_mt6359_mtkaif_calibration()
241 mtkaif_phase_cycle[MT8195_MTKAIF_MISO_0] = prev_cycle_1; in mt8195_mt6359_mtkaif_calibration()
247 mtkaif_phase_cycle[MT8195_MTKAIF_MISO_1] = prev_cycle_2; in mt8195_mt6359_mtkaif_calibration()
253 mtkaif_phase_cycle[MT8195_MTKAIF_MISO_2] = prev_cycle_3; in mt8195_mt6359_mtkaif_calibration()
299 param->mtkaif_phase_cycle[i] = mtkaif_phase_cycle[i]; in mt8195_mt6359_mtkaif_calibration()
H A Dmt8195-afe-common.h118 int mtkaif_phase_cycle[MT8195_MTKAIF_MISO_NUM]; member
/openbmc/linux/sound/soc/mediatek/mt8183/
H A Dmt8183-dai-adda.c315 if (afe_priv->mtkaif_phase_cycle[0] >= in set_mtkaif_rx()
316 afe_priv->mtkaif_phase_cycle[1]) { in set_mtkaif_rx()
318 delay_cycle = afe_priv->mtkaif_phase_cycle[0] - in set_mtkaif_rx()
319 afe_priv->mtkaif_phase_cycle[1]; in set_mtkaif_rx()
322 delay_cycle = afe_priv->mtkaif_phase_cycle[1] - in set_mtkaif_rx()
323 afe_priv->mtkaif_phase_cycle[0]; in set_mtkaif_rx()
H A Dmt8183-afe-common.h89 int mtkaif_phase_cycle[4]; member
/openbmc/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-dai-adda.c465 if (afe_priv->mtkaif_phase_cycle[0] >= in mtk_adda_mtkaif_cfg_event()
466 afe_priv->mtkaif_phase_cycle[1]) { in mtk_adda_mtkaif_cfg_event()
468 delay_cycle = afe_priv->mtkaif_phase_cycle[0] - in mtk_adda_mtkaif_cfg_event()
469 afe_priv->mtkaif_phase_cycle[1]; in mtk_adda_mtkaif_cfg_event()
472 delay_cycle = afe_priv->mtkaif_phase_cycle[1] - in mtk_adda_mtkaif_cfg_event()
473 afe_priv->mtkaif_phase_cycle[0]; in mtk_adda_mtkaif_cfg_event()
489 if (afe_priv->mtkaif_phase_cycle[2] >= in mtk_adda_mtkaif_cfg_event()
490 afe_priv->mtkaif_phase_cycle[1]) { in mtk_adda_mtkaif_cfg_event()
492 delay_cycle = afe_priv->mtkaif_phase_cycle[2] - in mtk_adda_mtkaif_cfg_event()
493 afe_priv->mtkaif_phase_cycle[1]; in mtk_adda_mtkaif_cfg_event()
[all …]
H A Dmt8192-afe-common.h145 int mtkaif_phase_cycle[4]; member
H A Dmt8192-mt6359-rt1015-rt5682.c240 afe_priv->mtkaif_phase_cycle[0] = prev_cycle_1; in mt8192_mt6359_mtkaif_calibration()
246 afe_priv->mtkaif_phase_cycle[1] = prev_cycle_2; in mt8192_mt6359_mtkaif_calibration()
252 afe_priv->mtkaif_phase_cycle[2] = prev_cycle_3; in mt8192_mt6359_mtkaif_calibration()
/openbmc/linux/sound/soc/mediatek/mt8188/
H A Dmt8188-dai-adda.c136 if (param->mtkaif_phase_cycle[MT8188_MTKAIF_MISO_0] >= in mt8188_adda_mtkaif_init()
137 param->mtkaif_phase_cycle[MT8188_MTKAIF_MISO_1]) { in mt8188_adda_mtkaif_init()
140 param->mtkaif_phase_cycle[MT8188_MTKAIF_MISO_0] - in mt8188_adda_mtkaif_init()
141 param->mtkaif_phase_cycle[MT8188_MTKAIF_MISO_1]; in mt8188_adda_mtkaif_init()
145 param->mtkaif_phase_cycle[MT8188_MTKAIF_MISO_1] - in mt8188_adda_mtkaif_init()
146 param->mtkaif_phase_cycle[MT8188_MTKAIF_MISO_0]; in mt8188_adda_mtkaif_init()
H A Dmt8188-mt6359.c284 int mtkaif_phase_cycle[MT8188_MTKAIF_MISO_NUM]; in mt8188_mt6359_mtkaif_calibration() local
304 param->mtkaif_phase_cycle[i] = 0; in mt8188_mt6359_mtkaif_calibration()
306 mtkaif_phase_cycle[i] = 0; in mt8188_mt6359_mtkaif_calibration()
379 mtkaif_phase_cycle[MT8188_MTKAIF_MISO_0] = prev_cycle_1; in mt8188_mt6359_mtkaif_calibration()
385 mtkaif_phase_cycle[MT8188_MTKAIF_MISO_1] = prev_cycle_2; in mt8188_mt6359_mtkaif_calibration()
422 param->mtkaif_phase_cycle[i] = mtkaif_phase_cycle[i]; in mt8188_mt6359_mtkaif_calibration()
H A Dmt8188-afe-common.h118 int mtkaif_phase_cycle[MT8188_MTKAIF_MISO_NUM]; member
/openbmc/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-dai-adda.c347 if (afe_priv->mtkaif_phase_cycle[0] >= in mtk_adda_mtkaif_cfg_event()
348 afe_priv->mtkaif_phase_cycle[1]) { in mtk_adda_mtkaif_cfg_event()
350 delay_cycle = afe_priv->mtkaif_phase_cycle[0] - in mtk_adda_mtkaif_cfg_event()
351 afe_priv->mtkaif_phase_cycle[1]; in mtk_adda_mtkaif_cfg_event()
354 delay_cycle = afe_priv->mtkaif_phase_cycle[1] - in mtk_adda_mtkaif_cfg_event()
355 afe_priv->mtkaif_phase_cycle[0]; in mtk_adda_mtkaif_cfg_event()
H A Dmt8186-afe-common.h165 int mtkaif_phase_cycle[4]; member