Home | History | Annotate | Download | only in disassembler

Lines Matching refs:Resource

3  * Module Name: dmresrcl2.c - "Large" Resource Descriptor disassembly (#2)
169 AML_RESOURCE *Resource,
176 AML_RESOURCE *Resource,
183 AML_RESOURCE *Resource,
190 AML_RESOURCE *Resource,
197 AML_RESOURCE *Resource,
293 * PARAMETERS: Info - Extra resource info
294 * Resource - Pointer to the resource descriptor
306 AML_RESOURCE *Resource,
319 if (Resource->Gpio.ResSourceOffset)
322 Resource, Resource->Gpio.ResSourceOffset);
327 AcpiOsPrintf ("0x%2.2X, ", Resource->Gpio.ResSourceIndex);
329 AcpiGbl_ConsumeDecode [ACPI_GET_1BIT_FLAG (Resource->Gpio.Flags)]);
338 if (Resource->Gpio.VendorOffset)
342 VendorData = ACPI_ADD_PTR (UINT8, Resource,
343 Resource->Gpio.VendorOffset);
346 Resource->Gpio.VendorLength, Level);
356 PinCount = ((UINT32) (Resource->Gpio.ResSourceOffset -
357 Resource->Gpio.PinTableOffset)) /
360 PinList = (UINT16 *) ACPI_ADD_PTR (char, Resource,
361 Resource->Gpio.PinTableOffset);
373 MpSaveGpioInfo (Info->MappingOp, Resource,
382 * PARAMETERS: Info - Extra resource info
383 * Resource - Pointer to the resource descriptor
396 AML_RESOURCE *Resource,
407 AcpiGbl_HeDecode [ACPI_GET_1BIT_FLAG (Resource->Gpio.IntFlags)],
408 AcpiGbl_LlDecode [ACPI_EXTRACT_2BIT_FLAG (Resource->Gpio.IntFlags, 1)],
409 AcpiGbl_ShrDecode [ACPI_EXTRACT_2BIT_FLAG (Resource->Gpio.IntFlags, 3)]);
413 if (Resource->Gpio.PinConfig <= 3)
416 AcpiGbl_PpcDecode[Resource->Gpio.PinConfig]);
420 AcpiOsPrintf ("0x%2.2X, ", Resource->Gpio.PinConfig);
422 AcpiOsPrintf ("0x%4.4X,\n", Resource->Gpio.DebounceTimeout);
426 AcpiDmGpioCommon (Info, Resource, Level);
434 * PARAMETERS: Info - Extra resource info
435 * Resource - Pointer to the resource descriptor
448 AML_RESOURCE *Resource,
459 AcpiGbl_ShrDecode [ACPI_EXTRACT_2BIT_FLAG (Resource->Gpio.IntFlags, 3)]);
461 if (Resource->Gpio.PinConfig <= 3)
464 AcpiGbl_PpcDecode[Resource->Gpio.PinConfig]);
468 AcpiOsPrintf ("0x%2.2X, ", Resource->Gpio.PinConfig);
473 AcpiOsPrintf ("0x%4.4X, ", Resource->Gpio.DebounceTimeout);
474 AcpiOsPrintf ("0x%4.4X, ", Resource->Gpio.DriveStrength);
476 AcpiGbl_IorDecode [ACPI_GET_2BIT_FLAG (Resource->Gpio.IntFlags)]);
480 AcpiDmGpioCommon (Info, Resource, Level);
488 * PARAMETERS: Info - Extra resource info
489 * Resource - Pointer to the resource descriptor
502 AML_RESOURCE *Resource,
509 ConnectionType = Resource->Gpio.ConnectionType;
515 AcpiDmGpioIntDescriptor (Info, Resource, Length, Level);
520 AcpiDmGpioIoDescriptor (Info, Resource, Length, Level);
533 AML_RESOURCE *Resource,
543 AcpiOsPrintf ("0x%8.8X, ", Resource->ClockInput.FrequencyNumerator);
545 AcpiOsPrintf ("0x%4.4X, ", Resource->ClockInput.FrequencyDivisor);
548 AcpiGbl_ClockInputScale [ACPI_EXTRACT_2BIT_FLAG (Resource->ClockInput.Flags, 1)]);
551 AcpiGbl_ClockInputMode [ACPI_GET_1BIT_FLAG (Resource->ClockInput.Flags)]);
553 if (Length > sizeof(Resource->ClockInput))
556 Resource, sizeof(Resource->ClockInput)+1),
561 Resource, sizeof(Resource->ClockInput)),
574 * PARAMETERS: Info - Extra resource info
575 * Resource - Pointer to the resource descriptor
588 AML_RESOURCE *Resource,
600 AcpiGbl_ShrDecode [ACPI_GET_1BIT_FLAG (Resource->PinFunction.Flags)]);
602 if (Resource->PinFunction.PinConfig <= 3)
605 AcpiGbl_PpcDecode[Resource->PinFunction.PinConfig]);
609 AcpiOsPrintf ("0x%2.2X, ", Resource->PinFunction.PinConfig);
614 AcpiOsPrintf ("0x%4.4X, ", Resource->PinFunction.FunctionNumber);
616 if (Resource->PinFunction.ResSourceOffset)
619 Resource, Resource->PinFunction.ResSourceOffset),
624 AcpiOsPrintf ("0x%2.2X,\n", Resource->PinFunction.ResSourceIndex);
639 if (Resource->PinFunction.VendorLength)
643 VendorData = ACPI_ADD_PTR (UINT8, Resource,
644 Resource->PinFunction.VendorOffset);
647 Resource->PinFunction.VendorLength, Level);
658 PinCount = ((UINT32) (Resource->PinFunction.ResSourceOffset -
659 Resource->PinFunction.PinTableOffset)) /
662 PinList = (UINT16 *) ACPI_ADD_PTR (char, Resource,
663 Resource->PinFunction.PinTableOffset);
681 * PARAMETERS: Resource - Pointer to the resource descriptor
691 AML_RESOURCE *Resource,
700 switch (Resource->CommonSerialBus.Type)
704 VendorLength = Resource->CommonSerialBus.TypeDataLength -
707 VendorData = ACPI_ADD_PTR (UINT8, Resource,
713 VendorLength = Resource->CommonSerialBus.TypeDataLength -
716 VendorData = ACPI_ADD_PTR (UINT8, Resource,
722 VendorLength = Resource->CommonSerialBus.TypeDataLength -
725 VendorData = ACPI_ADD_PTR (UINT8, Resource,
731 VendorLength = Resource->CommonSerialBus.TypeDataLength -
734 VendorData = ACPI_ADD_PTR (UINT8, Resource,
753 * PARAMETERS: Info - Extra resource info
754 * Resource - Pointer to the resource descriptor
767 AML_RESOURCE *Resource,
779 AcpiGbl_SmDecode [ACPI_GET_1BIT_FLAG (Resource->Csi2SerialBus.Flags)]);
782 Resource->Csi2SerialBus.TypeSpecificFlags & 0x03,
783 (Resource->Csi2SerialBus.TypeSpecificFlags & 0xFC) >> 2);
788 Resource->CommonSerialBus.TypeDataLength;
791 DeviceName = ACPI_ADD_PTR (char, Resource, ResourceSourceOffset);
798 AcpiOsPrintf ("0x%2.2X, ", Resource->Csi2SerialBus.ResSourceIndex);
801 AcpiGbl_ConsumeDecode [ACPI_EXTRACT_1BIT_FLAG (Resource->Csi2SerialBus.Flags, 1)]);
811 AcpiDmDumpSerialBusVendorData (Resource, Level);
814 MpSaveSerialInfo (Info->MappingOp, Resource, DeviceName);
822 * PARAMETERS: Info - Extra resource info
823 * Resource - Pointer to the resource descriptor
836 AML_RESOURCE *Resource,
848 Resource->I2cSerialBus.SlaveAddress,
849 AcpiGbl_SmDecode [ACPI_GET_1BIT_FLAG (Resource->I2cSerialBus.Flags)],
850 Resource->I2cSerialBus.ConnectionSpeed);
854 AcpiGbl_AmDecode [ACPI_GET_1BIT_FLAG (Resource->I2cSerialBus.TypeSpecificFlags)]);
859 Resource->CommonSerialBus.TypeDataLength;
861 DeviceName = ACPI_ADD_PTR (char, Resource, ResourceSourceOffset);
868 AcpiOsPrintf ("0x%2.2X, ", Resource->I2cSerialBus.ResSourceIndex);
871 AcpiGbl_ConsumeDecode [ACPI_EXTRACT_1BIT_FLAG (Resource->I2cSerialBus.Flags, 1)]);
880 AcpiGbl_ShrDecode [ACPI_EXTRACT_1BIT_FLAG (Resource->I2cSerialBus.Flags, 2)]);
885 AcpiDmDumpSerialBusVendorData (Resource, Level);
888 MpSaveSerialInfo (Info->MappingOp, Resource, DeviceName);
896 * PARAMETERS: Info - Extra resource info
897 * Resource - Pointer to the resource descriptor
910 AML_RESOURCE *Resource,
922 Resource->SpiSerialBus.DeviceSelection,
923 AcpiGbl_DpDecode [ACPI_EXTRACT_1BIT_FLAG (Resource->SpiSerialBus.TypeSpecificFlags, 1)],
924 AcpiGbl_WmDecode [ACPI_GET_1BIT_FLAG (Resource->SpiSerialBus.TypeSpecificFlags)],
925 Resource->SpiSerialBus.DataBitLength);
931 AcpiGbl_SmDecode [ACPI_GET_1BIT_FLAG (Resource->SpiSerialBus.Flags)],
932 Resource->SpiSerialBus.ConnectionSpeed,
933 AcpiGbl_CpoDecode [ACPI_GET_1BIT_FLAG (Resource->SpiSerialBus.ClockPolarity)]);
937 AcpiGbl_CphDecode [ACPI_GET_1BIT_FLAG (Resource->SpiSerialBus.ClockPhase)]);
942 Resource->CommonSerialBus.TypeDataLength;
944 DeviceName = ACPI_ADD_PTR (char, Resource, ResourceSourceOffset);
951 AcpiOsPrintf ("0x%2.2X, ", Resource->SpiSerialBus.ResSourceIndex);
954 AcpiGbl_ConsumeDecode [ACPI_EXTRACT_1BIT_FLAG (Resource->SpiSerialBus.Flags, 1)]);
963 AcpiGbl_ShrDecode [ACPI_EXTRACT_1BIT_FLAG (Resource->SpiSerialBus.Flags, 2)]);
968 AcpiDmDumpSerialBusVendorData (Resource, Level);
971 MpSaveSerialInfo (Info->MappingOp, Resource, DeviceName);
979 * PARAMETERS: Info - Extra resource info
980 * Resource - Pointer to the resource descriptor
993 AML_RESOURCE *Resource,
1005 Resource->UartSerialBus.DefaultBaudRate,
1006 Resource->UartSerialBus.TypeSpecificFlags, 4)],
1007 AcpiGbl_SbDecode [ACPI_EXTRACT_2BIT_FLAG (Resource->UartSerialBus.TypeSpecificFlags, 2)]);
1013 Resource->UartSerialBus.LinesEnabled,
1014 AcpiGbl_EdDecode [ACPI_EXTRACT_1BIT_FLAG (Resource->UartSerialBus.TypeSpecificFlags, 7)],
1015 AcpiGbl_PtDecode [ACPI_GET_3BIT_FLAG (Resource->UartSerialBus.Parity)],
1016 AcpiGbl_FcDecode [ACPI_GET_2BIT_FLAG (Resource->UartSerialBus.TypeSpecificFlags)]);
1022 Resource->UartSerialBus.RxFifoSize,
1023 Resource->UartSerialBus.TxFifoSize);
1028 Resource->CommonSerialBus.TypeDataLength;
1030 DeviceName = ACPI_ADD_PTR (char, Resource, ResourceSourceOffset);
1037 AcpiOsPrintf ("0x%2.2X, ", Resource->UartSerialBus.ResSourceIndex);
1040 AcpiGbl_ConsumeDecode [ACPI_EXTRACT_1BIT_FLAG (Resource->UartSerialBus.Flags, 1)]);
1049 AcpiGbl_ShrDecode [ACPI_EXTRACT_1BIT_FLAG (Resource->UartSerialBus.Flags, 2)]);
1054 AcpiDmDumpSerialBusVendorData (Resource, Level);
1057 MpSaveSerialInfo (Info->MappingOp, Resource, DeviceName);
1065 * PARAMETERS: Info - Extra resource info
1066 * Resource - Pointer to the resource descriptor
1079 AML_RESOURCE *Resource,
1084 SerialBusResourceDispatch [Resource->CommonSerialBus.Type] (
1085 Info, Resource, Length, Level);
1125 * PARAMETERS: Info - Extra resource info
1126 * Resource - Pointer to the resource descriptor
1139 AML_RESOURCE *Resource,
1151 AcpiGbl_ShrDecode [ACPI_GET_1BIT_FLAG (Resource->PinConfig.Flags)]);
1153 AcpiDmPinConfig (Resource->PinConfig.PinConfigType,
1154 Resource->PinConfig.PinConfigValue);
1158 if (Resource->PinConfig.ResSourceOffset)
1161 Resource, Resource->PinConfig.ResSourceOffset),
1166 AcpiOsPrintf ("0x%2.2X, ", Resource->PinConfig.ResSourceIndex);
1169 AcpiGbl_ConsumeDecode [ACPI_EXTRACT_1BIT_FLAG (Resource->PinConfig.Flags, 1)]);
1179 if (Resource->PinConfig.VendorLength)
1183 VendorData = ACPI_ADD_PTR (UINT8, Resource,
1184 Resource->PinConfig.VendorOffset);
1187 Resource->PinConfig.VendorLength, Level);
1198 PinCount = ((UINT32) (Resource->PinConfig.ResSourceOffset -
1199 Resource->PinConfig.PinTableOffset)) /
1202 PinList = (UINT16 *) ACPI_ADD_PTR (char, Resource,
1203 Resource->PinConfig.PinTableOffset);
1220 * PARAMETERS: Info - Extra resource info
1221 * Resource - Pointer to the resource descriptor
1234 AML_RESOURCE *Resource,
1249 Resource, Resource->PinGroup.LabelOffset),
1255 AcpiGbl_ConsumeDecode [ACPI_GET_1BIT_FLAG (Resource->PinGroup.Flags)]);
1265 if (Resource->PinGroup.VendorLength)
1269 VendorData = ACPI_ADD_PTR (UINT8, Resource,
1270 Resource->PinGroup.VendorOffset);
1273 Resource->PinGroup.VendorLength, Level);
1284 PinCount = (Resource->PinGroup.LabelOffset -
1285 Resource->PinGroup.PinTableOffset) / sizeof (UINT16);
1287 PinList = (UINT16 *) ACPI_ADD_PTR (char, Resource,
1288 Resource->PinGroup.PinTableOffset);
1305 * PARAMETERS: Info - Extra resource info
1306 * Resource - Pointer to the resource descriptor
1319 AML_RESOURCE *Resource,
1329 AcpiGbl_ShrDecode [ACPI_GET_1BIT_FLAG (Resource->PinGroupFunction.Flags)]);
1333 AcpiOsPrintf ("0x%4.4X, ", Resource->PinGroupFunction.FunctionNumber);
1336 Resource, Resource->PinGroupFunction.ResSourceOffset),
1340 AcpiOsPrintf ("0x%2.2X,\n", Resource->PinGroupFunction.ResSourceIndex);
1344 Label = ACPI_ADD_PTR (char, Resource,
1345 Resource->PinGroupFunction.ResSourceLabelOffset);
1351 AcpiGbl_ConsumeDecode [ACPI_EXTRACT_1BIT_FLAG (Resource->PinGroupFunction.Flags, 1)]);
1361 if (Resource->PinGroupFunction.VendorLength)
1365 VendorData = ACPI_ADD_PTR (UINT8, Resource,
1366 Resource->PinGroupFunction.VendorOffset);
1369 Resource->PinGroupFunction.VendorLength, Level);
1379 * PARAMETERS: Info - Extra resource info
1380 * Resource - Pointer to the resource descriptor
1393 AML_RESOURCE *Resource,
1403 AcpiGbl_ShrDecode [ACPI_GET_1BIT_FLAG (Resource->PinGroupConfig.Flags)]);
1405 AcpiDmPinConfig(Resource->PinGroupConfig.PinConfigType,
1406 Resource->PinGroupConfig.PinConfigValue);
1411 Resource, Resource->PinGroupConfig.ResSourceOffset),
1415 AcpiOsPrintf ("0x%2.2X, ", Resource->PinGroupConfig.ResSourceIndex);
1417 Label = ACPI_ADD_PTR (char, Resource,
1418 Resource->PinGroupConfig.ResSourceLabelOffset);
1424 AcpiGbl_ConsumeDecode [ACPI_EXTRACT_1BIT_FLAG (Resource->PinGroupConfig.Flags, 1)]);
1434 if (Resource->PinGroupConfig.VendorLength)
1438 VendorData = ACPI_ADD_PTR (UINT8, Resource,
1439 Resource->PinGroupConfig.VendorOffset);
1442 Resource->PinGroupConfig.VendorLength, Level);