Lines Matching refs:Resource
71 * PARAMETERS: Resource - GPIO resource descriptor
88 AML_RESOURCE *Resource,
115 Info->Type = Resource->Gpio.ConnectionType;
116 Info->Direction = (UINT8) (Resource->Gpio.IntFlags & 0x0003); /* _IOR, for IO descriptor */
117 Info->Polarity = (UINT8) ((Resource->Gpio.IntFlags >> 1) & 0x0003); /* _POL, for INT descriptor */
126 * PARAMETERS: Resource - A Serial resource descriptor
140 AML_RESOURCE *Resource,
155 if (Resource->DescriptorType != ACPI_RESOURCE_NAME_SERIAL_BUS)
162 switch (Resource->CommonSerialBus.Type)
166 Address = Resource->I2cSerialBus.SlaveAddress;
167 Speed = Resource->I2cSerialBus.ConnectionSpeed;
172 Address = Resource->SpiSerialBus.DeviceSelection;
173 Speed = Resource->SpiSerialBus.ConnectionSpeed;
179 Speed = Resource->UartSerialBus.DefaultBaudRate;
190 Info->Resource = Resource;