Lines Matching refs:p_cap

397             if (p_scb->p_cap == NULL)  in bta_av_next_getcap()
398 p_scb->p_cap = (tAVDT_CFG *)osi_malloc(sizeof(tAVDT_CFG)); in bta_av_next_getcap()
409 p_scb->p_cap, bta_av_dt_cback[p_scb->hdi]); in bta_av_next_getcap()
1057 osi_free_and_reset((void **)&p_scb->p_cap); in bta_av_cleanup()
1723 memcpy(&cfg, p_scb->p_cap, sizeof(tAVDT_CFG)); in bta_av_save_caps()
1867 cfg.num_protect = p_scb->p_cap->num_protect; in bta_av_getcap_results()
1868 memcpy(cfg.codec_info, p_scb->p_cap->codec_info, AVDT_CODEC_SIZE); in bta_av_getcap_results()
1869 memcpy(cfg.protect_info, p_scb->p_cap->protect_info, AVDT_PROTECT_SIZE); in bta_av_getcap_results()
1870 media_type = p_scb->p_cap->codec_info[BTA_AV_MEDIA_TYPE_IDX] >> 4; in bta_av_getcap_results()
1872 APPL_TRACE_DEBUG("num_codec %d", p_scb->p_cap->num_codec); in bta_av_getcap_results()
1875 APPL_TRACE_DEBUG("mux x%x, x%x", cfg.mux_mask, p_scb->p_cap->mux_mask); in bta_av_getcap_results()
1879 if ((p_scb->p_cap->num_codec != 0) && in bta_av_getcap_results()
1881 (p_scb->p_cos->getcfg(p_scb->hndl, p_scb->p_cap->codec_info[BTA_AV_CODEC_TYPE_IDX], in bta_av_getcap_results()
1886 cfg.mux_mask &= p_scb->p_cap->mux_mask; in bta_av_getcap_results()
1901 cfg.psc_mask &= p_scb->p_cap->psc_mask; in bta_av_getcap_results()
1931 osi_free_and_reset((void **)&p_scb->p_cap); in bta_av_getcap_results()
2167 if (p_scb->p_cap == NULL) in bta_av_reconfig()
2168 p_scb->p_cap = (tAVDT_CFG *)osi_malloc(sizeof(tAVDT_CFG)); in bta_av_reconfig()
2169 p_cfg = p_scb->p_cap; in bta_av_reconfig()
2178 p_scb->p_cap->psc_mask = p_scb->cur_psc_mask; in bta_av_reconfig()
2193 AVDT_ReconfigReq(p_scb->avdt_handle, p_scb->p_cap); in bta_av_reconfig()
2194 p_scb->p_cap->psc_mask = p_scb->cur_psc_mask; in bta_av_reconfig()
2709 osi_free_and_reset((void **)&p_scb->p_cap); in bta_av_rcfg_str_ok()
2866 AVDT_ReconfigReq(p_scb->avdt_handle, p_scb->p_cap); in bta_av_suspend_cont()
2867 p_scb->p_cap->psc_mask = p_scb->cur_psc_mask; in bta_av_suspend_cont()
2935 p_scb->codec_type = p_scb->p_cap->codec_info[BTA_AV_CODEC_TYPE_IDX]; in bta_av_rcfg_open()
2936 memcpy(p_scb->cfg.codec_info, p_scb->p_cap->codec_info, AVDT_CODEC_SIZE); in bta_av_rcfg_open()
2944 p_scb->sep_info[p_scb->sep_info_idx].seid, p_scb->p_cap); in bta_av_rcfg_open()