Home
last modified time | relevance | path

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

/linux/sound/soc/mediatek/mt8195/
H A 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 …]
H A Dmt8195-mt6359.c168 int mtkaif_phase_cycle[MT8195_MTKAIF_MISO_NUM]; in mt8195_mt6359_mtkaif_calibration() local
181 param->mtkaif_phase_cycle[i] = 0; in mt8195_mt6359_mtkaif_calibration()
183 mtkaif_phase_cycle[i] = 0; in mt8195_mt6359_mtkaif_calibration()
251 mtkaif_phase_cycle[MT8195_MTKAIF_MISO_0] = prev_cycle_1; in mt8195_mt6359_mtkaif_calibration()
257 mtkaif_phase_cycle[MT8195_MTKAIF_MISO_1] = prev_cycle_2; in mt8195_mt6359_mtkaif_calibration()
263 mtkaif_phase_cycle[MT8195_MTKAIF_MISO_2] = prev_cycle_3; in mt8195_mt6359_mtkaif_calibration()
309 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
/linux/sound/soc/mediatek/mt8183/
H A 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()
H A Dmt8183-afe-common.h89 int mtkaif_phase_cycle[4]; member
/linux/sound/soc/mediatek/mt8189/
H A Dmt8189-dai-adda.c450 if (afe_priv->mtkaif_phase_cycle[0] >= in mtk_adda_mtkaif_cfg_event()
451 afe_priv->mtkaif_phase_cycle[1]) { in mtk_adda_mtkaif_cfg_event()
453 delay_cycle = afe_priv->mtkaif_phase_cycle[0] - in mtk_adda_mtkaif_cfg_event()
454 afe_priv->mtkaif_phase_cycle[1]; in mtk_adda_mtkaif_cfg_event()
457 delay_cycle = afe_priv->mtkaif_phase_cycle[1] - in mtk_adda_mtkaif_cfg_event()
458 afe_priv->mtkaif_phase_cycle[0]; in mtk_adda_mtkaif_cfg_event()
474 if (afe_priv->mtkaif_phase_cycle[2] >= in mtk_adda_mtkaif_cfg_event()
475 afe_priv->mtkaif_phase_cycle[1]) { in mtk_adda_mtkaif_cfg_event()
477 delay_cycle = afe_priv->mtkaif_phase_cycle[2] - in mtk_adda_mtkaif_cfg_event()
478 afe_priv->mtkaif_phase_cycle[1]; in mtk_adda_mtkaif_cfg_event()
[all …]
H A Dmt8189-afe-common.h214 int mtkaif_phase_cycle[4]; member
/linux/sound/soc/mediatek/mt8192/
H A 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 …]
H A Dmt8192-afe-common.h145 int mtkaif_phase_cycle[4]; member
H A 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/sound/soc/mediatek/mt8188/
H A 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()
H A Dmt8188-mt6359.c372 int mtkaif_phase_cycle[MT8188_MTKAIF_MISO_NUM]; in mt8188_mt6359_mtkaif_calibration() local
392 param->mtkaif_phase_cycle[i] = 0; in mt8188_mt6359_mtkaif_calibration()
394 mtkaif_phase_cycle[i] = 0; in mt8188_mt6359_mtkaif_calibration()
467 mtkaif_phase_cycle[MT8188_MTKAIF_MISO_0] = prev_cycle_1; in mt8188_mt6359_mtkaif_calibration()
473 mtkaif_phase_cycle[MT8188_MTKAIF_MISO_1] = prev_cycle_2; in mt8188_mt6359_mtkaif_calibration()
510 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
/linux/sound/soc/mediatek/mt8186/
H A 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()
H A Dmt8186-afe-common.h165 int mtkaif_phase_cycle[4]; member