HomeSort by relevance Sort by last modified time
    Searched defs:p_data (Results 1 - 25 of 62) sorted by null

1 2 3

  /external/bluetooth/bluedroid/stack/avrc/
avrc_opt.c 52 UINT8 *p_data; local
65 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset;
66 *p_data++ = (p_msg->hdr.ctype & AVRC_CTYPE_MASK);
67 *p_data++ = (p_msg->hdr.subunit_type << AVRC_SUBTYPE_SHIFT) | p_msg->hdr.subunit_id;
68 *p_data++ = AVRC_OP_VENDOR;
69 AVRC_CO_ID_TO_BE_STREAM(p_data, p_msg->company_id);
72 memcpy(p_data, p_msg->p_vendor_data, p_msg->vendor_len);
74 p_cmd->len = (UINT16) (p_data + p_msg->vendor_len - (UINT8 *)(p_cmd + 1) - p_cmd->offset);
104 UINT8 *p_data; local
109 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset
149 UINT8 *p_data; local
    [all...]
avrc_bld_ct.c 43 UINT8 *p_data, *p_start; local
49 p_data = p_start + 2; /* pdu + rsvd */
52 UINT16_TO_BE_STREAM(p_data, 1);
53 UINT8_TO_BE_STREAM(p_data, p_cmd->target_pdu);
54 p_pkt->len = (p_data - p_start);
76 UINT8 *p_data, *p_start; local
81 p_data = p_start + 2; /* pdu + rsvd */
83 UINT16_TO_BE_STREAM(p_data, 1);
84 UINT8_TO_BE_STREAM(p_data, (AVRC_MAX_VOLUME & p_cmd->volume));
85 p_pkt->len = (p_data - p_start)
101 UINT8 *p_data, *p_start; local
151 UINT8 *p_data, *p_start; local
    [all...]
avrc_utils.c 160 ** Returns AVRC_STS_NO_ERROR, if the message in p_data is parsed successfully.
166 UINT8 *p_data; local
173 p_data = p_msg->p_pass_data;
174 AVRC_BE_STREAM_TO_CO_ID (co_id, p_data);
177 BE_STREAM_TO_UINT16 (id, p_data);
avrc_bld_tg.c 42 UINT8 *p_data, *p_start, *p_len, *p_count; local
59 p_data = p_len = p_start + 2; /* pdu + rsvd */
61 BE_STREAM_TO_UINT16(len, p_data);
62 UINT8_TO_BE_STREAM(p_data, p_rsp->capability_id);
63 p_count = p_data;
68 p_data++;
73 p_data = p_start + p_pkt->len;
82 UINT24_TO_BE_STREAM(p_data, p_company_id[xx]);
95 UINT8_TO_BE_STREAM(p_data, p_event_id[xx]);
101 p_pkt->len = (p_data - p_start)
120 UINT8 *p_data, *p_start, *p_len, *p_num; local
172 UINT8 *p_data, *p_start, *p_len, *p_num; local
222 UINT8 *p_data, *p_start, *p_len, *p_count; local
297 UINT8 *p_data, *p_start, *p_len, *p_count; local
440 UINT8 *p_data, *p_start, *p_len, *p_count; local
504 UINT8 *p_data, *p_start; local
532 UINT8 *p_data, *p_start; local
674 UINT8 *p_data; local
701 UINT8 *p_data, *p_start; local
758 UINT8 *p_data, *p_start; local
    [all...]
avrc_api.c 97 UINT8 *p_data = (UINT8 *)(p_pkt+1) + p_pkt->offset; local
105 *(p_data + i + gap) = *(p_data + i);
108 p_data = (UINT8 *)(p_pkt+1) + p_pkt->offset;
110 *p_data = AVRC_RSP_IMPL_STBL;
111 return p_data;
128 UINT8 *p_data, *p_orig_data; local
143 p_data = (UINT8 *)(p_pkt_new+1) + p_pkt_new->offset;
144 *p_data++ = rsp_type;
145 *p_data++ = (AVRC_SUB_PANEL << AVRC_SUBTYPE_SHIFT)
168 UINT8 *p_old, *p_data; local
239 UINT8 *p_data; local
352 UINT8 *p_data; local
529 UINT8 *p_data; local
806 UINT8 *p_data; local
958 UINT8 *p_data; local
    [all...]
  /external/bluetooth/bluedroid/stack/bnep/
