Lines Matching refs:rtlpcipriv

154 	struct rtl_pci_priv *rtlpcipriv = rtl_pcipriv(hw);  in rtl92ce_set_hw_reg()  local
282 if ((rtlpcipriv->bt_coexist.bt_coexistence) && in rtl92ce_set_hw_reg()
283 (rtlpcipriv->bt_coexist.bt_coexist_type == in rtl92ce_set_hw_reg()
682 struct rtl_pci_priv *rtlpcipriv = rtl_pcipriv(hw); in _rtl92ce_init_mac() local
691 if (rtlpcipriv->bt_coexist.bt_coexistence) { in _rtl92ce_init_mac()
700 if (rtlpcipriv->bt_coexist.bt_coexistence) { in _rtl92ce_init_mac()
734 if (rtlpcipriv->bt_coexist.bt_coexistence) { in _rtl92ce_init_mac()
806 struct rtl_pci_priv *rtlpcipriv = rtl_pcipriv(hw); in _rtl92ce_hw_configure() local
836 if ((rtlpcipriv->bt_coexist.bt_coexistence) && in _rtl92ce_hw_configure()
837 (rtlpcipriv->bt_coexist.bt_coexist_type == BT_CSR_BC4)) in _rtl92ce_hw_configure()
856 if ((rtlpcipriv->bt_coexist.bt_coexistence) && in _rtl92ce_hw_configure()
857 (rtlpcipriv->bt_coexist.bt_coexist_type == BT_CSR_BC4)) { in _rtl92ce_hw_configure()
865 if ((rtlpcipriv->bt_coexist.bt_coexistence) && in _rtl92ce_hw_configure()
866 (rtlpcipriv->bt_coexist.bt_coexist_type == BT_CSR_BC4)) in _rtl92ce_hw_configure()
1324 struct rtl_pci_priv *rtlpcipriv = rtl_pcipriv(hw); in _rtl92ce_poweroff_adapter() local
1342 if ((rtlpcipriv->bt_coexist.bt_coexistence) && in _rtl92ce_poweroff_adapter()
1343 ((rtlpcipriv->bt_coexist.bt_coexist_type == BT_CSR_BC4) || in _rtl92ce_poweroff_adapter()
1344 (rtlpcipriv->bt_coexist.bt_coexist_type == BT_CSR_BC8))) { in _rtl92ce_poweroff_adapter()
1356 if (rtlpcipriv->bt_coexist.bt_coexistence) { in _rtl92ce_poweroff_adapter()
1845 struct rtl_pci_priv *rtlpcipriv = rtl_pcipriv(hw); in rtl92ce_update_hal_rate_table() local
1901 if ((rtlpcipriv->bt_coexist.bt_coexistence) && in rtl92ce_update_hal_rate_table()
1902 (rtlpcipriv->bt_coexist.bt_coexist_type == BT_CSR_BC4) && in rtl92ce_update_hal_rate_table()
1903 (rtlpcipriv->bt_coexist.bt_cur_state) && in rtl92ce_update_hal_rate_table()
1904 (rtlpcipriv->bt_coexist.bt_ant_isolation) && in rtl92ce_update_hal_rate_table()
1905 ((rtlpcipriv->bt_coexist.bt_service == BT_SCO) || in rtl92ce_update_hal_rate_table()
1906 (rtlpcipriv->bt_coexist.bt_service == BT_BUSY))) in rtl92ce_update_hal_rate_table()
2302 struct rtl_pci_priv *rtlpcipriv = rtl_pcipriv(hw); in rtl8192ce_bt_var_init() local
2304 rtlpcipriv->bt_coexist.bt_coexistence = in rtl8192ce_bt_var_init()
2305 rtlpcipriv->bt_coexist.eeprom_bt_coexist; in rtl8192ce_bt_var_init()
2306 rtlpcipriv->bt_coexist.bt_ant_num = in rtl8192ce_bt_var_init()
2307 rtlpcipriv->bt_coexist.eeprom_bt_ant_num; in rtl8192ce_bt_var_init()
2308 rtlpcipriv->bt_coexist.bt_coexist_type = in rtl8192ce_bt_var_init()
2309 rtlpcipriv->bt_coexist.eeprom_bt_type; in rtl8192ce_bt_var_init()
2311 if (rtlpcipriv->bt_coexist.reg_bt_iso == 2) in rtl8192ce_bt_var_init()
2312 rtlpcipriv->bt_coexist.bt_ant_isolation = in rtl8192ce_bt_var_init()
2313 rtlpcipriv->bt_coexist.eeprom_bt_ant_isol; in rtl8192ce_bt_var_init()
2315 rtlpcipriv->bt_coexist.bt_ant_isolation = in rtl8192ce_bt_var_init()
2316 rtlpcipriv->bt_coexist.reg_bt_iso; in rtl8192ce_bt_var_init()
2318 rtlpcipriv->bt_coexist.bt_radio_shared_type = in rtl8192ce_bt_var_init()
2319 rtlpcipriv->bt_coexist.eeprom_bt_radio_shared; in rtl8192ce_bt_var_init()
2321 if (rtlpcipriv->bt_coexist.bt_coexistence) { in rtl8192ce_bt_var_init()
2323 if (rtlpcipriv->bt_coexist.reg_bt_sco == 1) in rtl8192ce_bt_var_init()
2324 rtlpcipriv->bt_coexist.bt_service = BT_OTHER_ACTION; in rtl8192ce_bt_var_init()
2325 else if (rtlpcipriv->bt_coexist.reg_bt_sco == 2) in rtl8192ce_bt_var_init()
2326 rtlpcipriv->bt_coexist.bt_service = BT_SCO; in rtl8192ce_bt_var_init()
2327 else if (rtlpcipriv->bt_coexist.reg_bt_sco == 4) in rtl8192ce_bt_var_init()
2328 rtlpcipriv->bt_coexist.bt_service = BT_BUSY; in rtl8192ce_bt_var_init()
2329 else if (rtlpcipriv->bt_coexist.reg_bt_sco == 5) in rtl8192ce_bt_var_init()
2330 rtlpcipriv->bt_coexist.bt_service = BT_OTHERBUSY; in rtl8192ce_bt_var_init()
2332 rtlpcipriv->bt_coexist.bt_service = BT_IDLE; in rtl8192ce_bt_var_init()
2334 rtlpcipriv->bt_coexist.bt_edca_ul = 0; in rtl8192ce_bt_var_init()
2335 rtlpcipriv->bt_coexist.bt_edca_dl = 0; in rtl8192ce_bt_var_init()
2336 rtlpcipriv->bt_coexist.bt_rssi_state = 0xff; in rtl8192ce_bt_var_init()
2343 struct rtl_pci_priv *rtlpcipriv = rtl_pcipriv(hw); in rtl8192ce_read_bt_coexist_info_from_hwpg() local
2347 rtlpcipriv->bt_coexist.eeprom_bt_coexist = in rtl8192ce_read_bt_coexist_info_from_hwpg()
2350 rtlpcipriv->bt_coexist.eeprom_bt_type = ((val & 0xe) >> 1); in rtl8192ce_read_bt_coexist_info_from_hwpg()
2351 rtlpcipriv->bt_coexist.eeprom_bt_ant_num = (val & 0x1); in rtl8192ce_read_bt_coexist_info_from_hwpg()
2352 rtlpcipriv->bt_coexist.eeprom_bt_ant_isol = ((val & 0x10) >> 4); in rtl8192ce_read_bt_coexist_info_from_hwpg()
2353 rtlpcipriv->bt_coexist.eeprom_bt_radio_shared = in rtl8192ce_read_bt_coexist_info_from_hwpg()
2356 rtlpcipriv->bt_coexist.eeprom_bt_coexist = 0; in rtl8192ce_read_bt_coexist_info_from_hwpg()
2357 rtlpcipriv->bt_coexist.eeprom_bt_type = BT_2WIRE; in rtl8192ce_read_bt_coexist_info_from_hwpg()
2358 rtlpcipriv->bt_coexist.eeprom_bt_ant_num = ANT_X2; in rtl8192ce_read_bt_coexist_info_from_hwpg()
2359 rtlpcipriv->bt_coexist.eeprom_bt_ant_isol = 0; in rtl8192ce_read_bt_coexist_info_from_hwpg()
2360 rtlpcipriv->bt_coexist.eeprom_bt_radio_shared = BT_RADIO_SHARED; in rtl8192ce_read_bt_coexist_info_from_hwpg()
2368 struct rtl_pci_priv *rtlpcipriv = rtl_pcipriv(hw); in rtl8192ce_bt_reg_init() local
2371 rtlpcipriv->bt_coexist.reg_bt_iso = 2; in rtl8192ce_bt_reg_init()
2373 rtlpcipriv->bt_coexist.reg_bt_sco = 3; in rtl8192ce_bt_reg_init()
2375 rtlpcipriv->bt_coexist.reg_bt_sco = 0; in rtl8192ce_bt_reg_init()
2383 struct rtl_pci_priv *rtlpcipriv = rtl_pcipriv(hw); in rtl8192ce_bt_hw_init() local
2387 if (rtlpcipriv->bt_coexist.bt_coexistence && in rtl8192ce_bt_hw_init()
2388 ((rtlpcipriv->bt_coexist.bt_coexist_type == BT_CSR_BC4) || in rtl8192ce_bt_hw_init()
2389 rtlpcipriv->bt_coexist.bt_coexist_type == BT_CSR_BC8)) { in rtl8192ce_bt_hw_init()
2391 if (rtlpcipriv->bt_coexist.bt_ant_isolation) in rtl8192ce_bt_hw_init()
2397 ((rtlpcipriv->bt_coexist.bt_ant_isolation == 1) ? in rtl8192ce_bt_hw_init()
2399 ((rtlpcipriv->bt_coexist.bt_service == BT_SCO) ? in rtl8192ce_bt_hw_init()