Lines Matching defs:Opcode
3 * Module Name: ahaml - AML opcode decoding for acpihelp utility
168 * FUNCTION: AhFindAmlOpcode (entry point for AML opcode name search)
170 * PARAMETERS: Name - Name or prefix for an AML opcode.
190 /* Find/display all opcode names that match the input name prefix */
206 /* Upper case the opcode name before substring compare */
227 * FUNCTION: AhDecodeAmlOpcode (entry point for AML opcode search)
229 * PARAMETERS: OpcodeString - String version of AML opcode
233 * DESCRIPTION: Display information about the input AML opcode
242 UINT32 Opcode;
252 Opcode = strtoul (OpcodeString, NULL, 16);
253 if (Opcode > ACPI_UINT16_MAX)
255 printf ("Invalid opcode (more than 16 bits)\n");
259 /* Only valid opcode extension is 0x5B */
261 Prefix = (Opcode & 0x0000FF00) >> 8;
264 printf ("Invalid opcode (invalid extension prefix 0x%X)\n",
269 /* Find/Display the opcode. May fall within an opcode range */
273 if ((Opcode >= Op->OpcodeRangeStart) &&
274 (Opcode <= Op->OpcodeRangeEnd))
286 * PARAMETERS: Op - An opcode info struct
290 * DESCRIPTION: Display the contents of an AML opcode information struct
301 printf ("%18s: Opcode=%-9s\n", "Reserved opcode", Op->OpcodeString);
305 /* Opcode name and value(s) */
307 printf ("%18s: Opcode=%-9s Type (%s)",