Lines Matching refs:btcoexist

253 			if ((rtlpriv->btcoexist.bt_coexistence) &&  in rtl92ce_set_hw_reg()
254 (rtlpriv->btcoexist.bt_coexist_type == in rtl92ce_set_hw_reg()
661 if (rtlpriv->btcoexist.bt_coexistence) { in _rtl92ce_init_mac()
671 if (rtlpriv->btcoexist.bt_coexistence) { in _rtl92ce_init_mac()
705 if (rtlpriv->btcoexist.bt_coexistence) { in _rtl92ce_init_mac()
806 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl92ce_hw_configure()
807 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4)) in _rtl92ce_hw_configure()
826 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl92ce_hw_configure()
827 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4)) { in _rtl92ce_hw_configure()
835 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl92ce_hw_configure()
836 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4)) in _rtl92ce_hw_configure()
1309 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl92ce_poweroff_adapter()
1310 ((rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4) || in _rtl92ce_poweroff_adapter()
1311 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC8))) { in _rtl92ce_poweroff_adapter()
1323 if (rtlpriv->btcoexist.bt_coexistence) { in _rtl92ce_poweroff_adapter()
1818 if ((rtlpriv->btcoexist.bt_coexistence) && in rtl92ce_update_hal_rate_table()
1819 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4) && in rtl92ce_update_hal_rate_table()
1820 (rtlpriv->btcoexist.bt_cur_state) && in rtl92ce_update_hal_rate_table()
1821 (rtlpriv->btcoexist.bt_ant_isolation) && in rtl92ce_update_hal_rate_table()
1822 ((rtlpriv->btcoexist.bt_service == BT_SCO) || in rtl92ce_update_hal_rate_table()
1823 (rtlpriv->btcoexist.bt_service == BT_BUSY))) in rtl92ce_update_hal_rate_table()
2219 rtlpriv->btcoexist.bt_coexistence = in rtl8192ce_bt_var_init()
2220 rtlpriv->btcoexist.eeprom_bt_coexist; in rtl8192ce_bt_var_init()
2221 rtlpriv->btcoexist.bt_ant_num = in rtl8192ce_bt_var_init()
2222 rtlpriv->btcoexist.eeprom_bt_ant_num; in rtl8192ce_bt_var_init()
2223 rtlpriv->btcoexist.bt_coexist_type = in rtl8192ce_bt_var_init()
2224 rtlpriv->btcoexist.eeprom_bt_type; in rtl8192ce_bt_var_init()
2226 if (rtlpriv->btcoexist.reg_bt_iso == 2) in rtl8192ce_bt_var_init()
2227 rtlpriv->btcoexist.bt_ant_isolation = in rtl8192ce_bt_var_init()
2228 rtlpriv->btcoexist.eeprom_bt_ant_isol; in rtl8192ce_bt_var_init()
2230 rtlpriv->btcoexist.bt_ant_isolation = in rtl8192ce_bt_var_init()
2231 rtlpriv->btcoexist.reg_bt_iso; in rtl8192ce_bt_var_init()
2233 rtlpriv->btcoexist.bt_radio_shared_type = in rtl8192ce_bt_var_init()
2234 rtlpriv->btcoexist.eeprom_bt_radio_shared; in rtl8192ce_bt_var_init()
2236 if (rtlpriv->btcoexist.bt_coexistence) { in rtl8192ce_bt_var_init()
2237 if (rtlpriv->btcoexist.reg_bt_sco == 1) in rtl8192ce_bt_var_init()
2238 rtlpriv->btcoexist.bt_service = BT_OTHER_ACTION; in rtl8192ce_bt_var_init()
2239 else if (rtlpriv->btcoexist.reg_bt_sco == 2) in rtl8192ce_bt_var_init()
2240 rtlpriv->btcoexist.bt_service = BT_SCO; in rtl8192ce_bt_var_init()
2241 else if (rtlpriv->btcoexist.reg_bt_sco == 4) in rtl8192ce_bt_var_init()
2242 rtlpriv->btcoexist.bt_service = BT_BUSY; in rtl8192ce_bt_var_init()
2243 else if (rtlpriv->btcoexist.reg_bt_sco == 5) in rtl8192ce_bt_var_init()
2244 rtlpriv->btcoexist.bt_service = BT_OTHERBUSY; in rtl8192ce_bt_var_init()
2246 rtlpriv->btcoexist.bt_service = BT_IDLE; in rtl8192ce_bt_var_init()
2248 rtlpriv->btcoexist.bt_edca_ul = 0; in rtl8192ce_bt_var_init()
2249 rtlpriv->btcoexist.bt_edca_dl = 0; in rtl8192ce_bt_var_init()
2250 rtlpriv->btcoexist.bt_rssi_state = 0xff; in rtl8192ce_bt_var_init()
2261 rtlpriv->btcoexist.eeprom_bt_coexist = in rtl8192ce_read_bt_coexist_info_from_hwpg()
2264 rtlpriv->btcoexist.eeprom_bt_type = ((val & 0xe) >> 1); in rtl8192ce_read_bt_coexist_info_from_hwpg()
2265 rtlpriv->btcoexist.eeprom_bt_ant_num = (val & 0x1); in rtl8192ce_read_bt_coexist_info_from_hwpg()
2266 rtlpriv->btcoexist.eeprom_bt_ant_isol = ((val & 0x10) >> 4); in rtl8192ce_read_bt_coexist_info_from_hwpg()
2267 rtlpriv->btcoexist.eeprom_bt_radio_shared = in rtl8192ce_read_bt_coexist_info_from_hwpg()
2270 rtlpriv->btcoexist.eeprom_bt_coexist = 0; in rtl8192ce_read_bt_coexist_info_from_hwpg()
2271 rtlpriv->btcoexist.eeprom_bt_type = BT_2WIRE; in rtl8192ce_read_bt_coexist_info_from_hwpg()
2272 rtlpriv->btcoexist.eeprom_bt_ant_num = ANT_X2; in rtl8192ce_read_bt_coexist_info_from_hwpg()
2273 rtlpriv->btcoexist.eeprom_bt_ant_isol = 0; in rtl8192ce_read_bt_coexist_info_from_hwpg()
2274 rtlpriv->btcoexist.eeprom_bt_radio_shared = BT_RADIO_SHARED; in rtl8192ce_read_bt_coexist_info_from_hwpg()
2285 rtlpriv->btcoexist.reg_bt_iso = 2; in rtl8192ce_bt_reg_init()
2287 rtlpriv->btcoexist.reg_bt_sco = 3; in rtl8192ce_bt_reg_init()
2289 rtlpriv->btcoexist.reg_bt_sco = 0; in rtl8192ce_bt_reg_init()
2299 if (rtlpriv->btcoexist.bt_coexistence && in rtl8192ce_bt_hw_init()
2300 ((rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4) || in rtl8192ce_bt_hw_init()
2301 rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC8)) { in rtl8192ce_bt_hw_init()
2303 if (rtlpriv->btcoexist.bt_ant_isolation) in rtl8192ce_bt_hw_init()
2308 ((rtlpriv->btcoexist.bt_ant_isolation == 1) ? in rtl8192ce_bt_hw_init()
2310 ((rtlpriv->btcoexist.bt_service == BT_SCO) ? in rtl8192ce_bt_hw_init()