Home
last modified time | relevance | path

Searched refs:BlockSize (Results 1 – 13 of 13) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/USB/
DUSBPendrive.cs48 BlockSize = blockSize; in USBPendrive()
113 public uint BlockSize { get; } property in Antmicro.Renode.Peripherals.USB.USBPendrive
172 BlockLengthInBytes = BlockSize, in HandleCommand()
173 ReturnedLogicalBlockAddress = (uint)(dataBackend.Length / BlockSize - 1) in HandleCommand()
181 var bytesCount = (int)(cmd.TransferLength * BlockSize); in HandleCommand()
182 var readPosition = (long)cmd.LogicalBlockAddress * BlockSize; in HandleCommand()
194 … var position = (long)((dynamic)writeCommandDescriptor).LogicalBlockAddress * BlockSize; in HandleCommand()
196 … bytesToWrite = (uint)((dynamic)writeCommandDescriptor).TransferLength * BlockSize; in HandleCommand()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/
DStorageTests.cs33 using(var lbaBackend = new LBABackend(underlyingFile, blocksCount, BlockSize)) in ShouldReadAndWriteLBABackend()
40 blockContent[i] = new byte[BlockSize]; in ShouldReadAndWriteLBABackend()
57 private const int BlockSize = 512; field in Antmicro.Renode.UnitTests.StorageTests
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SD/
DMMCController.cs37 return RegisteredPeripheral.ReadData((long)BlockSize * cardOffset, bytes); in ReadFromCard()
42 RegisteredPeripheral.WriteData((long)BlockSize * cardOffset, data.Length, data); in WriteToCard()
98 TransferDataFromCard(args, BlockSize); in ExecuteCommand()
114 protected int BlockSize, ByteCount; field in Antmicro.Renode.Peripherals.SD.MMCController
DSDHelpers.cs178 this.BlockSize = blockSize; in SDCapacityParameters()
188 public BlockLength BlockSize { get; } property
201 DebugHelper.Assert(BlockSize == BlockLength.Block512);
206 return (DeviceSize + 1) * (1L << ((int)Multiplier + (int)BlockSize + 2));
DSDCard.cs51 blockLengthInBytes = SDHelpers.BlockLengthInBytes(sdCapacityParameters.BlockSize); in SDCard()
84 … .DefineFragment(22, 4, (ulong)sdCapacityParameters.BlockSize, name: "max write data block length") in SDCard()
87 … .DefineFragment(80, 4, (uint)sdCapacityParameters.BlockSize, name: "max read data block length") in SDCard()
101 … .DefineFragment(22, 4, (ulong)sdCapacityParameters.BlockSize, name: "max write data block length") in SDCard()
103 … .DefineFragment(80, 4, (uint)sdCapacityParameters.BlockSize, name: "max read data block length") in SDCard()
172 blockLengthInBytes = SDHelpers.BlockLengthInBytes(sdCapacityParameters.BlockSize); in Reset()
DLiteSDCard_CSR32.cs211 CoreRegisters.BlockSize.Define(coreRegistersCollection) in DefineRegisters()
344 BlockSize = 0x24, enumerator
DLiteSDCard.cs236 CoreRegisters.BlockSize.DefineMany(coreRegistersCollection, 2, (register, idx) => in DefineRegisters()
406 BlockSize = 0x6C, enumerator
DSunxiMMC.cs152 …s, 0x200).WithValueField(0, 16, changeCallback: (oldValue, newValue) => BlockSize = (int)newValue)… in SetupRegisters()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/ATAPI/
DCDROM.cs28 BlockSize = blockSize; in CDROM()
77 var bytesCount = (int)(cmd.TransferLength * BlockSize); in HandleCommand()
78 var readPosition = (long)cmd.LogicalBlockAddress * BlockSize; in HandleCommand()
98 public uint BlockSize { get; } property in Antmicro.Renode.Peripherals.ATAPI.CDROM
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Storage/
DLBABackend.cs34 public int BlockSize property in Antmicro.Renode.Storage.LBABackend
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/USBDeprecated/
DMassStorage.cs82 … lbaBackend = new LBABackend(value, lbaBackend.NumberOfBlocks, lbaBackend.BlockSize);
86 lbaBackend = new LBABackend(value, lbaBackend.BlockSize);
249 capData.BlockLength = (uint)lbaBackend.BlockSize; in ReceiveCommandBlockWrapper()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Storage/
DVirtIOBlockDevice.cs203 BlockSize = 0x114, enumerator
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Wireless/
DEmberRadio.cs367 aes.BlockSize = 128; in Encrypt()