Lines Matching refs:h2c_parameter

327 	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()
646 dec_bt_pwr_lvl, h2c_parameter[0]); in btc8821a2ant_set_fw_dec_bt_pwr()
648 btcoexist->btc_fill_h2c(btcoexist, 0x62, 1, h2c_parameter); in btc8821a2ant_set_fw_dec_bt_pwr()
706 u8 h2c_parameter[6] = {0}; in btc8821a2ant_set_sw_penalty_tx_rate_adaptive() local
708 h2c_parameter[0] = 0x6; /* opCode, 0x6 = Retry_Penalty */ in btc8821a2ant_set_sw_penalty_tx_rate_adaptive()
711 h2c_parameter[1] |= BIT0; in btc8821a2ant_set_sw_penalty_tx_rate_adaptive()
713 h2c_parameter[2] = 0x00; in btc8821a2ant_set_sw_penalty_tx_rate_adaptive()
715 h2c_parameter[3] = 0xf5; in btc8821a2ant_set_sw_penalty_tx_rate_adaptive()
717 h2c_parameter[4] = 0xa0; in btc8821a2ant_set_sw_penalty_tx_rate_adaptive()
719 h2c_parameter[5] = 0xa0; in btc8821a2ant_set_sw_penalty_tx_rate_adaptive()
726 btcoexist->btc_fill_h2c(btcoexist, 0x69, 6, h2c_parameter); in btc8821a2ant_set_sw_penalty_tx_rate_adaptive()
965 u8 h2c_parameter[1] = {0}; in btc8821a2ant_set_fw_ignore_wlan_act() local
968 h2c_parameter[0] |= BIT0; /* function enable */ in btc8821a2ant_set_fw_ignore_wlan_act()
972 h2c_parameter[0]); in btc8821a2ant_set_fw_ignore_wlan_act()
974 btcoex->btc_fill_h2c(btcoex, 0x63, 1, h2c_parameter); in btc8821a2ant_set_fw_ignore_wlan_act()
1034 u8 h2c_parameter[5]; in btc8821a2ant_set_fw_ps_tdma() local
1036 h2c_parameter[0] = byte1; in btc8821a2ant_set_fw_ps_tdma()
1037 h2c_parameter[1] = byte2; in btc8821a2ant_set_fw_ps_tdma()
1038 h2c_parameter[2] = byte3; in btc8821a2ant_set_fw_ps_tdma()
1039 h2c_parameter[3] = byte4; in btc8821a2ant_set_fw_ps_tdma()
1040 h2c_parameter[4] = byte5; in btc8821a2ant_set_fw_ps_tdma()
1050 h2c_parameter[0], in btc8821a2ant_set_fw_ps_tdma()
1051 h2c_parameter[1] << 24 | in btc8821a2ant_set_fw_ps_tdma()
1052 h2c_parameter[2] << 16 | in btc8821a2ant_set_fw_ps_tdma()
1053 h2c_parameter[3] << 8 | in btc8821a2ant_set_fw_ps_tdma()
1054 h2c_parameter[4]); in btc8821a2ant_set_fw_ps_tdma()
1056 btcoexist->btc_fill_h2c(btcoexist, 0x60, 5, h2c_parameter); in btc8821a2ant_set_fw_ps_tdma()
1080 u8 h2c_parameter[2] = {0}; in btc8821a2ant_set_ant_path() local
1095 h2c_parameter[0] = 1; in btc8821a2ant_set_ant_path()
1096 h2c_parameter[1] = 1; in btc8821a2ant_set_ant_path()
1098 h2c_parameter); in btc8821a2ant_set_ant_path()
1103 h2c_parameter[0] = 0; in btc8821a2ant_set_ant_path()
1104 h2c_parameter[1] = 1; in btc8821a2ant_set_ant_path()
1106 h2c_parameter); in btc8821a2ant_set_ant_path()
3538 u8 h2c_parameter[2] = {0}; in btc8821a2ant_wifi_off_hw_cfg() local
3549 h2c_parameter[0] = 1; in btc8821a2ant_wifi_off_hw_cfg()
3550 btcoexist->btc_fill_h2c(btcoexist, 0x6E, 1, h2c_parameter); in btc8821a2ant_wifi_off_hw_cfg()
3904 u8 h2c_parameter[3] = {0}; in ex_btc8821a2ant_media_status_notify() local
3922 h2c_parameter[0] = 0x1; in ex_btc8821a2ant_media_status_notify()
3923 h2c_parameter[1] = wifi_central_chnl; in ex_btc8821a2ant_media_status_notify()
3926 h2c_parameter[2] = 0x30; in ex_btc8821a2ant_media_status_notify()
3928 h2c_parameter[2] = 0x20; in ex_btc8821a2ant_media_status_notify()
3930 h2c_parameter[2] = 0x30; in ex_btc8821a2ant_media_status_notify()
3932 h2c_parameter[2] = 0x20; in ex_btc8821a2ant_media_status_notify()
3936 coex_dm->wifi_chnl_info[0] = h2c_parameter[0]; in ex_btc8821a2ant_media_status_notify()
3937 coex_dm->wifi_chnl_info[1] = h2c_parameter[1]; in ex_btc8821a2ant_media_status_notify()
3938 coex_dm->wifi_chnl_info[2] = h2c_parameter[2]; in ex_btc8821a2ant_media_status_notify()
3942 h2c_parameter[0] << 16 | in ex_btc8821a2ant_media_status_notify()
3943 h2c_parameter[1] << 8 | in ex_btc8821a2ant_media_status_notify()
3944 h2c_parameter[2]); in ex_btc8821a2ant_media_status_notify()
3946 btcoexist->btc_fill_h2c(btcoexist, 0x66, 3, h2c_parameter); in ex_btc8821a2ant_media_status_notify()