Home
last modified time | relevance | path

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

/system/bt/stack/mcap/
Dmca_dsm.c177 tMCA_CS *p_cs; in mca_dcb_alloc() local
182 p_cs = &p_rcb->dep[dep]; in mca_dcb_alloc()
186 max = p_cs->max_mdl; in mca_dcb_alloc()
194 p_dcb_tmp->p_cs = p_cs; in mca_dcb_alloc()
217 tMCA_CS *p_cs; in mca_dep_free_mdl() local
224 p_cs = &p_rcb->dep[dep]; in mca_dep_free_mdl()
228 max = p_cs->max_mdl; in mca_dep_free_mdl()
231 if ((p_dcb->state != MCA_DCB_NULL_ST) && (p_dcb->p_cs == p_cs)) in mca_dep_free_mdl()
Dmca_api.c217 tMCA_RESULT MCA_CreateDep(tMCA_HANDLE handle, tMCA_DEP *p_dep, tMCA_CS *p_cs) in MCA_CreateDep() argument
225 assert(p_cs != NULL ); in MCA_CreateDep()
226 assert(p_cs->p_data_cback != NULL ); in MCA_CreateDep()
231 if (p_cs->max_mdl > MCA_NUM_MDLS) in MCA_CreateDep()
233 MCA_TRACE_ERROR ("max_mdl: %d is too big", p_cs->max_mdl ); in MCA_CreateDep()
239 if (p_cs->type == MCA_TDEP_ECHO) in MCA_CreateDep()
246 memcpy (p_depcs, p_cs, sizeof (tMCA_CS)); in MCA_CreateDep()
259 memcpy (p_depcs, p_cs, sizeof (tMCA_CS)); in MCA_CreateDep()
309 if (p_dcb->state && p_dcb->p_cs == p_depcs) in MCA_DeleteDep()
Dmca_dact.c167 (*p_dcb->p_cs->p_data_cback) (mca_dcb_to_hdl(p_dcb), (BT_HDR *)p_data); in mca_dcb_hdl_data()
Dmca_int.h243 …tMCA_CS *p_cs; /* the associated MDEP info. p_cs->type is the mdep id(interna… member
Dmca_main.c184 p_tbl->tcid = p_dcb->p_cs->type + 1; in mca_tc_tbl_dalloc()
/system/bt/stack/avdt/
Davdt_scb.c587 tAVDT_SCB *avdt_scb_alloc(tAVDT_CS *p_cs) in avdt_scb_alloc() argument
602 if (p_cs->tsep == AVDT_TSEP_SNK) in avdt_scb_alloc()
607 memcpy(&p_scb->cs, p_cs, sizeof(tAVDT_CS)); in avdt_scb_alloc()
612 if(p_cs->cfg.psc_mask & AVDT_PSC_MUX) in avdt_scb_alloc()
616 if(p_cs->cfg.psc_mask & AVDT_PSC_REPORT) in avdt_scb_alloc()
624 AVDT_TRACE_DEBUG("avdt_scb_alloc hdl=%d, psc_mask:0x%x", i+1, p_cs->cfg.psc_mask); in avdt_scb_alloc()
Davdt_api.c252 UINT16 AVDT_CreateStream(UINT8 *p_handle, tAVDT_CS *p_cs) in AVDT_CreateStream() argument
258 if (((p_cs->cfg.psc_mask & (~AVDT_PSC)) != 0) || (p_cs->p_ctrl_cback == NULL)) in AVDT_CreateStream()
263 else if ((p_scb = avdt_scb_alloc(p_cs)) == NULL) in AVDT_CreateStream()
Davdt_int.h605 extern tAVDT_SCB *avdt_scb_alloc(tAVDT_CS *p_cs);
/system/bt/stack/include/
Dmca_api.h291 extern tMCA_RESULT MCA_CreateDep(tMCA_HANDLE handle, tMCA_DEP *p_dep, tMCA_CS *p_cs);
Davdt_api.h512 extern UINT16 AVDT_CreateStream(UINT8 *p_handle, tAVDT_CS *p_cs);
/system/bt/bta/include/
Dbta_av_api.h484 typedef void (tBTA_AV_REG) (tAVDT_CS *p_cs, char *p_service_name, void *p_data);
/system/bt/bta/av/
Dbta_av_int.h730 extern void bta_av_reg_vdp (tAVDT_CS *p_cs, char *p_service_name, void *p_data);