Lines Matching refs:count
191 for (uint8_t count = 0; count < 9; count++)
192 scsi_out.message.dataMsg[count] =
193 (reinterpret_cast<uint32_t*> (&lunInfo))[count];
337 for (uint8_t count = 0; count < lunAvail; count++) {
338 //LUN "count"
339 scsi_out.message.dataMsg[2 + 2 * count] = (count & 0x7F) << 8;
340 scsi_out.message.dataMsg[3 + 2 * count] = 0x00;
520 for (uint8_t count = 0; count < 3; count++)
521 scsi_out.message.dataMsg[2 + count] = controlPage[count];
533 for (uint8_t count = 0; count < 3; count++)
534 scsi_out.message.dataMsg[2 + count] = recoveryPage[count];
545 for (uint8_t count = 0; count < 5; count++)
546 scsi_out.message.dataMsg[2 + count] = cachingPage[count];
560 for (uint8_t count = 0; count < 3; count++)
561 scsi_out.message.dataMsg[2 + count] = recoveryPage[count];
563 for (uint8_t count = 0; count < 5; count++)
564 scsi_out.message.dataMsg[5 + count] = cachingPage[count];
566 for (uint8_t count = 0; count < 3; count++)
567 scsi_out.message.dataMsg[10 + count] = controlPage[count];
678 for (uint8_t count = 0; count < 19; count++)
679 sensecodelist[count] = 0;
696 for (int count = 0; count < (size / SectorSize); count++)
697 flashDisk->read(&(readaddr[SectorSize*count]), (offset /
698 SectorSize) + count);
710 for (int count = 0; count < (size / SectorSize); count++)
711 flashDisk->write(&(writeaddr[SectorSize * count]),
712 (offset / SectorSize) + count);
748 for (int count = 0; count < lunAvail; count++) {
749 UFSDevice[count] = new UFSSCSIDevice(p, count, transferDoneCallback,
1236 int count = 0;
1268 count = findLsbSet((UFSHCIMem.TMUTMRLDBR ^ taskCommandTrack));
1271 address = (count * size) + (address << 32) +
1273 taskCommandTrack |= mask << count;
1278 task_info.mask = mask << count;
1297 count = findLsbSet((UFSHCIMem.TRUTRLDBR ^ transferTrack));
1300 address = (count * size) + (address << 32) + UFSHCIMem.TRUTRLBA;
1302 transferTrack |= mask << count;
1305 count, transferstart_info.done);
1310 transactionStart[count] = curTick(); //note the start time
1321 transferstart_info.mask = mask << count;
1570 for (uint8_t count = 0; count<request_out_datain.senseSize; count++) {
1571 UFSDevice[lun_id]->transferInfo.requestOut.senseData[count] =
1572 request_out_datain.senseCode[count + 1];
1618 uint32_t count = 0;
1624 while ((length > count) && size_accum
1627 Addr SCSI_start = sglist[count].upperAddr;
1629 (sglist[count].baseAddr & 0xFFFFFFFF);
1632 (sglist[count].size + 1));
1640 uint32_t size_to_send = sglist[count].size + 1;
1655 ++count;
1656 DPRINTF(UFSHostDevice, "Transfer #: %d\n", count);
1755 uint8_t count = 0;
1756 while (!(transferEnd.front().mask & (0x1 << count)))
1757 ++count;
1759 transactionStart[count]);
1946 for (uint32_t count = 0; count < sg_table_length; count++) {
1947 next_packet.start = sglist[count].upperAddr;
1949 (sglist[count].baseAddr & 0xFFFFFFFF);
1954 (sglist[count].size + 1));
1955 assert(sglist[count].size > 0);
1957 if (count != 0)
1959 (sglist[count - 1].size + 1);
1961 next_packet.size = sglist[count].size + 1;
1975 DPRINTF(UFSHostDevice, "Write transfer #: 0x%8x\n", count + 1);
1978 stats.totalWrittenSSD += (sglist[count].size + 1);
2133 for (uint32_t count = 0; count < sg_table_length; count++) {
2135 new_transfer.offset = sglist[count].upperAddr;
2137 (sglist[count].baseAddr & 0xFFFFFFFF);
2139 new_transfer.size = (sglist[count].size + 1);
2146 UFSDevice[LUN]->SSDReadInfo.back().buffer.resize(sglist[count].size
2157 sglist[count].size + 1);
2159 size_accum += (sglist[count].size + 1);
2162 " 0x%8x\n", (count + 1), (size-size_accum), size_accum);
2165 stats.totalReadSSD += (sglist[count].size + 1);