Lines Matching refs:lidx
129 p_rcb->lidx = 0; in bta_av_del_rc()
138 p_rcb->lidx); in bta_av_del_rc()
302 uint8_t lidx) { in bta_av_rc_create() argument
330 p_rcb->lidx = lidx; in bta_av_rc_create()
357 p_rcb->lidx = lidx; in bta_av_rc_create()
360 if (lidx == (BTA_AV_NUM_LINKS + 1)) { in bta_av_rc_create()
369 __func__, i, role, shdl, p_rcb->handle, lidx, p_rcb->status); in bta_av_rc_create()
520 if (p_cb->rcb[i].lidx == (BTA_AV_NUM_LINKS + 1) && shdl != 0) { in bta_av_rc_opened()
526 tmp = p_rcb->lidx; in bta_av_rc_opened()
527 p_rcb->lidx = p_cb->rcb[i].lidx; in bta_av_rc_opened()
528 p_cb->rcb[i].lidx = tmp; in bta_av_rc_opened()
539 p_cb->rcb[i].lidx, p_cb->lcb[BTA_AV_NUM_LINKS].lidx); in bta_av_rc_opened()
542 if (!shdl && 0 == p_cb->lcb[BTA_AV_NUM_LINKS].lidx) { in bta_av_rc_opened()
547 p_lcb->lidx = BTA_AV_NUM_LINKS + 1; in bta_av_rc_opened()
548 p_cb->rcb[i].lidx = p_lcb->lidx; in bta_av_rc_opened()
552 p_cb->rcb[i].lidx, p_lcb->conn_msk); in bta_av_rc_opened()
1139 if (bta_av_cb.rcb[i].lidx == p_lcb->lidx) { in bta_av_conn_chg()
1144 bta_av_cb.rcb[i].shdl, bta_av_cb.rcb[i].lidx); in bta_av_conn_chg()
1177 p_lcb_rc->lidx = 0; in bta_av_conn_chg()
1191 p_rcb2->lidx = (BTA_AV_NUM_LINKS + 1); in bta_av_conn_chg()
1193 p_rcb2->handle, p_rcb2->lidx, in bta_av_conn_chg()
1194 p_cb->lcb[p_rcb2->lidx - 1].lidx); in bta_av_conn_chg()
1196 p_rcb->lidx = p_lcb->lidx; in bta_av_conn_chg()
1198 p_rcb->handle, p_rcb->lidx, in bta_av_conn_chg()
1199 p_cb->lcb[p_rcb->lidx - 1].lidx); in bta_av_conn_chg()
1233 bta_av_cb.rcb[i].lidx); in bta_av_conn_chg()
1433 p_lcb->lidx = xx + 1; in bta_av_sig_chg()
1438 bta_av_rc_create(p_cb, AVCT_ACP, 0, p_lcb->lidx); in bta_av_sig_chg()
1542 p_lcb->lidx); in bta_av_signalling_timer()
1557 p_lcb->lidx); in bta_av_signalling_timer()
1977 (uint8_t)(p_scb->hdi + 1), p_lcb->lidx); in bta_av_rc_disc_done()
2007 rc_feat.peer_addr = p_cb->lcb[p_cb->rcb[rc_handle].lidx - 1].addr; in bta_av_rc_disc_done()
2023 rc_psm.peer_addr = p_cb->lcb[p_cb->rcb[rc_handle].lidx - 1].addr; in bta_av_rc_disc_done()
2068 p_rcb->lidx); in bta_av_rc_closed()
2081 } else if (p_rcb->lidx == (BTA_AV_NUM_LINKS + 1)) { in bta_av_rc_closed()
2088 p_lcb->lidx = 0; in bta_av_rc_closed()
2090 p_rcb->lidx = 0; in bta_av_rc_closed()
2203 if (p_cb->rcb[rc_handle].lidx) { in bta_av_rc_disc()
2204 peer_addr = p_cb->lcb[p_cb->rcb[rc_handle].lidx - 1].addr; in bta_av_rc_disc()