Lines Matching refs:cmdBytesLeft
162 cmdBytesLeft = 0;
373 curPrd.getByteCount(), (cmdBytesLeft/SectorSize),
478 cmdBytesLeft -= SectorSize;
484 assert(cmdBytesLeft == 0);
503 assert(cmdBytesLeft <= MAX_DMA_SIZE);
507 cmdBytesLeft -= SectorSize;
509 DPRINTF(IdeDisk, "doDmaWrite, bytesRead: %d cmdBytesLeft: %d\n",
510 bytesRead, cmdBytesLeft);
560 curPrd.getByteCount(), curPrd.getEOT(), cmdBytesLeft);
563 assert(cmdBytesLeft == 0);
666 cmdBytes = cmdBytesLeft = sizeof(struct ataparams);
677 cmdBytes = cmdBytesLeft = (256 * SectorSize);
679 cmdBytes = cmdBytesLeft = (cmdReg.sec_count * SectorSize);
695 cmdBytes = cmdBytesLeft = (256 * SectorSize);
697 cmdBytes = cmdBytesLeft = (cmdReg.sec_count * SectorSize);
698 DPRINTF(IdeDisk, "Setting cmdBytesLeft to %d\n", cmdBytesLeft);
714 cmdBytes = cmdBytesLeft = (256 * SectorSize);
716 cmdBytes = cmdBytesLeft = (cmdReg.sec_count * SectorSize);
717 DPRINTF(IdeDisk, "Setting cmdBytesLeft to %d in readdma\n", cmdBytesLeft);
902 cmdBytesLeft -= 2;
912 if (cmdBytesLeft == 0) {
932 if (action == ACT_CMD_ERROR || cmdBytesLeft == 0) {
942 } else if (action == ACT_DATA_READY && cmdBytesLeft != 0) {
954 if (cmdBytesLeft == cmdBytes || isIENSet()) {
983 cmdBytesLeft -= 2;
1144 SERIALIZE_SCALAR(cmdBytesLeft);
1198 UNSERIALIZE_SCALAR(cmdBytesLeft);