Searched refs:pcb (Results 1 – 7 of 7) sorted by relevance
/system/bt/stack/pan/ |
D | pan_main.c | 100 tPAN_CONN *pcb; in pan_conn_ind_cb() local 236 pcb = pan_get_pcb_by_handle (handle); in pan_conn_ind_cb() 237 if (pcb) in pan_conn_ind_cb() 250 if (pcb->con_state == PAN_STATE_CONNECTED) in pan_conn_ind_cb() 255 pcb->prv_src_uuid = pcb->src_uuid; in pan_conn_ind_cb() 256 pcb->prv_dst_uuid = pcb->dst_uuid; in pan_conn_ind_cb() 258 if (pcb->src_uuid == UUID_SERVCLASS_NAP && in pan_conn_ind_cb() 263 (*pan_cb.pan_bridge_req_cb) (pcb->rem_bda, FALSE); in pan_conn_ind_cb() 268 pcb->src_uuid = local_uuid->uu.uuid16; in pan_conn_ind_cb() 269 pcb->dst_uuid = remote_uuid->uu.uuid16; in pan_conn_ind_cb() [all …]
|
D | pan_api.c | 299 tPAN_CONN *pcb; in PAN_Connect() local 326 pcb = pan_get_pcb_by_addr (rem_bda); in PAN_Connect() 331 if ((pan_cb.num_conns > 1) || (pan_cb.num_conns && (!pcb))) in PAN_Connect() 360 if (pan_cb.num_conns && pan_cb.active_role == PAN_ROLE_CLIENT && !pcb) in PAN_Connect() 386 if (!pcb) in PAN_Connect() 387 pcb = pan_allocate_pcb (rem_bda, BNEP_INVALID_HANDLE); in PAN_Connect() 388 if (!pcb) in PAN_Connect() 397 if (pcb->con_state == PAN_STATE_IDLE) in PAN_Connect() 401 else if (pcb->con_state == PAN_STATE_CONNECTED) in PAN_Connect() 403 pcb->con_flags |= PAN_FLAGS_CONN_COMPLETED; in PAN_Connect() [all …]
|
D | pan_utils.c | 188 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_allocate_pcb() 189 pan_cb.pcb[i].handle == handle) in pan_allocate_pcb() 195 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_allocate_pcb() 196 memcmp (pan_cb.pcb[i].rem_bda, p_bda, BD_ADDR_LEN) == 0) in pan_allocate_pcb() 202 if (pan_cb.pcb[i].con_state == PAN_STATE_IDLE) in pan_allocate_pcb() 204 memset (&(pan_cb.pcb[i]), 0, sizeof (tPAN_CONN)); in pan_allocate_pcb() 205 memcpy (pan_cb.pcb[i].rem_bda, p_bda, BD_ADDR_LEN); in pan_allocate_pcb() 206 pan_cb.pcb[i].handle = handle; in pan_allocate_pcb() 207 return &(pan_cb.pcb[i]); in pan_allocate_pcb() 229 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_get_pcb_by_handle() [all …]
|
D | pan_int.h | 75 tPAN_CONN pcb[MAX_PAN_CONNS]; member
|
/system/bt/btif/include/ |
D | btif_hl.h | 209 btif_hl_pending_chan_cb_t pcb; member 306 #define BTIF_HL_GET_PCB_PTR(app_idx, mcl_idx) &(btif_hl_cb.acb[app_idx].mcb[mcl_idx].pcb)
|
/system/bt/btif/src/ |
D | btif_hl.c | 217 p_mcb->is_connected && p_mcb->pcb.channel_id == channel_id ) in btif_hl_if_channel_setup_pending() 899 p_mcb->pcb.abort_pending = TRUE; in btif_hl_dch_abort() 3436 pending_op = p_mcb->pcb.op; in btif_hl_upstreams_evt() 3487 pending_op = p_mcb->pcb.op; in btif_hl_upstreams_evt() 3530 pending_op = p_mcb->pcb.op; in btif_hl_upstreams_evt() 3635 pending_op = p_mcb->pcb.op; in btif_hl_upstreams_evt() 4345 if (p_mcb->pcb.in_use) in btif_hl_save_mdl_cfg() 4346 *p_channel_id = p_mcb->pcb.channel_id; in btif_hl_save_mdl_cfg() 4349 p_mdl->extra.mdep_cfg_idx = p_mcb->pcb.mdep_cfg_idx; in btif_hl_save_mdl_cfg() 4350 …p_mdl->extra.data_type = p_acb->sup_feature.mdep[p_mcb->pcb.mdep_cfg_idx].mdep_cfg.data_cfg[0].dat… in btif_hl_save_mdl_cfg() [all …]
|
/system/bt/bta/jv/ |
D | bta_jv_act.c | 1657 static int find_rfc_pcb(void* user_data, tBTA_JV_RFC_CB **cb, tBTA_JV_PCB **pcb) in find_rfc_pcb() argument 1660 *pcb = NULL; in find_rfc_pcb() 1668 *pcb = &bta_jv_cb.port_cb[i]; in find_rfc_pcb() 1671 " 0x%x, state: %d, rfc_cb->handle: 0x%x", rfc_handle, (*pcb)->handle, in find_rfc_pcb() 1672 (*pcb)->state, (*cb)->handle); in find_rfc_pcb()
|