HomeSort by relevance Sort by last modified time
    Searched refs:p_buf (Results 76 - 100 of 170) sorted by null

1 2 34 5 6 7

  /external/bluetooth/bluedroid/stack/pan/
pan_api.c 612 ** p_buf - pointer to the data buffer
620 tPAN_RESULT PAN_WriteBuf (UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, BT_HDR *p_buf, BOOLEAN ext)
632 p_data = (UINT8 *)(p_buf + 1) + p_buf->offset;
633 len = p_buf->len;
635 GKI_freebuf (p_buf);
642 GKI_freebuf (p_buf);
660 GKI_freebuf (p_buf);
664 result = BNEP_WriteBuf (pan_cb.pcb[i].handle, dst, p_buf, protocol, src, ext);
685 GKI_freebuf (p_buf);
    [all...]
pan_main.c 531 ** p_buf - pointer to the data buffer
542 BT_HDR *p_buf,
556 GKI_freebuf (p_buf);
564 GKI_freebuf (p_buf);
568 p_data = (UINT8 *)(p_buf + 1) + p_buf->offset;
569 len = p_buf->len;
597 (*pan_cb.pan_data_buf_ind_cb) (pcb->handle, src, dst, protocol, p_buf, ext, forward);
601 GKI_freebuf (p_buf);
612 result = BNEP_WriteBuf (dst_pcb->handle, dst, p_buf, protocol, src, ext)
    [all...]
  /external/bluetooth/bluedroid/bta/include/
