/external/bluetooth/bluedroid/stack/btu/ |
D | btu_task.c | 144 tBTU_CB btu_cb; variable 319 if (btu_cb.event_reg[i].event_cb == NULL) in btu_task() 322 if (mask == btu_cb.event_reg[i].event_range) in btu_task() 324 if (btu_cb.event_reg[i].event_cb) in btu_task() 326 btu_cb.event_reg[i].event_cb(p_msg); in btu_task() 345 GKI_update_timer_list (&btu_cb.timer_queue, 1); in btu_task() 347 while ((btu_cb.timer_queue.p_first) && (!btu_cb.timer_queue.p_first->ticks)) in btu_task() 349 p_tle = btu_cb.timer_queue.p_first; in btu_task() 350 GKI_remove_from_timer_list (&btu_cb.timer_queue, p_tle); in btu_task() 480 if (btu_cb.timer_reg[i].timer_cb == NULL) in btu_task() [all …]
|
D | btu_init.c | 97 memset (&btu_cb, 0, sizeof (tBTU_CB)); in BTE_Init() 98 btu_cb.hcit_acl_pkt_size = BTU_DEFAULT_DATA_SIZE + HCI_DATA_PREAMBLE_SIZE; in BTE_Init() 100 btu_cb.hcit_ble_acl_pkt_size = BTU_DEFAULT_BLE_DATA_SIZE + HCI_DATA_PREAMBLE_SIZE; in BTE_Init() 102 btu_cb.trace_level = HCI_INITIAL_TRACE_LEVEL; in BTE_Init() 105 btu_cb.hci_cmd_cb[i].cmd_window = 1; in BTE_Init() 120 return btu_cb.hcit_acl_pkt_size; in BTU_AclPktSize() 134 return btu_cb.hcit_ble_acl_pkt_size; in BTU_BleAclPktSize()
|
D | btu_hcif.c | 153 tHCI_CMD_CB * p_hci_cmd_cb = &(btu_cb.hci_cmd_cb[controller_id]); in btu_hcif_store_cmd() 442 tHCI_CMD_CB * p_hci_cmd_cb = &(btu_cb.hci_cmd_cb[controller_id]); in btu_hcif_send_cmd() 1126 tHCI_CMD_CB *p_hci_cmd_cb = &(btu_cb.hci_cmd_cb[controller_id]); in btu_hcif_command_complete_evt() 1383 tHCI_CMD_CB * p_hci_cmd_cb = &(btu_cb.hci_cmd_cb[controller_id]); in btu_hcif_command_status_evt() 1468 tHCI_CMD_CB * p_hci_cmd_cb = &(btu_cb.hci_cmd_cb[controller_id]); in btu_hcif_cmd_timeout() 2152 btu_cb.hci_cmd_cb[0].cmd_window = 0; in btu_hcif_flush_cmd_queue() 2153 while ((p_cmd = (BT_HDR *) GKI_dequeue (&btu_cb.hci_cmd_cb[0].cmd_cmpl_q)) != NULL) in btu_hcif_flush_cmd_queue() 2157 while ((p_cmd = (BT_HDR *) GKI_dequeue (&btu_cb.hci_cmd_cb[0].cmd_xmit_q)) != NULL) in btu_hcif_flush_cmd_queue()
|
/external/bluetooth/bluedroid/stack/include/ |
D | btu.h | 252 BTU_API extern tBTU_CB btu_cb; 255 #define btu_cb (*btu_cb_ptr)
|
/external/bluetooth/bluedroid/stack/btm/ |
D | btm_devctl.c | 680 STREAM_TO_UINT16 (btu_cb.hcit_acl_data_size, p); in btm_read_hci_buf_size_complete() 685 btu_cb.hcit_acl_pkt_size = btu_cb.hcit_acl_data_size + HCI_DATA_PREAMBLE_SIZE; in btm_read_hci_buf_size_complete() 742 STREAM_TO_UINT16 (btu_cb.hcit_ble_acl_data_size, p); in btm_read_ble_buf_size_complete() 745 btu_cb.hcit_ble_acl_pkt_size = btu_cb.hcit_ble_acl_data_size + HCI_DATA_PREAMBLE_SIZE; in btm_read_ble_buf_size_complete()
|
D | btm_acl.c | 2303 && (btu_cb.hcit_acl_data_size == 1017)) in btm_get_max_packet_size()
|
/external/bluetooth/bluedroid/stack/l2cap/ |
D | l2c_main.c | 86 if (p_buf->len > btu_cb.hcit_acl_data_size) in l2c_bcst_msg() 88 UINT16_TO_STREAM (p, btu_cb.hcit_acl_data_size); in l2c_bcst_msg() 102 if (p_buf->len <= btu_cb.hcit_acl_pkt_size) in l2c_bcst_msg() 687 if (cmd_len < (btu_cb.hcit_acl_pkt_size - L2CAP_PKT_OVERHEAD in process_l2cap_cmd()
|
D | l2c_link.c | 1261 if ((!p_lcb->is_ble_link && (p_buf->len <= btu_cb.hcit_acl_pkt_size)) || in l2c_link_send_to_lower() 1262 (p_lcb->is_ble_link && (p_buf->len <= btu_cb.hcit_ble_acl_pkt_size))) in l2c_link_send_to_lower() 1264 if (p_buf->len <= btu_cb.hcit_acl_pkt_size) in l2c_link_send_to_lower() 1291 acl_data_size = btu_cb.hcit_ble_acl_data_size; in l2c_link_send_to_lower() 1298 acl_data_size = btu_cb.hcit_acl_data_size; in l2c_link_send_to_lower()
|
D | l2c_utils.c | 919 maxlen = (GKI_get_pool_bufsize(L2CAP_CMD_POOL_ID) > btu_cb.hcit_acl_pkt_size) ? in l2cu_send_peer_echo_rsp() 920 btu_cb.hcit_acl_data_size : (UINT16)GKI_get_pool_bufsize(L2CAP_CMD_POOL_ID); in l2cu_send_peer_echo_rsp() 3294 if (p_buf->len > btu_cb.hcit_ble_acl_data_size) in l2cu_set_acl_hci_header() 3296 UINT16_TO_STREAM (p, btu_cb.hcit_ble_acl_data_size); in l2cu_set_acl_hci_header() 3308 if (p_buf->len > btu_cb.hcit_acl_data_size) in l2cu_set_acl_hci_header() 3310 UINT16_TO_STREAM (p, btu_cb.hcit_acl_data_size); in l2cu_set_acl_hci_header()
|
/external/bluetooth/bluedroid/main/ |
D | bte_logmsg.c | 325 btu_cb.trace_level = new_level; in BTU_SetTraceLevel() 327 return (btu_cb.trace_level); in BTU_SetTraceLevel()
|
/external/libnfc-nci/halimpl/bcm2079x/include/ |
D | bt_trace.h | 611 #define HCI_TRACE_ERROR0(m) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 612 #define HCI_TRACE_ERROR1(m,p1) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 613 #define HCI_TRACE_ERROR2(m,p1,p2) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 614 #define HCI_TRACE_ERROR3(m,p1,p2,p3) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 615 #define HCI_TRACE_ERROR4(m,p1,p2,p3,p4) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 616 #define HCI_TRACE_ERROR5(m,p1,p2,p3,p4,p5) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 617 #define HCI_TRACE_ERROR6(m,p1,p2,p3,p4,p5,p6) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 619 #define HCI_TRACE_WARNING0(m) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_WARNING) … 620 #define HCI_TRACE_WARNING1(m,p1) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_WARNING) … 621 #define HCI_TRACE_WARNING2(m,p1,p2) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_WARNING) … [all …]
|
/external/bluetooth/bluedroid/include/ |
D | bt_trace.h | 652 #define HCI_TRACE_ERROR0(m) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 653 #define HCI_TRACE_ERROR1(m,p1) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 654 #define HCI_TRACE_ERROR2(m,p1,p2) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 655 #define HCI_TRACE_ERROR3(m,p1,p2,p3) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 656 #define HCI_TRACE_ERROR4(m,p1,p2,p3,p4) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 657 #define HCI_TRACE_ERROR5(m,p1,p2,p3,p4,p5) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 658 #define HCI_TRACE_ERROR6(m,p1,p2,p3,p4,p5,p6) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 660 #define HCI_TRACE_WARNING0(m) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_WARNING) … 661 #define HCI_TRACE_WARNING1(m,p1) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_WARNING) … 662 #define HCI_TRACE_WARNING2(m,p1,p2) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_WARNING) … [all …]
|
/external/libnfc-nci/src/include/ |
D | bt_trace.h | 611 #define HCI_TRACE_ERROR0(m) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 612 #define HCI_TRACE_ERROR1(m,p1) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 613 #define HCI_TRACE_ERROR2(m,p1,p2) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 614 #define HCI_TRACE_ERROR3(m,p1,p2,p3) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 615 #define HCI_TRACE_ERROR4(m,p1,p2,p3,p4) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 616 #define HCI_TRACE_ERROR5(m,p1,p2,p3,p4,p5) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 617 #define HCI_TRACE_ERROR6(m,p1,p2,p3,p4,p5,p6) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_ERROR) BT… 619 #define HCI_TRACE_WARNING0(m) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_WARNING) … 620 #define HCI_TRACE_WARNING1(m,p1) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_WARNING) … 621 #define HCI_TRACE_WARNING2(m,p1,p2) {if (btu_cb.trace_level >= BT_TRACE_LEVEL_WARNING) … [all …]
|