Home
last modified time | relevance | path

Searched refs:p_cs (Results 1 – 11 of 11) sorted by relevance

/system/bt/stack/mcap/
Dmca_dsm.cc147 tMCA_CS* p_cs; in mca_dcb_alloc() local
151 p_cs = &p_rcb->dep[dep]; in mca_dcb_alloc()
155 max = p_cs->max_mdl; in mca_dcb_alloc()
161 p_dcb_tmp->p_cs = p_cs; in mca_dcb_alloc()
183 tMCA_CS* p_cs; in mca_dep_free_mdl() local
189 p_cs = &p_rcb->dep[dep]; in mca_dep_free_mdl()
193 max = p_cs->max_mdl; in mca_dep_free_mdl()
195 if ((p_dcb->state != MCA_DCB_NULL_ST) && (p_dcb->p_cs == p_cs)) { in mca_dep_free_mdl()
Dmca_api.cc204 tMCA_RESULT MCA_CreateDep(tMCA_HANDLE handle, tMCA_DEP* p_dep, tMCA_CS* p_cs) { in MCA_CreateDep() argument
211 CHECK(p_cs != NULL); in MCA_CreateDep()
212 CHECK(p_cs->p_data_cback != NULL); in MCA_CreateDep()
216 if (p_cs->max_mdl > MCA_NUM_MDLS) { in MCA_CreateDep()
217 MCA_TRACE_ERROR("max_mdl: %d is too big", p_cs->max_mdl); in MCA_CreateDep()
221 if (p_cs->type == MCA_TDEP_ECHO) { in MCA_CreateDep()
226 memcpy(p_depcs, p_cs, sizeof(tMCA_CS)); in MCA_CreateDep()
235 memcpy(p_depcs, p_cs, sizeof(tMCA_CS)); in MCA_CreateDep()
280 if (p_dcb->state && p_dcb->p_cs == p_depcs) { in MCA_DeleteDep()
Dmca_dact.cc156 (*p_dcb->p_cs->p_data_cback)(mca_dcb_to_hdl(p_dcb), (BT_HDR*)p_data); in mca_dcb_hdl_data()
Dmca_int.h258 tMCA_CS* p_cs; /* the associated MDEP info. p_cs->type is the mdep id(internal member
Dmca_main.cc169 p_tbl->tcid = p_dcb->p_cs->type + 1; in mca_tc_tbl_dalloc()
/system/bt/stack/include/
Dmca_api.h302 tMCA_CS* p_cs);
526 tMCA_CS* p_cs);
Davdt_api.h492 extern uint16_t AVDT_CreateStream(uint8_t* p_handle, tAVDT_CS* p_cs);
/system/bt/stack/avdt/
Davdt_api.cc169 uint16_t AVDT_CreateStream(uint8_t* p_handle, tAVDT_CS* p_cs) { in AVDT_CreateStream() argument
176 if (((p_cs->cfg.psc_mask & (~AVDT_PSC)) != 0) || in AVDT_CreateStream()
177 (p_cs->p_ctrl_cback == NULL)) { in AVDT_CreateStream()
182 p_scb = avdt_scb_alloc(p_cs); in AVDT_CreateStream()
Davdt_scb.cc826 tAVDT_SCB* avdt_scb_alloc(tAVDT_CS* p_cs) { in avdt_scb_alloc() argument
837 memcpy(&p_scb->cs, p_cs, sizeof(tAVDT_CS)); in avdt_scb_alloc()
841 p_cs->cfg.psc_mask); in avdt_scb_alloc()
Davdt_int.h580 extern tAVDT_SCB* avdt_scb_alloc(tAVDT_CS* p_cs);
/system/bt/bta/include/
Dbta_av_api.h455 typedef void(tBTA_AV_REG)(tAVDT_CS* p_cs, char* p_service_name, void* p_data);