Lines Matching refs:pTimerInfo
338 TTimerInfo *pTimerInfo; /* The created timer handle */
347 pTimerInfo = os_memoryAlloc (pTimerModule->hOs, sizeof(TTimerInfo));
348 if (!pTimerInfo)
353 os_memoryZero (pTimerModule->hOs, pTimerInfo, (sizeof(TTimerInfo)));
356 pTimerInfo->hOsTimerObj = os_timerCreate(pTimerModule->hOs, tmr_GetExpiry, (TI_HANDLE)pTimerInfo);
357 if (!pTimerInfo->hOsTimerObj)
360 os_memoryFree (pTimerModule->hOs, pTimerInfo, sizeof(TTimerInfo));
366 pTimerInfo->hTimerModule = hTimerModule;
370 return (TI_HANDLE)pTimerInfo;
387 TTimerInfo *pTimerInfo = (TTimerInfo *)hTimerInfo; /* The timer handle */
390 if (!pTimerInfo)
394 pTimerModule = (TTimerModule *)pTimerInfo->hTimerModule;
402 if (pTimerInfo->hOsTimerObj) {
403 os_timerDestroy (pTimerModule->hOs, pTimerInfo->hOsTimerObj);
438 TTimerInfo *pTimerInfo = (TTimerInfo *)hTimerInfo; /* The timer handle */
439 TTimerModule *pTimerModule = (TTimerModule *)pTimerInfo->hTimerModule; /* The timer module handle */
448 pTimerInfo->fExpiryCbFunc = fExpiryCbFunc;
449 pTimerInfo->hExpiryCbHndl = hExpiryCbHndl;
450 pTimerInfo->uIntervalMsec = uIntervalMsec;
451 pTimerInfo->bPeriodic = bPeriodic;
452 pTimerInfo->bOperStateWhenStarted = pTimerModule->bOperState;
453 pTimerInfo
456 os_timerStart(pTimerModule->hOs, pTimerInfo->hOsTimerObj, uIntervalMsec);
475 TTimerInfo *pTimerInfo = (TTimerInfo *)hTimerInfo; /* The timer handle */
476 TTimerModule *pTimerModule = (TTimerModule *)pTimerInfo->hTimerModule; /* The timer module handle */
485 os_timerStop(pTimerModule->hOs, pTimerInfo->hOsTimerObj);
488 pTimerInfo->bPeriodic = TI_FALSE;
507 TTimerInfo *pTimerInfo = (TTimerInfo *)hTimerInfo; /* The timer handle */
508 TTimerModule *pTimerModule = (TTimerModule *)pTimerInfo->hTimerModule; /* The timer module handle */
523 if (pTimerInfo->bOperStateWhenStarted)
563 TTimerInfo *pTimerInfo; /* The timer handle */
580 pTimerInfo = (TTimerInfo *) que_Dequeue (pTimerModule->hOperQueue);
586 pTimerInfo = (TTimerInfo *) que_Dequeue (pTimerModule->hInitQueue);
593 if (!pTimerInfo)
599 bTwdInitOccured = (pTimerModule->uTwdInitCount != pTimerInfo->uTwdInitCountWhenStarted);
602 pTimerInfo->fExpiryCbFunc (pTimerInfo->hExpiryCbHndl, bTwdInitOccured);
605 if (pTimerInfo->bPeriodic)
607 tmr_StartTimer ((TI_HANDLE)pTimerInfo,
608 pTimerInfo->fExpiryCbFunc,
609 pTimerInfo->hExpiryCbHndl,
610 pTimerInfo->uIntervalMsec,
611 pTimerInfo->bPeriodic);
658 TTimerInfo *pTimerInfo = (TTimerInfo *)hTimerInfo; /* The timer handle */
661 pTimerInfo->uIntervalMsec, pTimerInfo->bPeriodic, pTimerInfo->bOperStateWhenStarted,
662 pTimerInfo->uTwdInitCountWhenStarted, pTimerInfo->hOsTimerObj, pTimerInfo->fExpiryCbFunc));