Home
last modified time | relevance | path

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

/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
/hardware/nxp/uwb/halimpl/tml/
DphOsalUwb_Timer.cc68 uint32_t dwTimerId; in phOsalUwb_Timer_Create() local
76 dwTimerId = phUtilUwb_CheckForAvailableTimer(); in phOsalUwb_Timer_Create()
80 if ((PH_UWB_TIMER_ID_ZERO != dwTimerId) && (dwTimerId <= PH_UWB_MAX_TIMER)) { in phOsalUwb_Timer_Create()
81 pTimerHandle = (phOsalUwb_TimerHandle_t*)&apTimerInfo[dwTimerId - 1]; in phOsalUwb_Timer_Create()
83 dwTimerId += PH_UWB_TIMER_BASE_ADDRESS; in phOsalUwb_Timer_Create()
84 se.sigev_value.sival_int = (int)dwTimerId; in phOsalUwb_Timer_Create()
88 dwTimerId = PH_UWB_TIMER_ID_INVALID; in phOsalUwb_Timer_Create()
94 pTimerHandle->TimerId = dwTimerId; in phOsalUwb_Timer_Create()
97 dwTimerId = PH_UWB_TIMER_ID_INVALID; in phOsalUwb_Timer_Create()
102 return dwTimerId; in phOsalUwb_Timer_Create()
[all …]
DphOsalUwb_Timer.h69 tHAL_UWB_STATUS phOsalUwb_Timer_Start(uint32_t dwTimerId, uint32_t dwRegTimeCnt,
72 tHAL_UWB_STATUS phOsalUwb_Timer_Stop(uint32_t dwTimerId);
73 tHAL_UWB_STATUS phOsalUwb_Timer_Delete(uint32_t dwTimerId);
/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.h177 uint32_t dwTimerId; /* Timer used to retransmit nci packet */ member
DphTmlNfc.cc149 gpphTmlNfc_Context->dwTimerId = phOsalNfc_Timer_Create(); in phTmlNfc_Init()
150 if (PH_OSALNFC_TIMER_ID_INVALID != gpphTmlNfc_Context->dwTimerId) { in phTmlNfc_Init()
354 phOsalNfc_Timer_Stop(gpphTmlNfc_Context->dwTimerId); in phTmlNfc_TmlThread()