Home
last modified time | relevance | path

Searched refs:structure (Results 1 – 5 of 5) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Network/SynopsysDWCEthernetQualityOfService/
DSynopsysDWCEthernetQualityOfService_DMA.cs452 var structure = descriptor.GetNormalReadDescriptor(); in StartRx()
454 … this.Log(LogLevel.Noisy, "Receive: Loaded {0} from 0x{1:X}.", structure, descriptor.Address); in StartRx()
459 …var invalidDescriptor = structure.buffer1Address == UInt32.MaxValue || structure.buffer2Address ==… in StartRx()
460 … if(!invalidDescriptor && structure.buffer1Address != 0 && structure.buffer1AddressValid) in StartRx()
462 bufferAddress = structure.buffer1Address; in StartRx()
465 … else if(!invalidDescriptor && structure.buffer2Address != 0 && structure.buffer2AddressValid) in StartRx()
467 bufferAddress = structure.buffer2Address; in StartRx()
474 structure.owner = DescriptorOwner.Application; in StartRx()
476 … this.Log(LogLevel.Noisy, "Receive: Writing {0} to 0x{1:X}.", structure, descriptor.Address); in StartRx()
478 descriptor.SetDescriptor(structure); in StartRx()
[all …]
DSynopsysDWCEthernetQualityOfService_Descriptors.cs32 var structure = Packet.Decode<MinimalCommonDescriptor>(data); in Fetch()
33 UpdateProperties(structure); in Fetch()
41 public void SetDescriptor<T>(T structure) where T : IDescriptorStruct
44 data = Packet.Encode<T>(structure);
45 UpdateProperties(structure);
48 protected void UpdateProperties(IDescriptorStruct structure) in UpdateProperties() argument
50 IsOwnedByDMA = structure.Owner == DescriptorOwner.DMA; in UpdateProperties()
51 isContextDescriptor = structure.ContextType; in UpdateProperties()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CAN/S32K3XX_FlexCAN/
DS32K3XX_FlexCAN_Structures.cs175 var structure = Packet.Decode<MessageBufferStructure>(data); in FetchMetadata()
176 return structure; in FetchMetadata()
489 var structure = Packet.Decode<LegacyRxFifoFilterAStructure>(data); in Fetch()
490 return structure; in Fetch()
515 var structure = Packet.Decode<LegacyRxFifoFilterBStructure>(data); in Fetch()
516 return structure; in Fetch()
550 var structure = Packet.Decode<LegacyRxFifoFilterCStructure>(data); in Fetch()
551 return structure; in Fetch()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DMisc.cs206 public static byte[] AsRawBytes<T>(this T structure) where T : struct
211 Marshal.StructureToPtr(structure, bufferPointer, false); in Marshal.StructureToPtr()
/Renode-Infrastructure-v1.15.3-29f510e/licenses/
DLGPL.txt260 structure layouts and accessors, and small macros and small inline