Lines Matching refs:dmaWriteCG
74 dmaWriteCG(NULL),
520 if (dmaWriteCG)
521 delete dmaWriteCG;
522 dmaWriteCG = NULL;
526 if (!dmaWriteCG) {
528 dmaWriteCG = new ChunkGenerator(curPrd.getBaseAddr(),
535 } else if (!dmaWriteCG->done()) {
536 assert(dmaWriteCG->complete() < MAX_DMA_SIZE);
537 ctrl->dmaWrite(pciToDma(dmaWriteCG->addr()), dmaWriteCG->size(),
538 &dmaWriteWaitEvent, dataBuffer + dmaWriteCG->complete());
541 dmaWriteBytes += dmaWriteCG->size();
543 if (dmaWriteCG->size() == TheISA::PageBytes)
545 dmaWriteCG->next();
549 assert(dmaWriteCG->done());
550 delete dmaWriteCG;
551 dmaWriteCG = NULL;