Home | History | Annotate | Download | only in parser

Lines Matching refs:Opcode

3  * Module Name: psopinfo - AML opcode information functions and dispatch tables
170 * PARAMETERS: Opcode - The AML opcode
172 * RETURN: A pointer to the info about the opcode.
174 * DESCRIPTION: Find AML opcode description based on the opcode.
181 UINT16 Opcode)
184 const char *OpcodeName = "Unknown AML opcode";
191 * Detect normal 8-bit opcode or extended 16-bit opcode
193 if (!(Opcode & 0xFF00))
195 /* Simple (8-bit) opcode: 0-255, can't index beyond table */
197 return (&AcpiGbl_AmlOpInfo [AcpiGbl_ShortOpIndex [(UINT8) Opcode]]);
200 if (((Opcode & 0xFF00) == AML_EXTENDED_OPCODE) &&
201 (((UINT8) Opcode) <= MAX_EXTENDED_OPCODE))
203 /* Valid extended (16-bit) opcode */
205 return (&AcpiGbl_AmlOpInfo [AcpiGbl_LongOpIndex [(UINT8) Opcode]]);
211 switch (Opcode)
242 OpcodeName = "-Unassigned Opcode-";
253 /* Unknown AML opcode */
256 "%s [%4.4X]\n", OpcodeName, Opcode));
267 * PARAMETERS: Opcode - The AML opcode
269 * RETURN: A pointer to the name of the opcode (ASCII String)
272 * DESCRIPTION: Translate an opcode into a human-readable string
278 UINT16 Opcode)
285 Op = AcpiPsGetOpcodeInfo (Opcode);
302 * PARAMETERS: OpType - Type associated with the AML opcode
306 * DESCRIPTION: Obtain the number of expected arguments for an AML opcode
326 * an index into the opcode table (AcpiGbl_AmlOpInfo)
367 * This table is indexed by the second opcode of the extended opcode
368 * pair. It returns an index into the opcode table (AcpiGbl_AmlOpInfo)