Searched defs:p_bcb (Results 1 - 6 of 6) sorted by relevance

/external/bluetooth/bluedroid/stack/avct/
H A Davct_api.c239 tAVCT_BCB *p_bcb; local
276 p_bcb = &avct_cb.bcb[index - 1];
277 p_bcb->allocated = index;
284 p_ccb->p_bcb = p_bcb;
285 AVCT_TRACE_DEBUG1("ch_state: %d", p_bcb->ch_state);
286 avct_bcb_event(p_bcb, AVCT_LCB_UL_BIND_EVT, (tAVCT_LCB_EVT *) &p_ccb);
322 else if (p_ccb->p_bcb != NULL)
325 avct_bcb_event(p_ccb->p_bcb, AVCT_LCB_UL_UNBIND_EVT, (tAVCT_LCB_EVT *) &p_ccb);
349 if ((p_ccb = avct_ccb_by_idx(handle)) != NULL && p_ccb->p_bcb !
[all...]
H A Davct_int.h107 tAVCT_BCB *p_bcb; /* associated BCB */ member in struct:__anon1072
147 extern void avct_bcb_event(tAVCT_BCB *p_bcb, UINT8 event, tAVCT_LCB_EVT *p_data);
149 extern tAVCT_LCB *avct_lcb_by_bcb(tAVCT_BCB *p_bcb);
151 extern BOOLEAN avct_bcb_last_ccb(tAVCT_BCB *p_bcb, tAVCT_CCB *p_ccb_last);
180 typedef void (*tAVCT_BCB_ACTION)(tAVCT_BCB *p_bcb, tAVCT_LCB_EVT *p_data);
181 extern void avct_bcb_chnl_open(tAVCT_BCB *p_bcb, tAVCT_LCB_EVT *p_data);
182 extern void avct_bcb_unbind_disc(tAVCT_BCB *p_bcb, tAVCT_LCB_EVT *p_data);
183 extern void avct_bcb_open_ind(tAVCT_BCB *p_bcb, tAVCT_LCB_EVT *p_data);
184 extern void avct_bcb_open_fail(tAVCT_BCB *p_bcb, tAVCT_LCB_EVT *p_data);
185 extern void avct_bcb_close_ind(tAVCT_BCB *p_bcb, tAVCT_LCB_EV
[all...]
H A Davct_lcb.c236 void avct_bcb_event(tAVCT_BCB *p_bcb, UINT8 event, tAVCT_LCB_EVT *p_data) argument
243 AVCT_TRACE_EVENT3("BCB lcb=%d event=%s state=%s", p_bcb->allocated, avct_lcb_evt_str[event], avct_lcb_st_str[p_bcb->state]);
245 AVCT_TRACE_EVENT3("BCB lcb=%d event=%d state=%d", p_bcb->allocated, event, p_bcb->state);
249 state_table = avct_lcb_st_tbl[p_bcb->state];
252 p_bcb->state = state_table[event][AVCT_LCB_NEXT_STATE];
259 (*avct_bcb_action[action])(p_bcb, p_data);
/external/bluetooth/bluedroid/stack/bnep/
H A Dbnep_api.c141 tBNEP_CONN *p_bcb = bnepu_find_bcb_by_bd_addr (p_rem_bda); local
159 if (!p_bcb)
161 if ((p_bcb = bnepu_allocate_bcb (p_rem_bda)) == NULL)
164 else if (p_bcb->con_state != BNEP_STATE_CONNECTED)
169 memcpy ((UINT8 *)&(p_bcb->prv_src_uuid), (UINT8 *)&(p_bcb->src_uuid), sizeof (tBT_UUID));
170 memcpy ((UINT8 *)&(p_bcb->prv_dst_uuid), (UINT8 *)&(p_bcb->dst_uuid), sizeof (tBT_UUID));
174 p_bcb->con_flags |= BNEP_FLAGS_IS_ORIG;
176 memcpy ((UINT8 *)&(p_bcb
242 tBNEP_CONN *p_bcb; local
320 tBNEP_CONN *p_bcb; local
368 tBNEP_CONN *p_bcb; local
482 tBNEP_CONN *p_bcb; local
591 tBNEP_CONN *p_bcb; local
654 tBNEP_CONN *p_bcb; local
746 tBNEP_CONN *p_bcb; local
[all...]
H A Dbnep_main.c122 tBNEP_CONN *p_bcb = bnepu_find_bcb_by_bd_addr (bd_addr); local
126 if (!(bnep_cb.profile_registered) || (p_bcb)
127 || ((p_bcb = bnepu_allocate_bcb(bd_addr)) == NULL))
134 p_bcb->con_state = BNEP_STATE_CFG_SETUP;
137 p_bcb->l2cap_cid = l2cap_cid;
146 btu_start_timer (&p_bcb->conn_tle, BTU_TTYPE_BNEP, BNEP_CONN_TIMEOUT);
148 BNEP_TRACE_EVENT1("BNEP - Rcvd L2CAP conn ind, CID: 0x%x", p_bcb->l2cap_cid);
216 tBNEP_CONN *p_bcb; local
220 if ((p_bcb = bnepu_find_bcb_by_cid (l2cap_cid)) == NULL)
240 p_bcb
290 tBNEP_CONN *p_bcb; local
349 tBNEP_CONN *p_bcb; local
407 tBNEP_CONN *p_bcb; local
465 tBNEP_CONN *p_bcb; local
674 tBNEP_CONN *p_bcb; local
790 bnep_connected(tBNEP_CONN *p_bcb) argument
[all...]
H A Dbnep_utils.c39 void bnepu_process_peer_multicast_filter_set (tBNEP_CONN *p_bcb, UINT8 *p_filters, UINT16 len);
40 void bnepu_send_peer_multicast_filter_rsp (tBNEP_CONN *p_bcb, UINT16 response_code);
56 tBNEP_CONN *p_bcb; local
59 for (xx = 0, p_bcb = bnep_cb.bcb; xx < BNEP_MAX_CONNECTIONS; xx++, p_bcb++)
61 if ((p_bcb->con_state != BNEP_STATE_IDLE) && (p_bcb->l2cap_cid == cid))
62 return (p_bcb);
83 tBNEP_CONN *p_bcb; local
86 for (xx = 0, p_bcb
112 tBNEP_CONN *p_bcb; local
144 bnepu_release_bcb(tBNEP_CONN *p_bcb) argument
170 bnep_send_conn_req(tBNEP_CONN *p_bcb) argument
228 bnep_send_conn_responce(tBNEP_CONN *p_bcb, UINT16 resp_code) argument
267 bnepu_send_peer_our_filters(tBNEP_CONN *p_bcb) argument
319 bnepu_send_peer_our_multi_filters(tBNEP_CONN *p_bcb) argument
373 bnepu_send_peer_filter_rsp(tBNEP_CONN *p_bcb, UINT16 response_code) argument
411 bnep_send_command_not_understood(tBNEP_CONN *p_bcb, UINT8 cmd_code) argument
452 bnepu_check_send_packet(tBNEP_CONN *p_bcb, BT_HDR *p_buf) argument
486 bnepu_build_bnep_hdr(tBNEP_CONN *p_bcb, BT_HDR *p_buf, UINT16 protocol, UINT8 *p_src_addr, UINT8 *p_dest_addr, BOOLEAN fw_ext_present) argument
584 bnep_process_setup_conn_req(tBNEP_CONN *p_bcb, UINT8 *p_setup, UINT8 len) argument
686 bnep_process_setup_conn_responce(tBNEP_CONN *p_bcb, UINT8 *p_setup) argument
783 bnep_process_control_packet(tBNEP_CONN *p_bcb, UINT8 *p, UINT16 *rem_len, BOOLEAN is_ext) argument
900 bnepu_process_peer_filter_set(tBNEP_CONN *p_bcb, UINT8 *p_filters, UINT16 len) argument
982 bnepu_process_peer_filter_rsp(tBNEP_CONN *p_bcb, UINT8 *p_data) argument
1034 bnepu_process_multicast_filter_rsp(tBNEP_CONN *p_bcb, UINT8 *p_data) argument
1087 bnepu_process_peer_multicast_filter_set(tBNEP_CONN *p_bcb, UINT8 *p_filters, UINT16 len) argument
1171 bnepu_send_peer_multicast_filter_rsp(tBNEP_CONN *p_bcb, UINT16 response_code) argument
1213 tBNEP_CONN *p_bcb = (tBNEP_CONN *)p_ref_data; local
1312 bnep_is_packet_allowed(tBNEP_CONN *p_bcb, BD_ADDR p_dest_addr, UINT16 protocol, BOOLEAN fw_ext_present, UINT8 *p_data) argument
1441 tBNEP_CONN *p_bcb; local
[all...]

Completed in 492 milliseconds