Lines Matching refs:disc
488 uint8_t disc = 0; in bta_av_rc_opened() local
501 disc = p_scb->hndl; in bta_av_rc_opened()
553 disc = p_data->rc_conn_chg.handle | BTA_AV_CHNL_MSK; in bta_av_rc_opened()
571 bta_av_rc_disc(disc); in bta_av_rc_opened()
1889 APPL_TRACE_DEBUG("%s: bta_av_rc_disc_done disc:x%x", __func__, p_cb->disc); in bta_av_rc_disc_done()
1890 if (!p_cb->disc) { in bta_av_rc_disc_done()
1894 if ((p_cb->disc & BTA_AV_CHNL_MSK) == BTA_AV_CHNL_MSK) { in bta_av_rc_disc_done()
1896 rc_handle = p_cb->disc & (~BTA_AV_CHNL_MSK); in bta_av_rc_disc_done()
1899 if (((p_cb->disc & BTA_AV_HNDL_MSK) - 1) < BTA_AV_NUM_STRS) { in bta_av_rc_disc_done()
1900 p_scb = p_cb->p_scb[(p_cb->disc & BTA_AV_HNDL_MSK) - 1]; in bta_av_rc_disc_done()
1905 p_cb->disc = 0; in bta_av_rc_disc_done()
1960 p_cb->disc = 0; in bta_av_rc_disc_done()
2184 void bta_av_rc_disc(uint8_t disc) { in bta_av_rc_disc() argument
2196 APPL_TRACE_DEBUG("%s: disc: 0x%x, bta_av_cb.disc: 0x%x", __func__, disc, in bta_av_rc_disc()
2197 bta_av_cb.disc); in bta_av_rc_disc()
2198 if ((bta_av_cb.disc != 0) || (disc == 0)) return; in bta_av_rc_disc()
2200 if ((disc & BTA_AV_CHNL_MSK) == BTA_AV_CHNL_MSK) { in bta_av_rc_disc()
2202 rc_handle = disc & (~BTA_AV_CHNL_MSK); in bta_av_rc_disc()
2207 hdi = (disc & BTA_AV_HNDL_MSK) - 1; in bta_av_rc_disc()
2231 p_cb->disc = disc; in bta_av_rc_disc()
2232 APPL_TRACE_DEBUG("%s: disc 0x%x", __func__, p_cb->disc); in bta_av_rc_disc()