Lines Matching defs:opcode
15 * fairly compact by parsing based on a list of AML opcode
34 * PARAMETERS: opcode - An AML opcode
36 * RETURN: Size of the opcode, in bytes (1 or 2)
38 * DESCRIPTION: Get the size of the current opcode.
41 u32 acpi_ps_get_opcode_size(u32 opcode)
44 /* Extended (2-byte) opcode if > 255 */
46 if (opcode > 0x00FF) {
50 /* Otherwise, just a single byte opcode */
61 * RETURN: Next AML opcode
63 * DESCRIPTION: Get next AML opcode (without incrementing AML pointer)
70 u16 opcode;
73 opcode = (u16) ACPI_GET8(aml);
75 if (opcode == AML_EXTENDED_PREFIX) {
77 /* Extended opcode, get the second opcode byte */
80 opcode = (u16) ((opcode << 8) | ACPI_GET8(aml));
83 return (opcode);
354 * opcode. In both cases, we do not execute the rest of the