Lines Matching refs:mtkaif_chosen_phase
127 int mtkaif_chosen_phase[MT8195_MTKAIF_MISO_NUM]; in mt8195_mt6359_mtkaif_calibration() local
135 param->mtkaif_chosen_phase[i] = -1; in mt8195_mt6359_mtkaif_calibration()
137 mtkaif_chosen_phase[i] = -1; in mt8195_mt6359_mtkaif_calibration()
204 mtkaif_chosen_phase[MT8195_MTKAIF_MISO_0] < 0) { in mt8195_mt6359_mtkaif_calibration()
205 mtkaif_chosen_phase[MT8195_MTKAIF_MISO_0] = phase - 1; in mt8195_mt6359_mtkaif_calibration()
210 mtkaif_chosen_phase[MT8195_MTKAIF_MISO_1] < 0) { in mt8195_mt6359_mtkaif_calibration()
211 mtkaif_chosen_phase[MT8195_MTKAIF_MISO_1] = phase - 1; in mt8195_mt6359_mtkaif_calibration()
216 mtkaif_chosen_phase[MT8195_MTKAIF_MISO_2] < 0) { in mt8195_mt6359_mtkaif_calibration()
217 mtkaif_chosen_phase[MT8195_MTKAIF_MISO_2] = phase - 1; in mt8195_mt6359_mtkaif_calibration()
224 if (mtkaif_chosen_phase[MT8195_MTKAIF_MISO_0] >= 0 && in mt8195_mt6359_mtkaif_calibration()
225 mtkaif_chosen_phase[MT8195_MTKAIF_MISO_1] >= 0 && in mt8195_mt6359_mtkaif_calibration()
226 mtkaif_chosen_phase[MT8195_MTKAIF_MISO_2] >= 0) in mt8195_mt6359_mtkaif_calibration()
230 if (mtkaif_chosen_phase[MT8195_MTKAIF_MISO_0] < 0) { in mt8195_mt6359_mtkaif_calibration()
234 chosen_phase_1 = mtkaif_chosen_phase[MT8195_MTKAIF_MISO_0]; in mt8195_mt6359_mtkaif_calibration()
237 if (mtkaif_chosen_phase[MT8195_MTKAIF_MISO_1] < 0) { in mt8195_mt6359_mtkaif_calibration()
241 chosen_phase_2 = mtkaif_chosen_phase[MT8195_MTKAIF_MISO_1]; in mt8195_mt6359_mtkaif_calibration()
244 if (mtkaif_chosen_phase[MT8195_MTKAIF_MISO_2] < 0) { in mt8195_mt6359_mtkaif_calibration()
248 chosen_phase_3 = mtkaif_chosen_phase[MT8195_MTKAIF_MISO_2]; in mt8195_mt6359_mtkaif_calibration()
260 param->mtkaif_chosen_phase[MT8195_MTKAIF_MISO_0] = chosen_phase_1; in mt8195_mt6359_mtkaif_calibration()
261 param->mtkaif_chosen_phase[MT8195_MTKAIF_MISO_1] = chosen_phase_2; in mt8195_mt6359_mtkaif_calibration()
262 param->mtkaif_chosen_phase[MT8195_MTKAIF_MISO_2] = chosen_phase_3; in mt8195_mt6359_mtkaif_calibration()