Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhal_btc.c50 u8 h2c_parameter[3] = {0}; in rtl_8723e_bt_wifi_media_status_notify() local
57 h2c_parameter[0] = 0x1; /* 0: disconnected, 1:connected */ in rtl_8723e_bt_wifi_media_status_notify()
59 h2c_parameter[0] = 0x0; in rtl_8723e_bt_wifi_media_status_notify()
63 h2c_parameter[1] = chnl; in rtl_8723e_bt_wifi_media_status_notify()
67 h2c_parameter[2] = 0x30; in rtl_8723e_bt_wifi_media_status_notify()
69 h2c_parameter[2] = 0x20; in rtl_8723e_bt_wifi_media_status_notify()
73 h2c_parameter[0] << 16 | h2c_parameter[1] << 8 | in rtl_8723e_bt_wifi_media_status_notify()
74 h2c_parameter[2]); in rtl_8723e_bt_wifi_media_status_notify()
76 rtl8723e_fill_h2c_cmd(hw, 0x19, 3, h2c_parameter); in rtl_8723e_bt_wifi_media_status_notify()
95 u8 h2c_parameter[5]; in rtl8723e_dm_bt_set_fw_3a() local
[all …]
Dhal_bt_coexist.c356 u8 h2c_parameter[3] = {0}; in rtl8723e_dm_bt_balance() local
359 h2c_parameter[2] = 1; in rtl8723e_dm_bt_balance()
360 h2c_parameter[1] = ms1; in rtl8723e_dm_bt_balance()
361 h2c_parameter[0] = ms0; in rtl8723e_dm_bt_balance()
364 h2c_parameter[2] = 0; in rtl8723e_dm_bt_balance()
365 h2c_parameter[1] = 0; in rtl8723e_dm_bt_balance()
366 h2c_parameter[0] = 0; in rtl8723e_dm_bt_balance()
372 balance_on ? "ON" : "OFF", ms0, ms1, h2c_parameter[0] << 16 | in rtl8723e_dm_bt_balance()
373 h2c_parameter[1] << 8 | h2c_parameter[2]); in rtl8723e_dm_bt_balance()
375 rtl8723e_fill_h2c_cmd(hw, 0xc, 3, h2c_parameter); in rtl8723e_dm_bt_balance()
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtc8723b1ant.c193 u8 h2c_parameter[1] = {0}; in halbtc8723b1ant_query_bt_info() local
198 h2c_parameter[0] |= BIT(0); in halbtc8723b1ant_query_bt_info()
200 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8723b1ant_query_bt_info()
428 u8 h2c_parameter[1] = {0}; in halbtc8723b1ant_set_bt_auto_report() local
430 h2c_parameter[0] = 0; in halbtc8723b1ant_set_bt_auto_report()
433 h2c_parameter[0] |= BIT(0); in halbtc8723b1ant_set_bt_auto_report()
435 btcoexist->btc_fill_h2c(btcoexist, 0x68, 1, h2c_parameter); in halbtc8723b1ant_set_bt_auto_report()
458 u8 h2c_parameter[6] = {0}; in btc8723b1ant_set_sw_pen_tx_rate_adapt() local
460 h2c_parameter[0] = 0x6; /* opCode, 0x6= Retry_Penalty */ in btc8723b1ant_set_sw_pen_tx_rate_adapt()
463 h2c_parameter[1] |= BIT0; in btc8723b1ant_set_sw_pen_tx_rate_adapt()
[all …]
Dhalbtc8723b2ant.c331 u8 h2c_parameter[1] = {0}; in btc8723b2ant_query_bt_info() local
335 h2c_parameter[0] |= BIT0; /* trigger */ in btc8723b2ant_query_bt_info()
339 h2c_parameter[0]); in btc8723b2ant_query_bt_info()
341 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in btc8723b2ant_query_bt_info()
637 u8 h2c_parameter[1] = {0}; in btc8723b2ant_set_fw_dac_swing_level() local
642 h2c_parameter[0] = dac_swing_lvl; in btc8723b2ant_set_fw_dac_swing_level()
647 "[BTCoex], FW write 0x64=0x%x\n", h2c_parameter[0]); in btc8723b2ant_set_fw_dac_swing_level()
649 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in btc8723b2ant_set_fw_dac_swing_level()
656 u8 h2c_parameter[1] = {0}; in btc8723b2ant_set_fw_dec_bt_pwr() local
658 h2c_parameter[0] = dec_bt_pwr_lvl; in btc8723b2ant_set_fw_dec_bt_pwr()
[all …]
Dhalbtc8821a1ant.c394 u8 h2c_parameter[1] = {0}; in btc8821a1ant_query_bt_info() local
398 h2c_parameter[0] |= BIT0; /* trigger */ in btc8821a1ant_query_bt_info()
402 h2c_parameter[0]); in btc8821a1ant_query_bt_info()
404 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in btc8821a1ant_query_bt_info()
650 u8 h2c_parameter[6] = {0}; in btc8821a1ant_set_sw_penalty_tx_rate() local
652 h2c_parameter[0] = 0x6; /* opCode, 0x6= Retry_Penalty*/ in btc8821a1ant_set_sw_penalty_tx_rate()
655 h2c_parameter[1] |= BIT0; in btc8821a1ant_set_sw_penalty_tx_rate()
657 h2c_parameter[2] = 0x00; in btc8821a1ant_set_sw_penalty_tx_rate()
658 h2c_parameter[3] = 0xf7; /* MCS7 or OFDM54 */ in btc8821a1ant_set_sw_penalty_tx_rate()
659 h2c_parameter[4] = 0xf8; /* MCS6 or OFDM48 */ in btc8821a1ant_set_sw_penalty_tx_rate()
[all …]
Dhalbtc8821a2ant.c327 u8 h2c_parameter[1] = {0}; in btc8821a2ant_query_bt_info() local
331 h2c_parameter[0] |= BIT0; /* trigger */ in btc8821a2ant_query_bt_info()
335 h2c_parameter[0]); in btc8821a2ant_query_bt_info()
337 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in btc8821a2ant_query_bt_info()
621 u8 h2c_parameter[1] = {0}; in btc8821a2ant_set_fw_dac_swing_lvl() local
626 h2c_parameter[0] = dac_swing_lvl; in btc8821a2ant_set_fw_dac_swing_lvl()
631 "[BTCoex], FW write 0x64 = 0x%x\n", h2c_parameter[0]); in btc8821a2ant_set_fw_dac_swing_lvl()
633 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in btc8821a2ant_set_fw_dac_swing_lvl()
640 u8 h2c_parameter[1] = {0}; in btc8821a2ant_set_fw_dec_bt_pwr() local
642 h2c_parameter[0] = dec_bt_pwr_lvl; in btc8821a2ant_set_fw_dec_bt_pwr()
[all …]
Dhalbtc8192e2ant.c415 u8 h2c_parameter[1] = {0}; in btc8192e2ant_query_bt_info() local
419 h2c_parameter[0] |= BIT0; /* trigger */ in btc8192e2ant_query_bt_info()
423 h2c_parameter[0]); in btc8192e2ant_query_bt_info()
425 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in btc8192e2ant_query_bt_info()
727 u8 h2c_parameter[1] = {0}; in btc8192e2ant_set_fw_dac_swing_level() local
732 h2c_parameter[0] = dac_swing_lvl; in btc8192e2ant_set_fw_dac_swing_level()
737 "[BTCoex], FW write 0x64 = 0x%x\n", h2c_parameter[0]); in btc8192e2ant_set_fw_dac_swing_level()
739 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in btc8192e2ant_set_fw_dac_swing_level()
746 u8 h2c_parameter[1] = {0}; in btc8192e2ant_set_fw_dec_bt_pwr() local
748 h2c_parameter[0] = dec_bt_pwr_lvl; in btc8192e2ant_set_fw_dec_bt_pwr()
[all …]
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Ddm.c302 u8 h2c_parameter[3] = { 0 }; in rtl8723be_dm_check_rssi_monitor() local
341 h2c_parameter[2] = in rtl8723be_dm_check_rssi_monitor()
343 h2c_parameter[1] = 0x20; in rtl8723be_dm_check_rssi_monitor()
344 h2c_parameter[0] = 0; in rtl8723be_dm_check_rssi_monitor()
345 rtl8723be_fill_h2c_cmd(hw, H2C_RSSIBE_REPORT, 3, h2c_parameter); in rtl8723be_dm_check_rssi_monitor()
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.c503 u8 h2c_parameter[4] = { 0 }; in rtl8821ae_dm_check_rssi_monitor() local
513 h2c_parameter[3] = 0x01; in rtl8821ae_dm_check_rssi_monitor()
515 h2c_parameter[3] = 0x00; in rtl8821ae_dm_check_rssi_monitor()
566 h2c_parameter[3] |= stbc_tx << 1; in rtl8821ae_dm_check_rssi_monitor()
568 h2c_parameter[2] = in rtl8821ae_dm_check_rssi_monitor()
570 h2c_parameter[1] = 0x20; in rtl8821ae_dm_check_rssi_monitor()
571 h2c_parameter[0] = 0; in rtl8821ae_dm_check_rssi_monitor()
574 h2c_parameter); in rtl8821ae_dm_check_rssi_monitor()
577 h2c_parameter); in rtl8821ae_dm_check_rssi_monitor()