Searched defs:p_ccb (Results 1 - 25 of 38) sorted by relevance

12

/system/bt/stack/avct/
H A Davct_ccb.c44 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; local
47 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++)
49 if (!p_ccb->allocated)
51 p_ccb->allocated = AVCT_ALOC_LCB;
52 memcpy(&p_ccb->cc, p_cc, sizeof(tAVCT_CC));
61 p_ccb = NULL;
64 return p_ccb;
78 void avct_ccb_dealloc(tAVCT_CCB *p_ccb, UINT8 event, UINT16 result, BD_ADDR bd_addr) argument
80 tAVCT_CTRL_CBACK *p_cback = p_ccb->cc.p_ctrl_cback;
82 AVCT_TRACE_DEBUG("avct_ccb_dealloc %d", avct_ccb_to_idx(p_ccb));
112 avct_ccb_to_idx(tAVCT_CCB *p_ccb) argument
130 tAVCT_CCB *p_ccb; local
[all...]
H A Davct_api.c136 tAVCT_CCB *p_ccb; local
142 if ((p_ccb = avct_ccb_alloc(p_cc)) == NULL)
149 *p_handle = avct_ccb_to_idx(p_ccb);
160 avct_ccb_dealloc(p_ccb, AVCT_NO_EVT, 0, NULL);
167 avct_ccb_dealloc(p_ccb, AVCT_NO_EVT, 0, NULL);
174 p_ccb->p_lcb = p_lcb;
176 avct_lcb_event(p_lcb, AVCT_LCB_UL_BIND_EVT, (tAVCT_LCB_EVT *) &p_ccb);
199 tAVCT_CCB *p_ccb; local
204 if ((p_ccb = avct_ccb_by_idx(handle)) == NULL)
209 else if (p_ccb
241 tAVCT_CCB *p_ccb; local
318 tAVCT_CCB *p_ccb; local
353 tAVCT_CCB *p_ccb; local
378 tAVCT_CCB *p_ccb; local
416 tAVCT_CCB *p_ccb; local
[all...]
H A Davct_l2c.c76 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; local
79 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++)
81 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb))
83 AVCT_TRACE_DEBUG("avct_l2c_is_ct control:x%x", p_ccb->cc.control);
84 if (p_ccb->cc.control & AVCT_PASSIVE)
H A Davct_int.h115 tAVCT_CCB *p_ccb; member in struct:__anon782
124 tAVCT_CCB *p_ccb; member in union:__anon783
206 extern void avct_ccb_dealloc(tAVCT_CCB *p_ccb, UINT8 event, UINT16 result, BD_ADDR bd_addr);
207 extern UINT8 avct_ccb_to_idx(tAVCT_CCB *p_ccb);
H A Davct_lcb.c94 typedef void (*tAVCT_LCB_ACTION)(tAVCT_LCB *p_ccb, tAVCT_LCB_EVT *p_data);
352 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; local
359 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++)
362 if (p_ccb->allocated)
364 if (p_ccb->p_lcb == p_lcb)
431 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; local
434 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++)
436 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb) && (p_ccb
456 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; local
[all...]
H A Davct_lcb_act.c218 avct_ccb_dealloc(p_data->p_ccb, AVCT_DISCONNECT_CFM_EVT, 0, NULL);
236 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; local
240 for (i = 0; i < AVCT_NUM_CONN; i++, p_ccb++)
243 if (p_ccb->allocated)
246 if (p_ccb->p_lcb == p_lcb)
250 p_ccb->cc.p_ctrl_cback(avct_ccb_to_idx(p_ccb), AVCT_CONNECT_CFM_EVT,
254 else if ((p_ccb->p_lcb == NULL) && (p_ccb->cc.role == AVCT_ACP) &&
255 (avct_lcb_has_pid(p_lcb, p_ccb
287 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; local
313 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; local
349 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; local
477 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; local
677 tAVCT_CCB *p_ccb; local
[all...]
/system/bt/stack/mcap/
H A Dmca_dact.c49 mca_ccb_report_event (p_dcb->p_ccb, MCA_CONG_CHG_EVT, &evt_data);
66 tMCA_CCB *p_ccb = p_dcb->p_ccb; local
75 mca_ccb_event (p_ccb, MCA_CCB_DL_OPEN_EVT, NULL);
76 mca_ccb_report_event (p_ccb, event, &evt_data);
H A Dmca_cact.c48 void mca_ccb_rsp_tout(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data) argument
53 mca_ccb_report_event(p_ccb, MCA_RSP_TOUT_IND_EVT, &evt_data);
65 void mca_ccb_report_event(tMCA_CCB *p_ccb, UINT8 event, tMCA_CTRL *p_data) argument
67 if (p_ccb && p_ccb->p_rcb && p_ccb->p_rcb->p_cback)
68 (*p_ccb->p_rcb->p_cback)(mca_rcb_to_handle(p_ccb->p_rcb), mca_ccb_to_hdl(p_ccb), event, p_data);
80 void mca_ccb_free_msg(tMCA_CCB *p_ccb, tMCA_CCB_EV argument
96 mca_ccb_snd_req(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data) argument
162 mca_ccb_snd_rsp(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data) argument
215 mca_ccb_do_disconn(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data) argument
232 mca_ccb_cong(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data) argument
259 mca_ccb_hdl_req(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data) argument
460 mca_ccb_hdl_rsp(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data) argument
561 mca_ccb_ll_open(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data) argument
580 mca_ccb_dl_open(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data) argument
[all...]
H A Dmca_l2c.c156 tMCA_CCB *p_ccb; local
166 if ((p_ccb = mca_ccb_by_bd(handle, bd_addr)) == NULL)
169 if ((p_ccb = mca_ccb_alloc(handle, bd_addr)) != NULL)
172 p_ccb->lcid = lcid;
173 p_tbl = mca_tc_tbl_calloc(p_ccb);
232 tMCA_CCB *p_ccb; local
242 if (((p_ccb = mca_ccb_by_bd(handle, bd_addr)) != NULL) && /* find the CCB */
243 (p_ccb->status == MCA_CCB_STAT_PENDING) && /* this CCB is expecting a MDL */
244 (p_ccb->p_tx_req && (p_dcb = mca_dcb_by_hdl(p_ccb
300 tMCA_CCB *p_ccb; local
[all...]
H A Dmca_api.c339 tMCA_CCB *p_ccb; local
343 if ((p_ccb = mca_ccb_by_bd(handle, bd_addr)) == NULL)
344 p_ccb = mca_ccb_alloc(handle, bd_addr);
351 if (p_ccb)
353 p_ccb->ctrl_vpsm = L2CA_Register (ctrl_psm, (tL2CAP_APPL_INFO *)&mca_l2c_int_appl);
355 if (p_ccb->ctrl_vpsm)
358 p_ccb->ctrl_vpsm, BTM_SEC_PROTO_MCA, MCA_CTRL_TCID);
359 p_ccb->lcid = mca_l2c_open_req(bd_addr, p_ccb->ctrl_vpsm, NULL);
360 if (p_ccb
394 tMCA_CCB *p_ccb = mca_ccb_by_hdl(mcl); local
428 tMCA_CCB *p_ccb = mca_ccb_by_hdl(mcl); local
506 tMCA_CCB *p_ccb = mca_ccb_by_hdl(mcl); local
603 tMCA_CCB *p_ccb = mca_ccb_by_hdl(mcl); local
672 tMCA_CCB *p_ccb = mca_ccb_by_hdl(mcl); local
737 tMCA_CCB *p_ccb = mca_ccb_by_hdl(mcl); local
784 tMCA_CCB *p_ccb = mca_ccb_by_hdl(mcl); local
834 tMCA_CCB *p_ccb = mca_ccb_by_hdl(mcl); local
[all...]
H A Dmca_csm.c167 void mca_stop_timer(tMCA_CCB *p_ccb) argument
169 if (p_ccb->timer_entry.event == BTU_TTYPE_MCA_CCB_RSP)
171 btu_stop_timer(&p_ccb->timer_entry);
172 p_ccb->timer_entry.event = 0;
187 void mca_ccb_event(tMCA_CCB *p_ccb, UINT8 event, tMCA_CCB_EVT *p_data) argument
193 MCA_TRACE_EVENT("CCB ccb=%d event=%s state=%s", mca_ccb_to_hdl(p_ccb), mca_ccb_evt_str[event], mca_ccb_st_str[p_ccb->state]);
195 MCA_TRACE_EVENT("CCB ccb=%d event=%d state=%d", mca_ccb_to_hdl(p_ccb), event, p_ccb->state);
199 state_table = mca_ccb_st_tbl[p_ccb
224 tMCA_CCB *p_ccb = NULL; local
258 tMCA_CCB *p_ccb = NULL; local
294 mca_ccb_dealloc(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data) argument
333 mca_ccb_to_hdl(tMCA_CCB *p_ccb) argument
351 tMCA_CCB * p_ccb = NULL; local
367 mca_ccb_uses_mdl_id(tMCA_CCB *p_ccb, UINT16 mdl_id) argument
[all...]
H A Dmca_dsm.c173 tMCA_DCB *mca_dcb_alloc(tMCA_CCB*p_ccb, tMCA_DEP dep)
176 tMCA_RCB *p_rcb = p_ccb->p_rcb;
183 i = mca_ccb_to_hdl(p_ccb)-1;
191 p_dcb_tmp->p_ccb = p_ccb;
213 UINT8 mca_dep_free_mdl(tMCA_CCB *p_ccb, tMCA_DEP dep) argument
216 tMCA_RCB *p_rcb = p_ccb->p_rcb;
225 i = mca_ccb_to_hdl(p_ccb)-1;
258 tMCA_CCB *p_ccb = p_dcb->p_ccb; local
[all...]
H A Dmca_main.c122 tMCA_TC_TBL * mca_tc_tbl_calloc(tMCA_CCB *p_ccb) argument
142 p_tbl->cb_idx = mca_ccb_to_hdl(p_ccb);
146 p_tbl->lcid = p_ccb->lcid;
147 mca_cb.tc.lcid_tbl[p_ccb->lcid - L2CAP_BASE_APPL_CID] = i;
301 tMCA_CCB *p_ccb; local
325 p_ccb = mca_ccb_by_hdl((tMCA_CL)p_tbl->cb_idx);
326 mca_ccb_event(p_ccb, MCA_CCB_LL_CLOSE_EVT, (tMCA_CCB_EVT *)&close);
354 tMCA_CCB *p_ccb; local
374 p_ccb = mca_ccb_by_hdl((tMCA_CL)p_tbl->cb_idx);
376 mca_ccb_event(p_ccb, MCA_CCB_LL_OPEN_EV
409 tMCA_CCB *p_ccb; local
446 tMCA_CCB *p_ccb; local
549 tMCA_CCB *p_ccb; local
[all...]
/system/bt/stack/avdt/
H A Davdt_ccb.c298 void avdt_ccb_event(tAVDT_CCB *p_ccb, UINT8 event, tAVDT_CCB_EVT *p_data) argument
305 AVDT_TRACE_EVENT("CCB ccb=%d event=%s state=%s", avdt_ccb_to_idx(p_ccb), avdt_ccb_evt_str[event], avdt_ccb_st_str[p_ccb->state]);
309 state_table = avdt_ccb_st_tbl[p_ccb->state];
312 if (p_ccb->state != state_table[event][AVDT_CCB_NEXT_STATE]) {
313 p_ccb->state = state_table[event][AVDT_CCB_NEXT_STATE];
321 (*avdt_cb.p_ccb_act[action])(p_ccb, p_data);
343 tAVDT_CCB *p_ccb = &avdt_cb.ccb[0]; local
346 for (i = 0; i < AVDT_NUM_LINKS; i++, p_ccb++)
349 if (p_ccb
378 tAVDT_CCB *p_ccb = &avdt_cb.ccb[0]; local
414 avdt_ccb_dealloc(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
433 avdt_ccb_to_idx(tAVDT_CCB *p_ccb) argument
451 tAVDT_CCB *p_ccb; local
[all...]
H A Davdt_l2c.c76 tAVDT_CCB *p_ccb = NULL; local
88 p_ccb = avdt_ccb_by_bd(bd_addr);
90 p_tbl = avdt_ad_tc_tbl_by_st(AVDT_CHAN_SIG, p_ccb, AVDT_AD_ST_SEC_ACP);
101 avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = p_tbl->lcid;
134 tAVDT_CCB *p_ccb = NULL; local
141 p_ccb = avdt_ccb_by_bd(bd_addr);
142 p_tbl = avdt_ad_tc_tbl_by_st(AVDT_CHAN_SIG, p_ccb, AVDT_AD_ST_SEC_INT);
177 tAVDT_CCB *p_ccb; local
185 if ((p_ccb = avdt_ccb_by_bd(bd_addr)) == NULL)
188 if ((p_ccb
284 tAVDT_CCB *p_ccb; local
[all...]
H A Davdt_ad.c135 tAVDT_TC_TBL *avdt_ad_tc_tbl_by_st(UINT8 type, tAVDT_CCB *p_ccb, UINT8 state) argument
141 if (p_ccb == NULL)
156 ccb_idx = avdt_ccb_to_idx(p_ccb);
231 tAVDT_TC_TBL *avdt_ad_tc_tbl_by_type(UINT8 type, tAVDT_CCB *p_ccb, tAVDT_SCB *p_scb) argument
236 UINT8 ccb_idx = avdt_ccb_to_idx(p_ccb);
265 tAVDT_TC_TBL *avdt_ad_tc_tbl_alloc(tAVDT_CCB *p_ccb) argument
286 p_tbl->ccb_idx = avdt_ccb_to_idx(p_ccb);
325 tAVDT_CCB *p_ccb; local
341 p_ccb = avdt_ccb_by_idx(p_tbl->ccb_idx);
342 avdt_ccb_event(p_ccb, AVDT_CCB_LL_CLOSE_EV
372 tAVDT_CCB *p_ccb; local
429 tAVDT_CCB *p_ccb; local
465 tAVDT_CCB *p_ccb; local
509 avdt_ad_write_req(UINT8 type, tAVDT_CCB *p_ccb, tAVDT_SCB *p_scb, BT_HDR *p_buf) argument
537 avdt_ad_open_req(UINT8 type, tAVDT_CCB *p_ccb, tAVDT_SCB *p_scb, UINT8 role) argument
615 avdt_ad_close_req(UINT8 type, tAVDT_CCB *p_ccb, tAVDT_SCB *p_scb) argument
[all...]
H A Davdt_scb.c599 p_scb->p_ccb = NULL;
728 UINT8 avdt_scb_verify(tAVDT_CCB *p_ccb, UINT8 state, UINT8 *p_seid, UINT16 num_seid, UINT8 *p_err_code) argument
747 else if (p_scb->p_ccb != p_ccb)
H A Davdt_ccb_act.c48 static void avdt_ccb_clear_ccb(tAVDT_CCB *p_ccb) argument
53 p_ccb->cong = FALSE;
54 p_ccb->ret_count = 0;
57 if (p_ccb->p_curr_msg != NULL)
59 GKI_freebuf(p_ccb->p_curr_msg);
60 p_ccb->p_curr_msg = NULL;
64 if (p_ccb->p_rx_msg != NULL)
66 GKI_freebuf(p_ccb->p_rx_msg);
67 p_ccb->p_rx_msg = NULL;
71 while ((p_buf = (BT_HDR *) GKI_dequeue(&p_ccb
88 avdt_ccb_chan_open(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
107 avdt_ccb_chan_close(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
126 avdt_ccb_chk_close(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
161 avdt_ccb_hdl_discover_cmd(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
201 avdt_ccb_hdl_discover_rsp(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
224 avdt_ccb_hdl_getcap_cmd(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
248 avdt_ccb_hdl_getcap_rsp(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
271 avdt_ccb_hdl_start_cmd(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
303 avdt_ccb_hdl_start_rsp(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
341 avdt_ccb_hdl_suspend_cmd(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
377 avdt_ccb_hdl_suspend_rsp(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
414 avdt_ccb_snd_discover_cmd(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
440 avdt_ccb_snd_discover_rsp(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
459 avdt_ccb_snd_getcap_cmd(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
489 avdt_ccb_snd_getcap_rsp(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
513 avdt_ccb_snd_start_cmd(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
559 avdt_ccb_snd_start_rsp(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
591 avdt_ccb_snd_suspend_cmd(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
637 avdt_ccb_snd_suspend_rsp(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
669 avdt_ccb_clear_cmds(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
715 avdt_ccb_cmd_fail(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
761 avdt_ccb_free_cmd(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
783 avdt_ccb_cong_state(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
801 avdt_ccb_ret_cmd(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
846 avdt_ccb_snd_cmd(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
879 avdt_ccb_snd_msg(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
922 avdt_ccb_set_reconn(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
939 avdt_ccb_clr_reconn(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
958 avdt_ccb_chk_reconn(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
993 avdt_ccb_chk_timer(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
1013 avdt_ccb_set_conn(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
1033 avdt_ccb_set_disconn(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
1054 avdt_ccb_do_disconn(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
1075 avdt_ccb_ll_closed(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
1112 avdt_ccb_ll_opened(tAVDT_CCB *p_ccb, tAVDT_CCB_EVT *p_data) argument
[all...]
H A Davdt_api.c335 tAVDT_CCB *p_ccb; local
340 if ((p_ccb = avdt_ccb_by_bd(bd_addr)) == NULL)
342 if ((p_ccb = avdt_ccb_alloc(bd_addr)) == NULL)
352 if (p_ccb->proc_busy)
362 avdt_ccb_event(p_ccb, AVDT_CCB_API_DISCOVER_REQ_EVT, &evt);
380 tAVDT_CCB *p_ccb = NULL; local
390 else if ((p_ccb = avdt_ccb_by_bd(bd_addr)) == NULL)
392 if ((p_ccb = avdt_ccb_alloc(bd_addr)) == NULL)
402 if (p_ccb->proc_busy)
409 avdt_ccb_event(p_ccb, AVDT_CCB_API_GETCAP_REQ_EV
533 tAVDT_CCB *p_ccb = NULL; local
1030 tAVDT_CCB *p_ccb = NULL; local
1075 tAVDT_CCB *p_ccb = NULL; local
1106 tAVDT_CCB *p_ccb; local
1135 tAVDT_CCB *p_ccb; local
[all...]
/system/bt/stack/l2cap/
H A Dl2c_csm.c42 static void l2c_csm_closed (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
43 static void l2c_csm_orig_w4_sec_comp (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
44 static void l2c_csm_term_w4_sec_comp (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
45 static void l2c_csm_w4_l2cap_connect_rsp (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
46 static void l2c_csm_w4_l2ca_connect_rsp (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
47 static void l2c_csm_config (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
48 static void l2c_csm_open (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
49 static void l2c_csm_w4_l2cap_disconnect_rsp (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
50 static void l2c_csm_w4_l2ca_disconnect_rsp (tL2C_CCB *p_ccb, UINT16 event, void *p_data);
65 void l2c_csm_execute (tL2C_CCB *p_ccb, UINT1 argument
122 l2c_csm_closed(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
293 l2c_csm_orig_w4_sec_comp(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
389 l2c_csm_term_w4_sec_comp(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
505 l2c_csm_w4_l2cap_connect_rsp(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
610 l2c_csm_w4_l2ca_connect_rsp(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
696 l2c_csm_config(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
933 l2c_csm_open(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
1081 l2c_csm_w4_l2cap_disconnect_rsp(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
1141 l2c_csm_w4_l2ca_disconnect_rsp(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
1284 l2c_enqueue_peer_data(tL2C_CCB *p_ccb, BT_HDR *p_buf) argument
[all...]
H A Dl2c_main.c128 tL2C_CCB *p_ccb = NULL; local
199 if ((p_ccb = l2cu_find_ccb_by_cid (p_lcb, rcv_cid)) == NULL)
275 p_ccb = p_lcb->p_fixed_ccbs[rcv_cid - L2CAP_FIRST_FIXED_CHNL];
277 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_BASIC_MODE)
278 l2c_fcr_proc_pdu (p_ccb, p_msg);
292 if (p_ccb == NULL)
297 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_BASIC_MODE)
298 l2c_csm_execute (p_ccb, L2CEVT_L2CAP_DATA, p_msg);
302 if ((p_ccb->chnl_state == CST_OPEN) || (p_ccb
328 tL2C_CCB *p_ccb; local
963 tL2C_CCB *p_ccb; local
[all...]
H A Dl2c_ucd.c267 tL2C_CCB *p_ccb; local
297 p_ccb = l2cb.ccb_pool;
300 if (( p_ccb->in_use )
301 &&( p_ccb->local_cid == L2CAP_CONNECTIONLESS_CID ))
303 l2cu_release_ccb (p_ccb);
305 p_ccb++;
329 tL2C_CCB *p_ccb; local
347 ||((p_ccb = l2cu_find_ccb_by_cid (p_lcb, L2CAP_CONNECTIONLESS_CID)) == NULL))
366 if (!p_ccb)
368 p_ccb
395 tL2C_CCB *p_ccb; local
485 tL2C_CCB *p_ccb; local
518 tL2C_CCB *p_ccb; local
557 tL2C_CCB *p_ccb; local
659 l2c_ucd_check_pending_info_req(tL2C_CCB *p_ccb) argument
737 l2c_ucd_enqueue_pending_out_sec_q(tL2C_CCB *p_ccb, void *p_data) argument
752 l2c_ucd_check_pending_out_sec_q(tL2C_CCB *p_ccb) argument
783 l2c_ucd_send_pending_out_sec_q(tL2C_CCB *p_ccb) argument
806 l2c_ucd_discard_pending_out_sec_q(tL2C_CCB *p_ccb) argument
829 l2c_ucd_check_pending_in_sec_q(tL2C_CCB *p_ccb) argument
860 l2c_ucd_send_pending_in_sec_q(tL2C_CCB *p_ccb) argument
882 l2c_ucd_discard_pending_in_sec_q(tL2C_CCB *p_ccb) argument
906 tL2C_CCB *p_ccb; local
957 l2c_ucd_process_event(tL2C_CCB *p_ccb, UINT16 event, void *p_data) argument
[all...]
/system/bt/stack/sdp/
H A Dsdp_main.c176 tCONN_CB *p_ccb; local
179 if ((p_ccb = sdpu_allocate_ccb()) == NULL)
183 p_ccb->con_state = SDP_STATE_CFG_SETUP;
186 memcpy (&p_ccb->device_address[0], bd_addr, sizeof (BD_ADDR));
187 p_ccb->connection_id = l2cap_cid;
211 SDP_TRACE_EVENT ("SDP - Rcvd L2CAP conn ind, sent config req, CID 0x%x", p_ccb->connection_id);
232 tCONN_CB *p_ccb; local
236 if ((p_ccb = sdpu_find_ccb_by_cid (l2cap_cid)) == NULL)
244 if ((result == L2CAP_CONN_OK) && (p_ccb->con_state == SDP_STATE_CONN_SETUP))
246 p_ccb
310 tCONN_CB *p_ccb; local
404 tCONN_CB *p_ccb; local
462 tCONN_CB *p_ccb; local
505 tCONN_CB *p_ccb; local
545 tCONN_CB *p_ccb; local
669 tCONN_CB *p_ccb; local
[all...]
H A Dsdp_discovery.c48 static void process_service_search_rsp (tCONN_CB *p_ccb, UINT8 *p_reply);
49 static void process_service_attr_rsp (tCONN_CB *p_ccb, UINT8 *p_reply);
50 static void process_service_search_attr_rsp (tCONN_CB *p_ccb, UINT8 *p_reply);
51 static UINT8 *save_attr_seq (tCONN_CB *p_ccb, UINT8 *p, UINT8 *p_msg_end);
119 static void sdp_snd_service_search_req(tCONN_CB *p_ccb, UINT8 cont_len, UINT8 * p_cont) argument
128 sdp_disconnect (p_ccb, SDP_NO_RESOURCES);
137 UINT16_TO_BE_STREAM (p, p_ccb->transaction_id);
138 p_ccb->transaction_id++;
146 p = sdpu_build_uuid_seq (p, 1, &p_ccb->p_db->uuid_filters[p_ccb
195 sdp_disc_connected(tCONN_CB *p_ccb) argument
225 sdp_disc_server_rsp(tCONN_CB *p_ccb, BT_HDR *p_msg) argument
288 process_service_search_rsp(tCONN_CB *p_ccb, UINT8 *p_reply) argument
349 sdp_copy_raw_data(tCONN_CB *p_ccb, BOOLEAN offset) argument
402 process_service_attr_rsp(tCONN_CB *p_ccb, UINT8 *p_reply) argument
560 process_service_search_attr_rsp(tCONN_CB *p_ccb, UINT8 *p_reply) argument
750 save_attr_seq(tCONN_CB *p_ccb, UINT8 *p, UINT8 *p_msg_end) argument
[all...]
H A Dsdp_server.c53 static void process_service_search (tCONN_CB *p_ccb, UINT16 trans_num,
57 static void process_service_attr_req (tCONN_CB *p_ccb, UINT16 trans_num,
61 static void process_service_search_attr_req (tCONN_CB *p_ccb, UINT16 trans_num,
115 void sdp_server_handle_client_req (tCONN_CB *p_ccb, BT_HDR *p_msg) argument
124 btu_start_timer (&p_ccb->timer_entry, BTU_TTYPE_SDP, SDP_INACT_TIMEOUT);
135 sdpu_build_n_send_error (p_ccb, trans_num, SDP_INVALID_PDU_SIZE, SDP_TEXT_BAD_HEADER);
142 process_service_search (p_ccb, trans_num, param_len, p_req, p_req_end);
146 process_service_attr_req (p_ccb, trans_num, param_len, p_req, p_req_end);
150 process_service_search_attr_req (p_ccb, trans_num, param_len, p_req, p_req_end);
154 sdpu_build_n_send_error (p_ccb, trans_nu
173 process_service_search(tCONN_CB *p_ccb, UINT16 trans_num, UINT16 param_len, UINT8 *p_req, UINT8 *p_req_end) argument
317 process_service_attr_req(tCONN_CB *p_ccb, UINT16 trans_num, UINT16 param_len, UINT8 *p_req, UINT8 *p_req_end) argument
583 process_service_search_attr_req(tCONN_CB *p_ccb, UINT16 trans_num, UINT16 param_len, UINT8 *p_req, UINT8 *p_req_end) argument
[all...]

Completed in 1726 milliseconds

12