Home
last modified time | relevance | path

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

/external/libnfc-nxp/Linux_x86/
DphOsalNfc_Timer.c72 phOsalNfc_Timer_Msg_t *timer_msg; in phOsalNfc_Timer_DeferredCall() local
77 timer_msg = (phOsalNfc_Timer_Msg_t *)params; in phOsalNfc_Timer_DeferredCall()
79 if((timer_msg != NULL) && (timer_msg->pCallBck != NULL)) in phOsalNfc_Timer_DeferredCall()
80 timer_msg->pCallBck(timer_msg->TimerId, timer_msg->pContext); in phOsalNfc_Timer_DeferredCall()
82 if ((timer_msg->TimerId >= MAX_NO_TIMERS) || (timer_msg->TimerId < 0)) in phOsalNfc_Timer_DeferredCall()
84 printf("Bad TimerId=%d, should be <= to %d\n", timer_msg->TimerId, MAX_NO_TIMERS); in phOsalNfc_Timer_DeferredCall()
88 if(timers[timer_msg->TimerId].ptr != NULL) in phOsalNfc_Timer_DeferredCall()
90 phOsalNfc_FreeMemory(timers[timer_msg->TimerId].ptr); in phOsalNfc_Timer_DeferredCall()
91 timers[timer_msg->TimerId].ptr = NULL; in phOsalNfc_Timer_DeferredCall()
94 phOsalNfc_FreeMemory(timer_msg); in phOsalNfc_Timer_DeferredCall()
[all …]