linux/drivers/acpi/acpica/acopcode.h

/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
/******************************************************************************
 *
 * Name: acopcode.h - AML opcode information for the AML parser and interpreter
 *
 * Copyright (C) 2000 - 2023, Intel Corp.
 *
 *****************************************************************************/

#ifndef __ACOPCODE_H__
#define __ACOPCODE_H__

#define MAX_EXTENDED_OPCODE
#define NUM_EXTENDED_OPCODE
#define MAX_INTERNAL_OPCODE
#define NUM_INTERNAL_OPCODE

/* Used for non-assigned opcodes */

#define _UNK

/*
 * Reserved ASCII characters. Do not use any of these for
 * internal opcodes, since they are used to differentiate
 * name strings from AML opcodes
 */
#define _ASC
#define _NAM
#define _PFX

/*
 * All AML opcodes and the parse-time arguments for each. Used by the AML
 * parser  Each list is compressed into a 32-bit number and stored in the
 * master opcode table (in psopcode.c).
 */
#define ARGP_ACCESSFIELD_OP
#define ARGP_ACQUIRE_OP
#define ARGP_ADD_OP
#define ARGP_ALIAS_OP
#define ARGP_ARG0
#define ARGP_ARG1
#define ARGP_ARG2
#define ARGP_ARG3
#define ARGP_ARG4
#define ARGP_ARG5
#define ARGP_ARG6
#define ARGP_BANK_FIELD_OP
#define ARGP_BIT_AND_OP
#define ARGP_BIT_NAND_OP
#define ARGP_BIT_NOR_OP
#define ARGP_BIT_NOT_OP
#define ARGP_BIT_OR_OP
#define ARGP_BIT_XOR_OP
#define ARGP_BREAK_OP
#define ARGP_BREAK_POINT_OP
#define ARGP_BUFFER_OP
#define ARGP_BYTE_OP
#define ARGP_BYTELIST_OP
#define ARGP_COMMENT_OP
#define ARGP_CONCAT_OP
#define ARGP_CONCAT_RES_OP
#define ARGP_COND_REF_OF_OP
#define ARGP_CONNECTFIELD_OP
#define ARGP_CONTINUE_OP
#define ARGP_COPY_OP
#define ARGP_CREATE_BIT_FIELD_OP
#define ARGP_CREATE_BYTE_FIELD_OP
#define ARGP_CREATE_DWORD_FIELD_OP
#define ARGP_CREATE_FIELD_OP
#define ARGP_CREATE_QWORD_FIELD_OP
#define ARGP_CREATE_WORD_FIELD_OP
#define ARGP_DATA_REGION_OP
#define ARGP_DEBUG_OP
#define ARGP_DECREMENT_OP
#define ARGP_DEREF_OF_OP
#define ARGP_DEVICE_OP
#define ARGP_DIVIDE_OP
#define ARGP_DWORD_OP
#define ARGP_ELSE_OP
#define ARGP_EVENT_OP
#define ARGP_EXTERNAL_OP
#define ARGP_FATAL_OP
#define ARGP_FIELD_OP
#define ARGP_FIND_SET_LEFT_BIT_OP
#define ARGP_FIND_SET_RIGHT_BIT_OP
#define ARGP_FROM_BCD_OP
#define ARGP_IF_OP
#define ARGP_INCREMENT_OP
#define ARGP_INDEX_FIELD_OP
#define ARGP_INDEX_OP
#define ARGP_LAND_OP
#define ARGP_LEQUAL_OP
#define ARGP_LGREATER_OP
#define ARGP_LGREATEREQUAL_OP
#define ARGP_LLESS_OP
#define ARGP_LLESSEQUAL_OP
#define ARGP_LNOT_OP
#define ARGP_LNOTEQUAL_OP
#define ARGP_LOAD_OP
#define ARGP_LOAD_TABLE_OP
#define ARGP_LOCAL0
#define ARGP_LOCAL1
#define ARGP_LOCAL2
#define ARGP_LOCAL3
#define ARGP_LOCAL4
#define ARGP_LOCAL5
#define ARGP_LOCAL6
#define ARGP_LOCAL7
#define ARGP_LOR_OP
#define ARGP_MATCH_OP
#define ARGP_METHOD_OP
#define ARGP_METHODCALL_OP
#define ARGP_MID_OP
#define ARGP_MOD_OP
#define ARGP_MULTIPLY_OP
#define ARGP_MUTEX_OP
#define ARGP_NAME_OP
#define ARGP_NAMEDFIELD_OP
#define ARGP_NAMEPATH_OP
#define ARGP_NOOP_OP
#define ARGP_NOTIFY_OP
#define ARGP_OBJECT_TYPE_OP
#define ARGP_ONE_OP
#define ARGP_ONES_OP
#define ARGP_PACKAGE_OP
#define ARGP_POWER_RES_OP
#define ARGP_PROCESSOR_OP
#define ARGP_QWORD_OP
#define ARGP_REF_OF_OP
#define ARGP_REGION_OP
#define ARGP_RELEASE_OP
#define ARGP_RESERVEDFIELD_OP
#define ARGP_RESET_OP
#define ARGP_RETURN_OP
#define ARGP_REVISION_OP
#define ARGP_SCOPE_OP
#define ARGP_SERIALFIELD_OP
#define ARGP_SHIFT_LEFT_OP
#define ARGP_SHIFT_RIGHT_OP
#define ARGP_SIGNAL_OP
#define ARGP_SIZE_OF_OP
#define ARGP_SLEEP_OP
#define ARGP_STALL_OP
#define ARGP_STATICSTRING_OP
#define ARGP_STORE_OP
#define ARGP_STRING_OP
#define ARGP_SUBTRACT_OP
#define ARGP_THERMAL_ZONE_OP
#define ARGP_TIMER_OP
#define ARGP_TO_BCD_OP
#define ARGP_TO_BUFFER_OP
#define ARGP_TO_DEC_STR_OP
#define ARGP_TO_HEX_STR_OP
#define ARGP_TO_INTEGER_OP
#define ARGP_TO_STRING_OP
#define ARGP_UNLOAD_OP
#define ARGP_VAR_PACKAGE_OP
#define ARGP_WAIT_OP
#define ARGP_WHILE_OP
#define ARGP_WORD_OP
#define ARGP_ZERO_OP

