Home
last modified time | relevance | path

Searched refs:With (Results 1 – 12 of 12) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Timers/
DLimitTimer.cs94 …clockSource.ExchangeClockEntryWith(OnLimitReached, oldEntry => oldEntry.With(frequency: effectiveF…
113 … clockSource.ExchangeClockEntryWith(OnLimitReached, oldEntry => oldEntry.With(value: value));
127 … clockSource.ExchangeClockEntryWith(OnLimitReached, oldEntry => oldEntry.With(workMode: value));
149 …clockSource.ExchangeClockEntryWith(OnLimitReached, oldEntry => oldEntry.With(frequency: effectiveF…
167 … return oldEntry.With(period: value, value: oldEntry.Direction == Direction.Ascending ? 0 : value);
170 return oldEntry.With(period: value);
190 … clockSource.ExchangeClockEntryWith(OnLimitReached, oldEntry => oldEntry.With(enabled: value),
252 return oldEntry.With(value: 0); in ResetValue()
254 return oldEntry.With(value: oldEntry.Period); in ResetValue()
268 … clockSource.ExchangeClockEntryWith(OnLimitReached, oldEntry => oldEntry.With(direction: value),
DComparingTimer.cs67 …ckSource.ExchangeClockEntryWith(CompareReachedInternal, oldEntry => oldEntry.With(enabled: value));
115 return entry.With(period: CalculatePeriod(), value: 0);
138 return entry.With(period: CalculatePeriod(), value: 0);
181 … clockSource.ExchangeClockEntryWith(CompareReachedInternal, oldEntry => oldEntry.With(step: step));
207 …clockSource.ExchangeClockEntryWith(CompareReachedInternal, oldEntry => oldEntry.With(frequency: ef… in RecalculateFrequency()
225 …clockSource.ExchangeClockEntryWith(CompareReachedInternal, entry => entry.With(period: compareValu… in CompareReachedInternal()
230 …clockSource.ExchangeClockEntryWith(CompareReachedInternal, entry => entry.With(period: initialLimi… in CompareReachedInternal()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Timers/
DMPFS_RTC.cs108 timeToUpload = timeToUpload.With( in DefineRegisters()
145 timeToUpload = timeToUpload.With( in DefineRegisters()
173 … writeCallback: (_, value) => timeToUpload = timeToUpload.With(second: (int)value)) in DefineRegisters()
179 … writeCallback: (_, value) => timeToUpload = timeToUpload.With(minute: (int)value)) in DefineRegisters()
185 writeCallback: (_, value) => timeToUpload = timeToUpload.With(hour: (int)value)) in DefineRegisters()
191 writeCallback: (_, value) => timeToUpload = timeToUpload.With(day: (int)value)) in DefineRegisters()
197 … writeCallback: (_, value) => timeToUpload = timeToUpload.With(month: (int)value)) in DefineRegisters()
203 … writeCallback: (_, value) => timeToUpload = timeToUpload.With(year: CalculateYear((uint)value))) in DefineRegisters()
225 … writeCallback: (_, value) => timeToUpload = timeToUpload.With(second: (int)value)) in DefineRegisters()
231 … writeCallback: (_, value) => timeToUpload = timeToUpload.With(minute: (int)value)) in DefineRegisters()
[all …]
DTegraTimer.cs64 …clockSource.ExchangeClockEntryWith(OnLimitReached, oldEntry => oldEntry.With(period: (value & ((1 … in WriteDoubleWord()
DSTM32F4_RTC.cs546 return timeState.With(second: value); in UpdateTimeState()
548 return timeState.With(minute: value); in UpdateTimeState()
550 return timeState.With(hour: value); in UpdateTimeState()
552 return timeState.With(day: value); in UpdateTimeState()
554 return timeState.With(month: value); in UpdateTimeState()
556 return timeState.With(year: value); in UpdateTimeState()
DMAX32650_RTC.cs73 SetDateTime(CurrentDateTime.With(year, month, day, hour, minute, second, millisecond)); in SetDateTime()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Time/
DClockEntry.cs33 …public ClockEntry With(ulong? period = null, long? frequency = null, Action handler = null, bool? … in With() method
DBaseClockSource.cs283 entry = entry.With(enabled: entry.Enabled & (entry.WorkMode != WorkMode.OneShot)); in HandleDirectionDescendingPositiveRatio()
313 entry = entry.With(enabled: entry.Enabled & (entry.WorkMode != WorkMode.OneShot)); in HandleDirectionAscendingPositiveRatio()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/PowerPC/
DPowerPc64.cs146 entry => entry.With(period: value, value: value, enabled: value != 0)); in WriteDecrementer()
DPowerPc.cs154 entry => entry.With(period: value, value: value, enabled: value != 0)); in WriteDecrementer()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/
DMachine.cs661 action, x => x.With(enabled: true)); in Start()
679 machine.ClockSource.ExchangeClockEntryWith(action, x => x.With(enabled: false)); in Stop()
685 … set => machine.ClockSource.ExchangeClockEntryWith(action, entry => entry.With(frequency: value));
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DMisc.cs1320 …public static DateTime With(this DateTime @this, int? year = null, int? month = null, int? day = n… in With() method in Antmicro.Renode.Utilities.Misc