bt_state
mci_hw->bt_state = MCI_BT_SLEEP;
if (!mci->update_2g5g || (mci->bt_state == MCI_BT_SLEEP))
} else if (check_bt && (mci->bt_state == MCI_BT_SLEEP)) {
if ((mci_hw->bt_state != MCI_BT_AWAKE) ||
if ((mci_hw->bt_state != MCI_BT_AWAKE) ||
(mci->bt_state == MCI_BT_SLEEP))
mci->bt_state = MCI_BT_AWAKE;
(mci->bt_state == MCI_BT_SLEEP))
if (mci->bt_state == MCI_BT_SLEEP)
mci->bt_state = MCI_BT_SLEEP;
mci->bt_state = MCI_BT_AWAKE;
if ((mci->bt_state == MCI_BT_AWAKE) &&
(mci->bt_state != MCI_BT_SLEEP) &&
if (mci->bt_state != cur_bt_state)
mci->bt_state = cur_bt_state;
if (mci->bt_state != MCI_BT_SLEEP) {
if ((mci_hw->bt_state == MCI_BT_AWAKE) &&
if (mci_hw->bt_state != MCI_BT_CAL_START)
mci_hw->bt_state = MCI_BT_CAL;
mci_hw->bt_state = MCI_BT_AWAKE;
if (!IS_CHAN_2GHZ(chan) || (mci_hw->bt_state != MCI_BT_SLEEP))
mci_hw->bt_state = MCI_BT_AWAKE;
ah->btcoex_hw.mci.bt_state = 0;
u8 bt_state;
if (mci_hw->bt_state == MCI_BT_AWAKE) {
mci_hw->bt_state = MCI_BT_CAL_START;
ath_dbg(common, MCI, "MCI State : %d\n", mci_hw->bt_state);
if ((mci_hw->bt_state == MCI_BT_SLEEP) &&
if ((mci_hw->bt_state == MCI_BT_AWAKE) &&
mci_hw->bt_state = MCI_BT_SLEEP;
switch (btci->bt_state) {
btci->bt_state = BRCMF_BT_DHCP_OPPR_WIN;
btci->bt_state = BRCMF_BT_DHCP_FLAG_FORCE_TIMEOUT;
brcmf_err("invalid state=%d !!!\n", btci->bt_state);
btci->bt_state = BRCMF_BT_DHCP_IDLE;
btci->bt_state = BRCMF_BT_DHCP_IDLE;
btci->bt_state = BRCMF_BT_DHCP_START;
if (btci->bt_state != BRCMF_BT_DHCP_IDLE) {
btci->bt_state);
if (btci->bt_state != BRCMF_BT_DHCP_IDLE)
if (btci->bt_state != BRCMF_BT_DHCP_IDLE &&
enum brcmf_btcoex_state bt_state;
u8 bt_state;
bt_state = rtl_read_byte(rtlpriv, 0x4fd);
polling == 0xffffffff && bt_state == 0xff)
bt_state &= BIT(0);
if (bt_state != rtlpriv->btcoexist.bt_cur_state) {
rtlpriv->btcoexist.bt_cur_state = bt_state;
bt_state = bt_state |
rtl_write_byte(rtlpriv, 0x4fd, bt_state);
if (bt_state && rtlpriv->btcoexist.reg_bt_sco == 3) {
bt_state = bt_state |
rtl_write_byte(rtlpriv, 0x4fd, bt_state);
u8 bt_state;
static void _set_gnt(struct rtw89_dev *rtwdev, u8 phy_map, u8 wl_state, u8 bt_state)
switch (bt_state) {
u8 wl_state, u8 bt_state, u8 wlact_state)
switch (bt_state) {