Home
last modified time | relevance | path

Searched refs:IPeripheral (Results 1 – 25 of 141) sorted by relevance

123456

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/
DIMachine.cs25 …void AttachGPIO(IPeripheral source, int sourceNumber, IGPIOReceiver destination, int destinationNu… in AttachGPIO()
26 …void AttachGPIO(IPeripheral source, IGPIOReceiver destination, int destinationNumber, int? localRe… in AttachGPIO()
27 …void AttachGPIO(IPeripheral source, string connectorName, IGPIOReceiver destination, int destinati… in AttachGPIO()
32 string GetAnyNameOrTypeName(IPeripheral peripheral); in GetAnyNameOrTypeName()
33 IEnumerable<IPeripheral> GetChildrenPeripherals(IPeripheral peripheral); in GetChildrenPeripherals()
35 string GetLocalName(IPeripheral peripheral); in GetLocalName()
37 IEnumerable<IPeripheral> GetParentPeripherals(IPeripheral peripheral); in GetParentPeripherals()
38 …ble<IRegistrationPoint> GetPeripheralRegistrationPoints(IPeripheral parentPeripheral, IPeripheral in GetPeripheralRegistrationPoints()
40 IEnumerable<IPeripheral> GetPeripheralsOfType(Type t); in GetPeripheralsOfType()
49 bool IsRegistered(IPeripheral peripheral); in IsRegistered()
[all …]
DIPeripheral.cs21 public interface IPeripheral : IEmulationElement, IAnalyzable interface
28 public static bool HasGPIO(this IPeripheral peripheral) in HasGPIO()
38 public static IEnumerable<Tuple<string, IGPIO>> GetGPIOs(this IPeripheral peripheral) in GetGPIOs()
51 public static bool TryGetMachine(this IPeripheral @this, out IMachine machine) in TryGetMachine()
82 public static IMachine GetMachine(this IPeripheral @this) in GetMachine()
91 … public static Endianess GetEndianness(this IPeripheral @this, Endianess? defaultEndianness = null) in GetEndianness()
108 public static bool IsHostEndian(this IPeripheral @this) in IsHostEndian()
113 public static string GetName(this IPeripheral @this) in GetName()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Bus/
DIBusController.cs24 …ralRegister<IBusPeripheral, BusMultiRegistration>, IPeripheralRegister<IPeripheral, NullRegistrati…
25 …lRegister<IBusPeripheral, BusParametrizedRegistration>, ICanLoadFiles, IPeripheral, IMultibyteWrit…
27 byte ReadByte(ulong address, IPeripheral context = null, ulong? cpuState = null); in ReadByte()
28 byte ReadByteWithState(ulong address, IPeripheral context, IContextState stateObj); in ReadByteWithState()
29 … void WriteByte(ulong address, byte value, IPeripheral context = null, ulong? cpuState = null); in WriteByte()
30 … void WriteByteWithState(ulong address, byte value, IPeripheral context, IContextState stateObj); in WriteByteWithState()
32 ushort ReadWord(ulong address, IPeripheral context = null, ulong? cpuState = null); in ReadWord()
33 ushort ReadWordWithState(ulong address, IPeripheral context, IContextState stateObj); in ReadWordWithState()
34 … void WriteWord(ulong address, ushort value, IPeripheral context = null, ulong? cpuState = null); in WriteWord()
35 … void WriteWordWithState(ulong address, ushort value, IPeripheral context, IContextState stateObj); in WriteWordWithState()
[all …]
DBusControllerProxy.cs33 … public virtual byte ReadByte(ulong address, IPeripheral context = null, ulong? cpuState = null) in ReadByte()
42 … public virtual byte ReadByteWithState(ulong address, IPeripheral context, IContextState stateObj) in ReadByteWithState()
51 …public virtual void WriteByte(ulong address, byte value, IPeripheral context = null, ulong? cpuSta… in WriteByte()
59 …public virtual void WriteByteWithState(ulong address, byte value, IPeripheral context, IContextSta… in WriteByteWithState()
67 … public virtual ushort ReadWord(ulong address, IPeripheral context = null, ulong? cpuState = null) in ReadWord()
76 …public virtual ushort ReadWordWithState(ulong address, IPeripheral context, IContextState stateObj) in ReadWordWithState()
85 …public virtual void WriteWord(ulong address, ushort value, IPeripheral context = null, ulong? cpuS… in WriteWord()
93 …public virtual void WriteWordWithState(ulong address, ushort value, IPeripheral context, IContextS… in WriteWordWithState()
101 …public virtual uint ReadDoubleWord(ulong address, IPeripheral context = null, ulong? cpuState = nu… in ReadDoubleWord()
110 …public virtual uint ReadDoubleWordWithState(ulong address, IPeripheral context, IContextState stat… in ReadDoubleWordWithState()
[all …]
DBusRangeRegistration.cs19 …public BusRangeRegistration(Range range, ulong offset = 0, IPeripheral cpu = null, ICluster<ICPU> … in BusRangeRegistration()
27 …public BusRangeRegistration(ulong address, ulong size, ulong offset = 0, IPeripheral cpu = null, I… in BusRangeRegistration()
77 …public override IConditionalRegistration WithInitiatorAndStateMask(IPeripheral initiator, StateMas… in WithInitiatorAndStateMask()
87 …RangeRegistration(Range range, StateMask? stateMask, ulong offset = 0, IPeripheral cpu = null, ICl… in BusRangeRegistration()
DSystemBusGenerated.cs23 public byte ReadByte(ulong address, IPeripheral context = null, ulong? cpuState = null) in ReadByte()
67 public byte ReadByteWithState(ulong address, IPeripheral context, IContextState stateObj) in ReadByteWithState()
79 …public void WriteByte(ulong address, byte value, IPeripheral context = null, ulong? cpuState = nul… in WriteByte()
125 …public void WriteByteWithState(ulong address, byte value, IPeripheral context, IContextState state… in WriteByteWithState()
137 public ushort ReadWord(ulong address, IPeripheral context = null, ulong? cpuState = null) in ReadWord()
181 public ushort ReadWordWithState(ulong address, IPeripheral context, IContextState stateObj) in ReadWordWithState()
193 …public void WriteWord(ulong address, ushort value, IPeripheral context = null, ulong? cpuState = n… in WriteWord()
239 …public void WriteWordWithState(ulong address, ushort value, IPeripheral context, IContextState sta… in WriteWordWithState()
251 … public uint ReadDoubleWord(ulong address, IPeripheral context = null, ulong? cpuState = null) in ReadDoubleWord()
295 … public uint ReadDoubleWordWithState(ulong address, IPeripheral context, IContextState stateObj) in ReadDoubleWordWithState()
[all …]
DIMultibyteWritePeripheral.cs14 byte[] ReadBytes(long offset, int count, IPeripheral context = null); in ReadBytes()
15 …void WriteBytes(long offset, byte[] array, int startingIndex, int count, IPeripheral context = nul… in WriteBytes()
DSystemBus.cs42 [ControllerMask(typeof(IPeripheral))]
85 public void Unregister(IPeripheral peripheral) in Unregister()
94 public void Register(IPeripheral peripheral, NullRegistrationPoint registrationPoint) in Register()
385 public IEnumerable<IPeripheral> GetAllContextKeys() in GetAllContextKeys()
411 …public bool TryConvertStateToUlongForContext(IPeripheral context, IContextState cpuStateObj, out u… in TryConvertStateToUlongForContext()
427 private IEnumerable<ICPU> GetCPUsForContext(IPeripheral context) in GetCPUsForContext()
432 private IEnumerable<T> GetCPUsForContext<T>(IPeripheral context)
433 where T : IPeripheral property in Antmicro.Renode.Peripherals.Bus.SystemBus
551 public IBusRegistered<IBusPeripheral> WhatIsAt(ulong address, IPeripheral context = null) in WhatIsAt()
556 public IPeripheral WhatPeripheralIsAt(ulong address, IPeripheral context = null) in WhatPeripheralIsAt()
[all …]
DBusMultiRegistration.cs20 …public BusMultiRegistration(ulong address, ulong size, string region, IPeripheral cpu = null, IClu… in BusMultiRegistration()
58 …public override IConditionalRegistration WithInitiatorAndStateMask(IPeripheral initiator, StateMas… in WithInitiatorAndStateMask()
68 …ration(ulong address, ulong size, string region, StateMask? stateMask, IPeripheral cpu = null, ICl… in BusMultiRegistration()
DBusPointRegistration.cs17 …public BusPointRegistration(ulong address, ulong offset = 0, IPeripheral cpu = null, ICluster<ICPU… in BusPointRegistration()
52 …public override IConditionalRegistration WithInitiatorAndStateMask(IPeripheral initiator, StateMas… in WithInitiatorAndStateMask()
80 …intRegistration(ulong address, StateMask? stateMask, ulong offset = 0, IPeripheral cpu = null, ICl… in BusPointRegistration()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Structure/
DSimpleContainer.cs18 Dictionary<int, IPeripheral> ChildCollection { get; }
22 where T : IPeripheral
74 …Dictionary<int, IPeripheral> ISimpleContainer.ChildCollection => this.ChildCollection.ToDictionary…
99 public abstract class SimpleContainer<T> : SimpleContainerBase<T>, IPeripheral
100 where T : IPeripheral
125 where T : IPeripheral
127 public SimpleContainerHelper(IMachine machine, IPeripheral parent) : base() in SimpleContainerHelper()
157 protected readonly IPeripheral parent;
DNullRegistrationPointPeripheralContainer.cs17 IPeripheral
18 where TPeripheral : class, IPeripheral
53 where TPeripheral : class, IPeripheral
55 public NullRegistrationPointContainerHelper(IMachine machine, IPeripheral owner) in NullRegistrationPointContainerHelper()
101 private readonly IPeripheral owner;
DIPeripheralRegister.cs18 where TPeripheral : IPeripheral where TRegistrationPoint : IRegistrationPoint
27 where TPeripheral : IPeripheral where TRegistrationPoint : IRegistrationPoint
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/
DOpenTitan_ResetManager.cs24 skippedOnLifeCycleReset = new HashSet<IPeripheral>(); in OpenTitan_ResetManager()
25 skippedOnSystemReset = new HashSet<IPeripheral>(); in OpenTitan_ResetManager()
26 skippedOnLowPowerExitReset = new HashSet<IPeripheral>(); in OpenTitan_ResetManager()
27 modules = new IPeripheral[numberOfModules]; in OpenTitan_ResetManager()
46 public void MarkAsSkippedOnLifeCycleReset(IPeripheral peripheral) in MarkAsSkippedOnLifeCycleReset()
54 public void MarkAsSkippedOnSystemReset(IPeripheral peripheral) in MarkAsSkippedOnSystemReset()
62 public void MarkAsSkippedOnLowPowerExitReset(IPeripheral peripheral) in MarkAsSkippedOnLowPowerExitReset()
96 public void RegisterModuleSpecificReset(IPeripheral peripheral, uint id) in RegisterModuleSpecificReset()
166 private void ExecuteResetWithSkipped(ICollection<IPeripheral> toSkip) in ExecuteResetWithSkipped()
185 private void ExecutePeripheralInitiatedResetWithSkipped(ICollection<IPeripheral> toSkip) in ExecutePeripheralInitiatedResetWithSkipped()
[all …]
DPrimeCellIDHelper.cs17 public PrimeCellIDHelper(int peripheralSize, byte[] data, IPeripheral parent) in PrimeCellIDHelper()
39 private readonly IPeripheral parent;
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/
DMachine.cs48 localNames = new Dictionary<IPeripheral, string>(); in Machine()
53 registeredPeripherals = new MultiTree<IPeripheral, IRegistrationPoint>(SystemBus); in Machine()
121 public IEnumerable<IPeripheral> GetParentPeripherals(IPeripheral peripheral) in GetParentPeripherals()
124 return node == null ? new IPeripheral[0] : node.Parents.Select(x => x.Value).Distinct(); in GetParentPeripherals()
127 public IEnumerable<IPeripheral> GetChildrenPeripherals(IPeripheral peripheral) in GetChildrenPeripherals()
130 … return node == null ? new IPeripheral[0] : node.Children.Select(x => x.Value).Distinct(); in GetChildrenPeripherals()
133 …ble<IRegistrationPoint> GetPeripheralRegistrationPoints(IPeripheral parentPeripheral, IPeripheral in GetPeripheralRegistrationPoints()
139 …public void RegisterAsAChildOf(IPeripheral peripheralParent, IPeripheral peripheralChild, IRegistr… in RegisterAsAChildOf()
144 public void UnregisterAsAChildOf(IPeripheral peripheralParent, IPeripheral peripheralChild) in UnregisterAsAChildOf()
162 …public void UnregisterAsAChildOf(IPeripheral peripheralParent, IRegistrationPoint registrationPoin… in UnregisterAsAChildOf()
[all …]
DIPeripheralsGroupsManager.cs17 IPeripheralsGroup GetOrCreate(string name, IEnumerable<IPeripheral> peripherals); in GetOrCreate()
18 bool TryGetActiveGroupContaining(IPeripheral peripheral, out IPeripheralsGroup group); in TryGetActiveGroupContaining()
19 bool TryGetAnyGroupContaining(IPeripheral peripheral, out IPeripheralsGroup group); in TryGetAnyGroupContaining()
DPeripheralTreeEntry.cs19 …public PeripheralTreeEntry(IPeripheral peripheral, IPeripheral parent, Type type, IRegistrationPoi… in PeripheralTreeEntry()
49 public IPeripheral Peripheral { get; private set; }
50 public IPeripheral Parent { get; private set; }
DPeripheralsChangedEventArgs.cs21 …public static PeripheralsChangedEventArgs Create(IPeripheral peripheral, PeripheralChangeType oper… in Create()
27 public IPeripheral Peripheral { get; private set; }
30 … protected PeripheralsChangedEventArgs(IPeripheral peripheral, PeripheralChangeType operation) in PeripheralsChangedEventArgs()
DPeripheralsAddedEventArgs.cs15 …public static PeripheralsAddedEventArgs Create(IPeripheral peripheral, IRegistrationPoint registra… in Create()
22 … protected PeripheralsAddedEventArgs(IPeripheral peripheral, IRegistrationPoint registrationPoint) in PeripheralsAddedEventArgs()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/S32K3XX_FlexIO/
DResourceBlockManager.cs28 public bool Reserve(IPeripheral reserver, uint identifier, out T block) in Reserve()
46 … private readonly IDictionary<T, IPeripheral> reservations = new Dictionary<T, IPeripheral>();
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/Commands/
DAnalyzersCommand.cs34 IPeripheral p; in Run()
38 …p = (IPeripheral)monitor.ConvertValueOrThrowRecoverable(peripheralName.Value, typeof(IPeripheral)); in Run()
64 IPeripheral p; in Run()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/Mocks/
DMockPeripheralWithDependency.cs13 public class MockPeripheralWithDependency : IPeripheral
15 public MockPeripheralWithDependency(IPeripheral other = null, bool throwException = false) in MockPeripheralWithDependency()
DMockPeripheralUsingReferenceAttribute.cs14 …public MockPeripheralUsingReferenceAttribute(Antmicro.Renode.Peripherals.IPeripheral mockReference) in MockPeripheralUsingReferenceAttribute()
33 public Peripherals.IPeripheral MockReference { get; set; }
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DBitPatternDetector.cs16 …public BitPatternDetector(int width, IPeripheral loggingParent = null) : this(new bool[width], log… in BitPatternDetector()
20 public BitPatternDetector(bool[] resetValue, IPeripheral loggingParent = null) in BitPatternDetector()
67 private readonly IPeripheral loggingParent;

123456