Home
last modified time | relevance | path

Searched refs:h2c_parameter (Results 1 – 10 of 10) sorted by relevance

/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhal_btc.c71 u8 h2c_parameter[3] = {0}; in rtl_8723e_bt_wifi_media_status_notify() local
78 h2c_parameter[0] = 0x1; /* 0: disconnected, 1:connected */ in rtl_8723e_bt_wifi_media_status_notify()
80 h2c_parameter[0] = 0x0; in rtl_8723e_bt_wifi_media_status_notify()
84 h2c_parameter[1] = chnl; in rtl_8723e_bt_wifi_media_status_notify()
88 h2c_parameter[2] = 0x30; in rtl_8723e_bt_wifi_media_status_notify()
90 h2c_parameter[2] = 0x20; in rtl_8723e_bt_wifi_media_status_notify()
94 h2c_parameter[0]<<16|h2c_parameter[1]<<8|h2c_parameter[2]); in rtl_8723e_bt_wifi_media_status_notify()
96 rtl8723e_fill_h2c_cmd(hw, 0x19, 3, h2c_parameter); in rtl_8723e_bt_wifi_media_status_notify()
115 u8 h2c_parameter[5]; in rtl8723e_dm_bt_set_fw_3a() local
117 h2c_parameter[0] = byte1; in rtl8723e_dm_bt_set_fw_3a()
[all …]
Dhal_bt_coexist.c378 u8 h2c_parameter[3] = {0}; in rtl8723e_dm_bt_balance() local
381 h2c_parameter[2] = 1; in rtl8723e_dm_bt_balance()
382 h2c_parameter[1] = ms1; in rtl8723e_dm_bt_balance()
383 h2c_parameter[0] = ms0; in rtl8723e_dm_bt_balance()
386 h2c_parameter[2] = 0; in rtl8723e_dm_bt_balance()
387 h2c_parameter[1] = 0; in rtl8723e_dm_bt_balance()
388 h2c_parameter[0] = 0; in rtl8723e_dm_bt_balance()
394 balance_on ? "ON" : "OFF", ms0, ms1, h2c_parameter[0]<<16 | in rtl8723e_dm_bt_balance()
395 h2c_parameter[1]<<8 | h2c_parameter[2]); in rtl8723e_dm_bt_balance()
397 rtl8723e_fill_h2c_cmd(hw, 0xc, 3, h2c_parameter); in rtl8723e_dm_bt_balance()
/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtc8821a2ant.c340 u8 h2c_parameter[1] = {0}; in halbtc8821a2ant_query_bt_info() local
344 h2c_parameter[0] |= BIT0; /* trigger */ in halbtc8821a2ant_query_bt_info()
348 h2c_parameter[0]); in halbtc8821a2ant_query_bt_info()
350 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8821a2ant_query_bt_info()
566 u8 h2c_parameter[1] = {0}; in btc8821a2ant_set_fw_dac_swing_lev() local
571 h2c_parameter[0] = dac_swing_lvl; in btc8821a2ant_set_fw_dac_swing_lev()
576 "[BTCoex], FW write 0x64 = 0x%x\n", h2c_parameter[0]); in btc8821a2ant_set_fw_dac_swing_lev()
578 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in btc8821a2ant_set_fw_dac_swing_lev()
584 u8 h2c_parameter[1] = {0}; in halbtc8821a2ant_set_fw_dec_bt_pwr() local
586 h2c_parameter[0] = 0; in halbtc8821a2ant_set_fw_dec_bt_pwr()
[all …]
Dhalbtc8821a1ant.c428 u8 h2c_parameter[1] = {0}; in halbtc8821a1ant_query_bt_info() local
432 h2c_parameter[0] |= BIT0; /* trigger*/ in halbtc8821a1ant_query_bt_info()
436 h2c_parameter[0]); in halbtc8821a1ant_query_bt_info()
438 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8821a1ant_query_bt_info()
666 u8 h2c_parameter[1] = {0}; in halbtc8821a1ant_set_bt_auto_report() local
668 h2c_parameter[0] = 0; in halbtc8821a1ant_set_bt_auto_report()
671 h2c_parameter[0] |= BIT0; in halbtc8821a1ant_set_bt_auto_report()
676 h2c_parameter[0]); in halbtc8821a1ant_set_bt_auto_report()
678 btcoexist->btc_fill_h2c(btcoexist, 0x68, 1, h2c_parameter); in halbtc8821a1ant_set_bt_auto_report()
708 u8 h2c_parameter[6] = {0}; in btc8821a1ant_set_sw_pen_tx_rate() local
[all …]
Dhalbtc8723b1ant.c432 u8 h2c_parameter[1] = {0}; in halbtc8723b1ant_query_bt_info() local
436 h2c_parameter[0] |= BIT0; /* trigger*/ in halbtc8723b1ant_query_bt_info()
440 h2c_parameter[0]); in halbtc8723b1ant_query_bt_info()
442 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8723b1ant_query_bt_info()
707 u8 h2c_parameter[6] = {0}; in btc8723b1ant_set_sw_pen_tx_rate_adapt() local
709 h2c_parameter[0] = 0x6; /* opCode, 0x6= Retry_Penalty */ in btc8723b1ant_set_sw_pen_tx_rate_adapt()
712 h2c_parameter[1] |= BIT0; in btc8723b1ant_set_sw_pen_tx_rate_adapt()
714 h2c_parameter[2] = 0x00; in btc8723b1ant_set_sw_pen_tx_rate_adapt()
715 h2c_parameter[3] = 0xf7; /*MCS7 or OFDM54 */ in btc8723b1ant_set_sw_pen_tx_rate_adapt()
716 h2c_parameter[4] = 0xf8; /*MCS6 or OFDM48 */ in btc8723b1ant_set_sw_pen_tx_rate_adapt()
[all …]
Dhalbtc8723b2ant.c308 u8 h2c_parameter[1] = {0}; in btc8723b2ant_query_bt_info() local
312 h2c_parameter[0] |= BIT0; /* trigger */ in btc8723b2ant_query_bt_info()
316 h2c_parameter[0]); in btc8723b2ant_query_bt_info()
318 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in btc8723b2ant_query_bt_info()
649 u8 h2c_parameter[1] = {0}; in btc8723b2ant_set_fw_dac_swing_level() local
654 h2c_parameter[0] = dac_swing_lvl; in btc8723b2ant_set_fw_dac_swing_level()
659 "[BTCoex], FW write 0x64=0x%x\n", h2c_parameter[0]); in btc8723b2ant_set_fw_dac_swing_level()
661 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in btc8723b2ant_set_fw_dac_swing_level()
667 u8 h2c_parameter[1] = {0}; in btc8723b2ant_set_fw_dec_bt_pwr() local
669 h2c_parameter[0] = 0; in btc8723b2ant_set_fw_dec_bt_pwr()
[all …]
Dhalbtc8192e2ant.c515 u8 h2c_parameter[1] = {0}; in halbtc8192e2ant_querybt_info() local
519 h2c_parameter[0] |= BIT0; /* trigger */ in halbtc8192e2ant_querybt_info()
523 h2c_parameter[0]); in halbtc8192e2ant_querybt_info()
525 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8192e2ant_querybt_info()
774 u8 h2c_parameter[1] = {0}; in halbtc8192e2ant_setfw_dac_swinglevel() local
779 h2c_parameter[0] = dac_swinglvl; in halbtc8192e2ant_setfw_dac_swinglevel()
784 "[BTCoex], FW write 0x64 = 0x%x\n", h2c_parameter[0]); in halbtc8192e2ant_setfw_dac_swinglevel()
786 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in halbtc8192e2ant_setfw_dac_swinglevel()
792 u8 h2c_parameter[1] = {0}; in halbtc8192e2ant_set_fwdec_btpwr() local
794 h2c_parameter[0] = dec_btpwr_lvl; in halbtc8192e2ant_set_fwdec_btpwr()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Ddm.c324 u8 h2c_parameter[3] = { 0 }; in rtl8723be_dm_check_rssi_monitor() local
363 h2c_parameter[2] = in rtl8723be_dm_check_rssi_monitor()
365 h2c_parameter[1] = 0x20; in rtl8723be_dm_check_rssi_monitor()
366 h2c_parameter[0] = 0; in rtl8723be_dm_check_rssi_monitor()
367 rtl8723be_fill_h2c_cmd(hw, H2C_RSSIBE_REPORT, 3, h2c_parameter); in rtl8723be_dm_check_rssi_monitor()
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.c678 u8 h2c_parameter[4] = { 0 }; in rtl8821ae_dm_check_rssi_monitor() local
689 h2c_parameter[3] = 0x01; in rtl8821ae_dm_check_rssi_monitor()
691 h2c_parameter[3] = 0x00; in rtl8821ae_dm_check_rssi_monitor()
742 h2c_parameter[3] |= stbc_tx << 1; in rtl8821ae_dm_check_rssi_monitor()
744 h2c_parameter[2] = in rtl8821ae_dm_check_rssi_monitor()
746 h2c_parameter[1] = 0x20; in rtl8821ae_dm_check_rssi_monitor()
747 h2c_parameter[0] = 0; in rtl8821ae_dm_check_rssi_monitor()
750 h2c_parameter); in rtl8821ae_dm_check_rssi_monitor()
753 h2c_parameter); in rtl8821ae_dm_check_rssi_monitor()
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Ddm.c785 u8 h2c_parameter[3] = { 0 }; in rtl88e_dm_pwdb_monitor() local
787 h2c_parameter[2] = (u8)(rtlpriv->dm.undec_sm_pwdb & 0xFF); in rtl88e_dm_pwdb_monitor()
788 h2c_parameter[0] = 0x20; in rtl88e_dm_pwdb_monitor()