Home
last modified time | relevance | path

Searched refs:btu_thread (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/stack/btu/
Dbtu_init.c66 osi_thread_t *btu_thread = NULL; variable
187btu_thread = osi_thread_create(BTU_TASK_NAME, BTU_TASK_STACK_SIZE, BTU_TASK_PRIO, BTU_TASK_PINNED_… in BTU_StartUp()
189 if (btu_thread == NULL) { in BTU_StartUp()
229 if (btu_thread) { in BTU_ShutDown()
230 osi_thread_free(btu_thread); in BTU_ShutDown()
231 btu_thread = NULL; in BTU_ShutDown()
260 if (osi_thread_queue_wait_size(btu_thread, 0) >= BT_QUEUE_CONGEST_SIZE) { in BTU_check_queue_is_congest()
270 return osi_thread_queue_wait_size(btu_thread, 0); in get_btu_work_queue_size()
275 return btu_thread; in btu_get_current_thread()
Dbtu_task.c115 extern void *btu_thread;
225 status = osi_thread_post(btu_thread, btu_task_start_up, param, 0, timeout); in btu_task_post()
228 status = osi_thread_post(btu_thread, btu_hci_msg_process, param, 0, timeout); in btu_task_post()
244 status = osi_thread_post(btu_thread, bta_sys_event, param, 0, timeout); in btu_task_post()
247 status = osi_thread_post(btu_thread, btu_bta_alarm_process, param, 0, timeout); in btu_task_post()
252 status = osi_thread_post(btu_thread, btu_general_alarm_process, param, 0, timeout); in btu_task_post()
255 status = osi_thread_post(btu_thread, btu_l2cap_alarm_process, param, 0, timeout); in btu_task_post()