Lines Matching refs:disc
493 uint8_t disc = 0; in bta_av_rc_opened() local
506 disc = p_scb->hndl; in bta_av_rc_opened()
558 disc = p_data->rc_conn_chg.handle | BTA_AV_CHNL_MSK; in bta_av_rc_opened()
574 bta_av_rc_disc(disc); in bta_av_rc_opened()
1768 APPL_TRACE_DEBUG("%s: bta_av_rc_disc_done disc:x%x", __func__, p_cb->disc); in bta_av_rc_disc_done()
1769 if (!p_cb->disc) { in bta_av_rc_disc_done()
1773 if ((p_cb->disc & BTA_AV_CHNL_MSK) == BTA_AV_CHNL_MSK) { in bta_av_rc_disc_done()
1775 rc_handle = p_cb->disc & (~BTA_AV_CHNL_MSK); in bta_av_rc_disc_done()
1778 if (((p_cb->disc & BTA_AV_HNDL_MSK) - 1) < BTA_AV_NUM_STRS) { in bta_av_rc_disc_done()
1779 p_scb = p_cb->p_scb[(p_cb->disc & BTA_AV_HNDL_MSK) - 1]; in bta_av_rc_disc_done()
1784 p_cb->disc = 0; in bta_av_rc_disc_done()
1833 p_cb->disc = 0; in bta_av_rc_disc_done()
2035 void bta_av_rc_disc(uint8_t disc) { in bta_av_rc_disc() argument
2046 APPL_TRACE_DEBUG("%s: disc: 0x%x, bta_av_cb.disc: 0x%x", __func__, disc, in bta_av_rc_disc()
2047 bta_av_cb.disc); in bta_av_rc_disc()
2048 if ((bta_av_cb.disc != 0) || (disc == 0)) return; in bta_av_rc_disc()
2050 if ((disc & BTA_AV_CHNL_MSK) == BTA_AV_CHNL_MSK) { in bta_av_rc_disc()
2052 rc_handle = disc & (~BTA_AV_CHNL_MSK); in bta_av_rc_disc()
2057 hdi = (disc & BTA_AV_HNDL_MSK) - 1; in bta_av_rc_disc()
2081 p_cb->disc = disc; in bta_av_rc_disc()
2082 APPL_TRACE_DEBUG("%s: disc 0x%x", __func__, p_cb->disc); in bta_av_rc_disc()