/*
 * All AML opcodes and the runtime arguments for each. Used by the AML
 * interpreter  Each list is compressed into a 32-bit number and stored
 * in the master opcode table (in psopcode.c).
 *
 * (Used by prep_operands procedure and the ASL Compiler)
 */
#define ARGI_ACCESSFIELD_OP
#define ARGI_ACQUIRE_OP
#define ARGI_ADD_OP
#define ARGI_ALIAS_OP
#define ARGI_ARG0
#define ARGI_ARG1
#define ARGI_ARG2
#define ARGI_ARG3
#define ARGI_ARG4
#define ARGI_ARG5
#define ARGI_ARG6
#define ARGI_BANK_FIELD_OP
#define ARGI_BIT_AND_OP
#define ARGI_BIT_NAND_OP
#define ARGI_BIT_NOR_OP
#define ARGI_BIT_NOT_OP
#define ARGI_BIT_OR_OP
#define ARGI_BIT_XOR_OP
#define ARGI_BREAK_OP
#define ARGI_BREAK_POINT_OP
#define ARGI_BUFFER_OP
#define ARGI_BYTE_OP
#define ARGI_BYTELIST_OP
#define ARGI_COMMENT_OP
#define ARGI_CONCAT_OP
#define ARGI_CONCAT_RES_OP
#define ARGI_COND_REF_OF_OP
#define ARGI_CONNECTFIELD_OP
#define ARGI_CONTINUE_OP
#define ARGI_COPY_OP
#define ARGI_CREATE_BIT_FIELD_OP
#define ARGI_CREATE_BYTE_FIELD_OP
#define ARGI_CREATE_DWORD_FIELD_OP
#define ARGI_CREATE_FIELD_OP
#define ARGI_CREATE_QWORD_FIELD_OP
#define ARGI_CREATE_WORD_FIELD_OP
#define ARGI_DATA_REGION_OP
#define ARGI_DEBUG_OP
#define ARGI_DECREMENT_OP
#define ARGI_DEREF_OF_OP
#define ARGI_DEVICE_OP
#define ARGI_DIVIDE_OP
#define ARGI_DWORD_OP
#define ARGI_ELSE_OP
#define ARGI_EVENT_OP
#define ARGI_EXTERNAL_OP
#define ARGI_FATAL_OP
#define ARGI_FIELD_OP
#define ARGI_FIND_SET_LEFT_BIT_OP
#define ARGI_FIND_SET_RIGHT_BIT_OP
#define ARGI_FROM_BCD_OP
#define ARGI_IF_OP
#define ARGI_INCREMENT_OP
#define ARGI_INDEX_FIELD_OP
#define ARGI_INDEX_OP
#define ARGI_LAND_OP
#define ARGI_LEQUAL_OP
#define ARGI_LGREATER_OP
#define ARGI_LGREATEREQUAL_OP
#define ARGI_LLESS_OP
#define ARGI_LLESSEQUAL_OP
#define ARGI_LNOT_OP
#define ARGI_LNOTEQUAL_OP
#define ARGI_LOAD_OP
#define ARGI_LOAD_TABLE_OP
#define ARGI_LOCAL0
#define ARGI_LOCAL1
#define ARGI_LOCAL2
#define ARGI_LOCAL3
#define ARGI_LOCAL4
#define ARGI_LOCAL5
#define ARGI_LOCAL6
#define ARGI_LOCAL7
#define ARGI_LOR_OP
#define ARGI_MATCH_OP
#define ARGI_METHOD_OP
#define ARGI_METHODCALL_OP
#define ARGI_MID_OP
#define ARGI_MOD_OP
#define ARGI_MULTIPLY_OP
#define ARGI_MUTEX_OP
#define ARGI_NAME_OP
#define ARGI_NAMEDFIELD_OP
#define ARGI_NAMEPATH_OP
#define ARGI_NOOP_OP
#define ARGI_NOTIFY_OP
#define ARGI_OBJECT_TYPE_OP
#define ARGI_ONE_OP
#define ARGI_ONES_OP
#define ARGI_PACKAGE_OP
#define ARGI_POWER_RES_OP
#define ARGI_PROCESSOR_OP
#define ARGI_QWORD_OP
#define ARGI_REF_OF_OP
#define ARGI_REGION_OP
#define ARGI_RELEASE_OP
#define ARGI_RESERVEDFIELD_OP
#define ARGI_RESET_OP
#define ARGI_RETURN_OP
#define ARGI_REVISION_OP
#define ARGI_SCOPE_OP
#define ARGI_SERIALFIELD_OP
#define ARGI_SHIFT_LEFT_OP
#define ARGI_SHIFT_RIGHT_OP
#define ARGI_SIGNAL_OP
#define ARGI_SIZE_OF_OP
#define ARGI_SLEEP_OP
#define ARGI_STALL_OP
#define ARGI_STATICSTRING_OP
#define ARGI_STORE_OP
#define ARGI_STRING_OP
#define ARGI_SUBTRACT_OP
#define ARGI_THERMAL_ZONE_OP
#define ARGI_TIMER_OP
#define ARGI_TO_BCD_OP
#define ARGI_TO_BUFFER_OP
#define ARGI_TO_DEC_STR_OP
#define ARGI_TO_HEX_STR_OP
#define ARGI_TO_INTEGER_OP
#define ARGI_TO_STRING_OP
#define ARGI_UNLOAD_OP
#define ARGI_VAR_PACKAGE_OP
#define ARGI_WAIT_OP
#define ARGI_WHILE_OP
#define ARGI_WORD_OP
#define ARGI_ZERO_OP

#endif				/* __ACOPCODE_H__ */