Lines Matching refs:pAC

47 static void timer_done(SK_AC *pAC,SK_IOC Ioc,int Restart);
56 SK_AC *pAC, /* Adapters context */ in SkTimerInit() argument
62 pAC->Tim.StQueue = 0; in SkTimerInit()
65 SkHwtInit(pAC, Ioc); in SkTimerInit()
66 SkTimerDone(pAC, Ioc); in SkTimerInit()
78 SK_AC *pAC, /* Adapters context */ in SkTimerStop() argument
90 if (pAC->Tim.StQueue == pTimer && !pTimer->TmNext) { in SkTimerStop()
91 SkHwtStop(pAC, Ioc); in SkTimerStop()
94 for (ppTimPrev = &pAC->Tim.StQueue; (pTm = *ppTimPrev); in SkTimerStop()
118 SK_AC *pAC, /* Adapters context */ in SkTimerStart() argument
135 SkTimerStop(pAC, Ioc, pTimer); in SkTimerStart()
142 if (!pAC->Tim.StQueue) { in SkTimerStart()
144 pAC->Tim.StQueue = pTimer; in SkTimerStart()
148 SkHwtStart(pAC, Ioc, Time); in SkTimerStart()
156 timer_done(pAC, Ioc, 0); in SkTimerStart()
162 for (ppTimPrev = &pAC->Tim.StQueue; (pTm = *ppTimPrev); in SkTimerStart()
186 SkHwtStart(pAC, Ioc, pAC->Tim.StQueue->TmDelta); in SkTimerStart()
191 SK_AC *pAC, /* Adapters context */ in SkTimerDone() argument
194 timer_done(pAC, Ioc, 1); in SkTimerDone()
199 SK_AC *pAC, /* Adapters context */ in timer_done() argument
209 Delta = SkHwtRead(pAC, Ioc); in timer_done()
211 ppLast = &pAC->Tim.StQueue; in timer_done()
212 pTm = pAC->Tim.StQueue; in timer_done()
234 for ( pTComp = pAC->Tim.StQueue; pTComp; pTComp = pTComp->TmNext) { in timer_done()
235 SkEventQueue(pAC,pTComp->TmClass, pTComp->TmEvent, pTComp->TmPara); in timer_done()
239 pAC->Tim.StQueue = pTm; in timer_done()
241 if (Restart && pAC->Tim.StQueue) { in timer_done()
243 SkHwtStart(pAC, Ioc, pAC->Tim.StQueue->TmDelta); in timer_done()