Lines Matching defs:Resource
185 ACPI_RESOURCE *Resource;
198 Resource = *ResourcePtr;
199 if (ACPI_IS_MISALIGNED (Resource))
202 "Misaligned resource pointer %p", Resource));
246 Resource, AmlResource, ConversionTable);
254 if (!Resource->Length)
263 Resource->Length));
267 *ResourcePtr = ACPI_NEXT_RESOURCE (Resource);
276 * PARAMETERS: Resource - Pointer to the resource linked list
293 ACPI_RESOURCE *Resource,
310 /* Validate the (internal) Resource Type */
312 if (Resource->Type > ACPI_RESOURCE_TYPE_MAX)
316 Resource->Type));
322 if (!Resource->Length)
331 if (Resource->Type == ACPI_RESOURCE_TYPE_SERIAL_BUS)
333 if (Resource->Data.CommonSerialBus.Type >
343 Resource->Data.CommonSerialBus.Type];
348 ConversionTable = AcpiGbl_SetResourceDispatch[Resource->Type];
355 Resource->Type));
359 Status = AcpiRsConvertResourceToAml (Resource,
365 Resource->Type));
380 if (Resource->Type == ACPI_RESOURCE_TYPE_END_TAG)
382 /* An End Tag indicates the end of the input Resource Template */
395 Resource = ACPI_NEXT_RESOURCE (Resource);