linux/drivers/gpu/drm/amd/include/asic_reg/thm/thm_11_0_2_sh_mask.h

/*
 * Copyright (C) 2018  Advanced Micro Devices, Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included
 * in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */

#ifndef _thm_11_0_2_SH_MASK_HEADER
#define _thm_11_0_2_SH_MASK_HEADER


//CG_MULT_THERMAL_STATUS
#define CG_MULT_THERMAL_STATUS__ASIC_MAX_TEMP__SHIFT
#define CG_MULT_THERMAL_STATUS__CTF_TEMP__SHIFT
#define CG_MULT_THERMAL_STATUS__ASIC_MAX_TEMP_MASK
#define CG_MULT_THERMAL_STATUS__CTF_TEMP_MASK
#define CG_FDO_CTRL2__TMIN__SHIFT
#define CG_FDO_CTRL2__TMIN_MASK
#define CG_FDO_CTRL2__FDO_PWM_MODE__SHIFT
#define CG_FDO_CTRL2__FDO_PWM_MODE_MASK
#define CG_FDO_CTRL1__FMAX_DUTY100__SHIFT
#define CG_FDO_CTRL1__FMAX_DUTY100_MASK
#define CG_FDO_CTRL0__FDO_STATIC_DUTY__SHIFT
#define CG_FDO_CTRL0__FDO_STATIC_DUTY_MASK
#define CG_TACH_CTRL__TARGET_PERIOD__SHIFT
#define CG_TACH_CTRL__TARGET_PERIOD_MASK

//THM_THERMAL_INT_ENA
#define THM_THERMAL_INT_ENA__THERM_INTH_SET__SHIFT
#define THM_THERMAL_INT_ENA__THERM_INTL_SET__SHIFT
#define THM_THERMAL_INT_ENA__THERM_TRIGGER_SET__SHIFT
#define THM_THERMAL_INT_ENA__THERM_INTH_CLR__SHIFT
#define THM_THERMAL_INT_ENA__THERM_INTL_CLR__SHIFT
#define THM_THERMAL_INT_ENA__THERM_TRIGGER_CLR__SHIFT
#define THM_THERMAL_INT_ENA__THERM_INTH_SET_MASK
#define THM_THERMAL_INT_ENA__THERM_INTL_SET_MASK
#define THM_THERMAL_INT_ENA__THERM_TRIGGER_SET_MASK
#define THM_THERMAL_INT_ENA__THERM_INTH_CLR_MASK
#define THM_THERMAL_INT_ENA__THERM_INTL_CLR_MASK
#define THM_THERMAL_INT_ENA__THERM_TRIGGER_CLR_MASK
//THM_THERMAL_INT_CTRL
#define THM_THERMAL_INT_CTRL__DIG_THERM_INTH__SHIFT
#define THM_THERMAL_INT_CTRL__DIG_THERM_INTL__SHIFT
#define THM_THERMAL_INT_CTRL__TEMP_THRESHOLD__SHIFT
#define THM_THERMAL_INT_CTRL__THERM_INTH_MASK__SHIFT
#define THM_THERMAL_INT_CTRL__THERM_INTL_MASK__SHIFT
#define THM_THERMAL_INT_CTRL__THERM_TRIGGER_MASK__SHIFT
#define THM_THERMAL_INT_CTRL__THERM_PROCHOT_MASK__SHIFT
#define THM_THERMAL_INT_CTRL__THERM_IH_HW_ENA__SHIFT
#define THM_THERMAL_INT_CTRL__MAX_IH_CREDIT__SHIFT
#define THM_THERMAL_INT_CTRL__DIG_THERM_INTH_MASK
#define THM_THERMAL_INT_CTRL__DIG_THERM_INTL_MASK
#define THM_THERMAL_INT_CTRL__TEMP_THRESHOLD_MASK
#define THM_THERMAL_INT_CTRL__THERM_INTH_MASK_MASK
#define THM_THERMAL_INT_CTRL__THERM_INTL_MASK_MASK
#define THM_THERMAL_INT_CTRL__THERM_TRIGGER_MASK_MASK
#define THM_THERMAL_INT_CTRL__THERM_PROCHOT_MASK_MASK
#define THM_THERMAL_INT_CTRL__THERM_IH_HW_ENA_MASK
#define THM_THERMAL_INT_CTRL__MAX_IH_CREDIT_MASK

//THM_TCON_THERM_TRIP
#define THM_TCON_THERM_TRIP__CTF_PAD_POLARITY__SHIFT
#define THM_TCON_THERM_TRIP__THERM_TP__SHIFT
#define THM_TCON_THERM_TRIP__CTF_THRESHOLD_EXCEEDED__SHIFT
#define THM_TCON_THERM_TRIP__THERM_TP_SENSE__SHIFT
#define THM_TCON_THERM_TRIP__RSVD2__SHIFT
#define THM_TCON_THERM_TRIP__THERM_TP_EN__SHIFT
#define THM_TCON_THERM_TRIP__THERM_TP_LMT__SHIFT
#define THM_TCON_THERM_TRIP__RSVD3__SHIFT
#define THM_TCON_THERM_TRIP__SW_THERM_TP__SHIFT
#define THM_TCON_THERM_TRIP__CTF_PAD_POLARITY_MASK
#define THM_TCON_THERM_TRIP__THERM_TP_MASK
#define THM_TCON_THERM_TRIP__CTF_THRESHOLD_EXCEEDED_MASK
#define THM_TCON_THERM_TRIP__THERM_TP_SENSE_MASK
#define THM_TCON_THERM_TRIP__RSVD2_MASK
#define THM_TCON_THERM_TRIP__THERM_TP_EN_MASK
#define THM_TCON_THERM_TRIP__THERM_TP_LMT_MASK
#define THM_TCON_THERM_TRIP__RSVD3_MASK
#define THM_TCON_THERM_TRIP__SW_THERM_TP_MASK

#define CG_THERMAL_STATUS__FDO_PWM_DUTY__SHIFT
#define CG_THERMAL_STATUS__FDO_PWM_DUTY_MASK

#endif