Lines Matching refs:LUN

176     scsi_out.LUN = lunID;
334 scsi_out.message.dataMsg[0] = (lunAvail * 8) << 24;//LUN listlength
338 //LUN "count"
1470 * Obtain LUN and put it in the right LUN queue. Each LUN has its own queue
1480 uint32_t LUN = SCSIInfo.destination[2];
1481 UFSDevice[LUN]->SCSIInfoQueue.push_back(SCSIInfo);
1483 DPRINTF(UFSHostDevice, "SCSI queue %d has %d elements\n", LUN,
1484 UFSDevice[LUN]->SCSIInfoQueue.size());
1487 if (UFSDevice[LUN]->SCSIInfoQueue.size() < 2) //LUN is available
1488 SCSIResume(LUN);
1490 else if (UFSDevice[LUN]->SCSIInfoQueue.size() > 32)
1491 panic("SCSI queue is getting too big %d\n", UFSDevice[LUN]->
1501 * loading next data packet in case Another LUN
1548 DPRINTF(UFSHostDevice, "LUN: %d\n", request_out_datain.LUN);
1557 request_in->header.dWord0 | (request_out_datain.LUN << 8)
1599 UFSDevice[lun_id]->transferInfo.lunID = request_out_datain.LUN;
1608 manageWriteTransfer(request_out_datain.LUN, request_out_datain.offset,
1613 manageReadTransfer(request_out_datain.msgSize, request_out_datain.LUN,
1697 panic("no LUN finished in tick %d\n", curTick());
1932 UFSHostDevice::manageWriteTransfer(uint8_t LUN, uint64_t offset, uint32_t
1940 UFSDevice[LUN]->setTotalWrite(sg_table_length);
1950 next_packet.LUN = LUN;
1966 NULL, next_packet.SCSIDiskOffset, next_packet.LUN);
2029 dmaWriteInfo.front().LUN);
2121 UFSHostDevice::manageReadTransfer(uint32_t size, uint32_t LUN, uint64_t
2140 new_transfer.lunID = LUN;
2145 UFSDevice[LUN]->SSDReadInfo.push_back(new_transfer);
2146 UFSDevice[LUN]->SSDReadInfo.back().buffer.resize(sglist[count].size
2154 UFSDevice[LUN]->readFlash(&UFSDevice[LUN]->
2166 stats.currentReadSSDQueue = UFSDevice[LUN]->SSDReadInfo.size();
2167 stats.averageReadSSDQueue = UFSDevice[LUN]->SSDReadInfo.size();
2170 UFSDevice[LUN]->SSDReadStart(sg_table_length);
2257 DPRINTF(UFSHostDevice, "Found LUN %d messages pending for clean: %d\n",