Home
last modified time | relevance | path

Searched refs:ChildCollection (Results 1 – 19 of 19) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Structure/
DSimpleContainer.cs18 Dictionary<int, IPeripheral> ChildCollection { get; } property
31 return ChildCollection.Keys.Select(x => new NumberRegistrationPoint<int>(x)).ToList(); in GetRegistrationPoints()
38 …return ChildCollection.Select(x => Registered.Create(x.Value, new NumberRegistrationPoint<int>(x.K…
44 if(ChildCollection.ContainsKey(registrationPoint.Address)) in Register()
48 ChildCollection.Add(registrationPoint.Address, peripheral); in Register()
53 …var toRemove = ChildCollection.Where(x => x.Value.Equals(peripheral)).Select(x => x.Key).ToList();… in Unregister()
60 ChildCollection.Remove(key); in Unregister()
66 foreach(var child in ChildCollection.Values.OfType<IDisposable>()) in Dispose()
71 ChildCollection.Clear(); in Dispose()
74 …Dictionary<int, IPeripheral> ISimpleContainer.ChildCollection => this.ChildCollection.ToDictionary…
[all …]
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/USB/
DUSBHost.cs48 ChildCollection.Remove(address); in Unregister()
131 ChildCollection.Add(addressCounter, peripheral); in TryInitializeConnectedDevice()
DMPFS_USB.cs574 …device = this.ChildCollection.Select(x => x.Value).FirstOrDefault(x => x.USBCore.Address == addres… in TryGetDeviceForEndpoint()
610 … var peripheral = ChildCollection.Values.FirstOrDefault(x => !addressToDeviceCache.Exists(x)); in TryInitializeConnectedDevice()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/RiscV/
DBaseRiscV.cs60 ChildCollection = new Dictionary<int, ICFU>(); in BaseRiscV()
103 … var isRegistered = ChildCollection.Where(x => x.Value.Equals(cfu)).Select(x => x.Key).ToList(); in Register()
108 else if(ChildCollection.ContainsKey(registrationPoint.Address)) in Register()
113 ChildCollection.Add(registrationPoint.Address, cfu); in Register()
120 …var toRemove = ChildCollection.Where(x => x.Value.Equals(cfu)).Select(x => x.Key).ToList(); //ToLi… in Unregister()
123 ChildCollection.Remove(key); in Unregister()
131 return ChildCollection.Keys.Select(x => new NumberRegistrationPoint<int>(x)); in GetRegistrationPoints()
138 …return ChildCollection.Select(x => Registered.Create(x.Value, new NumberRegistrationPoint<int>(x.K…
845 public readonly Dictionary<int, ICFU> ChildCollection; field in Antmicro.Renode.Peripherals.CPU.BaseRiscV
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/
DIPeripheral.cs66 …var allMachines = simpleContainer.ChildCollection.Select(x => x.Value.GetMachine()).Distinct().ToA… in TryGetMachine()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/PCI/
DPCIHost_Bridge.cs111 if(!ChildCollection.TryGetValue((int)deviceNumber.Value, out selectedDevice)) in ReadData()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/I2C/
DSTM32F4_I2C.cs186 if(ChildCollection.ContainsKey(address)) in DataWrite()
188 selectedSlave = ChildCollection[address]; in DataWrite()
DOpenCoresI2C.cs151 if(!ChildCollection.TryGetValue(slaveAddress, out selectedSlave)) in TryResolveSelectedSlave()
DMPFS_I2C.cs227 … if(!ChildCollection.TryGetValue((int)slaveAddress, out selectedSlave)) in DefineRegisters()
DBetrustedSocI2C.cs223 if(!ChildCollection.TryGetValue(slaveAddress, out selectedSlave)) in TryResolveSelectedSlave()
DBetrustedEcI2C.cs243 if(!ChildCollection.TryGetValue(slaveAddress, out selectedSlave)) in TryResolveSelectedSlave()
DSAM4S_TWI.cs305 return ChildCollection.GetOrDefault((int)slaveAddress); in FindPeripheral()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SPI/
DHiFive_SPI.cs45 if(!ChildCollection.ContainsKey(checked((int)value))) in HiFive_SPI()
DMAX3421E.cs128 … if((hostMode.Value || startOfFramePacketsGenerationEnable.Value) && ChildCollection.Any()) in HandleBumper()
393 …var device = this.ChildCollection.Values.FirstOrDefault(x => x.USBCore.Address == deviceAddress.Va… in HandleHostTransfer()
DIMXRT_LPSPI.cs232 valueProviderCallback: _ => (ulong)ChildCollection.Count in DefineRegisters()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Utilities/USBIP/
DUSBIPServer.cs471 NumberOfExportedDevices = (uint)ChildCollection.Count in HandleListDevicesCommand()
476 foreach(var child in ChildCollection) in HandleListDevicesCommand()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/ATAPI/
DATAPI.cs135 if(!ChildCollection.TryGetValue((int)device, out selectedDevice)) in SelectDevice()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SCI/
DRenesasRA8M1_SCI.cs270 if(i2cContainer.ChildCollection.Count != 0) in SetPeripheralMode()
DRenesasRA6M5_SCI.cs296 if(i2cContainer.ChildCollection.Count != 0) in SetPeripheralMode()