Lines Matching refs:p_tle
149 typedef void (tUSER_TIMEOUT_FUNC) (TIMER_LIST_ENT *p_tle);
378 TIMER_LIST_ENT *p_tle; in btu_task() local
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()
387 switch (p_tle->event) in btu_task()
390 btm_dev_timeout(p_tle); in btu_task()
394 btm_acl_timeout(p_tle); in btu_task()
403 l2c_process_timeout (p_tle); in btu_task()
407 sdp_conn_timeout ((tCONN_CB *)p_tle->param); in btu_task()
417 rfcomm_process_timeout (p_tle); in btu_task()
424 bnep_process_timeout(p_tle); in btu_task()
434 avdt_process_timeout(p_tle); in btu_task()
441 obx_cl_timeout(p_tle); in btu_task()
446 obx_sr_timeout(p_tle); in btu_task()
450 obx_sr_sess_timeout(p_tle); in btu_task()
457 sap_process_timeout(p_tle); in btu_task()
462 btu_hcif_cmd_timeout((UINT8)(p_tle->event - BTU_TTYPE_BTU_CMD_CMPL)); in btu_task()
467 hidh_proc_repage_timeout(p_tle); in btu_task()
475 btm_ble_timeout(p_tle); in btu_task()
479 gatt_rsp_timeout(p_tle); in btu_task()
483 gatt_ind_ack_timeout(p_tle); in btu_task()
487 smp_rsp_timeout(p_tle); in btu_task()
495 mca_process_timeout(p_tle); in btu_task()
500 tUSER_TIMEOUT_FUNC *p_uf = (tUSER_TIMEOUT_FUNC *)p_tle->param; in btu_task()
501 (*p_uf)(p_tle); in btu_task()
513 if (btu_cb.timer_reg[i].p_tle == p_tle) in btu_task()
515 btu_cb.timer_reg[i].timer_cb(p_tle); in btu_task()
580 void btu_start_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout) in btu_start_timer() argument
603 GKI_remove_from_timer_list (&btu_cb.timer_queue, p_tle); in btu_start_timer()
605 p_tle->event = type; in btu_start_timer()
606 p_tle->ticks = timeout; /* Save the number of seconds for the timer */ in btu_start_timer()
608 GKI_add_to_timer_list (&btu_cb.timer_queue, p_tle); in btu_start_timer()
620 UINT32 btu_remaining_time (TIMER_LIST_ENT *p_tle) in btu_remaining_time() argument
622 return(GKI_get_remaining_ticks (&btu_cb.timer_queue, p_tle)); in btu_remaining_time()
634 void btu_stop_timer (TIMER_LIST_ENT *p_tle) in btu_stop_timer() argument
637 GKI_remove_from_timer_list (&btu_cb.timer_queue, p_tle); in btu_stop_timer()
673 void btu_start_quick_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout) in btu_start_quick_timer() argument
694 GKI_remove_from_timer_list (&btu_cb.quick_timer_queue, p_tle); in btu_start_quick_timer()
696 p_tle->event = type; in btu_start_quick_timer()
697 p_tle->ticks = timeout; /* Save the number of ticks for the timer */ in btu_start_quick_timer()
699 GKI_add_to_timer_list (&btu_cb.quick_timer_queue, p_tle); in btu_start_quick_timer()
712 void btu_stop_quick_timer (TIMER_LIST_ENT *p_tle) in btu_stop_quick_timer() argument
714 GKI_remove_from_timer_list (&btu_cb.quick_timer_queue, p_tle); in btu_stop_quick_timer()
754 TIMER_LIST_ENT *p_tle; in process_quick_timer_evt() local
760 p_tle = p_tlq->p_first; in process_quick_timer_evt()
761 GKI_remove_from_timer_list (p_tlq, p_tle); in process_quick_timer_evt()
763 switch (p_tle->event) in process_quick_timer_evt()
767 l2c_process_timeout (p_tle); in process_quick_timer_evt()
779 void btu_register_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout, tBTU_TIMER_CALLBACK ti… in btu_register_timer() argument
785 if (btu_cb.timer_reg[i].p_tle == NULL && first < 0) in btu_register_timer()
787 if (btu_cb.timer_reg[i].p_tle == p_tle) in btu_register_timer()
790 btu_start_timer(p_tle, type, timeout); in btu_register_timer()
799 btu_cb.timer_reg[first].p_tle = p_tle; in btu_register_timer()
800 btu_start_timer(p_tle, type, timeout); in btu_register_timer()
806 void btu_deregister_timer(TIMER_LIST_ENT *p_tle) in btu_deregister_timer() argument
812 if (btu_cb.timer_reg[i].p_tle == p_tle) in btu_deregister_timer()
814 btu_stop_timer(p_tle); in btu_deregister_timer()
816 btu_cb.timer_reg[i].p_tle = NULL; in btu_deregister_timer()