Lines Matching refs:btinfo

4889 	union btc_btinfo btinfo;  in _update_bt_info()  local
4919 btinfo.val = bt->raw_info[BTC_BTINFO_L2]; in _update_bt_info()
4920 b->status.map.connect = btinfo.lb2.connect; in _update_bt_info()
4921 b->status.map.sco_busy = btinfo.lb2.sco_busy; in _update_bt_info()
4922 b->status.map.acl_busy = btinfo.lb2.acl_busy; in _update_bt_info()
4923 b->status.map.inq_pag = btinfo.lb2.inq_pag; in _update_bt_info()
4924 bt->inq_pag.now = btinfo.lb2.inq_pag; in _update_bt_info()
4927 hfp->exist = btinfo.lb2.hfp; in _update_bt_info()
4929 hid->exist = btinfo.lb2.hid; in _update_bt_info()
4931 a2dp->exist = btinfo.lb2.a2dp; in _update_bt_info()
4933 pan->active = btinfo.lb2.pan; in _update_bt_info()
4936 btinfo.val = bt->raw_info[BTC_BTINFO_L3]; in _update_bt_info()
4937 if (btinfo.lb3.retry != 0) in _update_bt_info()
4939 b->cqddr = btinfo.lb3.cqddr; in _update_bt_info()
4940 cx->cnt_bt[BTC_BCNT_INQ] += !!(btinfo.lb3.inq && !bt->inq); in _update_bt_info()
4941 bt->inq = btinfo.lb3.inq; in _update_bt_info()
4942 cx->cnt_bt[BTC_BCNT_PAGE] += !!(btinfo.lb3.pag && !bt->pag); in _update_bt_info()
4943 bt->pag = btinfo.lb3.pag; in _update_bt_info()
4945 b->status.map.mesh_busy = btinfo.lb3.mesh_busy; in _update_bt_info()
4947 btinfo.val = bt->raw_info[BTC_BTINFO_H0]; in _update_bt_info()
4949 b->rssi = chip->ops->btc_get_bt_rssi(rtwdev, btinfo.hb0.rssi); in _update_bt_info()
4952 btinfo.val = bt->raw_info[BTC_BTINFO_H1]; in _update_bt_info()
4953 b->status.map.ble_connect = btinfo.hb1.ble_connect; in _update_bt_info()
4954 if (btinfo.hb1.ble_connect) in _update_bt_info()
4957 cx->cnt_bt[BTC_BCNT_REINIT] += !!(btinfo.hb1.reinit && !bt->reinit); in _update_bt_info()
4958 bt->reinit = btinfo.hb1.reinit; in _update_bt_info()
4959 cx->cnt_bt[BTC_BCNT_RELINK] += !!(btinfo.hb1.relink && !b->relink.now); in _update_bt_info()
4960 b->relink.now = btinfo.hb1.relink; in _update_bt_info()
4961 cx->cnt_bt[BTC_BCNT_IGNOWL] += !!(btinfo.hb1.igno_wl && !bt->igno_wl); in _update_bt_info()
4962 bt->igno_wl = btinfo.hb1.igno_wl; in _update_bt_info()
4967 hid->type |= (btinfo.hb1.voice ? BTC_HID_RCU_VOICE : 0); in _update_bt_info()
4968 bt->ble_scan_en = btinfo.hb1.ble_scan; in _update_bt_info()
4970 cx->cnt_bt[BTC_BCNT_ROLESW] += !!(btinfo.hb1.role_sw && !b->role_sw); in _update_bt_info()
4971 b->role_sw = btinfo.hb1.role_sw; in _update_bt_info()
4973 b->multi_link.now = btinfo.hb1.multi_link; in _update_bt_info()
4976 btinfo.val = bt->raw_info[BTC_BTINFO_H2]; in _update_bt_info()
4977 pan->exist = btinfo.hb2.pan_active; in _update_bt_info()
4980 cx->cnt_bt[BTC_BCNT_AFH] += !!(btinfo.hb2.afh_update && !b->afh_update); in _update_bt_info()
4981 b->afh_update = btinfo.hb2.afh_update; in _update_bt_info()
4982 a2dp->active = btinfo.hb2.a2dp_active; in _update_bt_info()
4983 b->slave_role = btinfo.hb2.slave; in _update_bt_info()
4984 hid->slot_info = btinfo.hb2.hid_slot; in _update_bt_info()
4985 hid->pair_cnt = btinfo.hb2.hid_cnt; in _update_bt_info()
4989 btinfo.val = bt->raw_info[BTC_BTINFO_H3]; in _update_bt_info()
4990 a2dp->bitpool = btinfo.hb3.a2dp_bitpool; in _update_bt_info()
4992 if (b->tx_3m != (u32)btinfo.hb3.tx_3m) in _update_bt_info()
4994 b->tx_3m = (u32)btinfo.hb3.tx_3m; in _update_bt_info()
4996 a2dp->sink = btinfo.hb3.a2dp_sink; in _update_bt_info()