27.10.2015 Views

Advanced Configuration and Power Interface Specification

ACPI_6.0

ACPI_6.0

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Advanced</strong> <strong>Configuration</strong> <strong>and</strong> <strong>Power</strong> <strong>Interface</strong> <strong>Specification</strong><br />

}<br />

MR0A, 4, <br />

MR0B, 4<br />

19.6.47 FindSetLeftBit (Find First Set Left Bit)<br />

Syntax<br />

FindSetLeftBit (Source, Result) => Integer<br />

Arguments<br />

Source is evaluated as an Integer.<br />

Description<br />

The one-based bit location of the first MSb (most significant set bit) is optionally stored into Result.<br />

The result of 0 means no bit was set, 1 means the left-most bit set is the first bit, 2 means the leftmost<br />

bit set is the second bit, <strong>and</strong> so on.<br />

19.6.48 FindSetRightBit (Find First Set Right Bit)<br />

Syntax<br />

FindSetRightBit (Source, Result) => Integer<br />

Arguments<br />

Source is evaluated as an Integer.<br />

Description<br />

The one-based bit location of the most LSb (least significant set bit) is optionally stored in Result.<br />

The result of 0 means no bit was set, 32 means the first bit set is the thirty-second bit, 31 means the<br />

first bit set is the thirty-first bit, <strong>and</strong> so on.<br />

19.6.49 FixedDMA (DMA Resource Descriptor Macro)<br />

Syntax<br />

FixedDMA (DmaRequestLine, Channel, DmaTransferWidth, DescriptorName) => Buffer<br />

Arguments<br />

DmaRequestLine is a system-relative number uniquely identifying the request line statically<br />

assigned to the device.. The bit field name _DMA is automatically created to refer to this portion of<br />

the resource descriptor.<br />

Channel is a controller-relative number uniquely identifying the channel statically assigned to this<br />

DMARequestLine. Channels can be shared by reusing Channel numbers across descriptors. The bit<br />

field name _TYP is automatically created to refer to this portion of the resource descriptor.<br />

DmaTransferWidth is an optional argument specifying the width of data transfer for which the<br />

device is configured. Valid values are Width8Bit, Width16Bit, Width32Bit,Width64Bit, Width<br />

840 April, 2015 Version 6.0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!