Lines Matching refs:pAC
48 #define SK_HWT_FAC (1000 * (SK_U32)pAC->GIni.GIHstClkFact / 100)
56 SK_AC *pAC, /* Adapters context */ in SkHwtInit() argument
59 pAC->Hwt.TStart = 0 ; in SkHwtInit()
60 pAC->Hwt.TStop = 0 ; in SkHwtInit()
61 pAC->Hwt.TActive = SK_FALSE; in SkHwtInit()
63 SkHwtStop(pAC, Ioc); in SkHwtInit()
72 SK_AC *pAC, /* Adapters context */ in SkHwtStart() argument
81 pAC->Hwt.TStart = Time; in SkHwtStart()
82 pAC->Hwt.TStop = 0L; in SkHwtStart()
98 pAC->Hwt.TActive = SK_TRUE; in SkHwtStart()
106 SK_AC *pAC, /* Adapters context */ in SkHwtStop() argument
113 pAC->Hwt.TActive = SK_FALSE; in SkHwtStop()
125 SK_AC *pAC, /* Adapters context */ in SkHwtRead() argument
131 if (pAC->Hwt.TActive) { in SkHwtRead()
133 SkHwtStop(pAC, Ioc); in SkHwtRead()
141 if ((TRead > pAC->Hwt.TStart) || (IStatus & IS_TIMINT)) { in SkHwtRead()
143 SkHwtStop(pAC, Ioc); in SkHwtRead()
145 pAC->Hwt.TStop = pAC->Hwt.TStart; in SkHwtRead()
149 pAC->Hwt.TStop = pAC->Hwt.TStart - TRead; in SkHwtRead()
152 return(pAC->Hwt.TStop); in SkHwtRead()
159 SK_AC *pAC, /* Adapters context */ in SkHwtIsr() argument
162 SkHwtStop(pAC, Ioc); in SkHwtIsr()
164 pAC->Hwt.TStop = pAC->Hwt.TStart; in SkHwtIsr()
166 SkTimerDone(pAC, Ioc); in SkHwtIsr()