HomeSort by relevance Sort by last modified time
    Searched refs:p_dcb (Results 1 - 13 of 13) sorted by null

  /external/bluetooth/bluedroid/stack/mcap/
mca_dact.c 40 void mca_dcb_report_cong (tMCA_DCB *p_dcb)
44 evt_data.cong_chg.cong = p_dcb->cong;
45 evt_data.cong_chg.mdl = mca_dcb_to_hdl(p_dcb);
46 evt_data.cong_chg.mdl_id = p_dcb->mdl_id;
47 mca_ccb_report_event (p_dcb->p_ccb, MCA_CONG_CHG_EVT, &evt_data);
61 void mca_dcb_tc_open (tMCA_DCB *p_dcb, tMCA_DCB_EVT *p_data)
64 tMCA_CCB *p_ccb = p_dcb->p_ccb;
69 p_dcb->cong = FALSE;
71 evt_data.open_cfm.mdl_id = p_dcb->mdl_id;
72 evt_data.open_cfm.mdl = mca_dcb_to_hdl(p_dcb);
    [all...]
mca_dsm.c 137 void mca_dcb_event(tMCA_DCB *p_dcb, UINT8 event, tMCA_DCB_EVT *p_data)
142 if (p_dcb == NULL)
145 MCA_TRACE_EVENT("DCB dcb=%d event=%s state=%s", mca_dcb_to_hdl(p_dcb), mca_dcb_evt_str[event], mca_dcb_st_str[p_dcb->state]);
147 MCA_TRACE_EVENT("DCB dcb=%d event=%d state=%d", mca_dcb_to_hdl(p_dcb), event, p_dcb->state);
151 state_table = mca_dcb_st_tbl[p_dcb->state - 1];
154 p_dcb->state = state_table[event][MCA_DCB_NEXT_STATE];
159 (*mca_dcb_action[action])(p_dcb, p_data);
175 tMCA_DCB *p_dcb = NULL, *p_dcb_tmp local
215 tMCA_DCB *p_dcb; local
307 tMCA_DCB * p_dcb = NULL; local
325 tMCA_DCB *p_dcb; local
    [all...]
mca_api.c 291 tMCA_DCB *p_dcb; local
305 p_dcb = &mca_cb.dcb[i*max];
307 for (i=0; i<max; i++, p_dcb++)
309 if (p_dcb->state && p_dcb->p_cs == p_depcs)
311 mca_dcb_event(p_dcb, MCA_DCB_API_CLOSE_EVT, NULL);
430 tMCA_DCB *p_dcb; local
453 p_dcb = mca_dcb_alloc(p_ccb, dep);
455 if (p_dcb)
458 p_dcb->p_chnl_cfg = p_chnl_cfg
508 tMCA_DCB *p_dcb; local
572 tMCA_DCB *p_dcb = mca_dcb_by_hdl(mdl); local
605 tMCA_DCB *p_dcb; local
674 tMCA_DCB *p_dcb; local
738 tMCA_DCB *p_dcb; local
786 tMCA_DCB *p_dcb; local
886 tMCA_DCB *p_dcb = mca_dcb_by_hdl(mdl); local
918 tMCA_DCB *p_dcb = mca_dcb_by_hdl(mdl); local
    [all...]
mca_main.c 163 tMCA_TC_TBL * mca_tc_tbl_dalloc(tMCA_DCB *p_dcb)
183 p_tbl->cb_idx = mca_dcb_to_hdl(p_dcb);
184 p_tbl->tcid = p_dcb->p_cs->type + 1;
185 p_tbl->my_mtu = p_dcb->p_chnl_cfg->data_mtu;
187 p_tbl->lcid = p_dcb->lcid;
188 mca_cb.tc.lcid_tbl[p_dcb->lcid - L2CAP_BASE_APPL_CID] = i;
257 tMCA_DCB *p_dcb; local
267 p_dcb = mca_dcb_by_hdl(p_tbl->cb_idx);
268 p_opt = &p_dcb->p_chnl_cfg->fcr_opt;
269 fcs = p_dcb->p_chnl_cfg->fcs
299 tMCA_DCB *p_dcb; local
352 tMCA_DCB *p_dcb; local
407 tMCA_DCB *p_dcb; local
443 tMCA_DCB *p_dcb; local
    [all...]
