Lines Matching refs:IPeripheral

42     [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()
580 public IEnumerable<IBusRegistered<IMapped>> GetMappedPeripherals(IPeripheral context = null) in GetMappedPeripherals()
587 …le<IBusRegistered<IBusPeripheral>> GetRegistrationsForPeripheralType<T>(IPeripheral context = null) in GetRegistrationsForPeripheralType()
593 …public IEnumerable<IBusRegistered<IBusPeripheral>> GetRegisteredPeripherals(IPeripheral context = … in GetRegisteredPeripherals()
604 …int count, byte[] destination, int startIndex, bool onlyMemory = false, IPeripheral context = null) in ReadBytes()
634 …public byte[] ReadBytes(ulong address, int count, bool onlyMemory = false, IPeripheral context = n… in ReadBytes()
641 public byte[] ReadBytes(long offset, int count, IPeripheral context = null) in ReadBytes()
646 …public void WriteBytes(byte[] bytes, ulong address, bool onlyMemory = false, IPeripheral context =… in WriteBytes()
651 … ulong address, int startingIndex, long count, bool onlyMemory = false, IPeripheral context = null) in WriteBytes()
681 …Bytes(byte[] bytes, ulong address, long count, bool onlyMemory = false, IPeripheral context = null) in WriteBytes()
686 …public void WriteBytes(long offset, byte[] array, int startingIndex, int count, IPeripheral contex… in WriteBytes()
691 public void ZeroRange(Range range, IPeripheral context = null) in ZeroRange()
1052 public void SetAddressRangeLocked(Range range, bool locked, IPeripheral context = null) in SetAddressRangeLocked()
1081 public void SetPeripheralEnabled(IPeripheral peripheral, bool enabled) in SetPeripheralEnabled()
1097 public bool IsAddressRangeLocked(Range range, IPeripheral context = null) in IsAddressRangeLocked()
1104 public bool IsPeripheralEnabled(IPeripheral peripheral) in IsPeripheralEnabled()
1315 …ble<IBusRegistered<IBusPeripheral>> GetAccessiblePeripheralsForContext(IPeripheral context, ulong?… in GetAccessiblePeripheralsForContext()
1663 …eral, PeripheralAccessMethods methods, BusRangeRegistration registrationPoint, IPeripheral context) in RegisterInner()
1731 private void RelockRange(Range range, bool locked, IPeripheral context) in RelockRange()
1762 …private bool CanRangeBeLocked(Range range, IPeripheral context, out IEnumerable<IBusRegistered<IMa… in CanRangeBeLocked()
1770 …merable<PeripheralLookupResult> FindTargets(ulong address, ulong count, IPeripheral context = null) in FindTargets()
1841 … x.Peripherals).Select(x => x.Peripheral).Distinct().Union(GetCPUs().Cast<IPeripheral>()).ToList()) in ClearAll()
1877 lockedPeripherals = new HashSet<IPeripheral>(); in InitStructures()
1919 …rPeripheral(IBusPeripheral peripheral, BusRangeRegistration registrationPoint, IPeripheral context) in AddMappingsForPeripheral()
2048 private IDisposable SetLocalContext(IPeripheral context, ulong? initiatorState = null) in SetLocalContext()
2053 private void AddContextKeys(IPeripheral peripheral) in AddContextKeys()
2059 private void RemoveContextKeys(IPeripheral peripheral) in RemoveContextKeys()
2084 private ISet<IPeripheral> lockedPeripherals;
2099 public void AddContextKey(IPeripheral key) in AddContextKey()
2113 public void RemoveContextKey(IPeripheral key) in RemoveContextKey()
2123 public TReadOnlyValue this[IPeripheral key] => GetValue(key);
2125 public TReadOnlyValue GetValue(IPeripheral key, ulong? initiatorState = null) in GetValue()
2135 … public void WithStateCollection(IPeripheral context, StateMask? stateMask, Action<TValue> action) in WithStateCollection()
2152 public IEnumerable<IPeripheral> GetAllContextKeys() in GetAllContextKeys()
2157 public IEnumerable<StateMask> GetAllStateKeys(IPeripheral context) in GetAllStateKeys()
2162 public bool TryGetValue(IPeripheral key, ulong? initiatorState, out TValue value) in TryGetValue()
2192 …private bool TryGetValueForState(TValue cachedValue, IPeripheral key, ulong? initiatorState, out T… in TryGetValueForState()
2227 …private readonly Dictionary<IPeripheral, Dictionary<StateMask, TValue>> cpuLocalValues = new Dicti…
2228 …private readonly Dictionary<IPeripheral, Dictionary<ulong, TValue>> cpuInStateCache = new Dictiona…
2234 …private readonly Dictionary<IPeripheral, TValue> cpuAllAccess = new Dictionary<IPeripheral, TValue…
2387 context = new ThreadLocal<Tuple<IPeripheral, ulong?>>(() => null, true); in ThreadLocalContext()
2391 public IDisposable Initialize(IPeripheral cpu, ulong? initiatorState) in Initialize()
2411 public IPeripheral Initiator => context.Value.Item1;
2414 private readonly ThreadLocal<Tuple<IPeripheral, ulong?>> context;