Home
last modified time | relevance | path

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

/hardware/nxp/nfc/snxxx/halimpl/tml/
DphOsalNfc_Timer.cc73 uint32_t dwTimerId = PH_OSALNFC_TIMER_ID_INVALID; in phOsalNfc_Timer_Create() local
81 dwTimerId = phUtilNfc_CheckForAvailableTimer(); in phOsalNfc_Timer_Create()
85 if ((PH_NFC_TIMER_ID_ZERO != dwTimerId) && (dwTimerId <= PH_NFC_MAX_TIMER)) { in phOsalNfc_Timer_Create()
86 pTimerHandle = (phOsalNfc_TimerHandle_t*)&apTimerInfo[dwTimerId - 1]; in phOsalNfc_Timer_Create()
88 dwTimerId += PH_NFC_TIMER_BASE_ADDRESS; in phOsalNfc_Timer_Create()
89 se.sigev_value.sival_int = (int)dwTimerId; in phOsalNfc_Timer_Create()
93 dwTimerId = PH_NFC_TIMER_ID_INVALID; in phOsalNfc_Timer_Create()
99 pTimerHandle->TimerId = dwTimerId; in phOsalNfc_Timer_Create()
102 dwTimerId = PH_NFC_TIMER_ID_INVALID; in phOsalNfc_Timer_Create()
107 return dwTimerId; in phOsalNfc_Timer_Create()
[all …]
DphOsalNfc_Timer.h74 NFCSTATUS phOsalNfc_Timer_Start(uint32_t dwTimerId, uint32_t dwRegTimeCnt,
77 NFCSTATUS phOsalNfc_Timer_Stop(uint32_t dwTimerId);
78 NFCSTATUS phOsalNfc_Timer_Delete(uint32_t dwTimerId);
DphTmlNfc.cc56 static void phTmlNfc_ReTxTimerCb(uint32_t dwTimerId, void* pContext);
145 gpphTmlNfc_Context->dwTimerId = phOsalNfc_Timer_Create(); in phTmlNfc_Init()
146 if (PH_OSALNFC_TIMER_ID_INVALID != gpphTmlNfc_Context->dwTimerId) { in phTmlNfc_Init()
287 static void phTmlNfc_ReTxTimerCb(uint32_t dwTimerId, void* pContext) { in phTmlNfc_ReTxTimerCb() argument
288 if ((gpphTmlNfc_Context->dwTimerId == dwTimerId) && (NULL == pContext)) { in phTmlNfc_ReTxTimerCb()
320 wStatus = phOsalNfc_Timer_Start(gpphTmlNfc_Context->dwTimerId, in phTmlNfc_InitiateTimer()
402 phOsalNfc_Timer_Stop(gpphTmlNfc_Context->dwTimerId); in phTmlNfc_TmlThread()
DphTmlNfc.h172 uint32_t dwTimerId; /* Timer used to retransmit nci packet */ member
/hardware/nxp/nfc/pn8x/halimpl/tml/
DphOsalNfc_Timer.cc73 uint32_t dwTimerId = PH_OSALNFC_TIMER_ID_INVALID; in phOsalNfc_Timer_Create() local
81 dwTimerId = phUtilNfc_CheckForAvailableTimer(); in phOsalNfc_Timer_Create()
85 if ((PH_NFC_TIMER_ID_ZERO != dwTimerId) && (dwTimerId <= PH_NFC_MAX_TIMER)) { in phOsalNfc_Timer_Create()
86 pTimerHandle = (phOsalNfc_TimerHandle_t*)&apTimerInfo[dwTimerId - 1]; in phOsalNfc_Timer_Create()
88 dwTimerId += PH_NFC_TIMER_BASE_ADDRESS; in phOsalNfc_Timer_Create()
89 se.sigev_value.sival_int = (int)dwTimerId; in phOsalNfc_Timer_Create()
93 dwTimerId = PH_NFC_TIMER_ID_INVALID; in phOsalNfc_Timer_Create()
99 pTimerHandle->TimerId = dwTimerId; in phOsalNfc_Timer_Create()
102 dwTimerId = PH_NFC_TIMER_ID_INVALID; in phOsalNfc_Timer_Create()
107 return dwTimerId; in phOsalNfc_Timer_Create()
[all …]
DphOsalNfc_Timer.h74 NFCSTATUS phOsalNfc_Timer_Start(uint32_t dwTimerId, uint32_t dwRegTimeCnt,
77 NFCSTATUS phOsalNfc_Timer_Stop(uint32_t dwTimerId);
78 NFCSTATUS phOsalNfc_Timer_Delete(uint32_t dwTimerId);
DphTmlNfc.cc51 static void phTmlNfc_ReTxTimerCb(uint32_t dwTimerId, void* pContext);
132 gpphTmlNfc_Context->dwTimerId = phOsalNfc_Timer_Create(); in phTmlNfc_Init()
133 if (PH_OSALNFC_TIMER_ID_INVALID != gpphTmlNfc_Context->dwTimerId) { in phTmlNfc_Init()
249 static void phTmlNfc_ReTxTimerCb(uint32_t dwTimerId, void* pContext) { in phTmlNfc_ReTxTimerCb() argument
250 if ((gpphTmlNfc_Context->dwTimerId == dwTimerId) && (NULL == pContext)) { in phTmlNfc_ReTxTimerCb()
282 wStatus = phOsalNfc_Timer_Start(gpphTmlNfc_Context->dwTimerId, in phTmlNfc_InitiateTimer()
363 phOsalNfc_Timer_Stop(gpphTmlNfc_Context->dwTimerId); in phTmlNfc_TmlThread()
DphTmlNfc.h154 uint32_t dwTimerId; /* Timer used to retransmit nci packet */ member