Lines Matching refs:status

676 	if (!wl->status.map.init_ok) {
681 } else if ((wl->status.map.rf_off_pre == BTC_LPS_RF_OFF &&
682 wl->status.map.rf_off == BTC_LPS_RF_OFF) ||
683 (wl->status.map.lps_pre == BTC_LPS_RF_OFF &&
684 wl->status.map.lps == BTC_LPS_RF_OFF)) {
1218 if (wl->status.map.lps != BTC_LPS_RF_OFF &&
1219 !wl->status.map.rf_off) {
1790 struct rtw89_btc_wl_smap *wl_smap = &btc->cx.wl.status.map;
2211 if (wl->status.map.traffic_dir & BIT(RTW89_TFC_UL))
2225 if (bt->enable.now == 0 || wl->status.map.rf_off == 1 ||
2226 wl->status.map.lps == BTC_LPS_RF_OFF)
2248 if (wl->status.map.connecting || wl->status.map._4way ||
2249 wl->status.map.roaming) {
2251 } else if (wl->status.map.scan) { /* wl scan */
2252 if (bt_linfo->status.map.inq_pag)
2256 } else if (wl->status.map.busy) { /* only busy */
2257 if (bt_linfo->status.map.inq_pag)
2283 if (btc->ctrl.manual || wl->status.map.scan)
2299 if (wl->status.map.rf_off || bt->whql_test ||
2437 if (!wl->status.map.busy) {/* wl idle -> freerun */
2443 } else if (wl->status.map.traffic_dir & BIT(RTW89_TFC_UL)) {
2453 } else if (wl->status.map.traffic_dir & BIT(RTW89_TFC_DL)) {
2561 if (btc->cx.wl.status.map._4way)
2869 if (btc->cx.wl.status.map._4way)
3394 if (wl->status.map.rf_off || btc->dm.bt_only)
3482 if (btc->cx.wl.status.map._4way) {
3484 } else if (wl->status.map.traffic_dir & BIT(RTW89_TFC_UL)) {
3507 if (wl->status.map._4way) {
3509 } else if (wl->status.map.traffic_dir & BIT(RTW89_TFC_UL)) {
4249 if (wl->status.map._4way) {
4252 } else if (bt->link_info.status.map.connect == 0) {
4311 if (wl->status.map._4way) {
4314 } else if (bt->link_info.status.map.connect == 0) {
4943 if (wl->status.map._4way)
4944 wl->status.map._4way = false;
4945 if (wl->status.map.connecting)
4946 wl->status.map.connecting = false;
5048 bt->link_info.status.map.connect = !!(val & BTC_BSCB_BT_CONNECT);
5126 if (!wl->status.map.init_ok) {
5133 if (wl->status.map.rf_off_pre == wl->status.map.rf_off &&
5134 wl->status.map.lps_pre == wl->status.map.lps &&
5158 if (wl->status.map.rf_off || wl->status.map.lps || dm->bt_only) {
5196 if (wl->status.map.scan) {
5206 if (wl->status.map.traffic_dir & BIT(RTW89_TFC_DL))
5271 btc->cx.wl.status.map.rf_off = 1;
5272 btc->cx.wl.status.map.busy = 0;
5273 wl->status.map.lps = BTC_LPS_OFF;
5280 btc->cx.wl.status.map.rf_off_pre = btc->cx.wl.status.map.rf_off;
5292 dm->init_info.wl_init_ok = (u8)wl->status.map.init_ok;
5317 wl->status.map.rf_off = mode == BTC_MODE_WLOFF ? 1 : 0;
5322 if (!wl->status.map.init_ok) {
5359 wl->status.map.scan = true;
5382 wl->status.map.scan = false;
5434 wl->status.map.connecting = true;
5441 wl->status.map._4way = true;
5451 wl->status.map._4way = false;
5556 b->status.val = BTC_BLINK_NOCONNECT;
5567 b->status.map.connect = btinfo.lb2.connect;
5568 b->status.map.sco_busy = btinfo.lb2.sco_busy;
5569 b->status.map.acl_busy = btinfo.lb2.acl_busy;
5570 b->status.map.inq_pag = btinfo.lb2.inq_pag;
5593 b->status.map.mesh_busy = btinfo.lb3.mesh_busy;
5602 b->status.map.ble_connect = btinfo.hb1.ble_connect;
5613 if (bt->igno_wl && !cx->wl.status.map.rf_off)
5750 wl->status.map.connecting = 1;
5752 wl->status.map.connecting = 0;
5755 wl->status.map._4way = false;
5773 wl->status.map.rf_off = 1;
5774 wl->status.map.lps = BTC_LPS_OFF;
5775 wl->status.map.busy = 0;
5778 wl->status.map.rf_off = 0;
5779 wl->status.map.lps = BTC_LPS_RF_OFF;
5780 wl->status.map.busy = 0;
5783 wl->status.map.rf_off = 0;
5784 wl->status.map.lps = BTC_LPS_RF_ON;
5785 wl->status.map.busy = 0;
5789 wl->status.map.rf_off = 0;
5790 wl->status.map.lps = BTC_LPS_OFF;
5805 wl->status.map.lps_pre != BTC_LPS_OFF)
5810 if (wl->status.map.lps_pre == BTC_LPS_OFF &&
5811 wl->status.map.lps_pre != wl->status.map.lps)
5818 wl->status.map.rf_off_pre = wl->status.map.rf_off;
5819 wl->status.map.lps_pre = wl->status.map.lps;
6091 __func__, !!wl->status.map.busy);
6093 _write_scbd(rtwdev, BTC_WSCB_WLBUSY, (!!wl->status.map.busy));
6098 wl->status.map.busy = data.busy_all;
6099 wl->status.map.traffic_dir = data.dir_all;
6319 seq_printf(m, " %-15s : link_mode:%d, ", "[status]", mode);
6323 wl->status.map.rf_off, wl->status.map.lps,
6324 wl->status.map.scan ? "Y" : "N",
6329 wl->status.map.connecting ? "Y" : "N",
6330 wl->status.map.roaming ? "Y" : "N",
6331 wl->status.map._4way ? "Y" : "N",
6332 wl->status.map.init_ok ? "Y" : "N");
6412 "[status]", bt->enable.now ? "Y" : "N",
6416 (bt_linfo->status.map.connect ? "Y" : "N"));
6435 bt_linfo->status.map.ble_connect ? "Y" : "N",
6444 bt_linfo->status.map.inq_pag ? " inq-page!!" : "",
6445 bt_linfo->status.map.acl_busy ? " acl_busy!!" : "",
6446 bt_linfo->status.map.mesh_busy ? " mesh_busy!!" : "");
6454 if (ver->fcxbtafh == 2 && bt_linfo->status.map.ble_connect)
6526 if (bt_linfo->profile_cnt.now || bt_linfo->status.map.ble_connect)
6531 if (ver->fcxbtafh == 2 && bt_linfo->status.map.ble_connect)
6780 "[status]",
7685 u32 val, status;
7689 rtw89_mac_read_lte(rtwdev, R_AX_GNT_VAL, &status);
7693 gnt->gnt_bt = !!(status & B_AX_GNT_BT_RFC_S0_STA);
7695 gnt->gnt_wl = !!(status & B_AX_GNT_WL_RFC_S0_STA);
7699 gnt->gnt_bt = !!(status & B_AX_GNT_BT_RFC_S1_STA);
7701 gnt->gnt_wl = !!(status & B_AX_GNT_WL_RFC_S1_STA);
7704 status = rtw89_read32(rtwdev, R_AX_GNT_VAL_V1);
7708 gnt->gnt_bt = !!(status & B_AX_GNT_BT_RFC_S0);
7710 gnt->gnt_wl = !!(status & B_AX_GNT_WL_RFC_S0);
7714 gnt->gnt_bt = !!(status & B_AX_GNT_BT_RFC_S1);
7716 gnt->gnt_wl = !!(status & B_AX_GNT_WL_RFC_S1);
7750 if (!wl->status.map.lps && !wl->status.map.rf_off) {
7854 if (!wl->status.map.lps && !wl->status.map.rf_off) {
7949 if (pcinfo->valid && !wl->status.map.lps && !wl->status.map.rf_off) {
8053 if (pcinfo->valid && !wl->status.map.lps && !wl->status.map.rf_off) {
8164 if (pcinfo->valid && !wl->status.map.lps && !wl->status.map.rf_off) {
8229 wl->status.map.lps, wl->status.map.rf_off);
8279 if (pcinfo->valid && !wl->status.map.lps && !wl->status.map.rf_off) {
8344 wl->status.map.lps, wl->status.map.rf_off);