| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/DMA/ |
| D | EFR32MG12_LDMA.cs | 399 descriptor = default(Descriptor); in Channel() 428 valueProviderCallback: _ => descriptor.structureType, in Channel() 432 writeCallback: (_, value) => descriptor.structureTransferRequest = value, in Channel() 435 writeCallback: (_, value) => descriptor.transferCount = (ushort)value, in Channel() 436 valueProviderCallback: _ => descriptor.transferCount, in Channel() 439 writeCallback: (_, value) => descriptor.byteSwap = value, in Channel() 440 valueProviderCallback: _ => descriptor.byteSwap, in Channel() 443 writeCallback: (_, value) => descriptor.blockSize = value, in Channel() 444 valueProviderCallback: _ => descriptor.blockSize, in Channel() 447 … writeCallback: (_, value) => descriptor.operationDoneInterruptFlagSetEnable = value, in Channel() [all …]
|
| D | EFR32xG22_LDMA.cs | 750 descriptor = default(Descriptor); in Channel() 772 valueProviderCallback: _ => descriptor.structureType, in Channel() 776 writeCallback: (_, value) => descriptor.structureTransferRequest = value, in Channel() 779 writeCallback: (_, value) => descriptor.transferCount = (ushort)value, in Channel() 780 valueProviderCallback: _ => descriptor.transferCount, in Channel() 783 writeCallback: (_, value) => descriptor.byteSwap = value, in Channel() 784 valueProviderCallback: _ => descriptor.byteSwap, in Channel() 787 writeCallback: (_, value) => descriptor.blockSize = value, in Channel() 788 valueProviderCallback: _ => descriptor.blockSize, in Channel() 791 … writeCallback: (_, value) => descriptor.operationDoneInterruptFlagSetEnable = value, in Channel() [all …]
|
| D | EFR32MG24_LDMA.cs | 1397 descriptor = default(Descriptor); in Channel() 1419 valueProviderCallback: _ => descriptor.structureType, in Channel() 1423 writeCallback: (_, value) => descriptor.structureTransferRequest = value, in Channel() 1426 writeCallback: (_, value) => descriptor.transferCount = (ushort)value, in Channel() 1427 valueProviderCallback: _ => descriptor.transferCount, in Channel() 1430 writeCallback: (_, value) => descriptor.byteSwap = value, in Channel() 1431 valueProviderCallback: _ => descriptor.byteSwap, in Channel() 1434 writeCallback: (_, value) => descriptor.blockSize = value, in Channel() 1435 valueProviderCallback: _ => descriptor.blockSize, in Channel() 1438 … writeCallback: (_, value) => descriptor.operationDoneInterruptFlagSetEnable = value, in Channel() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/SiLabs/ |
| D | EFR32xG2_AES_1.cs | 317 DmaDescriptor descriptor = new DmaDescriptor(); in ParseDescriptors() 318 … descriptor.FirstDataAddress = machine.SystemBus.ReadDoubleWord(currentDescriptorAddress); in ParseDescriptors() 319 …descriptor.NextDescriptorAddress = machine.SystemBus.ReadDoubleWord(currentDescriptorAddress + 0x4… in ParseDescriptors() 320 descriptor.LastDescriptor = ((descriptor.NextDescriptorAddress & 0x1) > 0); in ParseDescriptors() 321 descriptor.NextDescriptorAddress &= ~0x3U; in ParseDescriptors() 322 … descriptor.Length = machine.SystemBus.ReadDoubleWord(currentDescriptorAddress + 0x8); in ParseDescriptors() 323 descriptor.ConstantAddress = ((descriptor.Length & 0x10000000) > 0); in ParseDescriptors() 324 descriptor.Realign = ((descriptor.Length & 0x20000000) > 0); in ParseDescriptors() 327 descriptor.ZeroPadding = ((descriptor.Length & 0x40000000) > 0); in ParseDescriptors() 331 descriptor.Discard = ((descriptor.Length & 0x40000000) > 0); in ParseDescriptors() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Tools/Network/ |
| D | Switch.cs | 67 var descriptor = ifaces.SingleOrDefault(x => x.Interface == iface); in DetachFrom() 68 if(descriptor == null) in DetachFrom() 74 ifaces.Remove(descriptor); in DetachFrom() 75 iface.FrameReady -= descriptor.Delegate; in DetachFrom() 88 var descriptor = ifaces.SingleOrDefault(x => x.Interface == iface); in EnablePromiscuousMode() 89 if(descriptor == null) in EnablePromiscuousMode() 93 descriptor.PromiscuousMode = true; in EnablePromiscuousMode() 102 var descriptor = ifaces.SingleOrDefault(x => x.Interface == iface); in DisablePromiscuousMode() 103 if(descriptor == null) in DisablePromiscuousMode() 107 if(!descriptor.PromiscuousMode) in DisablePromiscuousMode() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Utilities/GDB/Commands/ |
| D | BreakpointCommand.cs | 140 foreach(var descriptor in CalculateAllCoveringAddressess(address, kind, access, hook)) in AddWatchpointsCoveringMemoryArea() 144 if(watchpoints.ContainsKey(descriptor)) in AddWatchpointsCoveringMemoryArea() 146 watchpoints[descriptor]++; in AddWatchpointsCoveringMemoryArea() 150 watchpoints.Add(descriptor, 1); in AddWatchpointsCoveringMemoryArea() 151 … manager.Machine.SystemBus.AddWatchpointHook(descriptor.Address, descriptor.Width, access, hook); in AddWatchpointsCoveringMemoryArea() 161 foreach(var descriptor in CalculateAllCoveringAddressess(address, kind, access, hook)) in RemoveWatchpointsCoveringMemoryArea() 165 if(watchpoints[descriptor] > 1) in RemoveWatchpointsCoveringMemoryArea() 167 watchpoints[descriptor]--; in RemoveWatchpointsCoveringMemoryArea() 171 watchpoints.Remove(descriptor); in RemoveWatchpointsCoveringMemoryArea() 172 manager.Machine.SystemBus.RemoveWatchpointHook(descriptor.Address, hook); in RemoveWatchpointsCoveringMemoryArea()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Network/SynopsysDWCEthernetQualityOfService/ |
| D | SynopsysDWCEthernetQualityOfService_DMA.cs | 365 … var descriptor = new TxDescriptor(parent.Bus, txDescriptorRingCurrent.Value, parent.CpuContext); in GetTxDescriptor() 366 descriptor.Fetch(); in GetTxDescriptor() 367 return descriptor; in GetTxDescriptor() 372 … var descriptor = new RxDescriptor(parent.Bus, rxDescriptorRingCurrent.Value, parent.CpuContext); in GetRxDescriptor() 373 descriptor.Fetch(); in GetRxDescriptor() 374 return descriptor; in GetRxDescriptor() 442 var descriptor = GetRxDescriptor(); in StartRx() 444 if(!descriptor.IsOwnedByDMA.Value) in StartRx() 452 var structure = descriptor.GetNormalReadDescriptor(); in StartRx() 454 … this.Log(LogLevel.Noisy, "Receive: Loaded {0} from 0x{1:X}.", structure, descriptor.Address); in StartRx() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/ |
| D | BlobManager.cs | 62 var descriptor = provider.GetBlobDescriptor(); in Save() 63 writer.Write(descriptor.Size); in Save() 64 writer.CopyFrom(descriptor.Stream, descriptor.Size); in Save()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/GPIOPort/ |
| D | AmbiqApollo4_GPIO.cs | 211 foreach(var descriptor in new[] in DefineRegisters() 224 descriptor.Register.Define(this) in DefineRegisters() 225 .WithFlags(0, PinsPerBank, out irqEnabled[(int)descriptor.Type]) in DefineRegisters() 226 .WithWriteCallback((_, __) => UpdateInterrupt(descriptor.Type)); in DefineRegisters() 229 foreach(var descriptor in new[] in DefineRegisters() 242 descriptor.Register.Define(this) in DefineRegisters() 243 .WithFlags(0, PinsPerBank, out irqStatus[(int)descriptor.Type], FieldMode.Read); in DefineRegisters() 246 foreach(var descriptor in new[] in DefineRegisters() 259 descriptor.Register.Define(this) in DefineRegisters() 267 irqStatus[(int)descriptor.Type][bitIdx].Value = false; in DefineRegisters() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/X86/ |
| D | BaseX86.cs | 26 …public void SetDescriptor(SegmentDescriptor descriptor, uint selector, uint baseAddress, uint limi… in SetDescriptor() argument 28 switch(descriptor) in SetDescriptor()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Storage/VirtIO/ |
| D | Virtqueue.cs | 114 var descriptor = ReadDescriptorFromAvail(); in Handle() 115 DescriptorIndex = descriptor.Item1; in Handle() 123 WriteVirtqueueUsed(descriptor.Item1, descriptor.Item2); in Handle()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Wireless/ |
| D | EFR32xG24_Radio.cs | 3208 var descriptor = FRC_frameDescriptor[FRC_ActiveTransmitFrameDescriptor]; in FRC_AssembleFrame() 3219 … frameLength = BUFC_buffer[descriptor.BufferIndex].Peek((uint)FRC_lengthFieldLocation.Value); in FRC_AssembleFrame() 3223 …frameLength = ((BUFC_buffer[descriptor.BufferIndex].Peek((uint)FRC_lengthFieldLocation.Value + 1) … in FRC_AssembleFrame() 3224 … | (BUFC_buffer[descriptor.BufferIndex].Peek((uint)FRC_lengthFieldLocation.Value))); in FRC_AssembleFrame() 3242 …var crcLength = (descriptor.includeCrc.Value && dynamicFrameLength && FRC_dynamicFrameCrcIncluded.… in FRC_AssembleFrame() 3245 if(descriptor.Words.HasValue) in FRC_AssembleFrame() 3247 length = Math.Min(length, descriptor.Words.Value); in FRC_AssembleFrame() 3257 if(!BUFC_buffer[descriptor.BufferIndex].TryReadBytes(length, out var payload)) in FRC_AssembleFrame() 3267 if(descriptor.includeCrc.Value) in FRC_AssembleFrame() 3286 descriptor = FRC_frameDescriptor[FRC_ActiveTransmitFrameDescriptor]; in FRC_AssembleFrame() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Storage/ |
| D | UFSDevice.cs | 320 var descriptor = Packet.Encode(modePagePolicyDescriptor); in HandleSCSIInquiry() 321 vpdPage.PageLength = (ushort)descriptor.Length; in HandleSCSIInquiry() 325 … Array.Copy(descriptor, 0, dataInTransfer, vpdPageHeader.Length, descriptor.Length); in HandleSCSIInquiry()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/ |
| D | TranslationCPU.cs | 1194 HookDescriptor descriptor; in RemoveHook() 1195 if(!hooks.TryGetValue(addr, out descriptor) || !descriptor.RemoveCallback(hook)) in RemoveHook() 1200 if(descriptor.IsEmpty) in RemoveHook()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Backends/Display/ |
| D | PixelManipulationTools.cs | 618 var descriptor = new TransformationDescriptor(shift, (byte)mask, currentBits); in ByteInflate() 619 result.Add(descriptor); in ByteInflate()
|