Lines Matching refs:chnl
304 static tBTA_AV_SCB* bta_av_alloc_scb(tBTA_AV_CHNL chnl) { in bta_av_alloc_scb() argument
309 if (chnl == BTA_AV_CHNL_VIDEO) { in bta_av_alloc_scb()
320 } else if (chnl != BTA_AV_CHNL_AUDIO) { in bta_av_alloc_scb()
321 APPL_TRACE_ERROR("bad channel: %d", chnl); in bta_av_alloc_scb()
331 p_ret->chnl = chnl; in bta_av_alloc_scb()
332 p_ret->hndl = (tBTA_AV_HNDL)((xx + 1) | chnl); in bta_av_alloc_scb()
423 registr.chnl = (tBTA_AV_CHNL)p_data->hdr.layer_specific; in bta_av_api_register()
439 p_scb = bta_av_alloc_scb(registr.chnl); in bta_av_api_register()
536 if (registr.chnl == BTA_AV_CHNL_AUDIO) { in bta_av_api_register()
712 uint8_t chnl = (uint8_t)p_data->hdr.layer_specific; in bta_av_ci_data() local
717 if (p_scb && p_scb->chnl == chnl) { in bta_av_ci_data()
771 if (p_scb->chnl == BTA_AV_CHNL_AUDIO) { in bta_av_chk_start()
783 if (p_scbi && p_scbi->chnl == BTA_AV_CHNL_AUDIO && p_scbi->co_started) { in bta_av_chk_start()
1059 if (p_scb->chnl == BTA_AV_CHNL_AUDIO) { in bta_av_chk_mtu()
1065 (p_scbi->chnl == BTA_AV_CHNL_AUDIO)) { in bta_av_chk_mtu()