Home
last modified time | relevance | path

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

/Linux-v4.19/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()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtc8723b1ant.c215 u8 h2c_parameter[1] = {0}; in halbtc8723b1ant_query_bt_info() local
220 h2c_parameter[0] |= BIT(0); in halbtc8723b1ant_query_bt_info()
222 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8723b1ant_query_bt_info()
450 u8 h2c_parameter[1] = {0}; in halbtc8723b1ant_set_bt_auto_report() local
452 h2c_parameter[0] = 0; in halbtc8723b1ant_set_bt_auto_report()
455 h2c_parameter[0] |= BIT(0); in halbtc8723b1ant_set_bt_auto_report()
457 btcoexist->btc_fill_h2c(btcoexist, 0x68, 1, h2c_parameter); in halbtc8723b1ant_set_bt_auto_report()
480 u8 h2c_parameter[6] = {0}; in btc8723b1ant_set_sw_pen_tx_rate_adapt() local
482 h2c_parameter[0] = 0x6; /* opCode, 0x6= Retry_Penalty */ in btc8723b1ant_set_sw_pen_tx_rate_adapt()
485 h2c_parameter[1] |= BIT0; in btc8723b1ant_set_sw_pen_tx_rate_adapt()
[all …]
Dhalbtc8723b2ant.c352 u8 h2c_parameter[1] = {0}; in btc8723b2ant_query_bt_info() local
356 h2c_parameter[0] |= BIT0; /* trigger */ in btc8723b2ant_query_bt_info()
360 h2c_parameter[0]); in btc8723b2ant_query_bt_info()
362 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in btc8723b2ant_query_bt_info()
658 u8 h2c_parameter[1] = {0}; in btc8723b2ant_set_fw_dac_swing_level() local
663 h2c_parameter[0] = dac_swing_lvl; in btc8723b2ant_set_fw_dac_swing_level()
668 "[BTCoex], FW write 0x64=0x%x\n", h2c_parameter[0]); in btc8723b2ant_set_fw_dac_swing_level()
670 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in btc8723b2ant_set_fw_dac_swing_level()
677 u8 h2c_parameter[1] = {0}; in btc8723b2ant_set_fw_dec_bt_pwr() local
679 h2c_parameter[0] = dec_bt_pwr_lvl; in btc8723b2ant_set_fw_dec_bt_pwr()
[all …]
Dhalbtc8821a1ant.c416 u8 h2c_parameter[1] = {0}; in btc8821a1ant_query_bt_info() local
420 h2c_parameter[0] |= BIT0; /* trigger */ in btc8821a1ant_query_bt_info()
424 h2c_parameter[0]); in btc8821a1ant_query_bt_info()
426 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in btc8821a1ant_query_bt_info()
672 u8 h2c_parameter[6] = {0}; in btc8821a1ant_set_sw_penalty_tx_rate() local
674 h2c_parameter[0] = 0x6; /* opCode, 0x6= Retry_Penalty*/ in btc8821a1ant_set_sw_penalty_tx_rate()
677 h2c_parameter[1] |= BIT0; in btc8821a1ant_set_sw_penalty_tx_rate()
679 h2c_parameter[2] = 0x00; in btc8821a1ant_set_sw_penalty_tx_rate()
680 h2c_parameter[3] = 0xf7; /* MCS7 or OFDM54 */ in btc8821a1ant_set_sw_penalty_tx_rate()
681 h2c_parameter[4] = 0xf8; /* MCS6 or OFDM48 */ in btc8821a1ant_set_sw_penalty_tx_rate()
[all …]
Dhalbtc8821a2ant.c349 u8 h2c_parameter[1] = {0}; in btc8821a2ant_query_bt_info() local
353 h2c_parameter[0] |= BIT0; /* trigger */ in btc8821a2ant_query_bt_info()
357 h2c_parameter[0]); in btc8821a2ant_query_bt_info()
359 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in btc8821a2ant_query_bt_info()
643 u8 h2c_parameter[1] = {0}; in btc8821a2ant_set_fw_dac_swing_lvl() local
648 h2c_parameter[0] = dac_swing_lvl; in btc8821a2ant_set_fw_dac_swing_lvl()
653 "[BTCoex], FW write 0x64 = 0x%x\n", h2c_parameter[0]); in btc8821a2ant_set_fw_dac_swing_lvl()
655 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in btc8821a2ant_set_fw_dac_swing_lvl()
662 u8 h2c_parameter[1] = {0}; in btc8821a2ant_set_fw_dec_bt_pwr() local
664 h2c_parameter[0] = dec_bt_pwr_lvl; in btc8821a2ant_set_fw_dec_bt_pwr()
[all …]
Dhalbtc8192e2ant.c446 u8 h2c_parameter[1] = {0}; in btc8192e2ant_query_bt_info() local
450 h2c_parameter[0] |= BIT0; /* trigger */ in btc8192e2ant_query_bt_info()
454 h2c_parameter[0]); in btc8192e2ant_query_bt_info()
456 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in btc8192e2ant_query_bt_info()
758 u8 h2c_parameter[1] = {0}; in btc8192e2ant_set_fw_dac_swing_level() local
763 h2c_parameter[0] = dac_swing_lvl; in btc8192e2ant_set_fw_dac_swing_level()
768 "[BTCoex], FW write 0x64 = 0x%x\n", h2c_parameter[0]); in btc8192e2ant_set_fw_dac_swing_level()
770 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in btc8192e2ant_set_fw_dac_swing_level()
777 u8 h2c_parameter[1] = {0}; in btc8192e2ant_set_fw_dec_bt_pwr() local
779 h2c_parameter[0] = dec_bt_pwr_lvl; in btc8192e2ant_set_fw_dec_bt_pwr()
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/phydm/
Dphydm_rainfo.c25 u8 h2c_parameter[H2C_MAX_LENGTH] = {0}; in phydm_h2C_debug() local
34 h2c_parameter[i] = (u8)dm_value[i + 1]; in phydm_h2C_debug()
37 h2c_parameter[i]); in phydm_h2C_debug()
40 odm_fill_h2c_cmd(dm, phydm_h2c_id, H2C_MAX_LENGTH, h2c_parameter); in phydm_h2C_debug()
357 u8 h2c_parameter[H2C_0X42_LENGTH] = {0}; in odm_rssi_monitor_check_ce() local
398 h2c_parameter[0] = macid; in odm_rssi_monitor_check_ce()
399 h2c_parameter[2] = in odm_rssi_monitor_check_ce()
403 h2c_parameter[3] |= RAINFO_BE_RX_STATE; in odm_rssi_monitor_check_ce()
406 h2c_parameter[3] |= RAINFO_BF_STATE; in odm_rssi_monitor_check_ce()
408 h2c_parameter[3] |= RAINFO_STBC_STATE; in odm_rssi_monitor_check_ce()
[all …]
Dphydm_debug.c1334 u8 h2c_parameter[7] = {0}; in phydm_fw_trace_en_h2c() local
1338 h2c_parameter[0] = enable; in phydm_fw_trace_en_h2c()
1339 h2c_parameter[1] = (u8)(fw_debug_component & MASKBYTE0); in phydm_fw_trace_en_h2c()
1340 h2c_parameter[2] = (u8)((fw_debug_component & MASKBYTE1) >> 8); in phydm_fw_trace_en_h2c()
1341 h2c_parameter[3] = (u8)((fw_debug_component & MASKBYTE2) >> 16); in phydm_fw_trace_en_h2c()
1342 h2c_parameter[4] = (u8)((fw_debug_component & MASKBYTE3) >> 24); in phydm_fw_trace_en_h2c()
1343 h2c_parameter[5] = (u8)monitor_mode; in phydm_fw_trace_en_h2c()
1344 h2c_parameter[6] = (u8)macid; in phydm_fw_trace_en_h2c()
1348 h2c_parameter[0] = enable; in phydm_fw_trace_en_h2c()
1349 h2c_parameter[1] = (u8)monitor_mode; in phydm_fw_trace_en_h2c()
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/btcoexist/
Dhalbtc8822b2ant.c197 u8 h2c_parameter[1] = {0}; in halbtc8822b2ant_query_bt_info() local
206 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8822b2ant_query_bt_info()
208 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8822b2ant_query_bt_info()
681 u8 h2c_parameter[3] = {0}; in halbtc8822b2ant_update_wifi_ch_info() local
696 h2c_parameter[0] = 0x1; in halbtc8822b2ant_update_wifi_ch_info()
697 h2c_parameter[1] = wifi_central_chnl; in halbtc8822b2ant_update_wifi_ch_info()
700 h2c_parameter[2] = 0x30; in halbtc8822b2ant_update_wifi_ch_info()
702 h2c_parameter[2] = 0x20; in halbtc8822b2ant_update_wifi_ch_info()
705 coex_dm->wifi_chnl_info[0] = h2c_parameter[0]; in halbtc8822b2ant_update_wifi_ch_info()
706 coex_dm->wifi_chnl_info[1] = h2c_parameter[1]; in halbtc8822b2ant_update_wifi_ch_info()
[all …]
Dhalbtc8822b1ant.c281 u8 h2c_parameter[1] = {0}; in halbtc8822b1ant_query_bt_info() local
290 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8822b1ant_query_bt_info()
292 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8822b1ant_query_bt_info()
745 u8 h2c_parameter[3] = {0}; in halbtc8822b1ant_update_wifi_ch_info() local
756 h2c_parameter[0] = 0x1; in halbtc8822b1ant_update_wifi_ch_info()
757 h2c_parameter[1] = wifi_central_chnl; in halbtc8822b1ant_update_wifi_ch_info()
762 h2c_parameter[2] = 0x30; in halbtc8822b1ant_update_wifi_ch_info()
764 h2c_parameter[2] = 0x20; in halbtc8822b1ant_update_wifi_ch_info()
767 coex_dm->wifi_chnl_info[0] = h2c_parameter[0]; in halbtc8822b1ant_update_wifi_ch_info()
768 coex_dm->wifi_chnl_info[1] = h2c_parameter[1]; in halbtc8822b1ant_update_wifi_ch_info()
[all …]
/Linux-v4.19/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()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.c677 u8 h2c_parameter[4] = { 0 }; in rtl8821ae_dm_check_rssi_monitor() local
688 h2c_parameter[3] = 0x01; in rtl8821ae_dm_check_rssi_monitor()
690 h2c_parameter[3] = 0x00; in rtl8821ae_dm_check_rssi_monitor()
741 h2c_parameter[3] |= stbc_tx << 1; in rtl8821ae_dm_check_rssi_monitor()
743 h2c_parameter[2] = in rtl8821ae_dm_check_rssi_monitor()
745 h2c_parameter[1] = 0x20; in rtl8821ae_dm_check_rssi_monitor()
746 h2c_parameter[0] = 0; in rtl8821ae_dm_check_rssi_monitor()
749 h2c_parameter); in rtl8821ae_dm_check_rssi_monitor()
752 h2c_parameter); in rtl8821ae_dm_check_rssi_monitor()
/Linux-v4.19/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()