Lines Matching refs:h2c_parameter

331 	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()
663 btcoexist->btc_fill_h2c(btcoexist, 0x62, 1, h2c_parameter); in btc8723b2ant_set_fw_dec_bt_pwr()
693 u8 h2c_parameter[1] = {0}; in halbtc8723b2ant_set_bt_auto_report() local
695 h2c_parameter[0] = 0; in halbtc8723b2ant_set_bt_auto_report()
698 h2c_parameter[0] |= BIT(0); in halbtc8723b2ant_set_bt_auto_report()
700 btcoexist->btc_fill_h2c(btcoexist, 0x68, 1, h2c_parameter); in halbtc8723b2ant_set_bt_auto_report()
749 u8 h2c_parameter[6] = {0}; in btc8723b_set_penalty_txrate() local
751 h2c_parameter[0] = 0x6; /* op_code, 0x6 = Retry_Penalty */ in btc8723b_set_penalty_txrate()
754 h2c_parameter[1] |= BIT0; in btc8723b_set_penalty_txrate()
756 h2c_parameter[2] = 0x00; in btc8723b_set_penalty_txrate()
757 h2c_parameter[3] = 0xf4; /* MCS7 or OFDM54 */ in btc8723b_set_penalty_txrate()
758 h2c_parameter[4] = 0xf5; /* MCS6 or OFDM48 */ in btc8723b_set_penalty_txrate()
759 h2c_parameter[5] = 0xf6; /* MCS5 or OFDM36 */ in btc8723b_set_penalty_txrate()
766 btcoexist->btc_fill_h2c(btcoexist, 0x69, 6, h2c_parameter); in btc8723b_set_penalty_txrate()
989 u8 h2c_parameter[1] = {0}; in btc8723b2ant_set_fw_ignore_wlan_act() local
992 h2c_parameter[0] |= BIT0; /* function enable */ in btc8723b2ant_set_fw_ignore_wlan_act()
996 h2c_parameter[0]); in btc8723b2ant_set_fw_ignore_wlan_act()
998 btcoexist->btc_fill_h2c(btcoexist, 0x63, 1, h2c_parameter); in btc8723b2ant_set_fw_ignore_wlan_act()
1057 u8 h2c_parameter[5]; in btc8723b2ant_set_fw_ps_tdma() local
1061 h2c_parameter[0] = byte1; in btc8723b2ant_set_fw_ps_tdma()
1062 h2c_parameter[1] = byte2; in btc8723b2ant_set_fw_ps_tdma()
1063 h2c_parameter[2] = byte3; in btc8723b2ant_set_fw_ps_tdma()
1064 h2c_parameter[3] = byte4; in btc8723b2ant_set_fw_ps_tdma()
1065 h2c_parameter[4] = byte5; in btc8723b2ant_set_fw_ps_tdma()
1075 h2c_parameter[0], in btc8723b2ant_set_fw_ps_tdma()
1076 h2c_parameter[1] << 24 | h2c_parameter[2] << 16 | in btc8723b2ant_set_fw_ps_tdma()
1077 h2c_parameter[3] << 8 | h2c_parameter[4]); in btc8723b2ant_set_fw_ps_tdma()
1079 btcoexist->btc_fill_h2c(btcoexist, 0x60, 5, h2c_parameter); in btc8723b2ant_set_fw_ps_tdma()
1097 u8 h2c_parameter[2] = {0}; in btc8723b2ant_set_ant_path() local
1114 h2c_parameter[0] = 1; in btc8723b2ant_set_ant_path()
1116 h2c_parameter); in btc8723b2ant_set_ant_path()
1129 h2c_parameter[0] = 0; in btc8723b2ant_set_ant_path()
1132 h2c_parameter[0] = 1; in btc8723b2ant_set_ant_path()
1137 h2c_parameter[1] = 1; in btc8723b2ant_set_ant_path()
1140 h2c_parameter[1] = 0; in btc8723b2ant_set_ant_path()
1142 btcoexist->btc_fill_h2c(btcoexist, 0x65, 2, h2c_parameter); in btc8723b2ant_set_ant_path()
1146 h2c_parameter[0] = 0; in btc8723b2ant_set_ant_path()
1148 h2c_parameter); in btc8723b2ant_set_ant_path()
3498 u8 h2c_parameter[2] = {0}; in btc8723b2ant_wifioff_hwcfg() local
3510 h2c_parameter[0] = 1; in btc8723b2ant_wifioff_hwcfg()
3511 btcoexist->btc_fill_h2c(btcoexist, 0x6E, 1, h2c_parameter); in btc8723b2ant_wifioff_hwcfg()
3927 u8 h2c_parameter[3] = {0}; in ex_btc8723b2ant_media_status_notify() local
3944 h2c_parameter[0] = 0x1; in ex_btc8723b2ant_media_status_notify()
3945 h2c_parameter[1] = wifi_central_chnl; in ex_btc8723b2ant_media_status_notify()
3949 h2c_parameter[2] = 0x30; in ex_btc8723b2ant_media_status_notify()
3954 h2c_parameter[2] = 0x30; in ex_btc8723b2ant_media_status_notify()
3956 h2c_parameter[2] = 0x20; in ex_btc8723b2ant_media_status_notify()
3960 coex_dm->wifi_chnl_info[0] = h2c_parameter[0]; in ex_btc8723b2ant_media_status_notify()
3961 coex_dm->wifi_chnl_info[1] = h2c_parameter[1]; in ex_btc8723b2ant_media_status_notify()
3962 coex_dm->wifi_chnl_info[2] = h2c_parameter[2]; in ex_btc8723b2ant_media_status_notify()
3966 h2c_parameter[0] << 16 | h2c_parameter[1] << 8 | in ex_btc8723b2ant_media_status_notify()
3967 h2c_parameter[2]); in ex_btc8723b2ant_media_status_notify()
3969 btcoexist->btc_fill_h2c(btcoexist, 0x66, 3, h2c_parameter); in ex_btc8723b2ant_media_status_notify()