Path: blob/21.2-virgl/src/amd/common/ac_exp_param.h
7130 views
/*1* Copyright 2014 Advanced Micro Devices, Inc.2*3* Permission is hereby granted, free of charge, to any person obtaining a4* copy of this software and associated documentation files (the5* "Software"), to deal in the Software without restriction, including6* without limitation the rights to use, copy, modify, merge, publish,7* distribute, sub license, and/or sell copies of the Software, and to8* permit persons to whom the Software is furnished to do so, subject to9* the following conditions:10*11* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR12* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,13* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL14* THE COPYRIGHT HOLDERS, AUTHORS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM,15* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR16* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE17* USE OR OTHER DEALINGS IN THE SOFTWARE.18*19* The above copyright notice and this permission notice (including the20* next paragraph) shall be included in all copies or substantial portions21* of the Software.22*23*/24#ifndef AC_EXP_PARAM_H25#define AC_EXP_PARAM_H2627enum28{29/* SPI_PS_INPUT_CNTL_i.OFFSET[0:4] */30AC_EXP_PARAM_OFFSET_0 = 0,31AC_EXP_PARAM_OFFSET_31 = 31,32/* SPI_PS_INPUT_CNTL_i.DEFAULT_VAL[0:1] */33AC_EXP_PARAM_DEFAULT_VAL_0000 = 64,34AC_EXP_PARAM_DEFAULT_VAL_0001,35AC_EXP_PARAM_DEFAULT_VAL_1110,36AC_EXP_PARAM_DEFAULT_VAL_1111,37AC_EXP_PARAM_UNDEFINED = 255,38};3940#endif414243