mca_cact.c 102 tMCA_DCB *p_dcb; local
108 p_dcb = mca_dcb_by_hdl(p_ccb->p_tx_req->dcb_idx);
111 p_msg->mdl_id = p_dcb->mdl_id;
112 mca_dcb_event(p_dcb, MCA_DCB_API_CLOSE_EVT, NULL);
168 tMCA_DCB *p_dcb; local
190 p_dcb = mca_dcb_by_hdl(p_msg->dcb_idx);
265 tMCA_DCB *p_dcb; local
291 if (p_ccb->p_tx_req && ((p_dcb = mca_dcb_by_hdl(p_ccb->p_tx_req->dcb_idx))!= NULL))
293 mca_dcb_dealloc (p_dcb, NULL);
318 ((p_dcb = mca_dcb_by_hdl(p_ccb->p_tx_req->dcb_idx)) != NULL)
467 tMCA_DCB *p_dcb; local
    [all...]
mca_int.h 286 extern void mca_dcb_event(tMCA_DCB *p_dcb, UINT8 event, tMCA_DCB_EVT *p_data);
289 extern void mca_dcb_dealloc(tMCA_DCB *p_dcb, tMCA_DCB_EVT *p_data);
290 extern tMCA_DL mca_dcb_to_hdl(tMCA_DCB *p_dcb);
295 extern void mca_dcb_tc_open (tMCA_DCB *p_dcb, tMCA_DCB_EVT *p_data);
296 extern void mca_dcb_cong (tMCA_DCB *p_dcb, tMCA_DCB_EVT *p_data);
297 extern void mca_dcb_free_data (tMCA_DCB *p_dcb, tMCA_DCB_EVT *p_data);
298 extern void mca_dcb_do_disconn (tMCA_DCB *p_dcb, tMCA_DCB_EVT *p_data);
299 extern void mca_dcb_snd_data (tMCA_DCB *p_dcb, tMCA_DCB_EVT *p_data);
300 extern void mca_dcb_hdl_data (tMCA_DCB *p_dcb, tMCA_DCB_EVT *p_data);
307 extern tMCA_TC_TBL * mca_tc_tbl_dalloc(tMCA_DCB *p_dcb);
    [all...]
mca_csm.c 370 tMCA_DCB *p_dcb; local
374 p_dcb = &mca_cb.dcb[i*MCA_NUM_MDLS];
375 for (i=0; i<MCA_NUM_MDLS; i++, p_dcb++)
377 if (p_dcb->state != MCA_DCB_NULL_ST && p_dcb->mdl_id == mdl_id)
mca_l2c.c 233 tMCA_DCB *p_dcb; local
244 (p_ccb->p_tx_req && (p_dcb = mca_dcb_by_hdl(p_ccb->p_tx_req->dcb_idx)) != NULL))
248 p_dcb->lcid = lcid;
249 p_tbl = mca_tc_tbl_dalloc(p_dcb);
252 p_chnl_cfg = p_dcb->p_chnl_cfg;
  /external/bluetooth/bluedroid/bta/hl/
