Lines Matching refs:chnl
345 static tBTA_AV_SCB * bta_av_alloc_scb(tBTA_AV_CHNL chnl) in bta_av_alloc_scb() argument
351 if(chnl == BTA_AV_CHNL_VIDEO) in bta_av_alloc_scb()
368 else if(chnl != BTA_AV_CHNL_AUDIO) in bta_av_alloc_scb()
370 APPL_TRACE_ERROR("bad channel: %d", chnl); in bta_av_alloc_scb()
386 p_ret->chnl = chnl; in bta_av_alloc_scb()
387 p_ret->hndl = (tBTA_AV_HNDL)((xx + 1) | chnl); in bta_av_alloc_scb()
563 registr.chnl = (tBTA_AV_CHNL)p_data->hdr.layer_specific; in bta_av_api_register()
566 p_scb = bta_av_alloc_scb(registr.chnl); in bta_av_api_register()
647 if(registr.chnl == BTA_AV_CHNL_AUDIO) in bta_av_api_register()
802 UINT8 chnl = (UINT8)p_data->hdr.layer_specific; in bta_av_ci_data() local
808 if(p_scb && p_scb->chnl == chnl) in bta_av_ci_data()
868 if(p_scb->chnl == BTA_AV_CHNL_AUDIO) in bta_av_chk_start()
879 if(p_scbi && p_scbi->chnl == BTA_AV_CHNL_AUDIO && p_scbi->co_started) in bta_av_chk_start()
1168 if(p_scb->chnl == BTA_AV_CHNL_AUDIO) in bta_av_chk_mtu()
1176 if((p_scb != p_scbi) && p_scbi && (p_scbi->chnl == BTA_AV_CHNL_AUDIO) ) in bta_av_chk_mtu()