| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SPI/Cadence_xSPICommands/ |
| D | PIOCommands.cs | 38 if(dmaRole != DMARoleType.Peripheral) in CreatePIOCommand() 70 Peripheral.Transmit(addressByte); in TransmitAddress() 94 Peripheral = 0, enumerator 105 if(Peripheral != null) in Transmit() 110 Peripheral.Transmit(ResetEnableOperation); in Transmit() 111 Peripheral.Transmit(ResetMemoryOperation); in Transmit() 114 Peripheral.Transmit(ChipEraseOperation); in Transmit() 117 Peripheral.Transmit(SectorErase4ByteOperation); in Transmit() 153 if(Peripheral == null) in Transmit() 169 if(Peripheral != null) in WriteData() [all …]
|
| D | STIGCommands.cs | 75 if(Peripheral != null) in Transmit() 77 Peripheral.Transmit((byte)operationCode); in Transmit() 80 Peripheral.Transmit(addressByte); in Transmit() 120 if(Peripheral == null) in Transmit() 137 if(Peripheral != null) in WriteData() 141 Peripheral.Transmit(dataByte); in WriteData() 157 if(Peripheral != null) in ReadData() 160 dataByte => Peripheral.Transmit(dataByte) in ReadData() 182 if(dataTransmittedCount == 0 && Peripheral != null) in TransmitDummyIfFirst() 186 Peripheral.Transmit(default(Byte)); in TransmitDummyIfFirst()
|
| D | Command.cs | 40 Peripheral?.FinishTransmission(); in FinishTransmission() 65 protected ISPIPeripheral Peripheral property in Antmicro.Renode.Peripherals.SPI.Cadence_xSPICommands.Command
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Bus/ |
| D | PeripheralAccessMethods.cs | 34 public IBusPeripheral Peripheral; field in Antmicro.Renode.Peripherals.Bus.PeripheralAccessMethods 113 … Tuple.Create(ReadByte, WriteByte, (BusAccess.ByteReadMethod)Peripheral.ReadByteNotTranslated), in BuildMissingAccesses() 114 … Tuple.Create(ReadWord, WriteWord, (BusAccess.WordReadMethod)Peripheral.ReadWordNotTranslated), in BuildMissingAccesses() 115 …reate(ReadDoubleWord, WriteDoubleWord, (BusAccess.DoubleWordReadMethod)Peripheral.ReadDoubleWordNo… in BuildMissingAccesses() 116 …Tuple.Create(ReadQuadWord, WriteQuadWord, (BusAccess.QuadWordReadMethod)Peripheral.ReadQuadWordNot… in BuildMissingAccesses() 142 if(ReadByte == Peripheral.ReadByteNotTranslated) in BuildMissingAccesses() 157 if(ReadWord == Peripheral.ReadWordNotTranslated) in BuildMissingAccesses() 171 if(ReadDoubleWord == Peripheral.ReadDoubleWordNotTranslated) in BuildMissingAccesses() 185 if(ReadQuadWord == Peripheral.ReadQuadWordNotTranslated) in BuildMissingAccesses() 208 ReadByte = Peripheral.ReadByteNotTranslated; in DisableTranslatedAccesses() [all …]
|
| D | PeripheralCollection.cs | 49 … return blocks.Union(shortBlocks.Select(x => x.Value)).Select(x => x.Peripheral).Distinct(); 60 …var name = string.Format("{0} @ {1}.", peripheral.Peripheral.GetType().Name, peripheral.Registrati… in Add() 62 …k = new Block { Start = start, End = end, AccessMethods = accessMethods, Peripheral = peripheral }; in Add() 114 Add(block.Start, block.End, block.Peripheral, block.AccessMethods); in Coalesce() 120 …redPeripheral = new BusRegistered<IBusPeripheral>(registeredPeripheral.Peripheral, newRegistration… in Move() 123 var block = blocks.FirstOrDefault(x => x.Peripheral == registeredPeripheral); in Move() 124 if(block.Peripheral == registeredPeripheral) in Move() 126 blocks = blocks.Where(x => x.Peripheral != registeredPeripheral).ToArray(); in Move() 130 … block = shortBlocks.Values.FirstOrDefault(x => x.Peripheral == registeredPeripheral); in Move() 131 if(block.Peripheral != registeredPeripheral) in Move() [all …]
|
| D | BusRegistered.cs | 15 Peripheral = what; in BusRegistered() 24 public T Peripheral { get; private set; } property in Antmicro.Renode.Peripherals.Bus.BusRegistered
|
| D | SystemBusGenerated.cs | 39 if(!IsPeripheralEnabled(accessMethods.Peripheral)) in ReadByte() 41 …ng, "Tried to read a locked peripheral: {0}. Address 0x{1:X}.", accessMethods.Peripheral, address); in ReadByte() 96 if(!IsPeripheralEnabled(accessMethods.Peripheral)) in WriteByte() 98 …locked peripheral: {0}. Address 0x{1:X}, value 0x{2:X}", accessMethods.Peripheral, address, value); in WriteByte() 153 if(!IsPeripheralEnabled(accessMethods.Peripheral)) in ReadWord() 155 …ng, "Tried to read a locked peripheral: {0}. Address 0x{1:X}.", accessMethods.Peripheral, address); in ReadWord() 210 if(!IsPeripheralEnabled(accessMethods.Peripheral)) in WriteWord() 212 …locked peripheral: {0}. Address 0x{1:X}, value 0x{2:X}", accessMethods.Peripheral, address, value); in WriteWord() 267 if(!IsPeripheralEnabled(accessMethods.Peripheral)) in ReadDoubleWord() 269 …ng, "Tried to read a locked peripheral: {0}. Address 0x{1:X}.", accessMethods.Peripheral, address); in ReadDoubleWord() [all …]
|
| D | SVDParser.cs | 96 … LogReadSuccess(value, tmpRegister.Peripheral.Name, tmpRegister.Name, offset, width); in TryReadAccess() 100 LogReadFail(tmpRegister.Peripheral.Name, tmpRegister.Name, offset, width); in TryReadAccess() 119 …LogWriteSuccess(value, tmpRegister.Peripheral.Name, tmpRegister.Name, offset, width, tmpRegister.H… in TryWriteAccess() 123 … LogWriteFail(value, tmpRegister.Peripheral.Name, tmpRegister.Name, offset, width); in TryWriteAccess() 152 …LogWriteSuccess(tmpValue, register.Peripheral.Name, register.Name, tmpOffset, width, register.Acce… in LogWriteRequests() 156 … LogWriteFail(tmpValue, register.Peripheral.Name, register.Name, tmpOffset, width, offset, value); in LogWriteRequests() 178 … LogReadSuccess(tmpValue, register.Peripheral.Name, register.Name, tmpOffset, width, offset); in AssembleValueFromRegisters() 183 … LogReadFail(register.Peripheral.Name, register.Name, tmpOffset, width, offset); in AssembleValueFromRegisters() 469 NestingType.Peripheral, in ScanPeripherals() 582 NestingType.Peripheral, in FindDerivedElement() [all …]
|
| D | SystemBusGenerated.tt | 63 if(!IsPeripheralEnabled(accessMethods.Peripheral)) 65 …ng, "Tried to read a locked peripheral: {0}. Address 0x{1:X}.", accessMethods.Peripheral, address); 120 if(!IsPeripheralEnabled(accessMethods.Peripheral)) 122 …locked peripheral: {0}. Address 0x{1:X}, value 0x{2:X}", accessMethods.Peripheral, address, value); 169 public void ClearHook<#=when#>Peripheral<#=operation#><T>(IBusPeripheral peripheral) 171 SetHook<#=when#>Peripheral<#=operation#><T>(peripheral, null); 174 …public void SetHook<#=when#>Peripheral<#=operation#><T>(IBusPeripheral peripheral, Func<T, long, T…
|
| D | SystemBus.cs | 167 …ies = peripheralsCollectionByContext[context].Peripherals.Where(x => x.Peripheral == peripheral).T… in MoveRegistrationWithinContext() 292 LogPeripheralAccess(p.Peripheral, enable); in LogAllPeripheralsAccess() 328 EnableAllTranslations(p.Peripheral, enable); in EnableAllTranslations() 561 return registered.Peripheral; in WhatPeripheralIsAt() 569 .Where(x => x.Peripheral is MappedMemory) in FindMemory() 577 .Any(x => x.Peripheral is IMemory && x.RegistrationPoint.Range.Contains(address)); in IsMemory() 583 .Where(x => x.Peripheral is IMapped) in GetMappedPeripherals() 590 .Where(x => x.Peripheral is T); in GetRegistrationsForPeripheralType() 615 var memory = target.What.Peripheral as MappedMemory; in ReadBytes() 662 var multibytePeripheral = target.What.Peripheral as IMultibyteWritePeripheral; in WriteBytes() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/ |
| D | PeripheralTreeEntry.cs | 24 Peripheral = peripheral; in PeripheralTreeEntry() 40 …Type, Peripheral.GetType(), Parent == null ? "(none)" : Parent.GetType().ToString(), Name, Level, … in ToString() 49 public IPeripheral Peripheral { get; private set; } property in Antmicro.Renode.Core.PeripheralTreeEntry
|
| D | PeripheralsChangedEventArgs.cs | 27 public IPeripheral Peripheral { get; private set; } property in Antmicro.Renode.Core.PeripheralsChangedEventArgs 32 Peripheral = peripheral; in PeripheralsChangedEventArgs()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Bus/Wrappers/ |
| D | HookWrapper.cs | 19 Peripheral = peripheral; in HookWrapper() 25 protected readonly IBusPeripheral Peripheral; field in Antmicro.Renode.Peripherals.Bus.Wrappers.HookWrapper
|
| D | ReadLoggingWrapper.cs | 27 …Peripheral.Log(LogLevel.Info, machine.SystemBus.DecorateWithCPUNameAndPC($"Read{Name} from 0x{offs… in Read()
|
| D | WriteLoggingWrapper.cs | 26 …Peripheral.Log(LogLevel.Info, machine.SystemBus.DecorateWithCPUNameAndPC($"Write{Name} to 0x{offse… in Write()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Hooks/ |
| D | BusPeripheralsHooksPythonEngine.cs | 23 Peripheral = peripheral; in BusPeripheralsHooksPythonEngine() 62 Scope.SetVariable("self", Peripheral); in InnerInit() 88 private readonly IBusPeripheral Peripheral; field in Antmicro.Renode.Hooks.BusPeripheralsHooksPythonEngine
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Structure/ |
| D | Registered.cs | 17 Peripheral = peripheral; in Registered() 21 public TPeripheral Peripheral { get; private set; } property in Antmicro.Renode.Core.Structure.Registered
|
| D | IRegistered.cs | 21 TPeripheral Peripheral { get; } property
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Config/Devices/ |
| D | DevicesConfig.cs | 166 info.Peripheral = (IPeripheral)peripheral; in InitializeSingleDevice() 171 InitializeProperties(info.Peripheral, devContent); in InitializeSingleDevice() 216 var gpioReceiver = device.Peripheral as IGPIOReceiver; in InitializeGPIOsFrom() 242 sourcePeripheral = (IGPIOReceiver)fromList.Peripheral; in InitializeGPIOsFrom() 293 …var props = device.Peripheral.GetType().GetProperties(BindingFlags.Public | BindingFlags.Instance); in InitializeGPIOs() 320 if(fromList != null && fromList.Peripheral is IGPIOReceiver) in InitializeGPIOs() 322 receiver = (IGPIOReceiver)fromList.Peripheral; in InitializeGPIOs() 339 … InitializeGPIO(device.Peripheral, device.Name, receiver, irqEntry.ToDynamic(), defaultConnector); in InitializeGPIOs() 344 …InitializeGPIO(device.Peripheral, device.Name, receiver, ((JsonArray)controllerIrqs).ToDynamic(), … in InitializeGPIOs() 486 parents.Add(conn, fromList.Peripheral); in DevicesConfig() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/USB/ |
| D | USBMouse.cs | 32 … if(usbController.Children.Where(m => m.Peripheral.GetType() == typeof(USBMouse)).Count() != 0) in AttachUSBMouse() 42 …ouse = usbController.Children.Where(m => m.Peripheral.GetType() == typeof(USBMouse)).Select(m => m… in MoveMouse()
|
| D | USBKeyboard.cs | 27 … if(usbController.Children.Where(m => m.Peripheral.GetType() == typeof(USBKeyboard)).Count() != 0) in AttachUSBKeyboard() 37 …ard = usbController.Children.Where(m => m.Peripheral.GetType() == typeof(USBKeyboard)).Select(m =>… in KeyboardType()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Bus/ |
| D | GaislerAPBController.cs | 103 … .Where(x => x.Peripheral is IGaislerAPB && GetBusAddress(x.Peripheral) == busAddress); in cacheRecords() 106 var peripheral = (IGaislerAPB)record.Peripheral; in cacheRecords()
|
| D | GaislerAHBPlugAndPlayInfo.cs | 69 var recordsFound = machine.SystemBus.Children.Where(x => x.Peripheral is IGaislerAHB); in cacheRecords() 73 var peripheral = (IGaislerAHB)record.Peripheral; in cacheRecords()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Extensions/ |
| D | ReadWriteExtensions.tt | 82 …<#= outType #> Read<#= outName #>Using<#= inName #>(this I<#= inName #>Peripheral peripheral, long… 119 …public static void Write<#= outName #>Using<#= inName #>(this I<#= inName #>Peripheral peripheral,… 152 …pe #> Read<#= outName #>Using<#= inName #>BigEndian(this I<#= inName #>Peripheral peripheral, long… 189 …void Write<#= outName #>Using<#= inName #>BigEndian(this I<#= inName #>Peripheral peripheral, long… 228 …<#= outType #> Read<#= outName #>Using<#= inName #>(this I<#= inName #>Peripheral peripheral, long… 251 …public static void Write<#= outName #>Using<#= inName #>(this I<#= inName #>Peripheral peripheral,… 276 …pe #> Read<#= outName #>Using<#= inName #>BigEndian(this I<#= inName #>Peripheral peripheral, long… 299 …void Write<#= outName #>Using<#= inName #>BigEndian(this I<#= inName #>Peripheral peripheral, long… 351 …public static <#= type #> Read<#= name #>BigEndian(this I<#= name #>Peripheral peripheral, long ad… 356 …public static void Write<#= name #>BigEndian(this I<#= name #>Peripheral peripheral, long address,…
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Logging/Profiler/ |
| D | ProfilerHeader.cs | 27 var cpus = peripherals.Where(x => x.Peripheral is ICPU).ToList(); in RegisterPeripherals() 33 … buffer.AddRange(BitConverter.GetBytes(machine.SystemBus.GetCPUSlot(cpu.Peripheral as ICPU))); in RegisterPeripherals()
|