Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/mediatek/mt8195/
Dmt8195-dai-adda.c64 if (param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_0] >= in mt8195_adda_mtkaif_init()
65 param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_1]) { in mt8195_adda_mtkaif_init()
68 param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_0] - in mt8195_adda_mtkaif_init()
69 param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_1]; in mt8195_adda_mtkaif_init()
73 param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_1] - in mt8195_adda_mtkaif_init()
74 param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_0]; in mt8195_adda_mtkaif_init()
85 if (param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_2] >= in mt8195_adda_mtkaif_init()
86 param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_1]) { in mt8195_adda_mtkaif_init()
89 param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_2] - in mt8195_adda_mtkaif_init()
90 param->mtkaif_phase_cycle[MT8195_MTKAIF_MISO_1]; in mt8195_adda_mtkaif_init()
[all …]
Dmt8195-mt6359.c165 int mtkaif_phase_cycle[MT8195_MTKAIF_MISO_NUM]; in mt8195_mt6359_mtkaif_calibration() local
178 param->mtkaif_phase_cycle[i] = 0; in mt8195_mt6359_mtkaif_calibration()
180 mtkaif_phase_cycle[i] = 0; in mt8195_mt6359_mtkaif_calibration()
248 mtkaif_phase_cycle[MT8195_MTKAIF_MISO_0] = prev_cycle_1; in mt8195_mt6359_mtkaif_calibration()
254 mtkaif_phase_cycle[MT8195_MTKAIF_MISO_1] = prev_cycle_2; in mt8195_mt6359_mtkaif_calibration()
260 mtkaif_phase_cycle[MT8195_MTKAIF_MISO_2] = prev_cycle_3; in mt8195_mt6359_mtkaif_calibration()
306 param->mtkaif_phase_cycle[i] = mtkaif_phase_cycle[i]; in mt8195_mt6359_mtkaif_calibration()
Dmt8195-afe-common.h118 int mtkaif_phase_cycle[MT8195_MTKAIF_MISO_NUM]; member
/linux-6.12.1/sound/soc/mediatek/mt8183/
Dmt8183-dai-adda.c231 if (afe_priv->mtkaif_phase_cycle[0] >= in set_mtkaif_rx()
232 afe_priv->mtkaif_phase_cycle[1]) { in set_mtkaif_rx()
234 delay_cycle = afe_priv->mtkaif_phase_cycle[0] - in set_mtkaif_rx()
235 afe_priv->mtkaif_phase_cycle[1]; in set_mtkaif_rx()
238 delay_cycle = afe_priv->mtkaif_phase_cycle[1] - in set_mtkaif_rx()
239 afe_priv->mtkaif_phase_cycle[0]; in set_mtkaif_rx()
Dmt8183-afe-common.h89 int mtkaif_phase_cycle[4]; member
/linux-6.12.1/sound/soc/mediatek/mt8192/
Dmt8192-dai-adda.c381 if (afe_priv->mtkaif_phase_cycle[0] >= in mtk_adda_mtkaif_cfg_event()
382 afe_priv->mtkaif_phase_cycle[1]) { in mtk_adda_mtkaif_cfg_event()
384 delay_cycle = afe_priv->mtkaif_phase_cycle[0] - in mtk_adda_mtkaif_cfg_event()
385 afe_priv->mtkaif_phase_cycle[1]; in mtk_adda_mtkaif_cfg_event()
388 delay_cycle = afe_priv->mtkaif_phase_cycle[1] - in mtk_adda_mtkaif_cfg_event()
389 afe_priv->mtkaif_phase_cycle[0]; in mtk_adda_mtkaif_cfg_event()
405 if (afe_priv->mtkaif_phase_cycle[2] >= in mtk_adda_mtkaif_cfg_event()
406 afe_priv->mtkaif_phase_cycle[1]) { in mtk_adda_mtkaif_cfg_event()
408 delay_cycle = afe_priv->mtkaif_phase_cycle[2] - in mtk_adda_mtkaif_cfg_event()
409 afe_priv->mtkaif_phase_cycle[1]; in mtk_adda_mtkaif_cfg_event()
[all …]
Dmt8192-afe-common.h145 int mtkaif_phase_cycle[4]; member
Dmt8192-mt6359-rt1015-rt5682.c243 afe_priv->mtkaif_phase_cycle[0] = prev_cycle_1; in mt8192_mt6359_mtkaif_calibration()
249 afe_priv->mtkaif_phase_cycle[1] = prev_cycle_2; in mt8192_mt6359_mtkaif_calibration()
255 afe_priv->mtkaif_phase_cycle[2] = prev_cycle_3; in mt8192_mt6359_mtkaif_calibration()
/linux-6.12.1/sound/soc/mediatek/mt8188/
Dmt8188-dai-adda.c53 if (param->mtkaif_phase_cycle[MT8188_MTKAIF_MISO_0] >= in mt8188_adda_mtkaif_init()
54 param->mtkaif_phase_cycle[MT8188_MTKAIF_MISO_1]) { in mt8188_adda_mtkaif_init()
57 param->mtkaif_phase_cycle[MT8188_MTKAIF_MISO_0] - in mt8188_adda_mtkaif_init()
58 param->mtkaif_phase_cycle[MT8188_MTKAIF_MISO_1]; in mt8188_adda_mtkaif_init()
62 param->mtkaif_phase_cycle[MT8188_MTKAIF_MISO_1] - in mt8188_adda_mtkaif_init()
63 param->mtkaif_phase_cycle[MT8188_MTKAIF_MISO_0]; in mt8188_adda_mtkaif_init()
Dmt8188-mt6359.c356 int mtkaif_phase_cycle[MT8188_MTKAIF_MISO_NUM]; in mt8188_mt6359_mtkaif_calibration() local
376 param->mtkaif_phase_cycle[i] = 0; in mt8188_mt6359_mtkaif_calibration()
378 mtkaif_phase_cycle[i] = 0; in mt8188_mt6359_mtkaif_calibration()
451 mtkaif_phase_cycle[MT8188_MTKAIF_MISO_0] = prev_cycle_1; in mt8188_mt6359_mtkaif_calibration()
457 mtkaif_phase_cycle[MT8188_MTKAIF_MISO_1] = prev_cycle_2; in mt8188_mt6359_mtkaif_calibration()
494 param->mtkaif_phase_cycle[i] = mtkaif_phase_cycle[i]; in mt8188_mt6359_mtkaif_calibration()
Dmt8188-afe-common.h118 int mtkaif_phase_cycle[MT8188_MTKAIF_MISO_NUM]; member
/linux-6.12.1/sound/soc/mediatek/mt8186/
Dmt8186-dai-adda.c261 if (afe_priv->mtkaif_phase_cycle[0] >= in mtk_adda_mtkaif_cfg_event()
262 afe_priv->mtkaif_phase_cycle[1]) { in mtk_adda_mtkaif_cfg_event()
264 delay_cycle = afe_priv->mtkaif_phase_cycle[0] - in mtk_adda_mtkaif_cfg_event()
265 afe_priv->mtkaif_phase_cycle[1]; in mtk_adda_mtkaif_cfg_event()
268 delay_cycle = afe_priv->mtkaif_phase_cycle[1] - in mtk_adda_mtkaif_cfg_event()
269 afe_priv->mtkaif_phase_cycle[0]; in mtk_adda_mtkaif_cfg_event()
Dmt8186-afe-common.h165 int mtkaif_phase_cycle[4]; member