Lines Matching defs:size

84     lunAvail(p->image.size()),
85 diskSize(flashDisk->size()),
693 uint32_t size)
696 for (int count = 0; count < (size / SectorSize); count++)
707 uint32_t size)
710 for (int count = 0; count < (size / SectorSize); count++)
726 lunAvail(p->image.size()),
1086 panic("Undefined UFSHCD controller write size!\n");
1235 int size;
1266 size = sizeof(UTPUPIUTaskReq);
1271 address = (count * size) + (address << 32) +
1280 task_info.size = size;
1285 writeDevice(&taskEventQueue.back(), false, address, size,
1295 size = sizeof(UTPTransferReqDesc);
1300 address = (count * size) + (address << 32) + UFSHCIMem.TRUTRLBA;
1323 transferstart_info.size = size;
1335 if (transferEventQueue.size() < 2) {
1337 address, size, reinterpret_cast<uint8_t*>
1354 taskInfo.front().address, taskInfo.front().size);
1370 transferStartInfo.front().size,
1374 DPRINTF(UFSHostDevice, "Transfer queue size at end of event: "
1375 "0x%8x\n", transferEventQueue.size());
1462 SCSIInfo.destination.size(), &SCSIInfo.destination[0],0, 0);
1484 UFSDevice[LUN]->SCSIInfoQueue.size());
1487 if (UFSDevice[LUN]->SCSIInfoQueue.size() < 2) //LUN is available
1490 else if (UFSDevice[LUN]->SCSIInfoQueue.size() > 32)
1492 SCSIInfoQueue.size());
1506 transferStartInfo.front().size, reinterpret_cast<uint8_t*>
1562 /**segment size + EHS length (see UFS standard ch7)*/
1594 UFSDevice[lun_id]->transferInfo.size = finalsize;
1620 DPRINTF(UFSHostDevice, "Data DMA size: 0x%8x\n",
1631 DPRINTF(UFSHostDevice, "Data DMA size: 0x%8x\n",
1632 (sglist[count].size + 1));
1640 uint32_t size_to_send = sglist[count].size + 1;
1689 UFSDevice[this_lun]->transferInfo.size,
1707 struct UTPUPIURSP request_out, uint32_t size,
1716 DPRINTF(UFSHostDevice, "DMA start: 0x%8x; DMA size: 0x%8x\n",
1723 lastinfo.size = size;
1750 DPRINTF(UFSHostDevice, "SCSIInfoQueue size: %d, lun: %d\n",
1751 UFSDevice[lun_id]->SCSIInfoQueue.size(), lun_id);
1764 transferEnd.front().size, reinterpret_cast<uint8_t*>
1780 pendingDoorbells, garbage.size(), transferEventQueue.size());
1797 if (garbage.size() > 0) {
1881 start, int size, uint8_t* destination, uint64_t
1885 start, size);
1903 new_transfer.size = size;
1909 SSDWriteinfo.back().buffer.resize(size);
1912 dmaPort.dmaAction(MemCmd::ReadReq, start, size,
1920 dmaPort.dmaAction(MemCmd::ReadReq, start, size,
1953 DPRINTF(UFSHostDevice, "Write data DMA size: 0x%8x\n",
1954 (sglist[count].size + 1));
1955 assert(sglist[count].size > 0);
1959 (sglist[count - 1].size + 1);
1961 next_packet.size = sglist[count].size + 1;
1965 writeDevice(NULL, true, next_packet.start, next_packet.size,
1969 dmaWriteInfo.size());
1978 stats.totalWrittenSSD += (sglist[count].size + 1);
1994 assert(dmaWriteInfo.size() > 0);
1996 assert(SSDWriteinfo.size() > 0);
2001 UFSDevice[lun]->SSDWriteDoneInfo.size());
2005 SSDWriteinfo.front().size);
2020 stats.currentWriteSSDQueue = UFSDevice[lun]->SSDWriteDoneInfo.size();
2021 stats.averageWriteSSDQueue = UFSDevice[lun]->SSDWriteDoneInfo.size();
2027 dmaWriteInfo.front().size, NULL,
2039 assert(SSDWriteDoneInfo.size() > 0);
2042 SSDWriteDoneInfo.front().size, memWriteCallback);
2047 SSDWriteDoneInfo.size());
2086 UFSHostDevice::readDevice(bool lastTransfer, Addr start, uint32_t size,
2091 start, size, (reinterpret_cast<uint32_t *>(destination))[0]);
2100 dmaPort.dmaAction(MemCmd::WriteReq, start, size,
2108 dmaPort.dmaAction(MemCmd::WriteReq, start, size,
2121 UFSHostDevice::manageReadTransfer(uint32_t size, uint32_t LUN, uint64_t
2127 DPRINTF(UFSHostDevice, "Data READ size: %d\n", size);
2139 new_transfer.size = (sglist[count].size + 1);
2142 DPRINTF(UFSHostDevice, "Data READ start: 0x%8x; size: %d\n",
2143 new_transfer.offset, new_transfer.size);
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);
2166 stats.currentReadSSDQueue = UFSDevice[LUN]->SSDReadInfo.size();
2167 stats.averageReadSSDQueue = UFSDevice[LUN]->SSDReadInfo.size();
2189 for (uint32_t number_handled = 0; number_handled < SSDReadInfo.size();
2196 SSDReadInfo.front().size, memReadCallback);
2258 this_lun, SSDReadPending.size());
2270 SSDReadPending.front().size,
2288 DPRINTF(UFSHostDevice, "Clean read data, %d\n", SSDReadPending.size());