bta_dm_co.h 191 BTA_API extern void bta_dm_sco_co_out_data(BT_HDR **p_buf);
202 BTA_API extern void bta_dm_sco_co_in_data(BT_HDR *p_buf, tBTM_SCO_DATA_FLAG status);
bta_pan_co.h 155 BTA_API extern void bta_pan_co_tx_writebuf(UINT16 handle, UINT8 app_id, BD_ADDR src, BD_ADDR dst, UINT16 protocol, BT_HDR *p_buf,
  /external/bluetooth/bluedroid/stack/l2cap/
l2c_main.c 63 void l2c_bcst_msg( BT_HDR *p_buf, UINT16 psm )
68 if (p_buf->offset < L2CAP_BCST_MIN_OFFSET)
70 L2CAP_TRACE_ERROR1 ("L2CAP - cannot send buffer, offset: %d", p_buf->offset);
71 GKI_freebuf (p_buf);
76 p_buf->offset -= (HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + L2CAP_BCST_OVERHEAD);
77 p_buf->len += L2CAP_PKT_OVERHEAD + L2CAP_BCST_OVERHEAD;
80 p = (UINT8 *)(p_buf + 1) + p_buf->offset;
86 if (p_buf->len > btu_cb.hcit_acl_data_size)
92 UINT16_TO_STREAM (p, p_buf->len)
785 BT_HDR *p_buf, *p_buf1; local
    [all...]
l2c_api.c 1720 BT_HDR *p_buf1, *p_buf; local
    [all...]
  /external/bluetooth/bluedroid/bta/gatt/
bta_gattc_act.c 99 tBTA_GATTC_INT_START_IF *p_buf; local
127 if ((p_buf = (tBTA_GATTC_INT_START_IF *) GKI_getbuf(sizeof(tBTA_GATTC_INT_START_IF))) != NULL)
129 p_buf->hdr.event = BTA_GATTC_INT_START_IF_EVT;
130 p_buf->client_if = p_cb->cl_rcb[i].client_if;
132 bta_sys_sendmsg(p_buf);
209 tBTA_GATTC_INT_DEREG *p_buf; local
213 if ((p_buf = (tBTA_GATTC_INT_DEREG *) GKI_getbuf(sizeof(tBTA_GATTC_INT_DEREG))) != NULL)
215 p_buf->hdr.event = BTA_GATTC_INT_DEREG_EVT;
216 p_buf->client_if = client_if;
217 bta_sys_sendmsg(p_buf);
1552 BT_HDR *p_buf; local
1868 tBTA_GATTC_OP_CMPL *p_buf; local
    [all...]
  /external/bluetooth/bluedroid/stack/avdt/
avdt_ad.c 459 void avdt_ad_tc_data_ind(tAVDT_TC_TBL *p_tbl, BT_HDR *p_buf)
465 p_buf->layer_specific = avdt_ad_tcid_to_type(p_tbl->tcid);
472 avdt_msg_ind(p_ccb, p_buf);
480 avdt_scb_event(p_scb, AVDT_SCB_TC_DATA_EVT, (tAVDT_SCB_EVT *) &p_buf);
483 GKI_freebuf(p_buf);
502 UINT8 avdt_ad_write_req(UINT8 type, tAVDT_CCB *p_ccb, tAVDT_SCB *p_scb, BT_HDR *p_buf)
510 return L2CA_DataWrite(avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid, p_buf);
  /external/bluetooth/bluedroid/btif/src/
btif_sock_rfc.c 818 static int send_data_to_app(int fd, BT_HDR *p_buf)
820 if(p_buf->len == 0)
822 int sent = send(fd, (UINT8 *)(p_buf + 1) + p_buf->offset, p_buf->len, MSG_DONTWAIT);
823 if(sent == p_buf->len)
826 if(sent > 0 && sent < p_buf->len)
829 APPL_TRACE_ERROR2("send partial, sent:%d, p_buf->len:%d", sent, p_buf->len);
830 p_buf->offset += sent
848 BT_HDR *p_buf = GKI_dequeue(&rs->incoming_que); local
    [all...]
  /external/bluetooth/bluedroid/bta/dm/
bta_dm_pm.c 673 tBTA_DM_PM_BTM_STATUS *p_buf; local
675 if ((p_buf = (tBTA_DM_PM_BTM_STATUS *) GKI_getbuf(sizeof(tBTA_DM_PM_BTM_STATUS))) != NULL)
677 p_buf->hdr.event = BTA_DM_PM_BTM_STATUS_EVT;
678 p_buf->status = status;
679 p_buf->value = value;
680 p_buf->hci_status = hci_status;
681 bdcpy(p_buf->bd_addr, bd_addr);
682 bta_sys_sendmsg(p_buf);
698 tBTA_DM_PM_TIMER *p_buf; local
727 if ((p_buf = (tBTA_DM_PM_TIMER *) GKI_getbuf(sizeof(tBTA_DM_PM_TIMER))) != NULL
    [all...]
  /external/bluetooth/bluedroid/stack/avrc/
avrc_pars_tg.c 42 UINT8 *p_buf, UINT16 buf_len)
122 if (p_buf && (len == ((p_result->set_app_val.num_val<<1) + 1)))
124 p_result->set_app_val.p_vals = (tAVRC_APP_SETTING *)p_buf;
272 tAVRC_STS AVRC_ParsCommand (tAVRC_MSG *p_msg, tAVRC_COMMAND *p_result, UINT8 *p_buf, UINT16 buf_len)
282 status = avrc_pars_vendor_cmd(&p_msg->vendor, p_result, p_buf, buf_len);
  /external/bluetooth/bluedroid/stack/btm/
btm_sco.c 85 BT_HDR *p_buf; local
92 if ((p_buf = (BT_HDR *)GKI_dequeue (&p->xmit_data_q)) != NULL)
93 GKI_freebuf (p_buf);
248 BT_HDR *p_buf; local
255 p_buf = NULL;
260 p_buf = (BT_HDR *)GKI_dequeue (&p_ccb->xmit_data_q);
262 HCI_SCO_DATA_TO_LOWER (p_buf);
316 ** to be written p_buf needs to carry an offset of
332 tBTM_STATUS BTM_WriteScoData (UINT16 sco_inx, BT_HDR *p_buf)
343 if (p_buf->offset < HCI_SCO_PREAMBLE_SIZE
    [all...]
  /external/bluetooth/bluedroid/stack/btu/
btu_hcif.c 151 static void btu_hcif_store_cmd (UINT8 controller_id, BT_HDR *p_buf)
163 p = (UINT8 *)(p_buf + 1) + p_buf->offset;
175 if ((p_cmd = HCI_GET_CMD_BUF(p_buf->len + p_buf->offset - HCIC_PREAMBLE_SIZE)) == NULL)
181 memcpy (p_cmd, p_buf, sizeof(BT_HDR));
194 opcode, *(UINT32 *)(p_buf + 1));
196 memcpy ((UINT8 *)(p_cmd + 1), (UINT8 *)(p_buf + 1), sizeof(void *));
200 (UINT8 *)(p_buf + 1) + p_buf->offset, p_buf->len)
    [all...]
  /external/bluetooth/bluedroid/stack/gatt/
