btcoex_hw 418 drivers/net/wireless/ath/ath9k/ar9002_phy.c struct ath_btcoex_hw *btcoex = &ah->btcoex_hw; btcoex_hw 42 drivers/net/wireless/ath/ath9k/ar9003_aic.c struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; btcoex_hw 167 drivers/net/wireless/ath/ath9k/ar9003_aic.c struct ath9k_hw_aic *aic = &ah->btcoex_hw.aic; btcoex_hw 266 drivers/net/wireless/ath/ath9k/ar9003_aic.c struct ath9k_hw_aic *aic = &ah->btcoex_hw.aic; btcoex_hw 439 drivers/net/wireless/ath/ath9k/ar9003_aic.c struct ath9k_hw_aic *aic = &ah->btcoex_hw.aic; btcoex_hw 455 drivers/net/wireless/ath/ath9k/ar9003_aic.c struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; btcoex_hw 456 drivers/net/wireless/ath/ath9k/ar9003_aic.c struct ath9k_hw_aic *aic = &ah->btcoex_hw.aic; btcoex_hw 521 drivers/net/wireless/ath/ath9k/ar9003_aic.c struct ath9k_hw_aic *aic = &ah->btcoex_hw.aic; btcoex_hw 543 drivers/net/wireless/ath/ath9k/ar9003_aic.c struct ath9k_hw_aic *aic = &ah->btcoex_hw.aic; btcoex_hw 575 drivers/net/wireless/ath/ath9k/ar9003_aic.c struct ath9k_hw_aic *aic = &ah->btcoex_hw.aic; btcoex_hw 583 drivers/net/wireless/ath/ath9k/ar9003_aic.c struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; btcoex_hw 127 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 142 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 157 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 173 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 204 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 227 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 323 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 358 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 372 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 396 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 407 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 427 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 498 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 518 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; btcoex_hw 540 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 587 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 695 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; btcoex_hw 735 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; btcoex_hw 788 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 816 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 847 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 923 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 1041 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; btcoex_hw 1057 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 1084 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 1132 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 1171 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 1234 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; btcoex_hw 1256 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; btcoex_hw 1271 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 1292 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 1407 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 1460 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 1478 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 1553 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 1565 drivers/net/wireless/ath/ath9k/ar9003_mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 1574 drivers/net/wireless/ath/ath9k/ar9003_mci.c if (!ah->btcoex_hw.mci.concur_tx) btcoex_hw 61 drivers/net/wireless/ath/ath9k/btcoex.c struct ath_btcoex_hw *btcoex_hw = &ah->btcoex_hw; btcoex_hw 86 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->bt_coex_mode3 = btcoex_hw 90 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->bt_coex_mode2 = btcoex_hw 95 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->bt_coex_mode = btcoex_hw 96 drivers/net/wireless/ath/ath9k/btcoex.c (btcoex_hw->bt_coex_mode & AR_BT_QCU_THRESH) | btcoex_hw 107 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->bt_coex_mode2 |= btcoex_hw 117 drivers/net/wireless/ath/ath9k/btcoex.c struct ath_btcoex_hw *btcoex_hw = &ah->btcoex_hw; btcoex_hw 120 drivers/net/wireless/ath/ath9k/btcoex.c if (btcoex_hw->scheme != ATH_BTCOEX_CFG_2WIRE && btcoex_hw 121 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->scheme != ATH_BTCOEX_CFG_3WIRE) btcoex_hw 127 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->btactive_gpio = pdata->bt_active_pin; btcoex_hw 128 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->wlanactive_gpio = pdata->wlan_active_pin; btcoex_hw 129 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->btpriority_gpio = pdata->bt_priority_pin; btcoex_hw 131 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->btactive_gpio = btactive_gpio; btcoex_hw 132 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->wlanactive_gpio = wlanactive_gpio; btcoex_hw 133 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->btpriority_gpio = btpriority_gpio; btcoex_hw 140 drivers/net/wireless/ath/ath9k/btcoex.c struct ath_btcoex_hw *btcoex_hw = &ah->btcoex_hw; btcoex_hw 146 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->scheme = ATH_BTCOEX_CFG_NONE; btcoex_hw 151 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->scheme = ATH_BTCOEX_CFG_MCI; btcoex_hw 153 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->scheme = ATH_BTCOEX_CFG_3WIRE; btcoex_hw 160 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->scheme = ATH_BTCOEX_CFG_3WIRE; btcoex_hw 162 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->scheme = ATH_BTCOEX_CFG_2WIRE; btcoex_hw 173 drivers/net/wireless/ath/ath9k/btcoex.c struct ath_btcoex_hw *btcoex_hw = &ah->btcoex_hw; btcoex_hw 187 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->btactive_gpio); btcoex_hw 190 drivers/net/wireless/ath/ath9k/btcoex.c ath9k_hw_gpio_request_in(ah, btcoex_hw->btactive_gpio, btcoex_hw 197 drivers/net/wireless/ath/ath9k/btcoex.c struct ath_btcoex_hw *btcoex_hw = &ah->btcoex_hw; btcoex_hw 209 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->btactive_gpio); btcoex_hw 212 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->btpriority_gpio); btcoex_hw 216 drivers/net/wireless/ath/ath9k/btcoex.c ath9k_hw_gpio_request_in(ah, btcoex_hw->btactive_gpio, btcoex_hw 218 drivers/net/wireless/ath/ath9k/btcoex.c ath9k_hw_gpio_request_in(ah, btcoex_hw->btpriority_gpio, btcoex_hw 225 drivers/net/wireless/ath/ath9k/btcoex.c struct ath_btcoex_hw *btcoex_hw = &ah->btcoex_hw; btcoex_hw 227 drivers/net/wireless/ath/ath9k/btcoex.c ath9k_hw_gpio_free(ah, btcoex_hw->btactive_gpio); btcoex_hw 228 drivers/net/wireless/ath/ath9k/btcoex.c ath9k_hw_gpio_free(ah, btcoex_hw->btpriority_gpio); btcoex_hw 229 drivers/net/wireless/ath/ath9k/btcoex.c ath9k_hw_gpio_free(ah, btcoex_hw->wlanactive_gpio); btcoex_hw 235 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.ready = false; btcoex_hw 236 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.bt_state = 0; btcoex_hw 237 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.bt_ver_major = 3; btcoex_hw 238 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.bt_ver_minor = 0; btcoex_hw 239 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.bt_version_known = false; btcoex_hw 240 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.update_2g5g = true; btcoex_hw 241 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.is_2g = true; btcoex_hw 242 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.wlan_channels_update = false; btcoex_hw 243 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.wlan_channels[0] = 0x00000000; btcoex_hw 244 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.wlan_channels[1] = 0xffffffff; btcoex_hw 245 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.wlan_channels[2] = 0xffffffff; btcoex_hw 246 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.wlan_channels[3] = 0x7fffffff; btcoex_hw 247 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.query_bt = true; btcoex_hw 248 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.unhalt_bt_gpm = true; btcoex_hw 249 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.halted_bt_gpm = false; btcoex_hw 250 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.need_flush_btinfo = false; btcoex_hw 251 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.wlan_cal_seq = 0; btcoex_hw 252 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.wlan_cal_done = 0; btcoex_hw 253 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.mci.config = (AR_SREV_9462(ah)) ? 0x2201 : 0xa4c1; btcoex_hw 259 drivers/net/wireless/ath/ath9k/btcoex.c struct ath_btcoex_hw *btcoex_hw = &ah->btcoex_hw; btcoex_hw 262 drivers/net/wireless/ath/ath9k/btcoex.c ath9k_hw_gpio_request_out(ah, btcoex_hw->wlanactive_gpio, btcoex_hw 276 drivers/net/wireless/ath/ath9k/btcoex.c struct ath_btcoex_hw *btcoex_hw = &ah->btcoex_hw; btcoex_hw 277 drivers/net/wireless/ath/ath9k/btcoex.c struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; btcoex_hw 279 drivers/net/wireless/ath/ath9k/btcoex.c bool concur_tx = (mci_hw->concur_tx && btcoex_hw->tx_prio[stomp_type]); btcoex_hw 284 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->bt_coex_weights = btcoex_hw 293 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->mci.stomp_ftp) ? btcoex_hw 299 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->bt_weight[i] = AR9300_BT_WGHT; btcoex_hw 300 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->wlan_weight[i] = weight[i]; btcoex_hw 302 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->wlan_weight[i] &= btcoex_hw 304 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->wlan_weight[i] |= btcoex_hw 305 drivers/net/wireless/ath/ath9k/btcoex.c (btcoex_hw->tx_prio[stomp_type] << btcoex_hw 312 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->wlan_weight[i-1] &= ~(0xff << txprio_shift[i-1]); btcoex_hw 313 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->wlan_weight[i-1] |= (btcoex_hw->tx_prio[stomp_type] btcoex_hw 322 drivers/net/wireless/ath/ath9k/btcoex.c struct ath_btcoex_hw *btcoex = &ah->btcoex_hw; btcoex_hw 364 drivers/net/wireless/ath/ath9k/btcoex.c struct ath_btcoex_hw *btcoex = &ah->btcoex_hw; btcoex_hw 377 drivers/net/wireless/ath/ath9k/btcoex.c struct ath_btcoex_hw *btcoex_hw = &ah->btcoex_hw; btcoex_hw 384 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->wlan_weight[i]); btcoex_hw 389 drivers/net/wireless/ath/ath9k/btcoex.c struct ath_btcoex_hw *btcoex_hw = &ah->btcoex_hw; btcoex_hw 408 drivers/net/wireless/ath/ath9k/btcoex.c (0x2 << (btcoex_hw->btactive_gpio * 2)), btcoex_hw 409 drivers/net/wireless/ath/ath9k/btcoex.c (0x3 << (btcoex_hw->btactive_gpio * 2))); btcoex_hw 412 drivers/net/wireless/ath/ath9k/btcoex.c ah->btcoex_hw.enabled = true; btcoex_hw 418 drivers/net/wireless/ath/ath9k/btcoex.c struct ath_btcoex_hw *btcoex_hw = &ah->btcoex_hw; btcoex_hw 421 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->enabled = false; btcoex_hw 429 drivers/net/wireless/ath/ath9k/btcoex.c ath9k_hw_set_gpio(ah, btcoex_hw->wlanactive_gpio, 0); btcoex_hw 431 drivers/net/wireless/ath/ath9k/btcoex.c ath9k_hw_gpio_request_out(ah, btcoex_hw->wlanactive_gpio, btcoex_hw 434 drivers/net/wireless/ath/ath9k/btcoex.c if (btcoex_hw->scheme == ATH_BTCOEX_CFG_3WIRE) { btcoex_hw 483 drivers/net/wireless/ath/ath9k/btcoex.c struct ath_btcoex_hw *btcoex = &ah->btcoex_hw; btcoex_hw 147 drivers/net/wireless/ath/ath9k/gpio.c if (ath9k_hw_gpio_get(sc->sc_ah, ah->btcoex_hw.btpriority_gpio)) btcoex_hw 180 drivers/net/wireless/ath/ath9k/gpio.c ah->btcoex_hw.mci.stomp_ftp = btcoex_hw 183 drivers/net/wireless/ath/ath9k/gpio.c ah->btcoex_hw.mci.stomp_ftp = false; btcoex_hw 368 drivers/net/wireless/ath/ath9k/gpio.c if (ah->btcoex_hw.enabled || btcoex_hw 386 drivers/net/wireless/ath/ath9k/gpio.c if (!ah->btcoex_hw.enabled || btcoex_hw 457 drivers/net/wireless/ath/ath9k/gpio.c struct ath_btcoex_hw *btcoex_hw = &ah->btcoex_hw; btcoex_hw 474 drivers/net/wireless/ath/ath9k/gpio.c ATH_DUMP_BTCOEX("Concurrent Tx", btcoex_hw->mci.concur_tx); btcoex_hw 480 drivers/net/wireless/ath/ath9k/gpio.c btcoex_hw->bt_weight[i]); btcoex_hw 485 drivers/net/wireless/ath/ath9k/gpio.c btcoex_hw->wlan_weight[i]); btcoex_hw 490 drivers/net/wireless/ath/ath9k/gpio.c btcoex_hw->tx_prio[i]); btcoex_hw 35 drivers/net/wireless/ath/ath9k/htc_drv_gpio.c if (ath9k_hw_gpio_get(ah, ah->btcoex_hw.btpriority_gpio)) btcoex_hw 174 drivers/net/wireless/ath/ath9k/htc_drv_gpio.c if (ah->btcoex_hw.enabled && btcoex_hw 176 drivers/net/wireless/ath/ath9k/htc_drv_gpio.c if (ah->btcoex_hw.scheme == ATH_BTCOEX_CFG_3WIRE) btcoex_hw 192 drivers/net/wireless/ath/ath9k/htc_drv_gpio.c ah->btcoex_hw.scheme = ATH_BTCOEX_CFG_NONE; btcoex_hw 197 drivers/net/wireless/ath/ath9k/htc_drv_gpio.c ah->btcoex_hw.scheme = ATH_BTCOEX_CFG_3WIRE; btcoex_hw 204 drivers/net/wireless/ath/ath9k/htc_drv_gpio.c priv->ah->btcoex_hw.btactive_gpio = 7; btcoex_hw 205 drivers/net/wireless/ath/ath9k/htc_drv_gpio.c priv->ah->btcoex_hw.btpriority_gpio = 6; btcoex_hw 206 drivers/net/wireless/ath/ath9k/htc_drv_gpio.c priv->ah->btcoex_hw.wlanactive_gpio = 8; btcoex_hw 894 drivers/net/wireless/ath/ath9k/hw.h struct ath_btcoex_hw btcoex_hw; btcoex_hw 1159 drivers/net/wireless/ath/ath9k/hw.h return ah->btcoex_hw.enabled; btcoex_hw 1171 drivers/net/wireless/ath/ath9k/hw.h return ah->btcoex_hw.scheme; btcoex_hw 124 drivers/net/wireless/ath/ath9k/mci.c struct ath9k_hw_mci *mci_hw = &sc->sc_ah->btcoex_hw.mci; btcoex_hw 214 drivers/net/wireless/ath/ath9k/mci.c struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; btcoex_hw 488 drivers/net/wireless/ath/ath9k/mci.c struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci; btcoex_hw 645 drivers/net/wireless/ath/ath9k/mci.c struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; btcoex_hw 696 drivers/net/wireless/ath/ath9k/mci.c struct ath9k_hw_mci *mci_hw = &sc->sc_ah->btcoex_hw.mci; btcoex_hw 745 drivers/net/wireless/ath/ath9k/mci.c struct ath9k_hw_mci *mci_hw = &sc->sc_ah->btcoex_hw.mci;