| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Timers/ |
| D | Cadence_WDT.cs | 54 .WithFlag(0, out watchdogEnable, writeCallback: (oldVal, newVal) => in DefineRegisters() 61 watchdogTimer.Enabled = newVal; in DefineRegisters() 63 .WithFlag(1, out resetEnable, writeCallback: (oldVal, newVal) => in DefineRegisters() 71 .WithFlag(2, out interruptRequestEnable, writeCallback: (oldVal, newVal) => in DefineRegisters() 94 .WithValueField(0, 2, out counterClockPrescale, writeCallback: (oldVal, newVal) => in DefineRegisters() 101 watchdogTimer.Divider = 1 << (int)(3 * (newVal + 1)); in DefineRegisters() 103 .WithValueField(2, 12, out counterRestartValue, writeCallback: (oldVal, newVal) => in DefineRegisters()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Storage/VirtIO/ |
| D | VirtIO.cs | 43 var newVal = hasUsedBuffer.Value || configHasChanged.Value; in UpdateInterrupts() 44 this.Log(LogLevel.Debug, "Updating IRQ to {0}", newVal); in UpdateInterrupts() 45 IRQ.Set(newVal); in UpdateInterrupts()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Storage/ |
| D | UFSHostController.cs | 202 .WithFlag(16, FieldMode.Write, writeCallback: (_, newVal) => in DefineRegisters() 204 if(!newVal) in DefineRegisters() 227 … .WithFlags(0, 32, out transferRequestListClearFlags, writeCallback: (idx, _, newVal) => in DefineRegisters() 229 if(newVal) in DefineRegisters() 236 .WithFlag(0, out transferRequestListRunStop, changeCallback: (_, newVal) => in DefineRegisters() 238 if(!newVal) in DefineRegisters() 263 … .WithFlags(0, 8, out taskManagementRequestListClearFlags, writeCallback: (idx, _, newVal) => in DefineRegisters() 265 if(newVal) in DefineRegisters() 273 .WithFlag(0, out taskManagementRequestListRunStop, changeCallback: (_, newVal) => in DefineRegisters() 275 if(!newVal) in DefineRegisters() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CAN/ |
| D | MCAN.cs | 90 .WithFlag(4, out rv.TestRegister.LoopBackMode, writeCallback: (oldVal, newVal) => in BuildRegisterMap() 92 if(!IsProtectedWrite && newVal != oldVal) in BuildRegisterMap() 114 … .WithFlags(0, 16, out rv.CCControlRegister.ControlFields, writeCallback: (idx, oldVal, newVal) => in BuildRegisterMap() 121 if(!newVal) in BuildRegisterMap() 135 if(newVal) in BuildRegisterMap() 151 if(newVal) in BuildRegisterMap() 153 if(!IsProtectedWrite && newVal != oldVal) in BuildRegisterMap() 171 if(!IsProtectedWrite && newVal != oldVal) in BuildRegisterMap() 245 …InterruptFlags, FieldMode.Read | FieldMode.WriteOneToClear, writeCallback: (idx, oldVal, newVal) => in BuildRegisterMap() 247 if(!newVal) in BuildRegisterMap() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SPI/ |
| D | MPFS_SPI.cs | 312 …writeCallback: (_, newVal) => controlRegister.Write(0, (uint)BitHelper.SetMaskedValue(controlRegis… in MPFS_SPI() 318 …writeCallback: (_, newVal) => controlRegister.Write(0, (uint)BitHelper.SetMaskedValue(controlRegis… in MPFS_SPI() 324 …writeCallback: (_, newVal) => controlRegister.Write(0, (uint)BitHelper.SetMaskedValue(controlRegis… in MPFS_SPI() 330 …writeCallback: (_, newVal) => controlRegister.Write(0, (uint)BitHelper.SetMaskedValue(controlRegis… in MPFS_SPI()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/IRQControllers/ |
| D | RenesasRZG_IRQController.cs | 247 private void InterruptStatusControlWriteCallback(int interruptIdx, bool oldVal, bool newVal) in InterruptStatusControlWriteCallback() argument 250 if(trigger == PinFunctionInterruptType.LowLevel || newVal) in InterruptStatusControlWriteCallback() 256 … private void GpioInterruptStatusControlWriteCallback(int interruptIdx, bool oldVal, bool newVal) in GpioInterruptStatusControlWriteCallback() argument 263 if(newVal) in GpioInterruptStatusControlWriteCallback()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/ |
| D | RenesasRZG_CPG_SYSC.cs | 881 return (oldVal, newVal) => in CreateClockControlWriteCallback() 883 var invalidClocks = GetInvalidBits(oldVal, newVal, ClockEnableBitsOffset, in CreateClockControlWriteCallback() 903 return (oldVal, newVal) => in CreateResetControlWriteCallback() 905 var invalidResets = GetInvalidBits(oldVal, newVal, ResetEnableBitsOffset, in CreateResetControlWriteCallback() 956 …private uint GetInvalidBits(uint oldVal, uint newVal, int valueOffset, int valueSize, int maskOffs… in GetInvalidBits() argument 958 var mask = BitHelper.GetValue(newVal, maskOffset, maskSize); in GetInvalidBits() 960 newVal = BitHelper.GetValue(newVal, valueOffset, valueSize); in GetInvalidBits() 963 var changed = oldVal ^ newVal; in GetInvalidBits()
|
| D | OpenTitan_BigNumberAccelerator.cs | 203 writeCallback: (prevVal, newVal) => in DefineRegisters()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SCI/ |
| D | RenesasRZG_SCIFA.cs | 173 …writeCallback: (oldVal, newVal) => bitRate.Value = (!transmitEnabled.Value && !receiveEnabled.Valu… in DefineRegisters()
|
| D | RenesasRA6M5_SCI.cs | 343 …writeCallback: (oldVal, newVal) => bitRate.Value = (!transmitEnabled.Value && !receiveEnabled.Valu… in DefineRegisters()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/UART/ |
| D | Cadence_UART.cs | 395 .WithValueField(0, 16, out baudGenerator, writeCallback: (oldVal, newVal) => in BuildRegisterMap() 397 if(newVal == 0) in BuildRegisterMap()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/I2C/ |
| D | STM32F7_I2C.cs | 154 .WithWriteCallback((oldVal, newVal) => in CreateRegisters()
|