• Home
  • Raw
  • Download

Lines Matching refs:rcb

83     if (bta_av_cb.rcb[i].shdl == shdl &&  in bta_av_get_rcb_by_shdl()
84 bta_av_cb.rcb[i].handle != BTA_AV_RC_HANDLE_NONE) { in bta_av_get_rcb_by_shdl()
85 p_rcb = &bta_av_cb.rcb[i]; in bta_av_get_rcb_by_shdl()
160 if ((p_cb->disabling) || (bta_av_cb.rcb[i].shdl != 0)) in bta_av_close_all_rc()
161 bta_av_del_rc(&bta_av_cb.rcb[i]); in bta_av_close_all_rc()
354 p_rcb = &p_cb->rcb[i]; in bta_av_rc_create()
512 if (p_cb->rcb[i].handle == BTA_AV_RC_HANDLE_NONE) { in bta_av_rc_opened()
518 p_cb->features, p_cb->rcb[i].peer_features); in bta_av_rc_opened()
525 if (p_cb->rcb[i].lidx == (BTA_AV_NUM_LINKS + 1) && shdl != 0) { in bta_av_rc_opened()
530 p_rcb->shdl = p_cb->rcb[i].shdl; in bta_av_rc_opened()
532 p_rcb->lidx = p_cb->rcb[i].lidx; in bta_av_rc_opened()
533 p_cb->rcb[i].lidx = tmp; in bta_av_rc_opened()
535 p_cb->rc_acp_idx = (p_rcb - p_cb->rcb) + 1; in bta_av_rc_opened()
541 p_cb->rcb[i].shdl = shdl; in bta_av_rc_opened()
544 p_cb->rcb[i].lidx, p_cb->lcb[BTA_AV_NUM_LINKS].lidx); in bta_av_rc_opened()
545 p_cb->rcb[i].status |= BTA_AV_RC_CONN_MASK; in bta_av_rc_opened()
553 p_cb->rcb[i].lidx = p_lcb->lidx; in bta_av_rc_opened()
557 p_cb->rcb[i].lidx, p_lcb->conn_msk); in bta_av_rc_opened()
562 rc_open.peer_features = p_cb->rcb[i].peer_features; in bta_av_rc_opened()
586 ((p_cb->rcb[i].status & BTA_AV_RC_ROLE_MASK) == BTA_AV_RC_ROLE_INT)) { in bta_av_rc_opened()
605 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific]; in bta_av_rc_remote_cmd()
628 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific]; in bta_av_rc_vendor_cmd()
649 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific]; in bta_av_rc_vendor_rsp()
673 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific]; in bta_av_rc_meta_rsp()
1027 p_rcb = &p_cb->rcb[handle]; in bta_av_rc_close()
1144 if (bta_av_cb.rcb[i].lidx == p_lcb->lidx) { in bta_av_conn_chg()
1145 bta_av_cb.rcb[i].shdl = index + 1; in bta_av_conn_chg()
1148 __func__, i, bta_av_cb.rcb[i].handle, bta_av_cb.rcb[i].status, in bta_av_conn_chg()
1149 bta_av_cb.rcb[i].shdl, bta_av_cb.rcb[i].lidx); in bta_av_conn_chg()
1184 p_rcb = &p_cb->rcb[p_cb->rc_acp_idx - 1]; in bta_av_conn_chg()
1193 p_cb->rc_acp_idx = (p_rcb2 - p_cb->rcb) + 1; in bta_av_conn_chg()
1236 __func__, i, bta_av_cb.rcb[i].handle, in bta_av_conn_chg()
1237 bta_av_cb.rcb[i].status, bta_av_cb.rcb[i].shdl, in bta_av_conn_chg()
1238 bta_av_cb.rcb[i].lidx); in bta_av_conn_chg()
1239 if (bta_av_cb.rcb[i].shdl == index + 1) { in bta_av_conn_chg()
1240 bta_av_del_rc(&bta_av_cb.rcb[i]); in bta_av_conn_chg()
1243 bta_av_cb.rcb[i].shdl = 0; in bta_av_conn_chg()
1851 p_cb->rcb[rc_handle].peer_features = peer_features; in bta_av_rc_disc_done()
1869 p_cb->rcb[rc_handle].peer_features = peer_features; in bta_av_rc_disc_done()
1878 rc_feat.peer_addr = p_cb->lcb[p_cb->rcb[rc_handle].lidx - 1].addr; in bta_av_rc_disc_done()
1911 p_rcb = &p_cb->rcb[i]; in bta_av_rc_closed()
2053 if (p_cb->rcb[rc_handle].lidx) { in bta_av_rc_disc()
2054 peer_addr = p_cb->lcb[p_cb->rcb[rc_handle].lidx - 1].addr; in bta_av_rc_disc()