Searched refs:mci_hw (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/net/wireless/ath/ath9k/
H A Dmci.c124 struct ath9k_hw_mci *mci_hw = &sc->sc_ah->btcoex_hw.mci; ath_mci_update_scheme() local
128 if (mci_hw->config & ATH_MCI_CONFIG_DISABLE_TUNING) ath_mci_update_scheme()
214 struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; ath_mci_cal_msg() local
219 if (mci_hw->bt_state == MCI_BT_AWAKE) { ath_mci_cal_msg()
220 mci_hw->bt_state = MCI_BT_CAL_START; ath_mci_cal_msg()
223 ath_dbg(common, MCI, "MCI State : %d\n", mci_hw->bt_state); ath_mci_cal_msg()
488 struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; ath_mci_intr() local
528 if ((mci_hw->bt_state == MCI_BT_SLEEP) && ath_mci_intr()
537 if ((mci_hw->bt_state == MCI_BT_AWAKE) && ath_mci_intr()
540 mci_hw->bt_state = MCI_BT_SLEEP; ath_mci_intr()
603 int value_dbm = MS(mci_hw->cont_status, ath_mci_intr()
610 MS(mci_hw->cont_status, AR_MCI_CONT_TXRX) ? ath_mci_intr()
612 MS(mci_hw->cont_status, AR_MCI_CONT_PRIORITY), ath_mci_intr()
696 struct ath9k_hw_mci *mci_hw = &sc->sc_ah->btcoex_hw.mci; ath9k_mci_set_txpower() local
697 bool old_concur_tx = mci_hw->concur_tx; ath9k_mci_set_txpower()
699 if (!(mci_hw->config & ATH_MCI_CONFIG_CONCUR_TX)) { ath9k_mci_set_txpower()
700 mci_hw->concur_tx = false; ath9k_mci_set_txpower()
717 mci_hw->concur_tx = false; ath9k_mci_set_txpower()
719 mci_hw->concur_tx = concur_tx; ath9k_mci_set_txpower()
721 if (old_concur_tx != mci_hw->concur_tx) ath9k_mci_set_txpower()
745 struct ath9k_hw_mci *mci_hw = &sc->sc_ah->btcoex_hw.mci; ath9k_mci_update_rssi() local
749 if (!(mci_hw->config & ATH_MCI_CONFIG_CONCUR_TX)) ath9k_mci_update_rssi()
H A Dar9003_mci.c505 struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; ar9003_mci_check_bt() local
507 if (!mci_hw->ready) ar9003_mci_check_bt()
517 if ((mci_hw->bt_state == MCI_BT_AWAKE) && ar9003_mci_check_bt()
518 (mci_hw->query_bt == true)) { ar9003_mci_check_bt()
519 mci_hw->need_flush_btinfo = true; ar9003_mci_check_bt()
682 struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; ar9003_mci_start_reset() local
687 if (mci_hw->bt_state != MCI_BT_CAL_START) ar9003_mci_start_reset()
690 mci_hw->bt_state = MCI_BT_CAL; ar9003_mci_start_reset()
712 mci_hw->bt_state = MCI_BT_AWAKE; ar9003_mci_start_reset()
722 struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; ar9003_mci_end_reset() local
724 if (!mci_hw->ready) ar9003_mci_end_reset()
727 if (!IS_CHAN_2GHZ(chan) || (mci_hw->bt_state != MCI_BT_SLEEP)) ar9003_mci_end_reset()
751 mci_hw->bt_state = MCI_BT_AWAKE; ar9003_mci_end_reset()
1028 struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; ar9003_mci_stop_bt() local
1032 if (mci_hw->ready && !save_fullsleep) { ar9003_mci_stop_bt()
1038 mci_hw->bt_state = MCI_BT_SLEEP; ar9003_mci_stop_bt()
1039 mci_hw->ready = false; ar9003_mci_stop_bt()
1223 struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; ar9003_mci_init_cal_req() local
1226 if ((mci_hw->bt_state != MCI_BT_AWAKE) || ar9003_mci_init_cal_req()
1227 (mci_hw->config & ATH_MCI_CONFIG_DISABLE_MCI_CAL)) ar9003_mci_init_cal_req()
1231 pld[MCI_GPM_WLAN_CAL_W_SEQUENCE] = mci_hw->wlan_cal_seq++; ar9003_mci_init_cal_req()
1245 struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; ar9003_mci_init_cal_done() local
1248 if ((mci_hw->bt_state != MCI_BT_AWAKE) || ar9003_mci_init_cal_done()
1249 (mci_hw->config & ATH_MCI_CONFIG_DISABLE_MCI_CAL)) ar9003_mci_init_cal_done()
1253 pld[MCI_GPM_WLAN_CAL_W_SEQUENCE] = mci_hw->wlan_cal_done++; ar9003_mci_init_cal_done()
H A Dar9003_aic.c42 struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; ar9003_hw_is_aic_enabled() local
50 if (mci_hw->config & ATH_MCI_CONFIG_DISABLE_AIC) ar9003_hw_is_aic_enabled()
454 struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; ar9003_aic_cal_continue() local
458 num_chan = MS(mci_hw->config, ATH_MCI_CONFIG_AIC_CAL_NUM_CHAN); ar9003_aic_cal_continue()
582 struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; ar9003_aic_calibration_single() local
586 num_chan = MS(mci_hw->config, ATH_MCI_CONFIG_AIC_CAL_NUM_CHAN); ar9003_aic_calibration_single()
H A Dbtcoex.c218 struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; ath9k_hw_btcoex_set_weight() local
220 bool concur_tx = (mci_hw->concur_tx && btcoex_hw->tx_prio[stomp_type]); ath9k_hw_btcoex_set_weight()

Completed in 130 milliseconds