Searched refs:bytesCount (Results 1 – 8 of 8) sorted by relevance
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Extensions/ |
| D | FileLoaderExtensions.cs | 37 var bytesCount = reader.Read(buffer, 0, buffer.Length); in LoadBinary() 40 while(bytesCount > 0) in LoadBinary() 42 … chunks.Add(new FileChunk() { Data = buffer.Take(bytesCount), OffsetToLoad = addr }); in LoadBinary() 43 addr += (ulong)bytesCount; in LoadBinary() 45 bytesCount = reader.Read(buffer, 0, buffer.Length); in LoadBinary() 214 … var bytesCount = Convert.ToUInt16(line.Substring(SRecBytesCountStart, SRecBytesCountLength), 16); in LoadSRecord() 216 if(line.Length != SRecAddressStart + bytesCount * 2) in LoadSRecord() 263 if(bytesCount * 2 < addressLength + SRecChecksumLength) in LoadSRecord() 271 … var bufferLength = bytesCount * 2 + SRecBytesCountLength - SRecChecksumLength; in LoadSRecord() 272 var checksumStart = SRecAddressStart + bytesCount * 2 - SRecChecksumLength; in LoadSRecord() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/ATAPI/ |
| D | CDROM.cs | 77 var bytesCount = (int)(cmd.TransferLength * BlockSize); in HandleCommand() 80 var data = dataBackend.ReadBytes(bytesCount); in HandleCommand() 81 … this.Log(LogLevel.Debug, "Reading {0} bytes from address 0x{1:x}", bytesCount, readPosition); in HandleCommand()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CRC/ |
| D | STM32_CRC.cs | 160 private void UpdateCRC(uint value, int bytesCount) in UpdateCRC() argument 168 switch(bytesCount) in UpdateCRC() 181 switch(bytesCount) in UpdateCRC() 194 CRC.Update(BitHelper.GetBytesFromValue(value, bytesCount)); in UpdateCRC()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/USB/ |
| D | USBPendrive.cs | 181 var bytesCount = (int)(cmd.TransferLength * BlockSize); in HandleCommand() 184 var data = dataBackend.ReadBytes(bytesCount); in HandleCommand() 185 … this.Log(LogLevel.Noisy, "Reading {0} bytes from address 0x{1:x}", bytesCount, readPosition); in HandleCommand()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Storage/ |
| D | UFSDevice.cs | 367 var bytesCount = scsi.TransferLength * LogicalBlockSize; in HandleSCSIRead10() 370 …[lun].Length <= (long)readPosition || dataBackends[lun].Length < (long)(readPosition + bytesCount)) in HandleSCSIRead10() 377 var dataSegment = dataBackends[lun].ReadBytes((int)bytesCount); in HandleSCSIRead10() 378 … this.Log(LogLevel.Debug, "Reading {0} bytes from address 0x{1:x}", bytesCount, readPosition); in HandleSCSIRead10() 387 var bytesCount = (int)(scsi.TransferLength * LogicalBlockSize); in HandleSCSIWrite10() 392 if(bytesCount != dataTransferLength) in HandleSCSIWrite10() 394 …CSI command bytes count {0} is not equal to data transfer length {1}", bytesCount, dataTransferLen… in HandleSCSIWrite10()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SD/ |
| D | MPFS_SDController.cs | 453 var bytesCount = (uint)(blockCountField.Value * blockSizeField.Value); in ProcessCommand() 457 ReadCard(sdCard, bytesCount); in ProcessCommand() 460 WriteCard(sdCard, bytesCount); in ProcessCommand()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/RiscV/ |
| D | OpenTitan_BigNumberAcceleratorCore.cs | 1041 public void PartialSet(BigInteger value, int byteOffset, int bytesCount) in PartialSet() argument 1043 var mask = (new BigInteger(0x1) << (bytesCount * 8)) - 1; in PartialSet() 1050 public BigInteger PartialGet(int byteOffset, int bytesCount) in PartialGet() argument 1052 var mask = (new BigInteger(0x1) << (bytesCount * 8)) - 1; in PartialGet()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/I2C/ |
| D | OpenTitan_I2C.cs | 504 var bytesCount = (count == 0) ? 256 : count; in ReadFromSlave() 506 foreach(var b in selectedSlave.Read(bytesCount)) in ReadFromSlave()
|