sid.h (aeb8f932080d62cdc305a7ccca9d60de34908b30) | sid.h (ff4b4af16f90b306db55af869ed1fe26cf8d17d0) |
---|---|
1/* 2 * Copyright 2011 Advanced Micro Devices, Inc. 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the --- 166 unchanged lines hidden (view full) --- 175# define ZCLK_SEL_MASK 0xFF00 176 177#define CG_THERMAL_CTRL 0x700 178#define DPM_EVENT_SRC(x) ((x) << 0) 179#define DPM_EVENT_SRC_MASK (7 << 0) 180#define DIG_THERM_DPM(x) ((x) << 14) 181#define DIG_THERM_DPM_MASK 0x003FC000 182#define DIG_THERM_DPM_SHIFT 14 | 1/* 2 * Copyright 2011 Advanced Micro Devices, Inc. 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the --- 166 unchanged lines hidden (view full) --- 175# define ZCLK_SEL_MASK 0xFF00 176 177#define CG_THERMAL_CTRL 0x700 178#define DPM_EVENT_SRC(x) ((x) << 0) 179#define DPM_EVENT_SRC_MASK (7 << 0) 180#define DIG_THERM_DPM(x) ((x) << 14) 181#define DIG_THERM_DPM_MASK 0x003FC000 182#define DIG_THERM_DPM_SHIFT 14 |
183 | 183#define CG_THERMAL_STATUS 0x704 184#define FDO_PWM_DUTY(x) ((x) << 9) 185#define FDO_PWM_DUTY_MASK (0xff << 9) 186#define FDO_PWM_DUTY_SHIFT 9 |
184#define CG_THERMAL_INT 0x708 185#define DIG_THERM_INTH(x) ((x) << 8) 186#define DIG_THERM_INTH_MASK 0x0000FF00 187#define DIG_THERM_INTH_SHIFT 8 188#define DIG_THERM_INTL(x) ((x) << 16) 189#define DIG_THERM_INTL_MASK 0x00FF0000 190#define DIG_THERM_INTL_SHIFT 16 191#define THERM_INT_MASK_HIGH (1 << 24) 192#define THERM_INT_MASK_LOW (1 << 25) 193 | 187#define CG_THERMAL_INT 0x708 188#define DIG_THERM_INTH(x) ((x) << 8) 189#define DIG_THERM_INTH_MASK 0x0000FF00 190#define DIG_THERM_INTH_SHIFT 8 191#define DIG_THERM_INTL(x) ((x) << 16) 192#define DIG_THERM_INTL_MASK 0x00FF0000 193#define DIG_THERM_INTL_SHIFT 16 194#define THERM_INT_MASK_HIGH (1 << 24) 195#define THERM_INT_MASK_LOW (1 << 25) 196 |
197#define CG_MULT_THERMAL_CTRL 0x710 198#define TEMP_SEL(x) ((x) << 20) 199#define TEMP_SEL_MASK (0xff << 20) 200#define TEMP_SEL_SHIFT 20 |
|
194#define CG_MULT_THERMAL_STATUS 0x714 195#define ASIC_MAX_TEMP(x) ((x) << 0) 196#define ASIC_MAX_TEMP_MASK 0x000001ff 197#define ASIC_MAX_TEMP_SHIFT 0 198#define CTF_TEMP(x) ((x) << 9) 199#define CTF_TEMP_MASK 0x0003fe00 200#define CTF_TEMP_SHIFT 9 201 | 201#define CG_MULT_THERMAL_STATUS 0x714 202#define ASIC_MAX_TEMP(x) ((x) << 0) 203#define ASIC_MAX_TEMP_MASK 0x000001ff 204#define ASIC_MAX_TEMP_SHIFT 0 205#define CTF_TEMP(x) ((x) << 9) 206#define CTF_TEMP_MASK 0x0003fe00 207#define CTF_TEMP_SHIFT 9 208 |
209#define CG_FDO_CTRL0 0x754 210#define FDO_STATIC_DUTY(x) ((x) << 0) 211#define FDO_STATIC_DUTY_MASK 0x000000FF 212#define FDO_STATIC_DUTY_SHIFT 0 213#define CG_FDO_CTRL1 0x758 214#define FMAX_DUTY100(x) ((x) << 0) 215#define FMAX_DUTY100_MASK 0x000000FF 216#define FMAX_DUTY100_SHIFT 0 217#define CG_FDO_CTRL2 0x75C 218#define TMIN(x) ((x) << 0) 219#define TMIN_MASK 0x000000FF 220#define TMIN_SHIFT 0 221#define FDO_PWM_MODE(x) ((x) << 11) 222#define FDO_PWM_MODE_MASK (7 << 11) 223#define FDO_PWM_MODE_SHIFT 11 224#define TACH_PWM_RESP_RATE(x) ((x) << 25) 225#define TACH_PWM_RESP_RATE_MASK (0x7f << 25) 226#define TACH_PWM_RESP_RATE_SHIFT 25 227 228#define CG_TACH_CTRL 0x770 229# define EDGE_PER_REV(x) ((x) << 0) 230# define EDGE_PER_REV_MASK (0x7 << 0) 231# define EDGE_PER_REV_SHIFT 0 232# define TARGET_PERIOD(x) ((x) << 3) 233# define TARGET_PERIOD_MASK 0xfffffff8 234# define TARGET_PERIOD_SHIFT 3 235#define CG_TACH_STATUS 0x774 236# define TACH_PERIOD(x) ((x) << 0) 237# define TACH_PERIOD_MASK 0xffffffff 238# define TACH_PERIOD_SHIFT 0 239 |
|
202#define GENERAL_PWRMGT 0x780 203# define GLOBAL_PWRMGT_EN (1 << 0) 204# define STATIC_PM_EN (1 << 1) 205# define THERMAL_PROTECTION_DIS (1 << 2) 206# define THERMAL_PROTECTION_TYPE (1 << 3) 207# define SW_SMIO_INDEX(x) ((x) << 6) 208# define SW_SMIO_INDEX_MASK (1 << 6) 209# define SW_SMIO_INDEX_SHIFT 6 --- 1640 unchanged lines hidden --- | 240#define GENERAL_PWRMGT 0x780 241# define GLOBAL_PWRMGT_EN (1 << 0) 242# define STATIC_PM_EN (1 << 1) 243# define THERMAL_PROTECTION_DIS (1 << 2) 244# define THERMAL_PROTECTION_TYPE (1 << 3) 245# define SW_SMIO_INDEX(x) ((x) << 6) 246# define SW_SMIO_INDEX_MASK (1 << 6) 247# define SW_SMIO_INDEX_SHIFT 6 --- 1640 unchanged lines hidden --- |