Lines Matching defs:channels
116 int rcLock = TMTimerLock((a_pThis)->channels[0].CTX_SUFF(pTimer), (a_rcBusy)); \
122 TMTimerUnlock((a_pThis)->channels[0].CTX_SUFF(pTimer)); \
133 TMTimerLock((a_pThis)->channels[0].CTX_SUFF(pTimer), VERR_IGNORED); \
144 TMTimerUnlock((a_pThis)->channels[0].CTX_SUFF(pTimer)); \
211 PITCHANNEL channels[3];
254 PTMTIMER pTimer = pChan->CTX_SUFF(pPit)->channels[0].CTX_SUFF(pTimer);
299 PTMTIMER pTimer = pChan->CTX_SUFF(pPit)->channels[0].CTX_SUFF(pTimer);
334 PPITCHANNEL pChan = &pThis->channels[channel];
341 PPITCHANNEL pChan = &pThis->channels[channel];
364 PPITCHANNEL pChan = &pThis->channels[channel];
365 PTMTIMER pTimer = pChan->CTX_SUFF(pPit)->channels[0].CTX_SUFF(pTimer);
404 PTMTIMER pTimer = pChan->CTX_SUFF(pPit)->channels[0].CTX_SUFF(pTimer);
427 pChan - &pChan->CTX_SUFF(pPit)->channels[0]));
433 PTMTIMER pTimer = pChan->CTX_SUFF(pPit)->channels[0].CTX_SUFF(pTimer);
518 PTMTIMER pTimer = pChan->CTX_SUFF(pPit)->channels[0].CTX_SUFF(pTimer);
594 PPITCHANNEL pChan = &pThis->channels[Port];
698 for (channel = 0; channel < RT_ELEMENTS(pThis->channels); channel++)
700 PPITCHANNEL pChan = &pThis->channels[channel];
708 PTMTIMER pTimer = pChan->CTX_SUFF(pPit)->channels[0].CTX_SUFF(pTimer);
721 PPITCHANNEL pChan = &pThis->channels[channel];
753 PPITCHANNEL pChan = &pThis->channels[Port];
792 const uint64_t u64Now = TMTimerGet(pThis->channels[0].CTX_SUFF(pTimer));
793 Assert(TMTimerGetFreq(pThis->channels[0].CTX_SUFF(pTimer)) == 1000000000); /* lazy bird. */
857 SSMR3PutU8( pSSM, pThis->channels[0].irq);
875 for (unsigned i = 0; i < RT_ELEMENTS(pThis->channels); i++)
877 PPITCHANNEL pChan = &pThis->channels[i];
936 if (u8Irq != pThis->channels[0].irq)
938 u8Irq, pThis->channels[0].irq);
951 for (unsigned i = 0; i < RT_ELEMENTS(pThis->channels); i++)
953 PPITCHANNEL pChan = &pThis->channels[i];
979 pThis->channels[i].cRelLogEntries = 0;
1026 for (i = 0; i < RT_ELEMENTS(pThis->channels); i++)
1028 const PITCHANNEL *pChan = &pThis->channels[i];
1099 for (unsigned i = 0; i < RT_ELEMENTS(pThis->channels); i++)
1101 PPITCHANNEL pChan = &pThis->channels[i];
1104 pThis->channels[i].pPitRC = PDMINS_2_DATA_RCPTR(pDevIns);
1121 for (unsigned i = 0; i < RT_ELEMENTS(pThis->channels); i++)
1123 PPITCHANNEL pChan = &pThis->channels[i];
1199 pThis->channels[0].irq = u8Irq;
1200 for (i = 0; i < RT_ELEMENTS(pThis->channels); i++)
1202 pThis->channels[i].pPitR3 = pThis;
1203 pThis->channels[i].pPitR0 = PDMINS_2_DATA_R0PTR(pDevIns);
1204 pThis->channels[i].pPitRC = PDMINS_2_DATA_RCPTR(pDevIns);
1227 rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL_SYNC, pitTimer, &pThis->channels[0],
1229 &pThis->channels[0].pTimerR3);
1232 pThis->channels[0].pTimerRC = TMTimerRCPtr(pThis->channels[0].pTimerR3);
1233 pThis->channels[0].pTimerR0 = TMTimerR0Ptr(pThis->channels[0].pTimerR3);
1234 rc = TMR3TimerSetCritSect(pThis->channels[0].pTimerR3, &pThis->CritSect);