/external/bluetooth/bluedroid/bta/av/ |
H A D | bta_av_ci.c | 47 BT_HDR *p_buf; local 49 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) 51 p_buf->layer_specific = chnl; 52 p_buf->event = BTA_AV_CI_SRC_DATA_READY_EVT; 53 bta_sys_sendmsg(p_buf); 73 tBTA_AV_CI_SETCONFIG *p_buf; local 75 if ((p_buf = (tBTA_AV_CI_SETCONFIG *) GKI_getbuf(sizeof(tBTA_AV_CI_SETCONFIG))) != NULL) 77 p_buf->hdr.layer_specific = hndl; 78 p_buf->hdr.event = (err_code == AVDT_SUCCESS) ? 80 p_buf [all...] |
H A D | bta_av_api.c | 63 tBTA_AV_API_ENABLE *p_buf; local 70 if ((p_buf = (tBTA_AV_API_ENABLE *) GKI_getbuf(sizeof(tBTA_AV_API_ENABLE))) != NULL) 72 p_buf->hdr.event = BTA_AV_API_ENABLE_EVT; 73 p_buf->p_cback = p_cback; 74 p_buf->features = features; 75 p_buf->sec_mask = sec_mask; 76 bta_sys_sendmsg(p_buf); 91 BT_HDR *p_buf; local 94 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) 96 p_buf 116 tBTA_AV_API_REG *p_buf; local 148 BT_HDR *p_buf; local 171 tBTA_AV_API_OPEN *p_buf; local 196 BT_HDR *p_buf; local 217 tBTA_AV_API_DISCNT *p_buf; local 238 BT_HDR *p_buf; local 260 tBTA_AV_API_STOP *p_buf; local 287 tBTA_AV_API_RCFG *p_buf; local 315 tBTA_AV_API_PROTECT_REQ *p_buf; local 349 tBTA_AV_API_PROTECT_RSP *p_buf; local 382 tBTA_AV_API_REMOTE_CMD *p_buf; local 410 tBTA_AV_API_VENDOR *p_buf; local 449 tBTA_AV_API_VENDOR *p_buf; local 489 tBTA_AV_API_OPEN_RC *p_buf; local 510 tBTA_AV_API_CLOSE_RC *p_buf; local 535 tBTA_AV_API_META_RSP *p_buf; local 568 tBTA_AV_API_META_RSP *p_buf; local [all...] |
/external/bluetooth/bluedroid/bta/gatt/ |
H A D | bta_gatts_api.c | 58 BT_HDR *p_buf; local 66 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) 68 p_buf->event = BTA_GATTS_API_DISABLE_EVT; 69 bta_sys_sendmsg(p_buf); 90 tBTA_GATTS_API_REG *p_buf; local 100 if ((p_buf = (tBTA_GATTS_API_REG *) GKI_getbuf(sizeof(tBTA_GATTS_API_REG))) != NULL) 102 p_buf->hdr.event = BTA_GATTS_API_REG_EVT; 105 memcpy(&p_buf->app_uuid, p_app_uuid, sizeof(tBT_UUID)); 106 p_buf->p_cback = p_cback; 108 bta_sys_sendmsg(p_buf); 128 tBTA_GATTS_API_DEREG *p_buf; local 162 tBTA_GATTS_API_CREATE_SRVC *p_buf; local 195 tBTA_GATTS_API_ADD_INCL_SRVC *p_buf; local 229 tBTA_GATTS_API_ADD_CHAR *p_buf; local 269 tBTA_GATTS_API_ADD_DESCR *p_buf; local 305 BT_HDR *p_buf; local 333 tBTA_GATTS_API_START *p_buf; local 360 BT_HDR *p_buf; local 391 tBTA_GATTS_API_INDICATION *p_buf; local 431 tBTA_GATTS_API_RSP *p_buf; local 473 tBTA_GATTS_API_OPEN *p_buf; local 504 tBTA_GATTS_API_CANCEL_OPEN *p_buf; local 530 BT_HDR *p_buf; local 558 tBTA_GATTS_API_LISTEN *p_buf; local [all...] |
H A D | bta_gattc_api.c | 59 BT_HDR *p_buf; local 66 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) 68 p_buf->event = BTA_GATTC_API_DISABLE_EVT; 69 bta_sys_sendmsg(p_buf); 90 tBTA_GATTC_API_REG *p_buf; local 99 if ((p_buf = (tBTA_GATTC_API_REG *) GKI_getbuf(sizeof(tBTA_GATTC_API_REG))) != NULL) 101 p_buf->hdr.event = BTA_GATTC_API_REG_EVT; 103 memcpy(&p_buf->app_uuid, p_app_uuid, sizeof(tBT_UUID)); 104 p_buf->p_cback = p_client_cb; 106 bta_sys_sendmsg(p_buf); 125 tBTA_GATTC_API_DEREG *p_buf; local 152 tBTA_GATTC_API_OPEN *p_buf; local 184 tBTA_GATTC_API_CANCEL_OPEN *p_buf; local 212 BT_HDR *p_buf; local 243 tBTA_GATTC_API_SEARCH *p_buf; local 537 tBTA_GATTC_API_READ *p_buf; local 572 tBTA_GATTC_API_READ *p_buf; local 610 tBTA_GATTC_API_READ_MULTI *p_buf; local 663 tBTA_GATTC_API_WRITE *p_buf; local 709 tBTA_GATTC_API_WRITE *p_buf; local 761 tBTA_GATTC_API_WRITE *p_buf; local 803 tBTA_GATTC_API_EXEC *p_buf; local 833 tBTA_GATTC_API_CONFIRM *p_buf; local 1007 tBTA_GATTC_API_OPEN *p_buf; local 1038 tBTA_GATTC_API_LISTEN *p_buf; local 1073 tBTA_GATTC_API_LISTEN *p_buf; local [all...] |
/external/bluetooth/bluedroid/bta/hl/ |
H A D | bta_hl_api.c | 63 tBTA_HL_API_ENABLE *p_buf; local 70 if ((p_buf = (tBTA_HL_API_ENABLE *)GKI_getbuf(sizeof(tBTA_HL_API_ENABLE))) != NULL) 72 p_buf->hdr.event = BTA_HL_API_ENABLE_EVT; 73 p_buf->p_cback = p_ctrl_cback; 74 bta_sys_sendmsg(p_buf); 89 BT_HDR *p_buf; local 92 if ((p_buf = (BT_HDR *)GKI_getbuf(sizeof(BT_HDR))) != NULL) 94 p_buf->event = BTA_HL_API_DISABLE_EVT; 95 bta_sys_sendmsg(p_buf); 117 tBTA_HL_API_UPDATE *p_buf; local 191 tBTA_HL_API_REGISTER *p_buf; local 243 tBTA_HL_API_DEREGISTER *p_buf; local 272 tBTA_HL_API_CCH_OPEN *p_buf; local 300 tBTA_HL_API_CCH_CLOSE *p_buf; local 325 tBTA_HL_API_DCH_OPEN *p_buf; local 355 tBTA_HL_API_DCH_RECONNECT *p_buf; local 380 tBTA_HL_API_DCH_CLOSE *p_buf; local 405 tBTA_HL_API_DCH_ABORT *p_buf; local 430 tBTA_HL_API_SEND_DATA *p_buf = NULL; local 461 tBTA_HL_API_DELETE_MDL *p_buf; local 487 tBTA_HL_API_DCH_ECHO_TEST *p_buf; local 516 tBTA_HL_API_SDP_QUERY *p_buf; local 548 tBTA_HL_API_DCH_CREATE_RSP *p_buf; local [all...] |
/external/bluetooth/bluedroid/bta/pan/ |
H A D | bta_pan_api.c | 59 tBTA_PAN_API_ENABLE *p_buf; local 66 if ((p_buf = (tBTA_PAN_API_ENABLE *) GKI_getbuf(sizeof(tBTA_PAN_API_ENABLE))) != NULL) 68 p_buf->hdr.event = BTA_PAN_API_ENABLE_EVT; 69 p_buf->p_cback = p_cback; 71 bta_sys_sendmsg(p_buf); 89 BT_HDR *p_buf; local 92 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) 94 p_buf->event = BTA_PAN_API_DISABLE_EVT; 95 bta_sys_sendmsg(p_buf); 113 tBTA_PAN_API_SET_ROLE *p_buf; local 180 tBTA_PAN_API_OPEN *p_buf; local 205 BT_HDR *p_buf; local [all...] |
H A D | bta_pan_ci.c | 55 BT_HDR *p_buf; local 57 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) 59 p_buf->layer_specific = handle; 60 p_buf->event = BTA_PAN_CI_TX_READY_EVT; 61 bta_sys_sendmsg(p_buf); 80 BT_HDR *p_buf; local 82 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) 84 p_buf->layer_specific = handle; 85 p_buf->event = BTA_PAN_CI_RX_READY_EVT; 86 bta_sys_sendmsg(p_buf); 107 tBTA_PAN_CI_TX_FLOW *p_buf; local 133 BT_HDR * p_buf; local 173 bta_pan_ci_rx_writebuf(UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, BT_HDR *p_buf, BOOLEAN ext) argument 205 BT_HDR * p_buf; local [all...] |
H A D | bta_pan_act.c | 58 tBTA_PAN_CONN * p_buf; local 62 if ((p_buf = (tBTA_PAN_CONN *) GKI_getbuf(sizeof(tBTA_PAN_CONN))) != NULL) 66 p_buf->hdr.event = BTA_PAN_CONN_OPEN_EVT; 97 p_buf->hdr.event = BTA_PAN_CONN_CLOSE_EVT; 105 p_buf->result = state; 106 p_buf->hdr.layer_specific = handle; 107 bta_sys_sendmsg(p_buf); 127 BT_HDR *p_buf; local 135 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) 137 p_buf 166 bta_pan_data_buf_ind_cback(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 protocol, BT_HDR *p_buf, BOOLEAN ext, BOOLEAN forward) argument 390 BT_HDR *p_buf; local 478 tBTA_PAN_CONN * p_buf; local 552 BT_HDR *p_buf; local 619 BT_HDR * p_buf; local [all...] |
/external/bluetooth/bluedroid/bta/ag/ |
H A D | bta_ag_api.c | 60 tBTA_AG_API_ENABLE *p_buf; local 78 if ((p_buf = (tBTA_AG_API_ENABLE *) GKI_getbuf(sizeof(tBTA_AG_API_ENABLE))) != NULL) 80 p_buf->hdr.event = BTA_AG_API_ENABLE_EVT; 81 p_buf->parse_mode = parse_mode; 82 p_buf->p_cback = p_cback; 83 bta_sys_sendmsg(p_buf); 102 BT_HDR *p_buf; local 104 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) 106 p_buf->event = BTA_AG_API_DISABLE_EVT; 107 bta_sys_sendmsg(p_buf); 124 tBTA_AG_API_REGISTER *p_buf; local 162 BT_HDR *p_buf; local 187 tBTA_AG_API_OPEN *p_buf; local 213 BT_HDR *p_buf; local 236 BT_HDR *p_buf; local 259 BT_HDR *p_buf; local 284 tBTA_AG_API_RESULT *p_buf; local 313 tBTA_AG_API_SETCODEC *p_buf; local [all...] |
H A D | bta_ag_ci.c | 45 tBTA_AG_CI_RX_WRITE *p_buf; local 57 if ((p_buf = (tBTA_AG_CI_RX_WRITE *) GKI_getbuf((UINT16)(sizeof(tBTA_AG_CI_RX_WRITE) + len + 1))) != NULL) 59 p_buf->hdr.event = BTA_AG_CI_RX_WRITE_EVT; 60 p_buf->hdr.layer_specific = handle; 62 p_data_area = (char *)(p_buf+1); /* Point to data area after header */ 66 bta_sys_sendmsg(p_buf); 90 tBTA_AG_DATA *p_buf; local 92 if ((p_buf = (tBTA_AG_DATA *)GKI_getbuf(sizeof(tBTA_AG_DATA))) != NULL) 94 p_buf->hdr.event = BTA_AG_CI_SLC_READY_EVT; 95 p_buf [all...] |
/external/bluetooth/bluedroid/bta/hh/ |
H A D | bta_hh_api.c | 62 tBTA_HH_API_ENABLE *p_buf; local 70 p_buf = (tBTA_HH_API_ENABLE *)GKI_getbuf((UINT16)sizeof(tBTA_HH_API_ENABLE)); 72 if (p_buf != NULL) 74 memset(p_buf, 0, sizeof(tBTA_HH_API_ENABLE)); 76 p_buf->hdr.event = BTA_HH_API_ENABLE_EVT; 77 p_buf->p_cback = p_cback; 78 p_buf->sec_mask = sec_mask; 80 bta_sys_sendmsg(p_buf); 96 BT_HDR *p_buf; local 99 if ((p_buf 117 BT_HDR *p_buf; local 141 tBTA_HH_API_CONN *p_buf; local 171 tBTA_HH_CMD_DATA *p_buf; local 329 BT_HDR *p_buf; local 356 tBTA_HH_MAINT_DEV *p_buf; local 401 tBTA_HH_MAINT_DEV *p_buf; local 430 tBTA_HH_SCPP_UPDATE *p_buf; local [all...] |
/external/libnfc-nci/src/include/ |
H A D | trace_api.h | 36 BT_API extern void DispAMPFrame (BT_HDR *p_buf, BOOLEAN is_recv, BD_ADDR bd_addr); 37 BT_API extern void DispRFCOMMFrame (BT_HDR *p_buf, BOOLEAN is_recv); 38 BT_API extern void DispL2CCmd(BT_HDR *p_buf, BOOLEAN is_recv); 41 BT_API extern void DispTcsMsg (BT_HDR *p_buf, BOOLEAN is_recv); 42 BT_API extern void DispHciEvt (BT_HDR *p_buf); 43 BT_API extern void DispHciAclData (BT_HDR *p_buf, BOOLEAN is_rcvd); 44 BT_API extern void DispHciScoData (BT_HDR *p_buf, BOOLEAN is_rcvd); 45 BT_API extern void DispHciCmd (BT_HDR *p_buf); 46 BT_API extern void DispBnep (BT_HDR *p_buf, BOOLEAN is_recv); 47 BT_API extern void DispAvdtMsg (BT_HDR *p_buf, BOOLEA [all...] |
/external/bluetooth/bluedroid/stack/gatt/ |
H A D | att_protocol.c | 48 BT_HDR *p_buf = NULL; local 51 if ((p_buf = (BT_HDR *)GKI_getbuf(sizeof(BT_HDR) + GATT_HDR_SIZE + L2CAP_MIN_OFFSET)) != NULL) 53 p = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET; 58 p_buf->offset = L2CAP_MIN_OFFSET; 59 p_buf->len = GATT_HDR_SIZE; /* opcode + 2 bytes mtu */ 61 return p_buf; 74 BT_HDR *p_buf = NULL; local 77 if ((p_buf = (BT_HDR *)GKI_getbuf((UINT16)(sizeof(BT_HDR) + 10 + L2CAP_MIN_OFFSET))) != NULL) 79 p = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET; 81 p_buf 109 BT_HDR *p_buf = NULL; local 138 BT_HDR *p_buf = NULL; local 167 BT_HDR *p_buf = NULL; local 204 BT_HDR *p_buf = NULL; local 236 BT_HDR *p_buf = NULL; local 272 BT_HDR *p_buf = NULL; local 298 BT_HDR *p_buf = NULL; local [all...] |
/external/bluetooth/bluedroid/hci/src/ |
H A D | utils.c | 94 void utils_enqueue (BUFFER_Q *p_q, void *p_buf) argument 98 p_hdr = (HC_BUFFER_HDR_T *) ((uint8_t *) p_buf - BT_HC_BUFFER_HDR_SIZE); 110 p_q->p_first = p_buf; 112 p_q->p_last = p_buf; 131 void* p_buf = utils_dequeue_unlocked(p_q); local 133 return p_buf; 182 void *utils_getnext (void *p_buf) argument 186 p_hdr = (HC_BUFFER_HDR_T *) ((uint8_t *) p_buf - BT_HC_BUFFER_HDR_SIZE); 203 void *utils_remove_from_queue (BUFFER_Q *p_q, void *p_buf) argument 206 p_buf 219 utils_remove_from_queue_unlocked(BUFFER_Q *p_q, void *p_buf) argument [all...] |
H A D | bt_hw.c | 144 static void dealloc(void *p_buf) argument 146 HC_BT_HDR *p_hdr = (HC_BT_HDR *) p_buf; 149 bt_hc_cbacks->dealloc((TRANSAC) p_buf, (char *) (p_hdr+1)); 163 static uint8_t xmit_cb(uint16_t opcode, void *p_buf, tINT_CMD_CBACK p_cback) argument 165 return p_hci_if->send_int_cmd(opcode, (HC_BT_HDR *)p_buf, p_cback);
|
/external/bluetooth/bluedroid/stack/rfcomm/ |
H A D | rfc_ts_frames.c | 41 BT_HDR *p_buf; local 45 if ((p_buf = (BT_HDR *)GKI_getpoolbuf (RFCOMM_CMD_POOL_ID)) == NULL) 48 p_buf->offset = L2CAP_MIN_OFFSET; 49 p_data = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET; 56 *p_data = RFCOMM_SABME_FCS ((UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET, cr, dlci); 58 p_buf->len = 4; 60 rfc_check_send_cmd(p_mcb, p_buf); 73 BT_HDR *p_buf; local 77 if ((p_buf = (BT_HDR *)GKI_getpoolbuf (RFCOMM_CMD_POOL_ID)) == NULL) 80 p_buf 105 BT_HDR *p_buf; local 137 BT_HDR *p_buf; local 167 rfc_send_buf_uih(tRFC_MCB *p_mcb, UINT8 dlci, BT_HDR *p_buf) argument 233 BT_HDR *p_buf; local 278 BT_HDR *p_buf; local 306 BT_HDR *p_buf; local 335 BT_HDR *p_buf; local 388 BT_HDR *p_buf; local 419 BT_HDR *p_buf; local 452 BT_HDR *p_buf; local 502 rfc_send_test(tRFC_MCB *p_mcb, BOOLEAN is_command, BT_HDR *p_buf) argument 541 BT_HDR *p_buf; local 570 rfc_parse_data(tRFC_MCB *p_mcb, MX_FRAME *p_frame, BT_HDR *p_buf) argument 697 rfc_process_mx_message(tRFC_MCB *p_mcb, BT_HDR *p_buf) argument [all...] |
H A D | port_api.c | 1112 BT_HDR *p_buf; local 1137 while ((p_buf = (BT_HDR *)GKI_dequeue (&p_port->rx.queue)) != NULL) 1138 GKI_freebuf (p_buf); 1153 while ((p_buf = (BT_HDR *)GKI_dequeue (&p_port->tx.queue)) != NULL) 1154 GKI_freebuf (p_buf); 1190 BT_HDR *p_buf; local 1216 p_buf = (BT_HDR *)GKI_getfirst (&p_port->rx.queue); 1217 if (!p_buf) 1222 while (max_len && p_buf) 1224 if (p_buf 1296 BT_HDR *p_buf; local 1351 port_write(tPORT *p_port, BT_HDR *p_buf) argument 1415 PORT_Write(UINT16 handle, BT_HDR *p_buf) argument 1484 BT_HDR *p_buf; local 1638 BT_HDR *p_buf; local 1760 BT_HDR *p_buf; local [all...] |
/external/bluetooth/bluedroid/stack/avct/ |
H A D | avct_lcb_act.c | 52 static BT_HDR *avct_lcb_msg_asmbl(tAVCT_LCB *p_lcb, BT_HDR *p_buf) argument 60 p = (UINT8 *)(p_buf + 1) + p_buf->offset; 64 if (p_buf->len < avct_lcb_pkt_type_len[pkt_type]) 66 GKI_freebuf(p_buf); 80 p_ret = p_buf; 91 p_lcb->p_rx_msg = p_buf; 110 GKI_freebuf(p_buf); 120 p_buf->offset += AVCT_HDR_LEN_CONT; 121 p_buf 453 BT_HDR *p_buf; local 511 BT_HDR *p_buf; local 647 BT_HDR *p_buf; local [all...] |
/external/bluetooth/bluedroid/stack/smp/ |
H A D | smp_utils.c | 112 BT_HDR *p_buf; local 119 p_buf = (*smp_cmd_build_act[cmd_code])(cmd_code, p_cb); 121 if (p_buf != NULL && 122 smp_send_msg_to_L2CAP(p_cb->pairing_bda, p_buf)) 176 BT_HDR *p_buf = NULL ; local 179 if ((p_buf = (BT_HDR *)GKI_getbuf(sizeof(BT_HDR) + SMP_PAIRING_REQ_SIZE + L2CAP_MIN_OFFSET)) != NULL) 181 p = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET; 191 p_buf->offset = L2CAP_MIN_OFFSET; 193 p_buf->len = SMP_PAIRING_REQ_SIZE; 196 return p_buf; 208 BT_HDR *p_buf = NULL ; local 233 BT_HDR *p_buf = NULL ; local 258 BT_HDR *p_buf = NULL ; local 283 BT_HDR *p_buf = NULL ; local 309 BT_HDR *p_buf = NULL ; local 337 BT_HDR *p_buf = NULL ; local 368 BT_HDR *p_buf = NULL ; local 394 BT_HDR *p_buf = NULL ; local 419 BT_HDR *p_buf = NULL ; local [all...] |
/external/libnfc-nci/src/nfa/include/ |
H A D | nfa_mem_co.h | 67 NFC_API extern void nfa_mem_co_free (void *p_buf);
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
H A D | android_logmsg.cpp | 39 void DispHciCmd (BT_HDR *p_buf); 40 void DispHciEvt (BT_HDR *p_buf); 80 void DispHciCmd (BT_HDR *p_buf) argument 83 int nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1; 84 UINT8 * data = (UINT8*) p_buf; 85 int data_len = BT_HDR_SIZE + p_buf->offset + p_buf->len; 105 void DispHciEvt (BT_HDR *p_buf) argument 108 int nBytes = ((BT_HDR_SIZE + p_buf [all...] |
/external/bluetooth/bluedroid/bta/include/ |
H A D | bta_jv_co.h | 45 BTA_API extern int bta_co_rfc_data_incoming(void *user_data, BT_HDR *p_buf);
|
/external/bluetooth/bluedroid/hci/include/ |
H A D | utils.h | 99 void utils_enqueue (BUFFER_Q *p_q, void *p_buf); 133 void *utils_getnext (void *p_buf); 144 void *utils_remove_from_queue (BUFFER_Q *p_q, void *p_buf); 155 void *utils_remove_from_queue_unlocked (BUFFER_Q *p_q, void *p_buf);
|
/external/bluetooth/bluedroid/stack/l2cap/ |
H A D | l2c_fcr.c | 90 static void process_s_frame (tL2C_CCB *p_ccb, BT_HDR *p_buf, UINT16 ctrl_word); 91 static void process_i_frame (tL2C_CCB *p_ccb, BT_HDR *p_buf, UINT16 ctrl_word, BOOLEAN delay_ack); 93 static void prepare_I_frame (tL2C_CCB *p_ccb, BT_HDR *p_buf, BOOLEAN is_retransmission); 94 static void process_stream_frame (tL2C_CCB *p_ccb, BT_HDR *p_buf); 95 static BOOLEAN do_sar_reassembly (tL2C_CCB *p_ccb, BT_HDR *p_buf, UINT16 ctrl_word); 98 static BOOLEAN l2c_corrupt_the_fcr_packet (tL2C_CCB *p_ccb, BT_HDR *p_buf, 140 UINT16 l2c_fcr_tx_get_fcs (BT_HDR *p_buf) argument 142 UINT8 *p = ((UINT8 *) (p_buf + 1)) + p_buf->offset; 144 return (l2c_fcr_updcrc (L2CAP_FCR_INIT_CRC, p, p_buf 156 l2c_fcr_rx_get_fcs(BT_HDR *p_buf) argument 336 l2c_fcr_clone_buf(BT_HDR *p_buf, UINT16 new_offset, UINT16 no_of_bytes, UINT8 pool) argument 421 prepare_I_frame(tL2C_CCB *p_ccb, BT_HDR *p_buf, BOOLEAN is_retransmission) argument 522 BT_HDR *p_buf; local 638 l2c_fcr_proc_pdu(tL2C_CCB *p_ccb, BT_HDR *p_buf) argument 1022 process_s_frame(tL2C_CCB *p_ccb, BT_HDR *p_buf, UINT16 ctrl_word) argument 1105 process_i_frame(tL2C_CCB *p_ccb, BT_HDR *p_buf, UINT16 ctrl_word, BOOLEAN delay_ack) argument 1299 process_stream_frame(tL2C_CCB *p_ccb, BT_HDR *p_buf) argument 1388 do_sar_reassembly(tL2C_CCB *p_ccb, BT_HDR *p_buf, UINT16 ctrl_word) argument 1515 BT_HDR *p_buf, *p_buf2; local 1630 BT_HDR *p_buf, *p_xmit; local 2297 l2c_corrupt_the_fcr_packet(tL2C_CCB *p_ccb, BT_HDR *p_buf, BOOLEAN is_rx, UINT16 ctrl_word) argument 2625 BT_HDR *p_buf; local [all...] |
/external/bluetooth/bluedroid/bta/dm/ |
H A D | bta_dm_ci.c | 108 BT_HDR *p_buf; local 110 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) 112 p_buf->event = event; 113 p_buf->layer_specific = sco_handle; 115 bta_sys_sendmsg(p_buf);
|