• Home
  • Raw
  • Download

Lines Matching refs:p_lcb

458   tBTA_AV_LCB* p_lcb = NULL;  in bta_av_find_lcb()  local
465 p_lcb = &p_cb->lcb[xx]; in bta_av_find_lcb()
473 return p_lcb; in bta_av_find_lcb()
490 tBTA_AV_LCB* p_lcb; in bta_av_rc_opened() local
550 p_lcb = &p_cb->lcb[BTA_AV_NUM_LINKS]; in bta_av_rc_opened()
551 p_lcb->addr = p_data->rc_conn_chg.peer_addr; in bta_av_rc_opened()
552 p_lcb->lidx = BTA_AV_NUM_LINKS + 1; in bta_av_rc_opened()
553 p_cb->rcb[i].lidx = p_lcb->lidx; in bta_av_rc_opened()
554 p_lcb->conn_msk = 1; in bta_av_rc_opened()
556 __func__, p_lcb->addr.ToString().c_str(), i, in bta_av_rc_opened()
557 p_cb->rcb[i].lidx, p_lcb->conn_msk); in bta_av_rc_opened()
1126 tBTA_AV_LCB* p_lcb; in bta_av_conn_chg() local
1136 p_lcb = bta_av_find_lcb(p_data->conn_chg.peer_addr, BTA_AV_LCB_FIND); in bta_av_conn_chg()
1141 if (p_lcb) { in bta_av_conn_chg()
1142 p_lcb->conn_msk |= conn_msk; in bta_av_conn_chg()
1144 if (bta_av_cb.rcb[i].lidx == p_lcb->lidx) { in bta_av_conn_chg()
1165 if (p_lcb && p_cb->rc_acp_handle != BTA_AV_RC_HANDLE_NONE && in bta_av_conn_chg()
1201 p_rcb->lidx = p_lcb->lidx; in bta_av_conn_chg()
1220 if (p_lcb) { in bta_av_conn_chg()
1221 p_lcb->conn_msk &= ~conn_msk; in bta_av_conn_chg()
1405 tBTA_AV_LCB* p_lcb = NULL; in bta_av_sig_chg() local
1412 p_lcb = bta_av_find_lcb(p_data->str_msg.bd_addr, BTA_AV_LCB_FIND); in bta_av_sig_chg()
1413 if (!p_lcb) { in bta_av_sig_chg()
1432 p_lcb = &p_cb->lcb[xx]; in bta_av_sig_chg()
1433 p_lcb->lidx = xx + 1; in bta_av_sig_chg()
1434 p_lcb->addr = p_data->str_msg.bd_addr; in bta_av_sig_chg()
1435 p_lcb->conn_msk = 0; /* clear the connect mask */ in bta_av_sig_chg()
1438 bta_av_rc_create(p_cb, AVCT_ACP, 0, p_lcb->lidx); in bta_av_sig_chg()
1480 p_lcb = bta_av_find_lcb(p_data->str_msg.bd_addr, BTA_AV_LCB_FREE); in bta_av_sig_chg()
1481 if (p_lcb && (p_lcb->conn_msk || bta_av_cb.conn_lcb)) { in bta_av_sig_chg()
1482 APPL_TRACE_DEBUG("%s: conn_msk: 0x%x", __func__, p_lcb->conn_msk); in bta_av_sig_chg()
1492 if (((mask & p_lcb->conn_msk) || bta_av_cb.conn_lcb) && in bta_av_sig_chg()
1522 tBTA_AV_LCB* p_lcb = NULL; in bta_av_signalling_timer() local
1526 p_lcb = &p_cb->lcb[xx]; in bta_av_signalling_timer()
1530 xx, p_cb->conn_lcb, p_lcb->addr.ToString().c_str(), p_lcb->conn_msk, in bta_av_signalling_timer()
1531 p_lcb->lidx); in bta_av_signalling_timer()
1534 if (!p_lcb->conn_msk) { in bta_av_signalling_timer()
1539 pend.bd_addr = p_lcb->addr; in bta_av_signalling_timer()
1544 __func__, pend.bd_addr.ToString().c_str(), xx, p_lcb->conn_msk, in bta_av_signalling_timer()
1545 p_lcb->lidx); in bta_av_signalling_timer()
1764 tBTA_AV_LCB* p_lcb; in bta_av_rc_disc_done() local
1847 p_lcb = bta_av_find_lcb(p_scb->PeerAddress(), BTA_AV_LCB_FIND); in bta_av_rc_disc_done()
1848 if (p_lcb) { in bta_av_rc_disc_done()
1850 (uint8_t)(p_scb->hdi + 1), p_lcb->lidx); in bta_av_rc_disc_done()
1905 tBTA_AV_LCB* p_lcb; in bta_av_rc_closed() local
1934 p_lcb = &p_cb->lcb[BTA_AV_NUM_LINKS]; in bta_av_rc_closed()
1938 p_lcb->conn_msk = 0; in bta_av_rc_closed()
1939 p_lcb->lidx = 0; in bta_av_rc_closed()