Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/acpi/iasl/
H A Daslresource.c532 ASL_RESOURCE_NODE *Rnode; in RsAllocateResourceNode() local
537 Rnode = UtLocalCalloc (sizeof (ASL_RESOURCE_NODE)); in RsAllocateResourceNode()
541 Rnode->Buffer = UtLocalCalloc (Size); in RsAllocateResourceNode()
542 Rnode->BufferLength = Size; in RsAllocateResourceNode()
543 return (Rnode); in RsAllocateResourceNode()
758 ASL_RESOURCE_NODE *Rnode = NULL; in RsDoOneResourceDescriptor() local
767 Rnode = RsDoDmaDescriptor (Info); in RsDoOneResourceDescriptor()
772 Rnode = RsDoFixedDmaDescriptor (Info); in RsDoOneResourceDescriptor()
777 Rnode = RsDoDwordIoDescriptor (Info); in RsDoOneResourceDescriptor()
782 Rnode = RsDoDwordMemoryDescriptor (Info); in RsDoOneResourceDescriptor()
[all …]
H A Daslrestype1.c188 ASL_RESOURCE_NODE *Rnode; in RsDoEndTagDescriptor() local
191 Rnode = RsAllocateResourceNode (sizeof (AML_RESOURCE_END_TAG)); in RsDoEndTagDescriptor()
193 Descriptor = Rnode->Buffer; in RsDoEndTagDescriptor()
197 return (Rnode); in RsDoEndTagDescriptor()
218 ASL_RESOURCE_NODE *Rnode; in RsDoEndDependentDescriptor() local
221 Rnode = RsAllocateResourceNode (sizeof (AML_RESOURCE_END_DEPENDENT)); in RsDoEndDependentDescriptor()
223 Descriptor = Rnode->Buffer; in RsDoEndDependentDescriptor()
226 return (Rnode); in RsDoEndDependentDescriptor()
251 ASL_RESOURCE_NODE *Rnode; in RsDoMemory24Descriptor() local
258 Rnode = RsAllocateResourceNode (sizeof (AML_RESOURCE_MEMORY24)); in RsDoMemory24Descriptor()
[all …]
H A Daslrestype1i.c187 ASL_RESOURCE_NODE *Rnode; in RsDoDmaDescriptor() local
196 Rnode = RsAllocateResourceNode (sizeof (AML_RESOURCE_DMA)); in RsDoDmaDescriptor()
198 Descriptor = Rnode->Buffer; in RsDoDmaDescriptor()
247 return (Rnode); in RsDoDmaDescriptor()
285 return (Rnode); in RsDoDmaDescriptor()
307 ASL_RESOURCE_NODE *Rnode; in RsDoFixedDmaDescriptor() local
314 Rnode = RsAllocateResourceNode (sizeof (AML_RESOURCE_FIXED_DMA)); in RsDoFixedDmaDescriptor()
316 Descriptor = Rnode->Buffer; in RsDoFixedDmaDescriptor()
360 return (Rnode); in RsDoFixedDmaDescriptor()
383 ASL_RESOURCE_NODE *Rnode; in RsDoFixedIoDescriptor() local
[all …]
H A Daslrestype2.c185 ASL_RESOURCE_NODE *Rnode; in RsDoGeneralRegisterDescriptor() local
192 Rnode = RsAllocateResourceNode (sizeof (AML_RESOURCE_GENERIC_REGISTER)); in RsDoGeneralRegisterDescriptor()
194 Descriptor = Rnode->Buffer; in RsDoGeneralRegisterDescriptor()
264 return (Rnode); in RsDoGeneralRegisterDescriptor()
287 ASL_RESOURCE_NODE *Rnode; in RsDoInterruptDescriptor() local
326 Rnode = RsAllocateResourceNode (sizeof (AML_RESOURCE_EXTENDED_IRQ) + in RsDoInterruptDescriptor()
329 Descriptor = Rnode->Buffer; in RsDoInterruptDescriptor()
431 return (Rnode); in RsDoInterruptDescriptor()
499 Rnode->BufferLength = in RsDoInterruptDescriptor()
503 return (Rnode); in RsDoInterruptDescriptor()
[all …]
H A Daslrestype2s.c442 ASL_RESOURCE_NODE *Rnode; in RsDoGpioIntDescriptor() local
474 Rnode = RsAllocateResourceNode (DescriptorSize + in RsDoGpioIntDescriptor()
477 Descriptor = Rnode->Buffer; in RsDoGpioIntDescriptor()
629 return (Rnode); in RsDoGpioIntDescriptor()
651 ASL_RESOURCE_NODE *Rnode; in RsDoGpioIoDescriptor() local
684 Rnode = RsAllocateResourceNode (DescriptorSize + in RsDoGpioIoDescriptor()
687 Descriptor = Rnode->Buffer; in RsDoGpioIoDescriptor()
836 return (Rnode); in RsDoGpioIoDescriptor()
858 ASL_RESOURCE_NODE *Rnode; in RsDoI2cSerialBusDescriptor() local
884 Rnode = RsAllocateResourceNode (DescriptorSize + in RsDoI2cSerialBusDescriptor()
[all …]
H A Daslrestype2e.c187 ASL_RESOURCE_NODE *Rnode; in RsDoExtendedIoDescriptor() local
197 Rnode = RsAllocateResourceNode ( in RsDoExtendedIoDescriptor()
200 Descriptor = Rnode->Buffer; in RsDoExtendedIoDescriptor()
332 Rnode->BufferLength = sizeof (AML_RESOURCE_EXTENDED_ADDRESS64) + in RsDoExtendedIoDescriptor()
334 return (Rnode); in RsDoExtendedIoDescriptor()
360 ASL_RESOURCE_NODE *Rnode; in RsDoExtendedMemoryDescriptor() local
370 Rnode = RsAllocateResourceNode ( in RsDoExtendedMemoryDescriptor()
373 Descriptor = Rnode->Buffer; in RsDoExtendedMemoryDescriptor()
513 Rnode->BufferLength = sizeof (AML_RESOURCE_EXTENDED_ADDRESS64) + in RsDoExtendedMemoryDescriptor()
515 return (Rnode); in RsDoExtendedMemoryDescriptor()
[all …]
H A Daslrestype2q.c188 ASL_RESOURCE_NODE *Rnode; in RsDoQwordIoDescriptor() local
201 Rnode = RsAllocateResourceNode ( in RsDoQwordIoDescriptor()
204 Descriptor = Rnode->Buffer; in RsDoQwordIoDescriptor()
381 Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS64) + in RsDoQwordIoDescriptor()
383 return (Rnode); in RsDoQwordIoDescriptor()
409 ASL_RESOURCE_NODE *Rnode; in RsDoQwordMemoryDescriptor() local
422 Rnode = RsAllocateResourceNode ( in RsDoQwordMemoryDescriptor()
425 Descriptor = Rnode->Buffer; in RsDoQwordMemoryDescriptor()
610 Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS64) + in RsDoQwordMemoryDescriptor()
612 return (Rnode); in RsDoQwordMemoryDescriptor()
[all …]
H A Daslrestype2w.c188 ASL_RESOURCE_NODE *Rnode; in RsDoWordIoDescriptor() local
201 Rnode = RsAllocateResourceNode ( in RsDoWordIoDescriptor()
204 Descriptor = Rnode->Buffer; in RsDoWordIoDescriptor()
381 Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS16) + in RsDoWordIoDescriptor()
383 return (Rnode); in RsDoWordIoDescriptor()
409 ASL_RESOURCE_NODE *Rnode; in RsDoWordBusNumberDescriptor() local
422 Rnode = RsAllocateResourceNode ( in RsDoWordBusNumberDescriptor()
425 Descriptor = Rnode->Buffer; in RsDoWordBusNumberDescriptor()
586 Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS16) + in RsDoWordBusNumberDescriptor()
588 return (Rnode); in RsDoWordBusNumberDescriptor()
[all …]
H A Daslrestype2d.c188 ASL_RESOURCE_NODE *Rnode; in RsDoDwordIoDescriptor() local
201 Rnode = RsAllocateResourceNode ( in RsDoDwordIoDescriptor()
204 Descriptor = Rnode->Buffer; in RsDoDwordIoDescriptor()
390 Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS32) + in RsDoDwordIoDescriptor()
392 return (Rnode); in RsDoDwordIoDescriptor()
418 ASL_RESOURCE_NODE *Rnode; in RsDoDwordMemoryDescriptor() local
431 Rnode = RsAllocateResourceNode ( in RsDoDwordMemoryDescriptor()
434 Descriptor = Rnode->Buffer; in RsDoDwordMemoryDescriptor()
625 Rnode->BufferLength = sizeof (AML_RESOURCE_ADDRESS32) + in RsDoDwordMemoryDescriptor()
627 return (Rnode); in RsDoDwordMemoryDescriptor()
[all …]
H A Daslcodegen.c755 ASL_RESOURCE_NODE *Rnode; in CgWriteNode() local
802 Rnode = ACPI_CAST_PTR (ASL_RESOURCE_NODE, Op->Asl.Value.Buffer); in CgWriteNode()
803 while (Rnode) in CgWriteNode()
805 CgLocalWriteAmlData (Op, Rnode->Buffer, Rnode->BufferLength); in CgWriteNode()
806 Rnode = Rnode->Next; in CgWriteNode()
H A Daslopcodes.c516 ASL_RESOURCE_NODE *Rnode; in OpcDoConnection() local
538 Rnode = RsDoOneResourceDescriptor (&Info, &State); in OpcDoConnection()
539 if (!Rnode) in OpcDoConnection()
557 BufferLengthOp->Asl.Value.Integer = Rnode->BufferLength; in OpcDoConnection()
564 BufferDataOp->Asl.AmlLength = Rnode->BufferLength; in OpcDoConnection()
565 BufferDataOp->Asl.Value.Buffer = (UINT8 *) Rnode; in OpcDoConnection()
H A Daslcompiler.h1351 ASL_RESOURCE_NODE *Rnode);