Searched refs:p_tbl (Results 1 - 11 of 11) sorted by relevance

/external/bluetooth/bluedroid/stack/avdt/
H A Davdt_ad.c110 tAVDT_TC_TBL *p_tbl = avdt_cb.ad.tc_tbl; local
114 for (i = 0; i < AVDT_NUM_TC_TBL; i++, p_tbl++)
116 p_tbl->peer_mtu = L2CAP_DEFAULT_MTU;
137 tAVDT_TC_TBL *p_tbl = avdt_cb.ad.tc_tbl; local
143 for (i = 0; i < AVDT_NUM_TC_TBL; i++, p_tbl++)
146 if ((p_tbl->tcid == 0) &&
147 (p_tbl->state == state))
157 for (i = 0; i < AVDT_NUM_TC_TBL; i++, p_tbl++)
162 if ((p_tbl->tcid == 0) &&
163 (p_tbl
234 tAVDT_TC_TBL *p_tbl = avdt_cb.ad.tc_tbl; local
267 tAVDT_TC_TBL *p_tbl = avdt_cb.ad.tc_tbl; local
300 avdt_ad_tc_tbl_to_idx(tAVDT_TC_TBL *p_tbl) argument
321 avdt_ad_tc_close_ind(tAVDT_TC_TBL *p_tbl, UINT16 reason) argument
368 avdt_ad_tc_open_ind(tAVDT_TC_TBL *p_tbl) argument
425 avdt_ad_tc_cong_ind(tAVDT_TC_TBL *p_tbl, BOOLEAN is_congested) argument
461 avdt_ad_tc_data_ind(tAVDT_TC_TBL *p_tbl, BT_HDR *p_buf) argument
537 tAVDT_TC_TBL *p_tbl; local
611 tAVDT_TC_TBL *p_tbl; local
[all...]
H A Davdt_l2c.c78 tAVDT_TC_TBL *p_tbl; local
90 p_tbl = avdt_ad_tc_tbl_by_st(AVDT_CHAN_SIG, p_ccb, AVDT_AD_ST_SEC_ACP);
91 if (p_tbl == NULL)
97 L2CA_ConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_OK, L2CAP_CONN_OK);
100 avdt_cb.ad.lcid_tbl[p_tbl->lcid - L2CAP_BASE_APPL_CID] = avdt_ad_tc_tbl_to_idx(p_tbl);
101 avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = p_tbl->lcid;
104 p_tbl
136 tAVDT_TC_TBL *p_tbl; local
178 tAVDT_TC_TBL *p_tbl = NULL; local
282 tAVDT_TC_TBL *p_tbl; local
354 tAVDT_TC_TBL *p_tbl; local
396 tAVDT_TC_TBL *p_tbl; local
444 tAVDT_TC_TBL *p_tbl; local
473 tAVDT_TC_TBL *p_tbl; local
496 tAVDT_TC_TBL *p_tbl; local
517 tAVDT_TC_TBL *p_tbl; local
[all...]
H A Davdt_int.h692 extern UINT8 avdt_ad_tc_tbl_to_idx(tAVDT_TC_TBL *p_tbl);
693 extern void avdt_ad_tc_close_ind(tAVDT_TC_TBL *p_tbl, UINT16 reason);
694 extern void avdt_ad_tc_open_ind(tAVDT_TC_TBL *p_tbl);
695 extern void avdt_ad_tc_cong_ind(tAVDT_TC_TBL *p_tbl, BOOLEAN is_congested);
696 extern void avdt_ad_tc_data_ind(tAVDT_TC_TBL *p_tbl, BT_HDR *p_buf);
H A Davdt_msg.c1201 tAVDT_TC_TBL *p_tbl; local
1210 p_tbl = avdt_ad_tc_tbl_by_type(AVDT_CHAN_SIG, p_ccb, NULL);
1230 (p_ccb->p_curr_msg->len <= p_tbl->peer_mtu - AVDT_LEN_TYPE_SINGLE))
1238 (p_ccb->p_curr_msg->len > p_tbl->peer_mtu - AVDT_LEN_TYPE_SINGLE))
1242 nosp = (p_ccb->p_curr_msg->len + AVDT_LEN_TYPE_START - p_tbl->peer_mtu) /
1243 (p_tbl->peer_mtu - 1) + 2;
1255 p_buf->len = p_tbl->peer_mtu - hdr_len;
1261 (p_ccb->p_curr_msg->len > (p_tbl->peer_mtu - AVDT_LEN_TYPE_CONT)))
1276 p_buf->len = p_tbl->peer_mtu - hdr_len;
H A Davdt_api.c1352 tAVDT_TC_TBL *p_tbl; local
1372 p_tbl = avdt_ad_tc_tbl_by_type(AVDT_CHAN_REPORT, p_scb->p_ccb, p_scb);
1373 if((p_tbl->state == AVDT_AD_ST_OPEN) &&
1374 (p_pkt = (BT_HDR *)GKI_getbuf(p_tbl->peer_mtu)) != NULL)
H A Davdt_scb_act.c2086 tAVDT_TC_TBL *p_tbl; local
2119 p_tbl = avdt_ad_tc_tbl_by_type(AVDT_CHAN_MEDIA, p_scb->p_ccb, p_scb);
2120 buf_size = p_tbl->peer_mtu + BT_HDR_SIZE;
2122 p_tbl->peer_mtu, buf_size, num_frag);
/external/bluetooth/bluedroid/stack/mcap/
H A Dmca_l2c.c75 tMCA_TC_TBL *p_tbl = (tMCA_TC_TBL *)p_ref_data; local
85 MCA_TRACE_DEBUG ("lcid:x%x id:x%x", p_tbl->lcid, p_tbl->id);
94 L2CA_ErtmConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_OK, L2CAP_CONN_OK, &ertm_info);
97 p_tbl->state = MCA_TC_ST_CFG;
100 mca_set_cfg_by_tbl (&cfg, p_tbl);
101 L2CA_ConfigReq(p_tbl->lcid, &cfg);
105 L2CA_ConnectRsp (bd_addr, p_tbl->id, p_tbl
122 tMCA_TC_TBL *p_tbl = (tMCA_TC_TBL *)p_ref_data; local
157 tMCA_TC_TBL *p_tbl = NULL; local
234 tMCA_TC_TBL *p_tbl = NULL; local
298 tMCA_TC_TBL *p_tbl; local
368 tMCA_TC_TBL *p_tbl; local
410 tMCA_TC_TBL *p_tbl; local
463 tMCA_TC_TBL *p_tbl; local
496 tMCA_TC_TBL *p_tbl; local
521 tMCA_TC_TBL *p_tbl; local
542 tMCA_TC_TBL *p_tbl; local
[all...]
H A Dmca_main.c124 tMCA_TC_TBL *p_tbl = mca_cb.tc.tc_tbl; local
128 for (i = 0; i < MCA_NUM_TC_TBL; i++, p_tbl++)
130 if (p_tbl->state == MCA_TC_ST_UNUSED)
140 p_tbl->peer_mtu = L2CAP_DEFAULT_MTU;
141 p_tbl->cfg_flags= 0;
142 p_tbl->cb_idx = mca_ccb_to_hdl(p_ccb);
143 p_tbl->tcid = MCA_CTRL_TCID;
144 p_tbl->my_mtu = MCA_CTRL_MTU;
145 p_tbl->state = MCA_TC_ST_IDLE;
146 p_tbl
165 tMCA_TC_TBL *p_tbl = mca_cb.tc.tc_tbl; local
255 mca_set_cfg_by_tbl(tL2CAP_CFG_INFO *p_cfg, tMCA_TC_TBL *p_tbl) argument
296 mca_tc_close_ind(tMCA_TC_TBL *p_tbl, UINT16 reason) argument
349 mca_tc_open_ind(tMCA_TC_TBL *p_tbl) argument
404 mca_tc_cong_ind(tMCA_TC_TBL *p_tbl, BOOLEAN is_congested) argument
440 mca_tc_data_ind(tMCA_TC_TBL *p_tbl, BT_HDR *p_buf) argument
[all...]
H A Dmca_int.h310 extern void mca_set_cfg_by_tbl(tL2CAP_CFG_INFO *p_cfg, tMCA_TC_TBL *p_tbl);
311 extern void mca_tc_close_ind(tMCA_TC_TBL *p_tbl, UINT16 reason);
312 extern void mca_tc_open_ind(tMCA_TC_TBL *p_tbl);
313 extern void mca_tc_cong_ind(tMCA_TC_TBL *p_tbl, BOOLEAN is_congested);
314 extern void mca_tc_data_ind(tMCA_TC_TBL *p_tbl, BT_HDR *p_buf);
H A Dmca_api.c340 tMCA_TC_TBL *p_tbl; local
362 p_tbl = mca_tc_tbl_calloc(p_ccb);
363 if (p_tbl)
365 p_tbl->state = MCA_TC_ST_CONN;
739 tMCA_TC_TBL *p_tbl; local
759 p_tbl = mca_tc_tbl_dalloc(p_dcb);
760 if (p_tbl)
762 p_tbl->state = MCA_TC_ST_CONN;
H A Dmca_cact.c469 tMCA_TC_TBL *p_tbl; local
515 p_tbl = mca_tc_tbl_dalloc(p_dcb);
516 if (p_tbl)
518 p_tbl->state = MCA_TC_ST_CONN;

Completed in 105 milliseconds