Home
last modified time | relevance | path

Searched refs:btu_cb (Results 1 – 11 of 11) sorted by relevance

/external/bluetooth/bluedroid/stack/btu/
Dbtu_task.c144 tBTU_CB btu_cb; variable
333 if (btu_cb.timer_queue.p_first == NULL) in btu_task()
354 if (btu_cb.event_reg[i].event_cb == NULL) in btu_task()
357 if (mask == btu_cb.event_reg[i].event_range) in btu_task()
359 if (btu_cb.event_reg[i].event_cb) in btu_task()
361 btu_cb.event_reg[i].event_cb(p_msg); in btu_task()
380 GKI_update_timer_list (&btu_cb.timer_queue, 1); in btu_task()
382 while ((btu_cb.timer_queue.p_first) && (!btu_cb.timer_queue.p_first->ticks)) in btu_task()
384 p_tle = btu_cb.timer_queue.p_first; in btu_task()
385 GKI_remove_from_timer_list (&btu_cb.timer_queue, p_tle); in btu_task()
[all …]
Dbtu_init.c97 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()
Dbtu_hcif.c162 p_hci_cmd_cb = &(btu_cb.hci_cmd_cb[controller_id]); in btu_hcif_store_cmd()
449 tHCI_CMD_CB * p_hci_cmd_cb = &(btu_cb.hci_cmd_cb[controller_id]); in btu_hcif_send_cmd()
1166 tHCI_CMD_CB *p_hci_cmd_cb = &(btu_cb.hci_cmd_cb[controller_id]); in btu_hcif_command_complete_evt()
1429 tHCI_CMD_CB * p_hci_cmd_cb = &(btu_cb.hci_cmd_cb[controller_id]); in btu_hcif_command_status_evt()
1526 tHCI_CMD_CB * p_hci_cmd_cb = &(btu_cb.hci_cmd_cb[controller_id]); in btu_hcif_cmd_timeout()
2206 btu_cb.hci_cmd_cb[0].cmd_window = 0; in btu_hcif_flush_cmd_queue()
2207 while ((p_cmd = (BT_HDR *) GKI_dequeue (&btu_cb.hci_cmd_cb[0].cmd_cmpl_q)) != NULL) in btu_hcif_flush_cmd_queue()
2211 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/btm/
Dbtm_devctl.c741 STREAM_TO_UINT16 (btu_cb.hcit_acl_data_size, p); in btm_read_hci_buf_size_complete()
746 btu_cb.hcit_acl_pkt_size = btu_cb.hcit_acl_data_size + HCI_DATA_PREAMBLE_SIZE; in btm_read_hci_buf_size_complete()
803 STREAM_TO_UINT16 (btu_cb.hcit_ble_acl_data_size, p); in btm_read_ble_buf_size_complete()
806 if (btu_cb.hcit_ble_acl_data_size == 0) in btm_read_ble_buf_size_complete()
807 btu_cb.hcit_ble_acl_data_size = btu_cb.hcit_acl_data_size; in btm_read_ble_buf_size_complete()
809 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()
/external/bluetooth/bluedroid/stack/include/
Dbtu.h256 BTU_API extern tBTU_CB btu_cb;
259 #define btu_cb (*btu_cb_ptr)
/external/bluetooth/bluedroid/stack/l2cap/
Dl2c_link.c1246 if ((!p_lcb->is_ble_link && (p_buf->len <= btu_cb.hcit_acl_pkt_size)) || in l2c_link_send_to_lower()
1247 (p_lcb->is_ble_link && (p_buf->len <= btu_cb.hcit_ble_acl_pkt_size))) in l2c_link_send_to_lower()
1249 if (p_buf->len <= btu_cb.hcit_acl_pkt_size) in l2c_link_send_to_lower()
1276 acl_data_size = btu_cb.hcit_ble_acl_data_size; in l2c_link_send_to_lower()
1283 acl_data_size = btu_cb.hcit_acl_data_size; in l2c_link_send_to_lower()
Dl2c_main.c86 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()
Dl2c_utils.c921 maxlen = (GKI_get_pool_bufsize(L2CAP_CMD_POOL_ID) > btu_cb.hcit_acl_pkt_size) ? in l2cu_send_peer_echo_rsp()
922 btu_cb.hcit_acl_data_size : (UINT16)GKI_get_pool_bufsize(L2CAP_CMD_POOL_ID); in l2cu_send_peer_echo_rsp()
3174 if (p_buf->len > btu_cb.hcit_ble_acl_data_size) in l2cu_set_acl_hci_header()
3176 UINT16_TO_STREAM (p, btu_cb.hcit_ble_acl_data_size); in l2cu_set_acl_hci_header()
3188 if (p_buf->len > btu_cb.hcit_acl_data_size) in l2cu_set_acl_hci_header()
3190 UINT16_TO_STREAM (p, btu_cb.hcit_acl_data_size); in l2cu_set_acl_hci_header()
/external/bluetooth/bluedroid/main/
Dbte_logmsg.c325 btu_cb.trace_level = new_level; in BTU_SetTraceLevel()
327 return (btu_cb.trace_level); in BTU_SetTraceLevel()
/external/libnfc-nci/src/include/
Dbt_trace.h611 #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/
Dbt_trace.h652 #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 …]