Lines Matching refs:lidx
134 p_rcb->lidx = 0; in bta_av_del_rc()
143 p_rcb->lidx); in bta_av_del_rc()
307 uint8_t lidx) { in bta_av_rc_create() argument
336 p_rcb->lidx = lidx; in bta_av_rc_create()
363 p_rcb->lidx = lidx; in bta_av_rc_create()
366 if (lidx == (BTA_AV_NUM_LINKS + 1)) { in bta_av_rc_create()
375 __func__, i, role, shdl, p_rcb->handle, lidx, p_rcb->status); in bta_av_rc_create()
526 if (p_cb->rcb[i].lidx == (BTA_AV_NUM_LINKS + 1) && shdl != 0) { in bta_av_rc_opened()
532 tmp = p_rcb->lidx; in bta_av_rc_opened()
533 p_rcb->lidx = p_cb->rcb[i].lidx; in bta_av_rc_opened()
534 p_cb->rcb[i].lidx = tmp; in bta_av_rc_opened()
545 p_cb->rcb[i].lidx, p_cb->lcb[BTA_AV_NUM_LINKS].lidx); in bta_av_rc_opened()
548 if (!shdl && 0 == p_cb->lcb[BTA_AV_NUM_LINKS].lidx) { in bta_av_rc_opened()
553 p_lcb->lidx = BTA_AV_NUM_LINKS + 1; in bta_av_rc_opened()
554 p_cb->rcb[i].lidx = p_lcb->lidx; in bta_av_rc_opened()
558 p_cb->rcb[i].lidx, p_lcb->conn_msk); in bta_av_rc_opened()
1147 if (bta_av_cb.rcb[i].lidx == p_lcb->lidx) { in bta_av_conn_chg()
1152 bta_av_cb.rcb[i].shdl, bta_av_cb.rcb[i].lidx); in bta_av_conn_chg()
1185 p_lcb_rc->lidx = 0; in bta_av_conn_chg()
1199 p_rcb2->lidx = (BTA_AV_NUM_LINKS + 1); in bta_av_conn_chg()
1201 p_rcb2->handle, p_rcb2->lidx, in bta_av_conn_chg()
1202 p_cb->lcb[p_rcb2->lidx - 1].lidx); in bta_av_conn_chg()
1204 p_rcb->lidx = p_lcb->lidx; in bta_av_conn_chg()
1206 p_rcb->handle, p_rcb->lidx, in bta_av_conn_chg()
1207 p_cb->lcb[p_rcb->lidx - 1].lidx); in bta_av_conn_chg()
1241 bta_av_cb.rcb[i].lidx); in bta_av_conn_chg()
1441 p_lcb->lidx = xx + 1; in bta_av_sig_chg()
1446 bta_av_rc_create(p_cb, AVCT_ACP, 0, p_lcb->lidx); in bta_av_sig_chg()
1540 p_lcb->lidx); in bta_av_signalling_timer()
1554 p_lcb->lidx); in bta_av_signalling_timer()
1974 (uint8_t)(p_scb->hdi + 1), p_lcb->lidx); in bta_av_rc_disc_done()
2004 rc_feat.peer_addr = p_cb->lcb[p_cb->rcb[rc_handle].lidx - 1].addr; in bta_av_rc_disc_done()
2020 rc_psm.peer_addr = p_cb->lcb[p_cb->rcb[rc_handle].lidx - 1].addr; in bta_av_rc_disc_done()
2065 p_rcb->lidx); in bta_av_rc_closed()
2078 } else if (p_rcb->lidx == (BTA_AV_NUM_LINKS + 1)) { in bta_av_rc_closed()
2085 p_lcb->lidx = 0; in bta_av_rc_closed()
2087 p_rcb->lidx = 0; in bta_av_rc_closed()
2200 if (p_cb->rcb[rc_handle].lidx) { in bta_av_rc_disc()
2201 peer_addr = p_cb->lcb[p_cb->rcb[rc_handle].lidx - 1].addr; in bta_av_rc_disc()