Lines Matching refs:Resource

320     ACPI_RESOURCE           *Resource,  in AcpiRsGetAmlLength()  argument
334 ResourceEnd = ACPI_ADD_PTR (ACPI_RESOURCE, Resource, ResourceListSize); in AcpiRsGetAmlLength()
335 while (Resource < ResourceEnd) in AcpiRsGetAmlLength()
339 if (Resource->Type > ACPI_RESOURCE_TYPE_MAX) in AcpiRsGetAmlLength()
346 if (!Resource->Length) in AcpiRsGetAmlLength()
353 TotalSize = AcpiGbl_AmlResourceSizes [Resource->Type]; in AcpiRsGetAmlLength()
359 switch (Resource->Type) in AcpiRsGetAmlLength()
365 if (Resource->Data.Irq.DescriptorLength == 2) in AcpiRsGetAmlLength()
376 if (Resource->Data.Irq.DescriptorLength == 0) in AcpiRsGetAmlLength()
390 if (Resource->Data.Vendor.ByteLength > 7) in AcpiRsGetAmlLength()
400 (TotalSize + Resource->Data.Vendor.ByteLength); in AcpiRsGetAmlLength()
423 &Resource->Data.Address16.ResourceSource)); in AcpiRsGetAmlLength()
434 &Resource->Data.Address32.ResourceSource)); in AcpiRsGetAmlLength()
445 &Resource->Data.Address64.ResourceSource)); in AcpiRsGetAmlLength()
456 ((Resource->Data.ExtendedIrq.InterruptCount - 1) * 4) + in AcpiRsGetAmlLength()
461 &Resource->Data.ExtendedIrq.ResourceSource)); in AcpiRsGetAmlLength()
468 (Resource->Data.Gpio.PinTableLength * 2) + in AcpiRsGetAmlLength()
469 Resource->Data.Gpio.ResourceSource.StringLength + in AcpiRsGetAmlLength()
470 Resource->Data.Gpio.VendorLength); in AcpiRsGetAmlLength()
477 (Resource->Data.PinFunction.PinTableLength * 2) + in AcpiRsGetAmlLength()
478 Resource->Data.PinFunction.ResourceSource.StringLength + in AcpiRsGetAmlLength()
479 Resource->Data.PinFunction.VendorLength); in AcpiRsGetAmlLength()
486 Resource->Data.ClockInput.ResourceSource.StringLength); in AcpiRsGetAmlLength()
494 Resource->Data.CommonSerialBus.Type]; in AcpiRsGetAmlLength()
497 Resource->Data.I2cSerialBus.ResourceSource.StringLength + in AcpiRsGetAmlLength()
498 Resource->Data.I2cSerialBus.VendorLength); in AcpiRsGetAmlLength()
505 (Resource->Data.PinConfig.PinTableLength * 2) + in AcpiRsGetAmlLength()
506 Resource->Data.PinConfig.ResourceSource.StringLength + in AcpiRsGetAmlLength()
507 Resource->Data.PinConfig.VendorLength); in AcpiRsGetAmlLength()
514 (Resource->Data.PinGroup.PinTableLength * 2) + in AcpiRsGetAmlLength()
515 Resource->Data.PinGroup.ResourceLabel.StringLength + in AcpiRsGetAmlLength()
516 Resource->Data.PinGroup.VendorLength); in AcpiRsGetAmlLength()
523 Resource->Data.PinGroupFunction.ResourceSource.StringLength + in AcpiRsGetAmlLength()
524 Resource->Data.PinGroupFunction.ResourceSourceLabel.StringLength + in AcpiRsGetAmlLength()
525 Resource->Data.PinGroupFunction.VendorLength); in AcpiRsGetAmlLength()
532 Resource->Data.PinGroupConfig.ResourceSource.StringLength + in AcpiRsGetAmlLength()
533 Resource->Data.PinGroupConfig.ResourceSourceLabel.StringLength + in AcpiRsGetAmlLength()
534 Resource->Data.PinGroupConfig.VendorLength); in AcpiRsGetAmlLength()
549 Resource = ACPI_ADD_PTR (ACPI_RESOURCE, Resource, Resource->Length); in AcpiRsGetAmlLength()