/external/bluetooth/bluedroid/stack/l2cap/ |
l2c_ucd.c | 53 tL2C_RCB *p_rcb = &l2cb.rcb_pool[0]; local 58 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) 60 if (p_rcb->in_use) 64 && ( p_rcb->ucd.state & L2C_UCD_STATE_W4_RECEPTION )) 66 p_rcb->ucd.cb_info.pL2CA_UCD_Discover_Cb (rem_bda, info_type, data); 67 p_rcb->ucd.state &= ~(L2C_UCD_STATE_W4_RECEPTION); 72 && ( p_rcb->ucd.state & L2C_UCD_STATE_W4_MTU )) 74 p_rcb->ucd.cb_info.pL2CA_UCD_Discover_Cb (rem_bda, info_type, data); 75 p_rcb->ucd.state &= ~(L2C_UCD_STATE_W4_MTU); 94 tL2C_RCB *p_rcb; local 126 tL2C_RCB *p_rcb = &l2cb.rcb_pool[0]; local 204 tL2C_RCB *p_rcb; local 268 tL2C_RCB *p_rcb; local 330 tL2C_RCB *p_rcb; local 396 tL2C_RCB *p_rcb; local 558 tL2C_RCB *p_rcb; local 661 tL2C_RCB *p_rcb = &l2cb.rcb_pool[0]; local 907 tL2C_RCB *p_rcb; local [all...] |
l2c_api.c | 54 tL2C_RCB *p_rcb; local 86 if ((p_rcb = l2cu_find_rcb_by_psm (vpsm)) == NULL) 94 if ((p_rcb = l2cu_find_rcb_by_psm (vpsm)) == NULL) 96 if ((p_rcb = l2cu_allocate_rcb (vpsm)) == NULL) 103 p_rcb->api = *p_cb_info; 104 p_rcb->real_psm = psm; 123 tL2C_RCB *p_rcb; local 130 if ((p_rcb = l2cu_find_rcb_by_psm (psm)) != NULL) 146 if (p_ccb->p_rcb == p_rcb) 233 tL2C_RCB *p_rcb; local 865 tL2C_RCB *p_rcb; local [all...] |
l2c_main.c | 323 tL2C_RCB *p_rcb; local 406 if ((p_rcb = l2cu_find_rcb_by_psm (con_info.psm)) == NULL) 414 if (!p_rcb->api.pL2CA_ConnectInd_Cb) 428 p_ccb->p_rcb = p_rcb; [all...] |
l2c_utils.c | 415 UINT16_TO_STREAM (p, p_ccb->p_rcb->real_psm); 1552 tL2C_RCB *p_rcb = p_ccb->p_rcb; local 1666 tL2C_RCB *p_rcb = &l2cb.rcb_pool[0]; local 1747 tL2C_RCB *p_rcb = &l2cb.rcb_pool[0]; local [all...] |
l2c_int.h | 294 tL2C_RCB *p_rcb; /* Registration CB for this Channel */ member in struct:t_l2c_ccb 668 extern void l2cu_release_rcb (tL2C_RCB *p_rcb); [all...] |
/external/bluetooth/bluedroid/stack/mcap/ |
mca_api.c | 123 tMCA_RCB *p_rcb; local 133 if ( (p_rcb = mca_rcb_alloc (p_reg)) != NULL) 169 p_rcb->reg.data_psm = 0; 170 handle = mca_rcb_to_handle (p_rcb); 171 p_rcb->p_cback = p_cback; 172 p_rcb->reg.rsp_tout = p_reg->rsp_tout; 191 tMCA_RCB *p_rcb = mca_rcb_by_handle(handle); local 194 if (p_rcb && p_rcb->reg.ctrl_psm) 196 L2CA_Deregister(p_rcb->reg.ctrl_psm) 221 tMCA_RCB *p_rcb = mca_rcb_by_handle(handle); local 290 tMCA_RCB *p_rcb = mca_rcb_by_handle(handle); local [all...] |
mca_main.c | 72 tMCA_RCB *p_rcb = &mca_cb.rcb[0]; local 74 for (i=0; i<MCA_NUM_REGS; i++, p_rcb++) 76 if (p_rcb->p_cback && p_rcb->reg.ctrl_psm == psm) 99 tMCA_RCB *p_rcb = &mca_cb.rcb[0]; local 101 for (i=0; i<MCA_NUM_REGS; i++, p_rcb++) 103 if (p_rcb->p_cback && p_rcb->reg.data_psm == psm) 516 tMCA_RCB *p_rcb = NULL; local 522 p_rcb = &mca_cb.rcb[i] 543 tMCA_RCB *p_rcb; local 600 tMCA_RCB *p_rcb = NULL; local [all...] |
mca_csm.c | 225 tMCA_RCB *p_rcb = mca_rcb_by_handle(handle); local 229 if (p_rcb) 259 tMCA_RCB *p_rcb = mca_rcb_by_handle(handle); local 264 if (p_rcb) 272 p_ccb_tmp->p_rcb = p_rcb;
|
mca_dsm.c | 176 tMCA_RCB *p_rcb = p_ccb->p_rcb; local 182 p_cs = &p_rcb->dep[dep]; 216 tMCA_RCB *p_rcb = p_ccb->p_rcb; local 224 p_cs = &p_rcb->dep[dep];
|
mca_int.h | 206 tMCA_RCB *p_rcb; /* the associated registration control block */ member in struct:__anon3945 317 extern tMCA_HANDLE mca_rcb_to_handle(tMCA_RCB *p_rcb); 319 extern BOOLEAN mca_is_valid_dep_id(tMCA_RCB *p_rcb, tMCA_DEP dep);
|
/external/bluetooth/bluedroid/bta/gatt/ |
bta_gatts_act.c | 400 tBTA_GATTS_RCB *p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; local 407 cb_data.add_result.server_if = p_rcb->gatt_if; 420 if (p_rcb->p_cback) 421 (*p_rcb->p_cback)(BTA_GATTS_ADD_INCL_SRVC_EVT, &cb_data); 434 tBTA_GATTS_RCB *p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; local 442 cb_data.add_result.server_if = p_rcb->gatt_if; 458 if (p_rcb->p_cback) 459 (*p_rcb->p_cback)(BTA_GATTS_ADD_CHAR_EVT, &cb_data); 472 tBTA_GATTS_RCB *p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; local 480 cb_data.add_result.server_if = p_rcb->gatt_if 511 tBTA_GATTS_RCB *p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; local 544 tBTA_GATTS_RCB *p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; local 577 tBTA_GATTS_RCB *p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; local 688 tBTA_GATTS_RCB *p_rcb=NULL; local 719 tBTA_GATTS_RCB *p_rcb; local 752 tBTA_GATTS_RCB *p_rcb; local 795 tBTA_GATTS_RCB *p_rcb = bta_gatts_find_app_rcb_by_app_if(p_msg->api_listen.server_if); local 832 tBTA_GATTS_RCB *p_rcb; local [all...] |
bta_gattc_int.h | 349 tBTA_GATTC_RCB *p_rcb; /* pointer to the registration CB */ member in struct:__anon2959
|
/external/bluetooth/bluedroid/stack/avrc/ |
avrc_api.c | 360 tAVRC_RASM_CB *p_rcb; local 370 p_rcb = &avrc_cb.rcb[handle]; 377 p_rcb->rasm_offset = 0; 378 if (p_rcb->p_rmsg) 380 GKI_freebuf(p_rcb->p_rmsg); 381 p_rcb->p_rmsg = NULL; 391 p_rcb->rasm_pdu = *p_data; 392 if ((p_rcb->p_rmsg = (BT_HDR *)GKI_getbuf(GKI_MAX_BUF_SIZE)) != NULL) 395 memcpy(p_rcb->p_rmsg, p_pkt, sizeof(BT_HDR)); /* Copy bt hdr */ 398 memcpy((UINT8 *)(p_rcb->p_rmsg + 1) [all...] |
/external/bluetooth/bluedroid/stack/sdp/ |
sdp_discovery.c | 201 tSDP_DISC_RES_CB *p_rcb = (tSDP_DISC_RES_CB *) p_ccb->p_db; local 205 if (p_rcb) 209 (*p_rcb)(SDP_EVT_OPEN, (void *)&evt_data); 257 tSDP_DISC_RES_CB *p_rcb = (tSDP_DISC_RES_CB *) p_ccb->p_db; local 259 if (p_rcb) 263 (*p_rcb)(SDP_EVT_DATA_IND, (void *)&data); [all...] |
/external/bluetooth/bluedroid/stack/gatt/ |
gatt_sr.c | 532 tGATT_SR_REG *p_rcb; local 543 p_rcb = GATT_GET_SR_REG_PTR(p_srv->i_sreg); 545 if (p_rcb->in_use && 546 p_rcb->s_hdl >= s_hdl && 547 p_rcb->s_hdl <= e_hdl && 548 p_rcb->type == GATT_UUID_PRI_SERVICE) 550 if ((p_uuid = gatts_get_service_uuid (p_rcb->p_db)) != NULL) 575 UINT16_TO_STREAM(p, p_rcb->s_hdl); 585 UINT16_TO_STREAM(p, p_rcb->e_hdl); 617 static tGATT_STATUS gatt_build_find_info_rsp(tGATT_SR_REG *p_rcb, BT_HDR *p_msg, UINT16 *p_len 832 tGATT_SR_REG *p_rcb; local 969 tGATT_SR_REG *p_rcb; local 1245 tGATT_SR_REG *p_rcb = gatt_cb.sr_reg; local 1406 tGATT_SR_REG *p_rcb = gatt_cb.sr_reg; local [all...] |
gatt_utils.c | 420 tGATT_SR_REG *p_rcb = NULL; local 427 p_rcb = GATT_GET_SR_REG_PTR(p_srv->i_sreg); 429 p_svc_uuid = gatts_get_service_uuid (p_rcb->p_db); [all...] |
/external/bluetooth/bluedroid/bta/av/ |
bta_av_act.c | 67 tBTA_AV_RCB *p_rcb = NULL; local 74 p_rcb = &bta_av_cb.rcb[i]; 78 return p_rcb; 91 void bta_av_del_rc(tBTA_AV_RCB *p_rcb) 96 if(p_rcb->handle != BTA_AV_RC_HANDLE_NONE) 98 if(p_rcb->shdl) 100 p_scb = bta_av_cb.p_scb[p_rcb->shdl - 1]; 103 APPL_TRACE_DEBUG3("bta_av_del_rc shdl:%d, srch:%d rc_handle:%d", p_rcb->shdl, 104 p_scb->rc_handle, p_rcb->handle); 105 if(p_scb->rc_handle == p_rcb->handle 304 tBTA_AV_RCB *p_rcb; local 488 tBTA_AV_RCB *p_rcb; local 586 tBTA_AV_RCB *p_rcb; local 612 tBTA_AV_RCB *p_rcb; local 635 tBTA_AV_RCB *p_rcb; local 658 tBTA_AV_RCB *p_rcb; local 1022 tBTA_AV_RCB *p_rcb; local 1168 tBTA_AV_RCB *p_rcb, *p_rcb2; local 1787 tBTA_AV_RCB *p_rcb; local [all...] |
bta_av_aact.c | 1078 tBTA_AV_RCB *p_rcb; local [all...] |