Lines Matching refs:IdeDisk
60 #include "debug/IdeDisk.hh"
69 IdeDisk::IdeDisk(const Params *p)
143 IdeDisk::~IdeDisk()
150 IdeDisk::reset(int id)
194 IdeDisk::isDEVSelect()
200 IdeDisk::pciToDma(Addr pciAddr)
213 IdeDisk::readCommand(const Addr offset, int size, uint8_t *data)
255 DPRINTF(IdeDisk, "Read to disk at offset: %#x data %#x\n", offset, *data);
259 IdeDisk::readControl(const Addr offset, int size, uint8_t *data)
265 DPRINTF(IdeDisk, "Read to disk at offset: %#x data %#x\n", offset, *data);
269 IdeDisk::writeCommand(const Addr offset, int size, const uint8_t *data)
312 DPRINTF(IdeDisk, "Write to disk at offset: %#x data %#x\n", offset,
317 IdeDisk::writeControl(const Addr offset, int size, const uint8_t *data)
332 DPRINTF(IdeDisk, "Write to disk at offset: %#x data %#x\n", offset,
341 IdeDisk::doDmaTransfer()
344 DPRINTF(IdeDisk, "DMA Aborted before reading PRD entry\n");
362 IdeDisk::dmaPrdReadDone()
365 DPRINTF(IdeDisk, "DMA Aborted while reading PRD entry\n");
370 DPRINTF(IdeDisk,
386 IdeDisk::doDmaDataRead()
391 DPRINTF(IdeDisk, "doDmaRead, diskDelay: %d totalDiskDelay: %d\n",
398 IdeDisk::regStats()
431 IdeDisk::doDmaRead()
434 DPRINTF(IdeDisk, "DMA Aborted in middle of Dma Read\n");
470 IdeDisk::dmaReadDone()
493 IdeDisk::doDmaDataWrite()
499 DPRINTF(IdeDisk, "doDmaWrite, diskDelay: %d totalDiskDelay: %d\n",
509 DPRINTF(IdeDisk, "doDmaWrite, bytesRead: %d cmdBytesLeft: %d\n",
516 IdeDisk::doDmaWrite()
519 DPRINTF(IdeDisk, "DMA Aborted while doing DMA Write\n");
533 DPRINTF(IdeDisk, "doDmaWrite: rescheduling\n");
539 DPRINTF(IdeDisk, "doDmaWrite: not done curPrd byte count %d, eot %#x\n",
547 DPRINTF(IdeDisk, "doDmaWrite: done curPrd byte count %d, eot %#x\n",
557 IdeDisk::dmaWriteDone()
559 DPRINTF(IdeDisk, "doWriteDone: curPrd byte count %d, eot %#x cmd bytes left:%d\n",
576 IdeDisk::readDisk(uint32_t sector, uint8_t *data)
586 IdeDisk::writeDisk(uint32_t sector, uint8_t *data)
600 IdeDisk::startDma(const uint32_t &prdTableBase)
618 IdeDisk::abortDma()
630 IdeDisk::startCommand()
698 DPRINTF(IdeDisk, "Setting cmdBytesLeft to %d\n", cmdBytesLeft);
717 DPRINTF(IdeDisk, "Setting cmdBytesLeft to %d in readdma\n", cmdBytesLeft);
746 IdeDisk::intrPost()
748 DPRINTF(IdeDisk, "Posting Interrupt\n");
761 IdeDisk::intrClear()
763 DPRINTF(IdeDisk, "Clearing Interrupt\n");
779 IdeDisk::updateState(DevAction_t action)
1069 DPRINTF(IdeDisk, "Disk still busy aborting previous DMA command\n");
1079 IdeDisk::serialize(CheckpointOut &cp) const
1157 IdeDisk::unserialize(CheckpointIn &cp)
1209 IdeDisk *
1212 return new IdeDisk(this);