Home
last modified time | relevance | path

Searched refs:descriptor (Results 1 – 15 of 15) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/DMA/
DEFR32MG12_LDMA.cs399 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 …]
DEFR32xG22_LDMA.cs750 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 …]
DEFR32MG24_LDMA.cs1397 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/
DEFR32xG2_AES_1.cs317 DmaDescriptor descriptor = new DmaDescriptor(); in ParseDescriptors()
318descriptor.FirstDataAddress = machine.SystemBus.ReadDoubleWord(currentDescriptorAddress); in ParseDescriptors()
319descriptor.NextDescriptorAddress = machine.SystemBus.ReadDoubleWord(currentDescriptorAddress + 0x4… in ParseDescriptors()
320 descriptor.LastDescriptor = ((descriptor.NextDescriptorAddress & 0x1) > 0); in ParseDescriptors()
321 descriptor.NextDescriptorAddress &= ~0x3U; in ParseDescriptors()
322descriptor.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/
DSwitch.cs67 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/
DBreakpointCommand.cs140 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/
DSynopsysDWCEthernetQualityOfService_DMA.cs365 … 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/
DBlobManager.cs62 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/
DAmbiqApollo4_GPIO.cs211 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/
DBaseX86.cs26 …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/
DVirtqueue.cs114 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/
DEFR32xG24_Radio.cs3208 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/
DUFSDevice.cs320 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/
DTranslationCPU.cs1194 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/
DPixelManipulationTools.cs618 var descriptor = new TransformationDescriptor(shift, (byte)mask, currentBits); in ByteInflate()
619 result.Add(descriptor); in ByteInflate()