Lines Matching refs:disc
494 uint8_t disc = 0; in bta_av_rc_opened() local
507 disc = p_scb->hndl; in bta_av_rc_opened()
559 disc = p_data->rc_conn_chg.handle | BTA_AV_CHNL_MSK; in bta_av_rc_opened()
577 bta_av_rc_disc(disc); in bta_av_rc_opened()
1886 APPL_TRACE_DEBUG("%s: bta_av_rc_disc_done disc:x%x", __func__, p_cb->disc); in bta_av_rc_disc_done()
1887 if (!p_cb->disc) { in bta_av_rc_disc_done()
1891 if ((p_cb->disc & BTA_AV_CHNL_MSK) == BTA_AV_CHNL_MSK) { in bta_av_rc_disc_done()
1893 rc_handle = p_cb->disc & (~BTA_AV_CHNL_MSK); in bta_av_rc_disc_done()
1896 if (((p_cb->disc & BTA_AV_HNDL_MSK) - 1) < BTA_AV_NUM_STRS) { in bta_av_rc_disc_done()
1897 p_scb = p_cb->p_scb[(p_cb->disc & BTA_AV_HNDL_MSK) - 1]; in bta_av_rc_disc_done()
1902 p_cb->disc = 0; in bta_av_rc_disc_done()
1957 p_cb->disc = 0; in bta_av_rc_disc_done()
2181 void bta_av_rc_disc(uint8_t disc) { in bta_av_rc_disc() argument
2193 APPL_TRACE_DEBUG("%s: disc: 0x%x, bta_av_cb.disc: 0x%x", __func__, disc, in bta_av_rc_disc()
2194 bta_av_cb.disc); in bta_av_rc_disc()
2195 if ((bta_av_cb.disc != 0) || (disc == 0)) return; in bta_av_rc_disc()
2197 if ((disc & BTA_AV_CHNL_MSK) == BTA_AV_CHNL_MSK) { in bta_av_rc_disc()
2199 rc_handle = disc & (~BTA_AV_CHNL_MSK); in bta_av_rc_disc()
2204 hdi = (disc & BTA_AV_HNDL_MSK) - 1; in bta_av_rc_disc()
2228 p_cb->disc = disc; in bta_av_rc_disc()
2229 APPL_TRACE_DEBUG("%s: disc 0x%x", __func__, p_cb->disc); in bta_av_rc_disc()