bnep_api.c 369 UINT8 *p_data; local
387 p_data = (UINT8 *)(p_buf + 1) + p_buf->offset;
388 if (bnep_is_packet_allowed (p_bcb, p_dest_addr, protocol, fw_ext_present, p_data) != BNEP_SUCCESS)
403 ext = *p_data++;
404 length = *p_data++;
405 p_data += length;
422 p_data[2] = 0;
423 p_data[3] = 0;
459 ** p_data - pointer to data start
475 UINT8 *p_data,
    [all...]
bnep_main.c 509 UINT8 ext, length, *p_data; local
514 p_data = p;
  /external/bluetooth/bluedroid/stack/btm/
btm_ble_addr.c 145 void *p_data = p_cb->p; local
162 (* p_cback)(static_random, p_data);
168 (* p_cback)(NULL, p_data);
  /external/bluetooth/bluedroid/stack/pan/
pan_api.c 502 ** p_data - pointer to the data
511 tPAN_RESULT PAN_Write (UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, UINT8 *p_data, UINT16 len, BOOLEAN ext)
529 BNEP_Write (pan_cb.pcb[i].handle, dst, p_data, len, protocol, src, ext);
551 result = BNEP_Write (pan_cb.pcb[i].handle, dst, p_data, len, protocol, src, ext);
580 result = BNEP_Write (pcb->handle, dst, p_data, len, protocol, src, ext);
629 UINT8 *p_data; local
632 p_data = (UINT8 *)(p_buf + 1) + p_buf->offset;
634 PAN_Write (handle, dst, src, protocol, p_data, len, ext);
pan_main.c 425 ** p_data - pointer to the data
437 UINT8 *p_data,
482 BNEP_Write (pan_cb.pcb[i].handle, dst, p_data, len, protocol, src, ext);
487 (*pan_cb.pan_data_ind_cb) (pcb->handle, src, dst, protocol, p_data, len, ext, TRUE);
500 BNEP_Write (pan_cb.pcb[i].handle, dst, p_data, len, protocol, src, ext);
513 (*pan_cb.pan_data_ind_cb) (pcb->handle, src, dst, protocol, p_data, len, ext, forward);
548 UINT8 *p_data; local
568 p_data = (UINT8 *)(p_buf + 1) + p_buf->offset;
592 BNEP_Write (pan_cb.pcb[i].handle, dst, p_data, len, protocol, src, ext);
600 (*pan_cb.pan_data_ind_cb) (pcb->handle, src, dst, protocol, p_data, len, ext, forward)
    [all...]
  /external/bluetooth/bluedroid/bta/hh/
bta_hh_utils.c 263 tBTA_HH_KEYBD_RPT *p_data = &p_kb_data->data_rpt.keybd_rpt; local
284 memset (p_data, 0, sizeof(tBTA_HH_KEYBD_RPT));
300 p_data->mod_key[xx] = p_kb->mod_key[xx];
332 p_data->this_char[key_idx ++] = this_char;
337 p_data->caps_lock = p_kb->caps_lock;
359 tBTA_HH_MICE_RPT *p_data = &p_mice_data->data_rpt.mice_rpt; local
381 p_data->mouse_button = (p_report[0] & 0x07);
384 p_data->delta_x = p_report[1];
387 p_data->delta_y = p_report[2];
390 APPL_TRACE_DEBUG1("mice button: 0x%2x", p_data->mouse_button)
    [all...]
  /external/bluetooth/bluedroid/stack/gatt/
