Lines Matching refs:h2c_parameter

340 	u8	h2c_parameter[1] = {0};  in halbtc8821a2ant_query_bt_info()  local
344 h2c_parameter[0] |= BIT0; /* trigger */ in halbtc8821a2ant_query_bt_info()
348 h2c_parameter[0]); in halbtc8821a2ant_query_bt_info()
350 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8821a2ant_query_bt_info()
566 u8 h2c_parameter[1] = {0}; in btc8821a2ant_set_fw_dac_swing_lev() local
571 h2c_parameter[0] = dac_swing_lvl; in btc8821a2ant_set_fw_dac_swing_lev()
576 "[BTCoex], FW write 0x64 = 0x%x\n", h2c_parameter[0]); in btc8821a2ant_set_fw_dac_swing_lev()
578 btcoexist->btc_fill_h2c(btcoexist, 0x64, 1, h2c_parameter); in btc8821a2ant_set_fw_dac_swing_lev()
584 u8 h2c_parameter[1] = {0}; in halbtc8821a2ant_set_fw_dec_bt_pwr() local
586 h2c_parameter[0] = 0; in halbtc8821a2ant_set_fw_dec_bt_pwr()
589 h2c_parameter[0] |= BIT1; in halbtc8821a2ant_set_fw_dec_bt_pwr()
593 (dec_bt_pwr ? "Yes!!" : "No!!"), h2c_parameter[0]); in halbtc8821a2ant_set_fw_dec_bt_pwr()
595 btcoexist->btc_fill_h2c(btcoexist, 0x62, 1, h2c_parameter); in halbtc8821a2ant_set_fw_dec_bt_pwr()
623 u8 h2c_parameter[2] = {0}; in btc8821a2ant_set_fw_bt_lna_constr() local
625 h2c_parameter[0] = 0x3; /* opCode, 0x3 = BT_SET_LNA_CONSTRAIN */ in btc8821a2ant_set_fw_bt_lna_constr()
628 h2c_parameter[1] |= BIT0; in btc8821a2ant_set_fw_bt_lna_constr()
633 h2c_parameter[0]<<8|h2c_parameter[1]); in btc8821a2ant_set_fw_bt_lna_constr()
635 btcoexist->btc_fill_h2c(btcoexist, 0x69, 2, h2c_parameter); in btc8821a2ant_set_fw_bt_lna_constr()
666 u8 h2c_parameter[2] = {0}; in halbtc8821a2ant_set_fw_bt_psd_mode() local
668 h2c_parameter[0] = 0x2; /* opCode, 0x2 = BT_SET_PSD_MODE */ in halbtc8821a2ant_set_fw_bt_psd_mode()
670 h2c_parameter[1] = bt_psd_mode; in halbtc8821a2ant_set_fw_bt_psd_mode()
674 h2c_parameter[1], in halbtc8821a2ant_set_fw_bt_psd_mode()
675 h2c_parameter[0]<<8|h2c_parameter[1]); in halbtc8821a2ant_set_fw_bt_psd_mode()
677 btcoexist->btc_fill_h2c(btcoexist, 0x69, 2, h2c_parameter); in halbtc8821a2ant_set_fw_bt_psd_mode()
705 u8 h2c_parameter[1] = {0}; in halbtc8821a2ant_set_bt_auto_report() local
707 h2c_parameter[0] = 0; in halbtc8821a2ant_set_bt_auto_report()
710 h2c_parameter[0] |= BIT0; in halbtc8821a2ant_set_bt_auto_report()
715 h2c_parameter[0]); in halbtc8821a2ant_set_bt_auto_report()
717 btcoexist->btc_fill_h2c(btcoexist, 0x68, 1, h2c_parameter); in halbtc8821a2ant_set_bt_auto_report()
822 u8 h2c_parameter[6] = {0}; in btc8821a2ant_SetSwPenTxRateAdapt() local
824 h2c_parameter[0] = 0x6; /* opCode, 0x6 = Retry_Penalty */ in btc8821a2ant_SetSwPenTxRateAdapt()
827 h2c_parameter[1] |= BIT0; in btc8821a2ant_SetSwPenTxRateAdapt()
829 h2c_parameter[2] = 0x00; in btc8821a2ant_SetSwPenTxRateAdapt()
831 h2c_parameter[3] = 0xf7; in btc8821a2ant_SetSwPenTxRateAdapt()
833 h2c_parameter[4] = 0xf8; in btc8821a2ant_SetSwPenTxRateAdapt()
835 h2c_parameter[5] = 0xf9; in btc8821a2ant_SetSwPenTxRateAdapt()
842 btcoexist->btc_fill_h2c(btcoexist, 0x69, 6, h2c_parameter); in btc8821a2ant_SetSwPenTxRateAdapt()
1025 u8 h2c_parameter[1] = {0}; in halbtc8821a2ant_set_fw_ignore_wlan_act() local
1028 h2c_parameter[0] |= BIT0;/* function enable */ in halbtc8821a2ant_set_fw_ignore_wlan_act()
1032 h2c_parameter[0]); in halbtc8821a2ant_set_fw_ignore_wlan_act()
1034 btcoex->btc_fill_h2c(btcoex, 0x63, 1, h2c_parameter); in halbtc8821a2ant_set_fw_ignore_wlan_act()
1064 u8 h2c_parameter[5]; in halbtc8821a2ant_set_fw_pstdma() local
1066 h2c_parameter[0] = byte1; in halbtc8821a2ant_set_fw_pstdma()
1067 h2c_parameter[1] = byte2; in halbtc8821a2ant_set_fw_pstdma()
1068 h2c_parameter[2] = byte3; in halbtc8821a2ant_set_fw_pstdma()
1069 h2c_parameter[3] = byte4; in halbtc8821a2ant_set_fw_pstdma()
1070 h2c_parameter[4] = byte5; in halbtc8821a2ant_set_fw_pstdma()
1080 h2c_parameter[0], in halbtc8821a2ant_set_fw_pstdma()
1081 h2c_parameter[1]<<24| in halbtc8821a2ant_set_fw_pstdma()
1082 h2c_parameter[2]<<16| in halbtc8821a2ant_set_fw_pstdma()
1083 h2c_parameter[3]<<8| in halbtc8821a2ant_set_fw_pstdma()
1084 h2c_parameter[4]); in halbtc8821a2ant_set_fw_pstdma()
1086 btcoexist->btc_fill_h2c(btcoexist, 0x60, 5, h2c_parameter); in halbtc8821a2ant_set_fw_pstdma()
1131 u8 h2c_parameter[2] = {0}; in halbtc8821a2ant_set_ant_path() local
1148 h2c_parameter[0] = 1; in halbtc8821a2ant_set_ant_path()
1149 h2c_parameter[1] = 1; in halbtc8821a2ant_set_ant_path()
1151 h2c_parameter); in halbtc8821a2ant_set_ant_path()
1157 h2c_parameter[0] = 0; in halbtc8821a2ant_set_ant_path()
1158 h2c_parameter[1] = 1; in halbtc8821a2ant_set_ant_path()
1160 h2c_parameter); in halbtc8821a2ant_set_ant_path()
3636 u8 h2c_parameter[3] = {0}; in ex_halbtc8821a2ant_media_status_notify() local
3653 h2c_parameter[0] = 0x1; in ex_halbtc8821a2ant_media_status_notify()
3654 h2c_parameter[1] = wifi_central_chnl; in ex_halbtc8821a2ant_media_status_notify()
3657 h2c_parameter[2] = 0x30; in ex_halbtc8821a2ant_media_status_notify()
3659 h2c_parameter[2] = 0x20; in ex_halbtc8821a2ant_media_status_notify()
3662 coex_dm->wifi_chnl_info[0] = h2c_parameter[0]; in ex_halbtc8821a2ant_media_status_notify()
3663 coex_dm->wifi_chnl_info[1] = h2c_parameter[1]; in ex_halbtc8821a2ant_media_status_notify()
3664 coex_dm->wifi_chnl_info[2] = h2c_parameter[2]; in ex_halbtc8821a2ant_media_status_notify()
3668 h2c_parameter[0]<<16|h2c_parameter[1]<<8|h2c_parameter[2]); in ex_halbtc8821a2ant_media_status_notify()
3670 btcoexist->btc_fill_h2c(btcoexist, 0x66, 3, h2c_parameter); in ex_halbtc8821a2ant_media_status_notify()