Lines Matching refs:h2c_parameter

349 	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()
668 dec_bt_pwr_lvl, h2c_parameter[0]); in btc8821a2ant_set_fw_dec_bt_pwr()
670 btcoexist->btc_fill_h2c(btcoexist, 0x62, 1, h2c_parameter); in btc8821a2ant_set_fw_dec_bt_pwr()
728 u8 h2c_parameter[6] = {0}; in btc8821a2ant_set_sw_penalty_tx_rate_adaptive() local
730 h2c_parameter[0] = 0x6; /* opCode, 0x6 = Retry_Penalty */ in btc8821a2ant_set_sw_penalty_tx_rate_adaptive()
733 h2c_parameter[1] |= BIT0; in btc8821a2ant_set_sw_penalty_tx_rate_adaptive()
735 h2c_parameter[2] = 0x00; in btc8821a2ant_set_sw_penalty_tx_rate_adaptive()
737 h2c_parameter[3] = 0xf5; in btc8821a2ant_set_sw_penalty_tx_rate_adaptive()
739 h2c_parameter[4] = 0xa0; in btc8821a2ant_set_sw_penalty_tx_rate_adaptive()
741 h2c_parameter[5] = 0xa0; in btc8821a2ant_set_sw_penalty_tx_rate_adaptive()
748 btcoexist->btc_fill_h2c(btcoexist, 0x69, 6, h2c_parameter); in btc8821a2ant_set_sw_penalty_tx_rate_adaptive()
987 u8 h2c_parameter[1] = {0}; in btc8821a2ant_set_fw_ignore_wlan_act() local
990 h2c_parameter[0] |= BIT0; /* function enable */ in btc8821a2ant_set_fw_ignore_wlan_act()
994 h2c_parameter[0]); in btc8821a2ant_set_fw_ignore_wlan_act()
996 btcoex->btc_fill_h2c(btcoex, 0x63, 1, h2c_parameter); in btc8821a2ant_set_fw_ignore_wlan_act()
1056 u8 h2c_parameter[5]; in btc8821a2ant_set_fw_ps_tdma() local
1058 h2c_parameter[0] = byte1; in btc8821a2ant_set_fw_ps_tdma()
1059 h2c_parameter[1] = byte2; in btc8821a2ant_set_fw_ps_tdma()
1060 h2c_parameter[2] = byte3; in btc8821a2ant_set_fw_ps_tdma()
1061 h2c_parameter[3] = byte4; in btc8821a2ant_set_fw_ps_tdma()
1062 h2c_parameter[4] = byte5; in btc8821a2ant_set_fw_ps_tdma()
1072 h2c_parameter[0], in btc8821a2ant_set_fw_ps_tdma()
1073 h2c_parameter[1] << 24 | in btc8821a2ant_set_fw_ps_tdma()
1074 h2c_parameter[2] << 16 | in btc8821a2ant_set_fw_ps_tdma()
1075 h2c_parameter[3] << 8 | in btc8821a2ant_set_fw_ps_tdma()
1076 h2c_parameter[4]); in btc8821a2ant_set_fw_ps_tdma()
1078 btcoexist->btc_fill_h2c(btcoexist, 0x60, 5, h2c_parameter); in btc8821a2ant_set_fw_ps_tdma()
1102 u8 h2c_parameter[2] = {0}; in btc8821a2ant_set_ant_path() local
1117 h2c_parameter[0] = 1; in btc8821a2ant_set_ant_path()
1118 h2c_parameter[1] = 1; in btc8821a2ant_set_ant_path()
1120 h2c_parameter); in btc8821a2ant_set_ant_path()
1125 h2c_parameter[0] = 0; in btc8821a2ant_set_ant_path()
1126 h2c_parameter[1] = 1; in btc8821a2ant_set_ant_path()
1128 h2c_parameter); in btc8821a2ant_set_ant_path()
3560 u8 h2c_parameter[2] = {0}; in btc8821a2ant_wifi_off_hw_cfg() local
3571 h2c_parameter[0] = 1; in btc8821a2ant_wifi_off_hw_cfg()
3572 btcoexist->btc_fill_h2c(btcoexist, 0x6E, 1, h2c_parameter); in btc8821a2ant_wifi_off_hw_cfg()
3926 u8 h2c_parameter[3] = {0}; in ex_btc8821a2ant_media_status_notify() local
3944 h2c_parameter[0] = 0x1; in ex_btc8821a2ant_media_status_notify()
3945 h2c_parameter[1] = wifi_central_chnl; in ex_btc8821a2ant_media_status_notify()
3948 h2c_parameter[2] = 0x30; in ex_btc8821a2ant_media_status_notify()
3950 h2c_parameter[2] = 0x20; in ex_btc8821a2ant_media_status_notify()
3952 h2c_parameter[2] = 0x30; in ex_btc8821a2ant_media_status_notify()
3954 h2c_parameter[2] = 0x20; in ex_btc8821a2ant_media_status_notify()
3958 coex_dm->wifi_chnl_info[0] = h2c_parameter[0]; in ex_btc8821a2ant_media_status_notify()
3959 coex_dm->wifi_chnl_info[1] = h2c_parameter[1]; in ex_btc8821a2ant_media_status_notify()
3960 coex_dm->wifi_chnl_info[2] = h2c_parameter[2]; in ex_btc8821a2ant_media_status_notify()
3964 h2c_parameter[0] << 16 | in ex_btc8821a2ant_media_status_notify()
3965 h2c_parameter[1] << 8 | in ex_btc8821a2ant_media_status_notify()
3966 h2c_parameter[2]); in ex_btc8821a2ant_media_status_notify()
3968 btcoexist->btc_fill_h2c(btcoexist, 0x66, 3, h2c_parameter); in ex_btc8821a2ant_media_status_notify()