bta_hl_act.c 89 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
99 p_dcb->cong = p_cong_chg->cong;
100 evt_data.dch_cong_ind.mdl_handle = p_dcb->mdl_handle;
123 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
130 p_dcb->echo_oper = BTA_HL_ECHO_OP_CI_GET_ECHO_DATA;
131 p_dcb->cout_oper |= BTA_HL_CO_GET_ECHO_DATA_MASK;
134 p_dcb->p_echo_tx_pkt->len,
135 BTA_HL_GET_BUF_PTR(p_dcb->p_echo_tx_pkt),
152 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
160 if (p_dcb->dch_oper == BTA_HL_DCH_OP_LOCAL_OPEN
197 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
238 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
302 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
331 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
375 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
416 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
493 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
547 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
738 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
781 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
830 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
881 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
988 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
1107 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
1132 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
1177 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
1237 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
1311 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
1360 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
1399 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
1445 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
1550 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
1614 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
1696 tBTA_HL_MDL_CB *p_dcb; local
2435 tBTA_HL_MDL_CB *p_dcb; local
    [all...]
bta_hl_utils.c 276 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
281 utl_freebuf((void **) &p_dcb->p_tx_pkt);
282 utl_freebuf((void **) &p_dcb->p_rx_pkt);
283 utl_freebuf((void **) &p_dcb->p_echo_tx_pkt);
284 utl_freebuf((void **) &p_dcb->p_echo_rx_pkt);
286 memset((void *)p_dcb, 0 , sizeof(tBTA_HL_MDL_CB));
376 tBTA_HL_MDL_CB *p_dcb; local
384 p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx);
385 if (p_dcb->local_mdep_id != BTA_HL_ECHO_TEST_MDEP_ID)
387 if (p_dcb->peer_mdep_role == BTA_HL_MDEP_ROLE_SINK
468 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
1215 tBTA_HL_MDL_CB *p_dcb; local
1307 tBTA_HL_MDL_CB *p_dcb; local
1880 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
2525 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
2595 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
2758 tBTA_HL_MDL_CB *p_dcb = BTA_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
2812 tBTA_HL_MDL_CB *p_dcb; local
2843 tBTA_HL_MDL_CB *p_dcb; local
    [all...]
bta_hl_main.c 967 tBTA_HL_MDL_CB *p_dcb; local
1121 tBTA_HL_MDL_CB *p_dcb; local
1190 tBTA_HL_MDL_CB *p_dcb; local
1331 tBTA_HL_MDL_CB *p_dcb; local
1814 tBTA_HL_MDL_CB *p_dcb; local
1877 tBTA_HL_MDL_CB *p_dcb; local
    [all...]
  /external/bluetooth/bluedroid/btif/co/
bta_hl_co.c 326 btif_hl_mdl_cb_t *p_dcb; local
334 p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx);
336 if (p_dcb->tx_size <= buf_size )
338 memcpy(p_buf, p_dcb->p_tx_pkt, p_dcb->tx_size);
339 btif_hl_free_buf((void **) &p_dcb->p_tx_pkt);
340 p_dcb->tx_size = 0;
371 btif_hl_mdl_cb_t *p_dcb; local
379 p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx);
381 if ((p_dcb->p_rx_pkt = (UINT8 *)btif_hl_get_buf(data_size)) != NULL
    [all...]
  /external/bluetooth/bluedroid/btif/src/
btif_hl.c 512 static void btif_hl_clean_mdl_cb(btif_hl_mdl_cb_t *p_dcb)
515 btif_hl_free_buf((void **) &p_dcb->p_rx_pkt);
516 btif_hl_free_buf((void **) &p_dcb->p_tx_pkt);
517 memset(p_dcb, 0 , sizeof(btif_hl_mdl_cb_t));
1047 btif_hl_mdl_cb_t *p_dcb; local
1129 btif_hl_mdl_cb_t *p_dcb; local
1919 btif_hl_mdl_cb_t *p_dcb; local
2230 btif_hl_mdl_cb_t *p_dcb = BTIF_HL_GET_MDL_CB_PTR( app_idx, mcl_idx, mdl_idx); local
2770 btif_hl_mdl_cb_t *p_dcb; local
2850 btif_hl_mdl_cb_t *p_dcb; local
2927 btif_hl_mdl_cb_t *p_dcb; local
3005 btif_hl_mdl_cb_t *p_dcb; local
3078 btif_hl_mdl_cb_t *p_dcb; local
3109 btif_hl_mdl_cb_t *p_dcb; local
3209 btif_hl_mdl_cb_t *p_dcb; local
3235 btif_hl_mdl_cb_t *p_dcb; local
4082 btif_hl_mdl_cb_t *p_dcb; local
4580 btif_hl_mdl_cb_t *p_dcb; local
4608 btif_hl_mdl_cb_t *p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
4632 btif_hl_mdl_cb_t *p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); local
4678 btif_hl_mdl_cb_t *p_dcb = NULL; local
4735 btif_hl_mdl_cb_t *p_dcb = NULL ; local
4839 btif_hl_mdl_cb_t *p_dcb = NULL; local
    [all...]

Completed in 807 milliseconds