gatt_auth.c 46 UINT8 *p_data = NULL, *p; local
54 p_data = (UINT8 *)GKI_getbuf((UINT16)(p_attr->len + 3)); /* 3 = 2 byte handle + opcode */
56 if (p_data != NULL)
58 p = p_data;
69 p_data,
82 GKI_freebuf(p_data);
  /external/bluetooth/bluedroid/stack/mcap/
mca_cact.c 47 void mca_ccb_rsp_tout(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data)
62 void mca_ccb_report_event(tMCA_CCB *p_ccb, UINT8 event, tMCA_CTRL *p_data)
65 (*p_ccb->p_rcb->p_cback)(mca_rcb_to_handle(p_ccb->p_rcb), mca_ccb_to_hdl(p_ccb), event, p_data); local
77 void mca_ccb_free_msg(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data)
79 GKI_freebuf (p_data);
91 void mca_ccb_snd_req(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data)
93 tMCA_CCB_MSG *p_msg = (tMCA_CCB_MSG *)p_data;
143 GKI_freebuf (p_data);
157 void mca_ccb_snd_rsp(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data)
159 tMCA_CCB_MSG *p_msg = (tMCA_CCB_MSG *)p_data;
    [all...]
  /external/bluetooth/bluedroid/stack/rfcomm/
rfc_ts_frames.c 42 UINT8 *p_data; local
49 p_data = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET;
52 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI);
53 *p_data++ = RFCOMM_SABME | RFCOMM_PF;
54 *p_data++ = RFCOMM_EA | 0;
56 *p_data = RFCOMM_SABME_FCS ((UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET, cr, dlci);
74 UINT8 *p_data; local
81 p_data = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET;
84 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI);
85 *p_data++ = RFCOMM_UA | RFCOMM_PF
106 UINT8 *p_data; local
138 UINT8 *p_data; local
169 UINT8 *p_data; local
234 UINT8 *p_data; local
279 UINT8 *p_data; local
307 UINT8 *p_data; local
336 UINT8 *p_data; local
389 UINT8 *p_data; local
420 UINT8 *p_data; local
453 UINT8 *p_data; local
504 UINT8 *p_data; local
542 UINT8 *p_data; local
573 UINT8 *p_data = (UINT8 *)(p_buf + 1) + p_buf->offset; local
699 UINT8 *p_data = (UINT8 *)(p_buf + 1) + p_buf->offset; local
    [all...]
  /external/libnfc-nci/src/nfc/include/
ce_api.h 59 BT_HDR *p_data; member in struct:__anon20809
65 UINT8 *p_data; member in struct:__anon20810
74 BT_HDR *p_data; member in struct:__anon20811
84 typedef void (tCE_CBACK) (tCE_EVENT event, tCE_DATA *p_data);
  /external/bluetooth/bluedroid/btif/src/
btif_hf.c 253 tBTA_AG *p_data = (tBTA_AG *)p_param; local
265 btif_hf_cb.handle = p_data->reg.hdr.handle;
269 if (p_data->open.status == BTA_AG_SUCCESS)
271 bdcpy(btif_hf_cb.connected_bda.address, p_data->open.bd_addr);
283 __FUNCTION__, p_data->open.status, btif_hf_cb.state, bd2str(&btif_hf_cb.connected_bda, &bdstr));
292 if (p_data->open.status != BTA_AG_SUCCESS)
309 btif_hf_cb.peer_feat = p_data->conn.peer_feat;
329 (event == BTA_AG_SPK_EVT) ? BTHF_VOLUME_TYPE_SPK : BTHF_VOLUME_TYPE_MIC, p_data->val.num);
340 (event == BTA_AG_AT_D_EVT) ? p_data->val.str : NULL);
352 HAL_CBACK(bt_hf_callbacks, dtmf_cmd_cb, p_data->val.str[0])
    [all...]
