Lines Matching defs:Resource
185 ACPI_RESOURCE *Resource;
198 Resource = *ResourcePtr;
199 if (ACPI_IS_MISALIGNED (Resource))
202 "Misaligned resource pointer %p", Resource));
241 Resource, AmlResource, ConversionTable);
249 if (!Resource->Length)
258 Resource->Length));
262 *ResourcePtr = ACPI_NEXT_RESOURCE (Resource);
271 * PARAMETERS: Resource - Pointer to the resource linked list
288 ACPI_RESOURCE *Resource,
305 /* Validate the (internal) Resource Type */
307 if (Resource->Type > ACPI_RESOURCE_TYPE_MAX)
311 Resource->Type));
317 if (!Resource->Length)
326 if (Resource->Type == ACPI_RESOURCE_TYPE_SERIAL_BUS)
328 if (Resource->Data.CommonSerialBus.Type >
338 Resource->Data.CommonSerialBus.Type];
343 ConversionTable = AcpiGbl_SetResourceDispatch[Resource->Type];
350 Resource->Type));
354 Status = AcpiRsConvertResourceToAml (Resource,
360 Resource->Type));
375 if (Resource->Type == ACPI_RESOURCE_TYPE_END_TAG)
377 /* An End Tag indicates the end of the input Resource Template */
390 Resource = ACPI_NEXT_RESOURCE (Resource);