Lines Matching refs:pAC
54 SK_AC *pAC, /* Adapter context */ in SkEventInit() argument
60 pAC->Event.EvPut = pAC->Event.EvGet = pAC->Event.EvQueue; in SkEventInit()
71 SK_AC *pAC, /* Adapters context */ in SkEventQueue() argument
76 pAC->Event.EvPut->Class = Class; in SkEventQueue()
77 pAC->Event.EvPut->Event = Event; in SkEventQueue()
78 pAC->Event.EvPut->Para = Para; in SkEventQueue()
80 if (++pAC->Event.EvPut == &pAC->Event.EvQueue[SK_MAX_EVENT]) in SkEventQueue()
81 pAC->Event.EvPut = pAC->Event.EvQueue; in SkEventQueue()
83 if (pAC->Event.EvPut == pAC->Event.EvGet) { in SkEventQueue()
84 SK_ERR_LOG(pAC, SK_ERRCL_NORES, SKERR_Q_E001, SKERR_Q_E001MSG); in SkEventQueue()
98 SK_AC *pAC, /* Adapters Context */ in SkEventDispatcher() argument
105 pEv = pAC->Event.EvGet; in SkEventDispatcher()
107 PRINTF("dispatch get %x put %x\n", pEv, pAC->Event.ev_put); in SkEventDispatcher()
109 while (pEv != pAC->Event.EvPut) { in SkEventDispatcher()
116 Rtv = SkRlmtEvent(pAC, Ioc, pEv->Event, pEv->Para); in SkEventDispatcher()
119 Rtv = SkI2cEvent(pAC, Ioc, pEv->Event, pEv->Para); in SkEventDispatcher()
122 Rtv = SkPnmiEvent(pAC, Ioc, pEv->Event, pEv->Para); in SkEventDispatcher()
127 Rtv = SkDrvEvent(pAC, Ioc, pEv->Event, pEv->Para); in SkEventDispatcher()
131 Rtv = SkGeSirqEvent(pAC, Ioc, pEv->Event, pEv->Para); in SkEventDispatcher()
135 Rtv = SkSwtEvent(pAC, Ioc, pEv->Event, pEv->Para); in SkEventDispatcher()
140 Rtv = SkLacpEvent(pAC, Ioc, pEv->Event, pEv->Para); in SkEventDispatcher()
143 Rtv = SkRsfEvent(pAC, Ioc, pEv->Event, pEv->Para); in SkEventDispatcher()
146 Rtv = SkMarkerEvent(pAC, Ioc, pEv->Event, pEv->Para); in SkEventDispatcher()
149 Rtv = SkFdEvent(pAC, Ioc, pEv->Event, pEv->Para); in SkEventDispatcher()
154 Rtv = SkCsEvent(pAC, Ioc, pEv->Event, pEv->Para); in SkEventDispatcher()
158 SK_ERR_LOG(pAC, SK_ERRCL_SW, SKERR_Q_E002, SKERR_Q_E002MSG); in SkEventDispatcher()
166 if (++pEv == &pAC->Event.EvQueue[SK_MAX_EVENT]) in SkEventDispatcher()
167 pEv = pAC->Event.EvQueue; in SkEventDispatcher()
170 pAC->Event.EvGet = pEv; in SkEventDispatcher()