Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/phydm/
H A Dphydm_rssi_monitor.c182 u8 h2c_parameter[H2C_0X42_LENGTH] = {0}; in odm_rssi_monitor_check_mp() local
259h2c_parameter[4] = (p_ra_table->RA_threshold_offset & 0x7f) | (p_ra_table->RA_offset_direction << … in odm_rssi_monitor_check_mp()
264 h2c_parameter[3] |= RAINFO_BE_RX_STATE; in odm_rssi_monitor_check_mp()
267 h2c_parameter[3] |= RAINFO_BF_STATE; in odm_rssi_monitor_check_mp()
270 h2c_parameter[3] |= RAINFO_STBC_STATE; in odm_rssi_monitor_check_mp()
274 h2c_parameter[3] |= RAINFO_NOISY_STATE; in odm_rssi_monitor_check_mp()
276 h2c_parameter[3] &= (~RAINFO_NOISY_STATE); in odm_rssi_monitor_check_mp()
279 h2c_parameter[3] |= RAINFO_INIT_RSSI_RATE_STATE; in odm_rssi_monitor_check_mp()
285 h2c_parameter[2] = (u8)(GET_STA_INFO(p_entry).rssi_stat.rssi & 0xFF); in odm_rssi_monitor_check_mp()
287 h2c_parameter[0] = (GET_STA_INFO(p_entry).mac_id); in odm_rssi_monitor_check_mp()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A 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 …]
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/btcoexist/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/btc/
H A DHalBtc8723b1Ant.c200 u8 h2c_parameter[1] = {0}; in halbtc8723b1ant_query_bt_info() local
204 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8723b1ant_query_bt_info()
206 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8723b1ant_query_bt_info()
467 u8 h2c_parameter[1] = {0}; in halbtc8723b1ant_set_bt_auto_report() local
469 h2c_parameter[0] = 0; in halbtc8723b1ant_set_bt_auto_report()
472 h2c_parameter[0] |= BIT(0); in halbtc8723b1ant_set_bt_auto_report()
474 btcoexist->btc_fill_h2c(btcoexist, 0x68, 1, h2c_parameter); in halbtc8723b1ant_set_bt_auto_report()
495 u8 h2c_parameter[6] = {0}; in halbtc8723b1ant_set_sw_penalty_tx_rate_adaptive() local
497 h2c_parameter[0] = 0x6; /* op_code, 0x6= Retry_Penalty */ in halbtc8723b1ant_set_sw_penalty_tx_rate_adaptive()
500 h2c_parameter[1] |= BIT(0); in halbtc8723b1ant_set_sw_penalty_tx_rate_adaptive()
[all …]
H A DHalBtc8821a1Ant.c361 u8 h2c_parameter[1] = {0}; in halbtc8821a1ant_query_bt_info() local
365 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8821a1ant_query_bt_info()
367 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8821a1ant_query_bt_info()
665 u8 h2c_parameter[1] = {0}; in halbtc8821a1ant_set_bt_auto_report() local
667 h2c_parameter[0] = 0; in halbtc8821a1ant_set_bt_auto_report()
670 h2c_parameter[0] |= BIT(0); in halbtc8821a1ant_set_bt_auto_report()
672 btcoexist->btc_fill_h2c(btcoexist, 0x68, 1, h2c_parameter); in halbtc8821a1ant_set_bt_auto_report()
693 u8 h2c_parameter[6] = {0}; in halbtc8821a1ant_set_sw_penalty_tx_rate_adaptive() local
695 h2c_parameter[0] = 0x6; /* op_code, 0x6= Retry_Penalty */ in halbtc8821a1ant_set_sw_penalty_tx_rate_adaptive()
698 h2c_parameter[1] |= BIT(0); in halbtc8821a1ant_set_sw_penalty_tx_rate_adaptive()
[all …]
H A DHalBtc8821aCsr2Ant.c454 u8 h2c_parameter[1] = {0}; in halbtc8821aCsr2ant_query_bt_info() local
458 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8821aCsr2ant_query_bt_info()
461 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8821aCsr2ant_query_bt_info()
723 u8 h2c_parameter[1] = {0}; in halbtc8821aCsr2ant_set_fw_dac_swing_level() local
727 h2c_parameter[0] = dac_swing_lvl; in halbtc8821aCsr2ant_set_fw_dac_swing_level()
729 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in halbtc8821aCsr2ant_set_fw_dac_swing_level()
735 u8 h2c_parameter[1] = {0}; in halbtc8821aCsr2ant_set_fw_dec_bt_pwr() local
737 h2c_parameter[0] = 0; in halbtc8821aCsr2ant_set_fw_dec_bt_pwr()
740 h2c_parameter[0] |= BIT(1); in halbtc8821aCsr2ant_set_fw_dec_bt_pwr()
743 btcoexist->btc_fill_h2c(btcoexist, 0x62, 1, h2c_parameter); in halbtc8821aCsr2ant_set_fw_dec_bt_pwr()
[all …]
H A DHalBtc8821a2Ant.c330 u8 h2c_parameter[1] = {0}; in halbtc8821a2ant_query_bt_info() local
334 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8821a2ant_query_bt_info()
336 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8821a2ant_query_bt_info()
642 u8 h2c_parameter[1] = {0}; in halbtc8821a2ant_set_fw_dac_swing_level() local
646 h2c_parameter[0] = dac_swing_lvl; in halbtc8821a2ant_set_fw_dac_swing_level()
648 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in halbtc8821a2ant_set_fw_dac_swing_level()
654 u8 h2c_parameter[1] = {0}; in halbtc8821a2ant_set_fw_dec_bt_pwr() local
656 h2c_parameter[0] = dec_bt_pwr_lvl; in halbtc8821a2ant_set_fw_dec_bt_pwr()
658 btcoexist->btc_fill_h2c(btcoexist, 0x62, 1, h2c_parameter); in halbtc8821a2ant_set_fw_dec_bt_pwr()
679 u8 h2c_parameter[1] = {0}; in halbtc8821a2ant_set_bt_auto_report() local
[all …]
H A DHalBtc8723b2Ant.c322 u8 h2c_parameter[1] = {0}; in halbtc8723b2ant_query_bt_info() local
326 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8723b2ant_query_bt_info()
328 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8723b2ant_query_bt_info()
643 u8 h2c_parameter[1] = {0}; in halbtc8723b2ant_set_fw_dac_swing_level() local
647 h2c_parameter[0] = dac_swing_lvl; in halbtc8723b2ant_set_fw_dac_swing_level()
649 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in halbtc8723b2ant_set_fw_dac_swing_level()
655 u8 h2c_parameter[1] = {0}; in halbtc8723b2ant_set_fw_dec_bt_pwr() local
657 h2c_parameter[0] = dec_bt_pwr_lvl; in halbtc8723b2ant_set_fw_dec_bt_pwr()
659 btcoexist->btc_fill_h2c(btcoexist, 0x62, 1, h2c_parameter); in halbtc8723b2ant_set_fw_dec_bt_pwr()
680 u8 h2c_parameter[1] = {0}; in halbtc8723b2ant_set_bt_auto_report() local
[all …]
H A DHalBtc8192e2Ant.c432 u8 h2c_parameter[1] = {0}; in halbtc8192e2ant_query_bt_info() local
436 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8192e2ant_query_bt_info()
438 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8192e2ant_query_bt_info()
743 u8 h2c_parameter[1] = {0}; in halbtc8192e2ant_set_fw_dac_swing_level() local
747 h2c_parameter[0] = dac_swing_lvl; in halbtc8192e2ant_set_fw_dac_swing_level()
749 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in halbtc8192e2ant_set_fw_dac_swing_level()
755 u8 h2c_parameter[1] = {0}; in halbtc8192e2ant_set_fw_dec_bt_pwr() local
757 h2c_parameter[0] = dec_bt_pwr_lvl; in halbtc8192e2ant_set_fw_dec_bt_pwr()
759 btcoexist->btc_fill_h2c(btcoexist, 0x62, 1, h2c_parameter); in halbtc8192e2ant_set_fw_dec_bt_pwr()
782 u8 h2c_parameter[1] = {0}; in halbtc8192e2ant_set_bt_auto_report() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/btc/
H A Dhalbtc8723b1ant.c200 u8 h2c_parameter[1] = {0}; in halbtc8723b1ant_query_bt_info() local
204 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8723b1ant_query_bt_info()
206 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8723b1ant_query_bt_info()
444 u8 h2c_parameter[1] = {0}; in halbtc8723b1ant_set_bt_auto_report() local
446 h2c_parameter[0] = 0; in halbtc8723b1ant_set_bt_auto_report()
449 h2c_parameter[0] |= BIT(0); in halbtc8723b1ant_set_bt_auto_report()
451 btcoexist->btc_fill_h2c(btcoexist, 0x68, 1, h2c_parameter); in halbtc8723b1ant_set_bt_auto_report()
472 u8 h2c_parameter[6] = {0}; in halbtc8723b1ant_set_sw_penalty_tx_rate_adaptive() local
474 h2c_parameter[0] = 0x6; /* op_code, 0x6= Retry_Penalty */ in halbtc8723b1ant_set_sw_penalty_tx_rate_adaptive()
477 h2c_parameter[1] |= BIT(0); in halbtc8723b1ant_set_sw_penalty_tx_rate_adaptive()
[all …]
H A Dhalbtc8821a1ant.c361 u8 h2c_parameter[1] = {0}; in halbtc8821a1ant_query_bt_info() local
365 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8821a1ant_query_bt_info()
367 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8821a1ant_query_bt_info()
665 u8 h2c_parameter[1] = {0}; in halbtc8821a1ant_set_bt_auto_report() local
667 h2c_parameter[0] = 0; in halbtc8821a1ant_set_bt_auto_report()
670 h2c_parameter[0] |= BIT(0); in halbtc8821a1ant_set_bt_auto_report()
672 btcoexist->btc_fill_h2c(btcoexist, 0x68, 1, h2c_parameter); in halbtc8821a1ant_set_bt_auto_report()
693 u8 h2c_parameter[6] = {0}; in halbtc8821a1ant_set_sw_penalty_tx_rate_adaptive() local
695 h2c_parameter[0] = 0x6; /* op_code, 0x6= Retry_Penalty */ in halbtc8821a1ant_set_sw_penalty_tx_rate_adaptive()
698 h2c_parameter[1] |= BIT(0); in halbtc8821a1ant_set_sw_penalty_tx_rate_adaptive()
[all …]
H A Dhalbtc8821acsr2ant.c454 u8 h2c_parameter[1] = {0}; in halbtc8821aCsr2ant_query_bt_info() local
458 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8821aCsr2ant_query_bt_info()
461 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8821aCsr2ant_query_bt_info()
723 u8 h2c_parameter[1] = {0}; in halbtc8821aCsr2ant_set_fw_dac_swing_level() local
727 h2c_parameter[0] = dac_swing_lvl; in halbtc8821aCsr2ant_set_fw_dac_swing_level()
729 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in halbtc8821aCsr2ant_set_fw_dac_swing_level()
735 u8 h2c_parameter[1] = {0}; in halbtc8821aCsr2ant_set_fw_dec_bt_pwr() local
737 h2c_parameter[0] = 0; in halbtc8821aCsr2ant_set_fw_dec_bt_pwr()
740 h2c_parameter[0] |= BIT(1); in halbtc8821aCsr2ant_set_fw_dec_bt_pwr()
743 btcoexist->btc_fill_h2c(btcoexist, 0x62, 1, h2c_parameter); in halbtc8821aCsr2ant_set_fw_dec_bt_pwr()
[all …]
H A Dhalbtc8723d2ant.c238 u8 h2c_parameter[1] = {0}; in halbtc8723d2ant_query_bt_info() local
242 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8723d2ant_query_bt_info()
244 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8723d2ant_query_bt_info()
456 u8 h2c_parameter[3] = {0}; in halbtc8723d2ant_update_wifi_channel_info() local
465 h2c_parameter[0] = in halbtc8723d2ant_update_wifi_channel_info()
468 h2c_parameter[1] = wifi_central_chnl; in halbtc8723d2ant_update_wifi_channel_info()
471 h2c_parameter[2] = 0x30; in halbtc8723d2ant_update_wifi_channel_info()
473 h2c_parameter[2] = 0x20; in halbtc8723d2ant_update_wifi_channel_info()
476 coex_dm->wifi_chnl_info[0] = h2c_parameter[0]; in halbtc8723d2ant_update_wifi_channel_info()
477 coex_dm->wifi_chnl_info[1] = h2c_parameter[1]; in halbtc8723d2ant_update_wifi_channel_info()
[all …]
H A Dhalbtc8821a2ant.c330 u8 h2c_parameter[1] = {0}; in halbtc8821a2ant_query_bt_info() local
334 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8821a2ant_query_bt_info()
336 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8821a2ant_query_bt_info()
642 u8 h2c_parameter[1] = {0}; in halbtc8821a2ant_set_fw_dac_swing_level() local
646 h2c_parameter[0] = dac_swing_lvl; in halbtc8821a2ant_set_fw_dac_swing_level()
648 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in halbtc8821a2ant_set_fw_dac_swing_level()
654 u8 h2c_parameter[1] = {0}; in halbtc8821a2ant_set_fw_dec_bt_pwr() local
656 h2c_parameter[0] = dec_bt_pwr_lvl; in halbtc8821a2ant_set_fw_dec_bt_pwr()
658 btcoexist->btc_fill_h2c(btcoexist, 0x62, 1, h2c_parameter); in halbtc8821a2ant_set_fw_dec_bt_pwr()
679 u8 h2c_parameter[1] = {0}; in halbtc8821a2ant_set_bt_auto_report() local
[all …]
H A Dhalbtc8723b2ant.c322 u8 h2c_parameter[1] = {0}; in halbtc8723b2ant_query_bt_info() local
326 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8723b2ant_query_bt_info()
328 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8723b2ant_query_bt_info()
643 u8 h2c_parameter[1] = {0}; in halbtc8723b2ant_set_fw_dac_swing_level() local
647 h2c_parameter[0] = dac_swing_lvl; in halbtc8723b2ant_set_fw_dac_swing_level()
649 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in halbtc8723b2ant_set_fw_dac_swing_level()
655 u8 h2c_parameter[1] = {0}; in halbtc8723b2ant_set_fw_dec_bt_pwr() local
657 h2c_parameter[0] = dec_bt_pwr_lvl; in halbtc8723b2ant_set_fw_dec_bt_pwr()
659 btcoexist->btc_fill_h2c(btcoexist, 0x62, 1, h2c_parameter); in halbtc8723b2ant_set_fw_dec_bt_pwr()
680 u8 h2c_parameter[1] = {0}; in halbtc8723b2ant_set_bt_auto_report() local
[all …]
H A Dhalbtc8192e2ant.c432 u8 h2c_parameter[1] = {0}; in halbtc8192e2ant_query_bt_info() local
436 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8192e2ant_query_bt_info()
438 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8192e2ant_query_bt_info()
743 u8 h2c_parameter[1] = {0}; in halbtc8192e2ant_set_fw_dac_swing_level() local
747 h2c_parameter[0] = dac_swing_lvl; in halbtc8192e2ant_set_fw_dac_swing_level()
749 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in halbtc8192e2ant_set_fw_dac_swing_level()
755 u8 h2c_parameter[1] = {0}; in halbtc8192e2ant_set_fw_dec_bt_pwr() local
757 h2c_parameter[0] = dec_bt_pwr_lvl; in halbtc8192e2ant_set_fw_dec_bt_pwr()
759 btcoexist->btc_fill_h2c(btcoexist, 0x62, 1, h2c_parameter); in halbtc8192e2ant_set_fw_dec_bt_pwr()
782 u8 h2c_parameter[1] = {0}; in halbtc8192e2ant_set_bt_auto_report() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/btc/
H A Dhalbtc8723b1ant.c222 u8 h2c_parameter[1] = {0}; in halbtc8723b1ant_query_bt_info() local
226 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8723b1ant_query_bt_info()
228 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8723b1ant_query_bt_info()
535 u8 h2c_parameter[1] = {0}; in halbtc8723b1ant_set_bt_auto_report() local
537 h2c_parameter[0] = 0; in halbtc8723b1ant_set_bt_auto_report()
540 h2c_parameter[0] |= BIT(0); in halbtc8723b1ant_set_bt_auto_report()
542 btcoexist->btc_fill_h2c(btcoexist, 0x68, 1, h2c_parameter); in halbtc8723b1ant_set_bt_auto_report()
565 u8 h2c_parameter[6] = {0}; in halbtc8723b1ant_set_sw_penalty_tx_rate_adaptive() local
567 h2c_parameter[0] = 0x6; /* op_code, 0x6= Retry_Penalty */ in halbtc8723b1ant_set_sw_penalty_tx_rate_adaptive()
570 h2c_parameter[1] |= BIT(0); in halbtc8723b1ant_set_sw_penalty_tx_rate_adaptive()
[all …]
H A Dhalbtc8821a1ant.c412 u8 h2c_parameter[1] = {0}; in halbtc8821a1ant_query_bt_info() local
416 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8821a1ant_query_bt_info()
418 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8821a1ant_query_bt_info()
716 u8 h2c_parameter[1] = {0}; in halbtc8821a1ant_set_bt_auto_report() local
718 h2c_parameter[0] = 0; in halbtc8821a1ant_set_bt_auto_report()
721 h2c_parameter[0] |= BIT(0); in halbtc8821a1ant_set_bt_auto_report()
723 btcoexist->btc_fill_h2c(btcoexist, 0x68, 1, h2c_parameter); in halbtc8821a1ant_set_bt_auto_report()
744 u8 h2c_parameter[6] = {0}; in halbtc8821a1ant_set_sw_penalty_tx_rate_adaptive() local
746 h2c_parameter[0] = 0x6; /* op_code, 0x6= Retry_Penalty */ in halbtc8821a1ant_set_sw_penalty_tx_rate_adaptive()
749 h2c_parameter[1] |= BIT(0); in halbtc8821a1ant_set_sw_penalty_tx_rate_adaptive()
[all …]
H A Dhalbtc8821a2ant.c292 u8 h2c_parameter[1] = {0}; in halbtc8821a2ant_query_bt_info() local
296 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8821a2ant_query_bt_info()
298 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8821a2ant_query_bt_info()
655 u8 h2c_parameter[1] = {0}; in halbtc8821a2ant_set_fw_dac_swing_level() local
659 h2c_parameter[0] = dac_swing_lvl; in halbtc8821a2ant_set_fw_dac_swing_level()
661 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in halbtc8821a2ant_set_fw_dac_swing_level()
667 u8 h2c_parameter[1] = {0}; in halbtc8821a2ant_set_fw_dec_bt_pwr() local
669 h2c_parameter[0] = dec_bt_pwr_lvl; in halbtc8821a2ant_set_fw_dec_bt_pwr()
671 btcoexist->btc_fill_h2c(btcoexist, 0x62, 1, h2c_parameter); in halbtc8821a2ant_set_fw_dec_bt_pwr()
692 u8 h2c_parameter[1] = {0}; in halbtc8821a2ant_set_bt_auto_report() local
[all …]
H A Dhalbtc8723b2ant.c340 u8 h2c_parameter[1] = {0}; in halbtc8723b2ant_query_bt_info() local
344 h2c_parameter[0] |= BIT(0); /* trigger */ in halbtc8723b2ant_query_bt_info()
346 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8723b2ant_query_bt_info()
665 u8 h2c_parameter[1] = {0}; in halbtc8723b2ant_set_fw_dac_swing_level() local
669 h2c_parameter[0] = dac_swing_lvl; in halbtc8723b2ant_set_fw_dac_swing_level()
671 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in halbtc8723b2ant_set_fw_dac_swing_level()
711 u8 h2c_parameter[1] = {0}; in halbtc8723b2ant_set_bt_auto_report() local
713 h2c_parameter[0] = 0; in halbtc8723b2ant_set_bt_auto_report()
716 h2c_parameter[0] |= BIT(0); in halbtc8723b2ant_set_bt_auto_report()
718 btcoexist->btc_fill_h2c(btcoexist, 0x68, 1, h2c_parameter); in halbtc8723b2ant_set_bt_auto_report()
[all …]

12345