Lines Matching refs:dwIndex
143 uint32_t dwIndex; in phOsalNfc_Timer_Start() local
146 dwIndex = dwTimerId - PH_NFC_TIMER_BASE_ADDRESS - 0x01; in phOsalNfc_Timer_Start()
147 pTimerHandle = (phOsalNfc_TimerHandle_t*)&apTimerInfo[dwIndex]; in phOsalNfc_Timer_Start()
150 if ((dwIndex < PH_NFC_MAX_TIMER) && (0x00 != pTimerHandle->TimerId) && in phOsalNfc_Timer_Start()
197 uint32_t dwIndex; in phOsalNfc_Timer_Stop() local
199 dwIndex = dwTimerId - PH_NFC_TIMER_BASE_ADDRESS - 0x01; in phOsalNfc_Timer_Stop()
200 pTimerHandle = (phOsalNfc_TimerHandle_t*)&apTimerInfo[dwIndex]; in phOsalNfc_Timer_Stop()
203 if ((dwIndex < PH_NFC_MAX_TIMER) && (0x00 != pTimerHandle->TimerId) && in phOsalNfc_Timer_Stop()
243 uint32_t dwIndex; in phOsalNfc_Timer_Delete() local
245 dwIndex = dwTimerId - PH_NFC_TIMER_BASE_ADDRESS - 0x01; in phOsalNfc_Timer_Delete()
246 pTimerHandle = (phOsalNfc_TimerHandle_t*)&apTimerInfo[dwIndex]; in phOsalNfc_Timer_Delete()
251 if ((dwIndex < PH_NFC_MAX_TIMER) && (0x00 != pTimerHandle->TimerId) && in phOsalNfc_Timer_Delete()
280 uint32_t dwIndex; in phOsalNfc_Timer_Cleanup() local
282 for (dwIndex = 0; dwIndex < PH_NFC_MAX_TIMER; dwIndex++) { in phOsalNfc_Timer_Cleanup()
283 pTimerHandle = (phOsalNfc_TimerHandle_t*)&apTimerInfo[dwIndex]; in phOsalNfc_Timer_Cleanup()
292 NXPLOG_TML_E("timer %d delete error!", dwIndex); in phOsalNfc_Timer_Cleanup()
317 uint32_t dwIndex; in phOsalNfc_DeferredCall() local
321 dwIndex = (uintptr_t)pParams - PH_NFC_TIMER_BASE_ADDRESS - 0x01; in phOsalNfc_DeferredCall()
322 pTimerHandle = (phOsalNfc_TimerHandle_t*)&apTimerInfo[dwIndex]; in phOsalNfc_DeferredCall()
370 uint32_t dwIndex; in phOsalNfc_Timer_Expired() local
373 dwIndex = ((uint32_t)(sv.sival_int)) - PH_NFC_TIMER_BASE_ADDRESS - 0x01; in phOsalNfc_Timer_Expired()
374 pTimerHandle = (phOsalNfc_TimerHandle_t*)&apTimerInfo[dwIndex]; in phOsalNfc_Timer_Expired()
404 uint32_t dwIndex = 0x00; in phUtilNfc_CheckForAvailableTimer() local
408 for (dwIndex = 0x00; ((dwIndex < PH_NFC_MAX_TIMER) && (0x00 == dwRetval)); in phUtilNfc_CheckForAvailableTimer()
409 dwIndex++) { in phUtilNfc_CheckForAvailableTimer()
410 if (!(apTimerInfo[dwIndex].TimerId)) { in phUtilNfc_CheckForAvailableTimer()
411 dwRetval = (dwIndex + 0x01); in phUtilNfc_CheckForAvailableTimer()
431 uint32_t dwIndex; in phOsalNfc_CheckTimerPresence() local
434 for (dwIndex = 0x00; in phOsalNfc_CheckTimerPresence()
435 ((dwIndex < PH_NFC_MAX_TIMER) && (wRegisterStatus != NFCSTATUS_SUCCESS)); in phOsalNfc_CheckTimerPresence()
436 dwIndex++) { in phOsalNfc_CheckTimerPresence()
438 if (((&apTimerInfo[dwIndex]) == (phOsalNfc_TimerHandle_t*)pObjectHandle) && in phOsalNfc_CheckTimerPresence()
439 (apTimerInfo[dwIndex].TimerId)) { in phOsalNfc_CheckTimerPresence()