Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/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 WC_ASSERT(p_cs != NULL ); in MCA_CreateDep()
226 WC_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.c165 (*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()
/external/bluetooth/bluedroid/stack/avdt/
Davdt_scb.c591 tAVDT_SCB *avdt_scb_alloc(tAVDT_CS *p_cs) in avdt_scb_alloc() argument
606 if (p_cs->tsep == AVDT_TSEP_SNK) in avdt_scb_alloc()
611 memcpy(&p_scb->cs, p_cs, sizeof(tAVDT_CS)); in avdt_scb_alloc()
616 if(p_cs->cfg.psc_mask & AVDT_PSC_MUX) in avdt_scb_alloc()
620 if(p_cs->cfg.psc_mask & AVDT_PSC_REPORT) in avdt_scb_alloc()
628 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.c253 UINT16 AVDT_CreateStream(UINT8 *p_handle, tAVDT_CS *p_cs) in AVDT_CreateStream() argument
261 if (((p_cs->cfg.psc_mask & (~AVDT_PSC)) != 0) || (p_cs->p_ctrl_cback == NULL)) in AVDT_CreateStream()
266 else if ((p_scb = avdt_scb_alloc(p_cs)) == NULL) in AVDT_CreateStream()
Davdt_int.h609 extern tAVDT_SCB *avdt_scb_alloc(tAVDT_CS *p_cs);
/external/bluetooth/bluedroid/stack/include/
Dmca_api.h291 MCA_API extern tMCA_RESULT MCA_CreateDep(tMCA_HANDLE handle, tMCA_DEP *p_dep, tMCA_CS *p_cs);
Davdt_api.h500 AVDT_API extern UINT16 AVDT_CreateStream(UINT8 *p_handle, tAVDT_CS *p_cs);
/external/bluetooth/bluedroid/bta/include/
Dbta_av_api.h484 typedef void (tBTA_AV_REG) (tAVDT_CS *p_cs, char *p_service_name, void *p_data);
/external/bluetooth/bluedroid/bta/av/
Dbta_av_int.h731 extern void bta_av_reg_vdp (tAVDT_CS *p_cs, char *p_service_name, void *p_data);