Lines Matching refs:btcoexist

258 			if ((rtlpriv->btcoexist.bt_coexistence) &&  in rtl92ce_set_hw_reg()
259 (rtlpriv->btcoexist.bt_coexist_type == in rtl92ce_set_hw_reg()
666 if (rtlpriv->btcoexist.bt_coexistence) { in _rtl92ce_init_mac()
676 if (rtlpriv->btcoexist.bt_coexistence) { in _rtl92ce_init_mac()
710 if (rtlpriv->btcoexist.bt_coexistence) { in _rtl92ce_init_mac()
811 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl92ce_hw_configure()
812 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4)) in _rtl92ce_hw_configure()
831 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl92ce_hw_configure()
832 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4)) { in _rtl92ce_hw_configure()
840 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl92ce_hw_configure()
841 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4)) in _rtl92ce_hw_configure()
1314 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl92ce_poweroff_adapter()
1315 ((rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4) || in _rtl92ce_poweroff_adapter()
1316 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC8))) { in _rtl92ce_poweroff_adapter()
1328 if (rtlpriv->btcoexist.bt_coexistence) { in _rtl92ce_poweroff_adapter()
1814 if ((rtlpriv->btcoexist.bt_coexistence) && in rtl92ce_update_hal_rate_table()
1815 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4) && in rtl92ce_update_hal_rate_table()
1816 (rtlpriv->btcoexist.bt_cur_state) && in rtl92ce_update_hal_rate_table()
1817 (rtlpriv->btcoexist.bt_ant_isolation) && in rtl92ce_update_hal_rate_table()
1818 ((rtlpriv->btcoexist.bt_service == BT_SCO) || in rtl92ce_update_hal_rate_table()
1819 (rtlpriv->btcoexist.bt_service == BT_BUSY))) in rtl92ce_update_hal_rate_table()
2215 rtlpriv->btcoexist.bt_coexistence = in rtl8192ce_bt_var_init()
2216 rtlpriv->btcoexist.eeprom_bt_coexist; in rtl8192ce_bt_var_init()
2217 rtlpriv->btcoexist.bt_ant_num = in rtl8192ce_bt_var_init()
2218 rtlpriv->btcoexist.eeprom_bt_ant_num; in rtl8192ce_bt_var_init()
2219 rtlpriv->btcoexist.bt_coexist_type = in rtl8192ce_bt_var_init()
2220 rtlpriv->btcoexist.eeprom_bt_type; in rtl8192ce_bt_var_init()
2222 if (rtlpriv->btcoexist.reg_bt_iso == 2) in rtl8192ce_bt_var_init()
2223 rtlpriv->btcoexist.bt_ant_isolation = in rtl8192ce_bt_var_init()
2224 rtlpriv->btcoexist.eeprom_bt_ant_isol; in rtl8192ce_bt_var_init()
2226 rtlpriv->btcoexist.bt_ant_isolation = in rtl8192ce_bt_var_init()
2227 rtlpriv->btcoexist.reg_bt_iso; in rtl8192ce_bt_var_init()
2229 rtlpriv->btcoexist.bt_radio_shared_type = in rtl8192ce_bt_var_init()
2230 rtlpriv->btcoexist.eeprom_bt_radio_shared; in rtl8192ce_bt_var_init()
2232 if (rtlpriv->btcoexist.bt_coexistence) { in rtl8192ce_bt_var_init()
2233 if (rtlpriv->btcoexist.reg_bt_sco == 1) in rtl8192ce_bt_var_init()
2234 rtlpriv->btcoexist.bt_service = BT_OTHER_ACTION; in rtl8192ce_bt_var_init()
2235 else if (rtlpriv->btcoexist.reg_bt_sco == 2) in rtl8192ce_bt_var_init()
2236 rtlpriv->btcoexist.bt_service = BT_SCO; in rtl8192ce_bt_var_init()
2237 else if (rtlpriv->btcoexist.reg_bt_sco == 4) in rtl8192ce_bt_var_init()
2238 rtlpriv->btcoexist.bt_service = BT_BUSY; in rtl8192ce_bt_var_init()
2239 else if (rtlpriv->btcoexist.reg_bt_sco == 5) in rtl8192ce_bt_var_init()
2240 rtlpriv->btcoexist.bt_service = BT_OTHERBUSY; in rtl8192ce_bt_var_init()
2242 rtlpriv->btcoexist.bt_service = BT_IDLE; in rtl8192ce_bt_var_init()
2244 rtlpriv->btcoexist.bt_edca_ul = 0; in rtl8192ce_bt_var_init()
2245 rtlpriv->btcoexist.bt_edca_dl = 0; in rtl8192ce_bt_var_init()
2246 rtlpriv->btcoexist.bt_rssi_state = 0xff; in rtl8192ce_bt_var_init()
2257 rtlpriv->btcoexist.eeprom_bt_coexist = in rtl8192ce_read_bt_coexist_info_from_hwpg()
2260 rtlpriv->btcoexist.eeprom_bt_type = ((val & 0xe) >> 1); in rtl8192ce_read_bt_coexist_info_from_hwpg()
2261 rtlpriv->btcoexist.eeprom_bt_ant_num = (val & 0x1); in rtl8192ce_read_bt_coexist_info_from_hwpg()
2262 rtlpriv->btcoexist.eeprom_bt_ant_isol = ((val & 0x10) >> 4); in rtl8192ce_read_bt_coexist_info_from_hwpg()
2263 rtlpriv->btcoexist.eeprom_bt_radio_shared = in rtl8192ce_read_bt_coexist_info_from_hwpg()
2266 rtlpriv->btcoexist.eeprom_bt_coexist = 0; in rtl8192ce_read_bt_coexist_info_from_hwpg()
2267 rtlpriv->btcoexist.eeprom_bt_type = BT_2WIRE; in rtl8192ce_read_bt_coexist_info_from_hwpg()
2268 rtlpriv->btcoexist.eeprom_bt_ant_num = ANT_X2; in rtl8192ce_read_bt_coexist_info_from_hwpg()
2269 rtlpriv->btcoexist.eeprom_bt_ant_isol = 0; in rtl8192ce_read_bt_coexist_info_from_hwpg()
2270 rtlpriv->btcoexist.eeprom_bt_radio_shared = BT_RADIO_SHARED; in rtl8192ce_read_bt_coexist_info_from_hwpg()
2281 rtlpriv->btcoexist.reg_bt_iso = 2; in rtl8192ce_bt_reg_init()
2283 rtlpriv->btcoexist.reg_bt_sco = 3; in rtl8192ce_bt_reg_init()
2285 rtlpriv->btcoexist.reg_bt_sco = 0; in rtl8192ce_bt_reg_init()
2295 if (rtlpriv->btcoexist.bt_coexistence && in rtl8192ce_bt_hw_init()
2296 ((rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4) || in rtl8192ce_bt_hw_init()
2297 rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC8)) { in rtl8192ce_bt_hw_init()
2299 if (rtlpriv->btcoexist.bt_ant_isolation) in rtl8192ce_bt_hw_init()
2304 ((rtlpriv->btcoexist.bt_ant_isolation == 1) ? in rtl8192ce_bt_hw_init()
2306 ((rtlpriv->btcoexist.bt_service == BT_SCO) ? in rtl8192ce_bt_hw_init()