gatt_api.c 86 tGATT_HDL_LIST_ELEM *p_buf; local
89 if ((p_buf = gatt_alloc_hdl_buffer()) != NULL)
91 p_buf->asgn_range = *p_hndl_range;
92 status = gatt_add_an_item_to_list(&gatt_cb.hdl_list_info, p_buf);
149 tGATTS_PENDING_NEW_SRV_START *p_buf=NULL; local
224 if ( (p_buf = gatt_add_pending_new_srv_start(&p_list->asgn_range)) == NULL)
250 if (p_buf)
251 GKI_freebuf (GKI_remove_from_queue (&gatt_cb.pending_new_srv_start_q, p_buf));
399 tGATTS_PENDING_NEW_SRV_START *p_buf; local
418 if ( (p_buf = gatt_sr_is_new_srv_chg(&p_list->asgn_range.app_uuid128
472 tGATTS_PENDING_NEW_SRV_START *p_buf; local
601 tGATT_VALUE *p_buf; local
670 BT_HDR *p_buf; local
    [all...]
  /external/libnfc-nci/halimpl/bcm2079x/adaptation/
userial_linux.c 690 extern BOOLEAN gki_chk_buf_damage(void *p_buf);
710 BT_HDR *p_buf = NULL; local
719 BT_HDR *p_buf; local
722 if ((p_buf = (BT_HDR *) GKI_getpoolbuf( USERIAL_POOL_ID ) )!= NULL)
724 p_buf->offset = 0;
725 p_buf->layer_specific = 0;
727 current_packet = (UINT8 *) (p_buf + 1);
733 ALOGE( "userial_read_thread(): unable to get buffer from GKI p_buf = %p poolid = %d\n", p_buf, USERIAL_POOL_ID);
745 p_buf->len = (UINT16)rx_length
1425 BT_HDR *p_buf = NULL; local
    [all...]
  /external/bluetooth/bluedroid/bta/ag/
bta_ag_at.c 188 void bta_ag_at_parse(tBTA_AG_AT_CB *p_cb, char *p_buf, UINT16 len)
204 if ((p_cb->cmd_pos == 0) && (p_buf[i] == 0))
210 p_cb->p_cmd_buf[p_cb->cmd_pos] = p_buf[i++];
bta_ag_sdp.c 72 tBTA_AG_DISC_RESULT *p_buf; local
90 if ((p_buf = (tBTA_AG_DISC_RESULT *) GKI_getbuf(sizeof(tBTA_AG_DISC_RESULT))) != NULL)
92 p_buf->hdr.event = event;
93 p_buf->hdr.layer_specific = idx;
94 p_buf->status = status;
95 bta_sys_sendmsg(p_buf);
  /external/bluetooth/bluedroid/bta/av/
bta_av_main.c 209 BT_HDR *p_buf; local
224 if (p_scb && (p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL)
228 p_buf->event = p->event;
229 p_buf->layer_specific = p_scb->hndl;
230 bta_sys_sendmsg(p_buf);
832 tBTA_AV_ROLE_RES *p_buf; local
843 (p_buf = (tBTA_AV_ROLE_RES *) GKI_getbuf(sizeof(tBTA_AV_ROLE_RES))) != NULL)
852 p_buf->hdr.event = BTA_AV_ROLE_CHANGE_EVT;
853 p_buf->hdr.layer_specific = p_scb->hndl;
854 p_buf->new_role = id
    [all...]
bta_av_sbc.c 581 void bta_av_sbc_bld_hdr(BT_HDR *p_buf, UINT16 fr_per_pkt)
585 p_buf->offset -= BTA_AV_SBC_HDR_SIZE;
586 p = (UINT8 *) (p_buf + 1) + p_buf->offset;
587 p_buf->len += BTA_AV_SBC_HDR_SIZE;
  /external/bluetooth/bluedroid/stack/rfcomm/
rfc_int.h 54 extern void RFCOMM_DataReq (tRFC_MCB *p_mcb, UINT8 dlci, BT_HDR *p_buf);
297 extern void rfc_process_test_rsp (tRFC_MCB *p_rfc_mcb, BT_HDR *p_buf);
321 extern void rfc_check_send_cmd(tRFC_MCB *p_mcb, BT_HDR *p_buf);
332 extern void rfc_send_test (tRFC_MCB *p_rfc_mcb, BOOLEAN is_command, BT_HDR *p_buf);
340 extern void rfc_send_buf_uih (tRFC_MCB *p_rfc_mcb, UINT8 dlci, BT_HDR *p_buf);
342 extern void rfc_process_mx_message (tRFC_MCB *p_rfc_mcb, BT_HDR *p_buf);
343 extern UINT8 rfc_parse_data (tRFC_MCB *p_rfc_mcb, MX_FRAME *p_frame, BT_HDR *p_buf);
363 extern void PORT_DataInd (tRFC_MCB *p_mcb, UINT8 dlci, BT_HDR *p_buf);
  /external/bluetooth/bluedroid/btif/include/
btif_hh.h 66 BT_HDR *p_buf; member in struct:__anon2892
  /external/bluetooth/bluedroid/stack/avct/
avct_l2c.c 45 void avct_l2c_data_ind_cback(UINT16 lcid, BT_HDR *p_buf);
418 void avct_l2c_data_ind_cback(UINT16 lcid, BT_HDR *p_buf)
426 avct_lcb_event(p_lcb, AVCT_LCB_LL_MSG_EVT, (tAVCT_LCB_EVT *) &p_buf);
431 GKI_freebuf(p_buf);
  /external/bluetooth/bluedroid/stack/include/
hidh_api.h 81 BT_HDR *p_buf ); /* Pointer data corresponding to the event. */
  /external/bluetooth/bluedroid/hci/src/
btsnoop.c 627 void btsnoop_capture(HC_BT_HDR *p_buf, uint8_t is_rcvd)
629 uint8_t *p = (uint8_t *)(p_buf + 1) + p_buf->offset;
632 hci_btsnoop_fd, p_buf->event, is_rcvd, ext_parser_fd);
642 switch (p_buf->event & MSG_EVT_MASK)
660 send_ext_parser((char*)p, p_buf->len+1);
670 switch (p_buf->event & MSG_EVT_MASK)
  /external/bluetooth/bluedroid/stack/mcap/
mca_cact.c 256 BT_HDR *p_buf; local
406 p_buf = (BT_HDR *)GKI_getbuf (MCA_CTRL_MTU);
407 if (p_buf)
409 p_buf->offset = L2CAP_MIN_OFFSET;
410 p = p_start = (UINT8*)(p_buf + 1) + L2CAP_MIN_OFFSET;
421 p_buf->len = p - p_start;
422 L2CA_DataWrite (p_ccb->lcid, p_buf);

Completed in 168 milliseconds

1 2 34 5 6 7