btif_gatt_server.c 138 p_dest_data->req_data.p_data = GKI_getbuf(sizeof(tBTA_GATTS_REQ_DATA));
139 if (p_dest_data->req_data.p_data != NULL)
141 memcpy(p_dest_data->req_data.p_data, p_src_data->req_data.p_data,
151 static void btapp_gatts_free_req_data(UINT16 event, tBTA_GATTS *p_data)
159 if (p_data && p_data->req_data.p_data)
160 GKI_freebuf(p_data->req_data.p_data);
172 tBTA_GATTS *p_data = (tBTA_GATTS*)p_param; local
    [all...]
btif_pan.c 87 static void bta_pan_callback(tBTA_PAN_EVT event, tBTA_PAN *p_data);
490 UINT8 *p_data, UINT16 len, BOOLEAN ext);
512 tBTA_PAN *p_data = (tBTA_PAN *)p_param; local
520 int btpan_role = bta_role_to_btpan(p_data->set_role.role);
521 bt_status_t status = p_data->set_role.status == BTA_PAN_SUCCESS ? BT_STATUS_SUCCESS : BT_STATUS_FAIL;
530 bd2str((bt_bdaddr_t*)p_data->opening.bd_addr, &bds);
531 BTIF_TRACE_DEBUG2("BTA_PAN_OPENING_EVT handle %d, addr: %s", p_data->opening.handle, bds);
532 conn = btpan_find_conn_addr(p_data->opening.bd_addr);
537 conn->handle = p_data->opening.handle;
541 (const bt_bdaddr_t*)p_data->opening.bd_addr, btpan_conn_local_role, btpan_remote_role)
    [all...]
  /external/bluetooth/bluedroid/hci/src/
userial.c 425 ** copied into p_data. This may be less than len.
432 uint8_t *p_data = NULL; local
438 p_data = ((uint8_t *)(userial_cb.p_rx_hdr + 1)) + \
446 memcpy((p_buffer + total_len), p_data, copy_len);
482 uint16_t userial_write(uint16_t msg_id, uint8_t *p_data, uint16_t len)
491 ret = write(userial_cb.fd, p_data+total, len);
545 void userial_ioctl(userial_ioctl_op_t op, void *p_data)
  /external/bluetooth/bluedroid/stack/hid/
hidh_conn.c 737 UINT8 *p_data = (UINT8 *)(p_msg + 1) + p_msg->offset; local
756 ttype = HID_GET_TRANS_FROM_HDR(*p_data);
757 param = HID_GET_PARAM_FROM_HDR(*p_data);
759 p_data++;
    [all...]
  /external/bluetooth/bluedroid/stack/include/
srvc_api.h 54 UINT8 *p_data; member in struct:__anon1156
102 typedef void (tBA_CBACK)(UINT8 app_id, UINT8 event, tBA_WRITE_DATA *p_data);
  /external/libnfc-nci/src/nfc/llcp/
llcp_link.c 1249 UINT8 *p_data; local
    [all...]
  /device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/inc/
mm_jpeg.h 67 void *p_data[MM_JPEG_CIRQ_SIZE]; member in union:__anon1812::__anon1813
  /external/bluetooth/bluedroid/stack/gap/
gap_int.h 52 void *p_data; /* Pointer to any data returned in callback */ member in struct:__anon831
  /external/libnfc-nci/src/nfa/hci/
nfa_hci_utils.c 323 UINT8 *p_data; local
351 p_data = (UINT8 *) (p_buf + 1) + p_buf->offset;
356 *p_data++ = (NFA_HCI_MESSAGE_FRAGMENTATION << 7) | (pipe_id & 0x7F);
361 *p_data++ = (NFA_HCI_NO_MESSAGE_FRAGMENTATION << 7) | (pipe_id & 0x7F);
370 *p_data++ = (type << 6) | instruction;
376 memcpy (p_data, p_msg, data_len);
    [all...]

Completed in 400 milliseconds

1 2 3