Lines Matching refs:final_candidate
2071 u8 final_candidate[2] = {0xFF, 0xFF}; /* for path A and path B */ in _rtl92d_phy_simularity_compare() local
2086 final_candidate[(i / 4)] = c2; in _rtl92d_phy_simularity_compare()
2088 final_candidate[(i / 4)] = c1; in _rtl92d_phy_simularity_compare()
2098 if (final_candidate[i] != 0xFF) { in _rtl92d_phy_simularity_compare()
2101 result[final_candidate[i]][j]; in _rtl92d_phy_simularity_compare()
2126 u8 final_candidate, bool txonly) in _rtl92d_phy_patha_fill_iqk_matrix() argument
2137 if (final_candidate == 0xFF) { in _rtl92d_phy_patha_fill_iqk_matrix()
2142 val_x = result[final_candidate][0]; in _rtl92d_phy_patha_fill_iqk_matrix()
2152 val_y = result[final_candidate][1]; in _rtl92d_phy_patha_fill_iqk_matrix()
2177 reg = result[final_candidate][2]; in _rtl92d_phy_patha_fill_iqk_matrix()
2179 reg = result[final_candidate][3] & 0x3F; in _rtl92d_phy_patha_fill_iqk_matrix()
2181 reg = (result[final_candidate][3] >> 6) & 0xF; in _rtl92d_phy_patha_fill_iqk_matrix()
2187 bool iqk_ok, long result[][8], u8 final_candidate, bool txonly) in _rtl92d_phy_pathb_fill_iqk_matrix() argument
2196 if (final_candidate == 0xFF) { in _rtl92d_phy_pathb_fill_iqk_matrix()
2201 val_x = result[final_candidate][4]; in _rtl92d_phy_pathb_fill_iqk_matrix()
2210 val_y = result[final_candidate][5]; in _rtl92d_phy_pathb_fill_iqk_matrix()
2226 reg = result[final_candidate][6]; in _rtl92d_phy_pathb_fill_iqk_matrix()
2228 reg = result[final_candidate][7] & 0x3F; in _rtl92d_phy_pathb_fill_iqk_matrix()
2230 reg = (result[final_candidate][7] >> 6) & 0xF; in _rtl92d_phy_pathb_fill_iqk_matrix()
2241 u8 i, final_candidate, indexforchannel; in rtl92d_phy_iq_calibrate() local
2256 final_candidate = 0xff; in rtl92d_phy_iq_calibrate()
2278 final_candidate = 0; in rtl92d_phy_iq_calibrate()
2286 final_candidate = 0; in rtl92d_phy_iq_calibrate()
2292 final_candidate = 1; in rtl92d_phy_iq_calibrate()
2298 final_candidate = 3; in rtl92d_phy_iq_calibrate()
2300 final_candidate = 0xFF; in rtl92d_phy_iq_calibrate()
2319 if (final_candidate != 0xff) { in rtl92d_phy_iq_calibrate()
2320 rtlphy->reg_e94 = rege94 = result[final_candidate][0]; in rtl92d_phy_iq_calibrate()
2321 rtlphy->reg_e9c = rege9c = result[final_candidate][1]; in rtl92d_phy_iq_calibrate()
2322 regea4 = result[final_candidate][2]; in rtl92d_phy_iq_calibrate()
2323 regeac = result[final_candidate][3]; in rtl92d_phy_iq_calibrate()
2324 rtlphy->reg_eb4 = regeb4 = result[final_candidate][4]; in rtl92d_phy_iq_calibrate()
2325 rtlphy->reg_ebc = regebc = result[final_candidate][5]; in rtl92d_phy_iq_calibrate()
2326 regec4 = result[final_candidate][6]; in rtl92d_phy_iq_calibrate()
2327 regecc = result[final_candidate][7]; in rtl92d_phy_iq_calibrate()
2329 "IQK: final_candidate is %x\n", final_candidate); in rtl92d_phy_iq_calibrate()
2341 final_candidate, (regea4 == 0)); in rtl92d_phy_iq_calibrate()
2345 final_candidate, (regec4 == 0)); in rtl92d_phy_iq_calibrate()
2347 if (final_candidate != 0xFF) { in rtl92d_phy_iq_calibrate()
2353 value[0][i] = result[final_candidate][i]; in rtl92d_phy_iq_calibrate()