Lines Matching defs:Resource
179 * PARAMETERS: Resource - GPIO resource descriptor
196 AML_RESOURCE *Resource,
223 Info->Type = Resource->Gpio.ConnectionType;
224 Info->Direction = (UINT8) (Resource->Gpio.IntFlags & 0x0003); /* _IOR, for IO descriptor */
225 Info->Polarity = (UINT8) ((Resource->Gpio.IntFlags >> 1) & 0x0003); /* _POL, for INT descriptor */
234 * PARAMETERS: Resource - A Serial resource descriptor
248 AML_RESOURCE *Resource,
263 if (Resource->DescriptorType != ACPI_RESOURCE_NAME_SERIAL_BUS)
270 switch (Resource->CommonSerialBus.Type)
274 Address = Resource->I2cSerialBus.SlaveAddress;
275 Speed = Resource->I2cSerialBus.ConnectionSpeed;
280 Address = Resource->SpiSerialBus.DeviceSelection;
281 Speed = Resource->SpiSerialBus.ConnectionSpeed;
287 Speed = Resource->UartSerialBus.DefaultBaudRate;
298 Info->Resource = Resource;