Lines Matching defs:state

664 static void _write_scbd(struct rtw89_dev *rtwdev, u32 val, bool state);
3283 wl->rfk_info.state != BTC_WRFK_STOP) {
3791 if (rfk.state != BTC_WRFK_START)
4422 static void _write_scbd(struct rtw89_dev *rtwdev, u32 val, bool state)
4433 scbd_val = state ? wl->scbd | val : wl->scbd & ~val;
4980 if (wl->rfk_info.state != BTC_WRFK_STOP) {
4985 wl->rfk_info.state = BTC_WRFK_STOP;
5138 "[BTC], %s(): return for WL rf off state no change!!\n",
5183 if (wl->rfk_info.state != BTC_WRFK_STOP) {
5667 struct rtw89_sta *rtwsta, enum btc_role_state state)
5680 rtw89_debug(rtwdev, RTW89_DBG_BTC, "[BTC], state=%d\n", state);
5688 state == BTC_ROLE_MSTS_STA_CONN_END);
5749 if (state == BTC_ROLE_MSTS_STA_CONN_START)
5754 if (state == BTC_ROLE_MSTS_STA_DIS_CONN)
5824 enum btc_wl_rfk_state state)
5837 "[BTC], %s()_start: phy=0x%x, path=0x%x, type=%d, state=%d\n",
5839 type, state);
5841 switch (state) {
5844 wl->rfk_info.state = result ? BTC_WRFK_START : BTC_WRFK_STOP;
5852 if (wl->rfk_info.state == BTC_WRFK_STOP) {
5856 wl->rfk_info.state = state;
5861 wl->rfk_info.state = BTC_WRFK_STOP;
5868 "[BTC], %s() warning state=%d\n", __func__, state);
5873 if (wl->rfk_info.state == BTC_WRFK_START ||
5874 wl->rfk_info.state == BTC_WRFK_STOP)
5877 if (wl->rfk_info.state == BTC_WRFK_START)
5892 enum btc_wl_rfk_state state)
5907 state == BTC_WRFK_STOP ? "RFK_STOP" :
5908 state == BTC_WRFK_START ? "RFK_START" :
5909 state == BTC_WRFK_ONESHOT_START ? "ONE-SHOT_START" :
5912 if (state != BTC_WRFK_START || rtwdev->is_bt_iqk_timeout) {
5913 _ntfy_wl_rfk(rtwdev, phy_map, type, state);
5918 rtwdev, phy_map, type, state);
7531 u8 type, val, cnt = 0, state = 0;
7549 switch (state) {
7557 state = 1;
7579 state = 2;
7585 state = 1;