drivers/gpu/drm/amd/include/asic_reg/thm/thm_15_0_0_sh_mask.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/include/asic_reg/thm/thm_15_0_0_sh_mask.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/amd/include/asic_reg/thm/thm_15_0_0_sh_mask.h
Extension
.h
Size
58710 bytes
Lines
568
Domain
Driver Families
Bucket
drivers/gpu
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _thm_15_0_0_SH_MASK_HEADER
#define _thm_15_0_0_SH_MASK_HEADER


// addressBlock: thm_thm_SmuThmDec
//THM_TCON_CUR_TMP
#define THM_TCON_CUR_TMP__PER_STEP_TIME_UP__SHIFT                                                             0x0
#define THM_TCON_CUR_TMP__TMP_MAX_DIFF_UP__SHIFT                                                              0x5
#define THM_TCON_CUR_TMP__TMP_SLEW_DN_EN__SHIFT                                                               0x7
#define THM_TCON_CUR_TMP__PER_STEP_TIME_DN__SHIFT                                                             0x8
#define THM_TCON_CUR_TMP__REMOTE_TJ_SEL__SHIFT                                                                0xd
#define THM_TCON_CUR_TMP__CUR_TEMP_TJ_SEL__SHIFT                                                              0x10
#define THM_TCON_CUR_TMP__CUR_TEMP_TJ_SLEW_SEL__SHIFT                                                         0x12
#define THM_TCON_CUR_TMP__CUR_TEMP_RANGE_SEL__SHIFT                                                           0x13
#define THM_TCON_CUR_TMP__MCM_EN__SHIFT                                                                       0x14
#define THM_TCON_CUR_TMP__CUR_TEMP__SHIFT                                                                     0x15
#define THM_TCON_CUR_TMP__PER_STEP_TIME_UP_MASK                                                               0x0000001FL
#define THM_TCON_CUR_TMP__TMP_MAX_DIFF_UP_MASK                                                                0x00000060L
#define THM_TCON_CUR_TMP__TMP_SLEW_DN_EN_MASK                                                                 0x00000080L
#define THM_TCON_CUR_TMP__PER_STEP_TIME_DN_MASK                                                               0x00001F00L
#define THM_TCON_CUR_TMP__REMOTE_TJ_SEL_MASK                                                                  0x00006000L
#define THM_TCON_CUR_TMP__CUR_TEMP_TJ_SEL_MASK                                                                0x00030000L
#define THM_TCON_CUR_TMP__CUR_TEMP_TJ_SLEW_SEL_MASK                                                           0x00040000L
#define THM_TCON_CUR_TMP__CUR_TEMP_RANGE_SEL_MASK                                                             0x00080000L
#define THM_TCON_CUR_TMP__MCM_EN_MASK                                                                         0x00100000L
#define THM_TCON_CUR_TMP__CUR_TEMP_MASK                                                                       0xFFE00000L
//THM_TCON_HTC
#define THM_TCON_HTC__HTC_EN__SHIFT                                                                           0x0
#define THM_TCON_HTC__EXTERNAL_PROCHOT__SHIFT                                                                 0x2
#define THM_TCON_HTC__INTERNAL_PROCHOT__SHIFT                                                                 0x3
#define THM_TCON_HTC__HTC_ACTIVE__SHIFT                                                                       0x4
#define THM_TCON_HTC__HTC_ACTIVE_LOG__SHIFT                                                                   0x5
#define THM_TCON_HTC__HTC_DIAG__SHIFT                                                                         0x8
#define THM_TCON_HTC__DIS_PROCHOT_PIN_OUT__SHIFT                                                              0x9
#define THM_TCON_HTC__HTC_TO_IH_EN__SHIFT                                                                     0xa
#define THM_TCON_HTC__PROCHOT_TO_IH_EN__SHIFT                                                                 0xb
#define THM_TCON_HTC__PROCHOT_EVENT_SRC__SHIFT                                                                0xc
#define THM_TCON_HTC__DIS_PROCHOT_PIN_IN__SHIFT                                                               0xf
#define THM_TCON_HTC__HTC_TMP_LMT__SHIFT                                                                      0x10
#define THM_TCON_HTC__HTC_HYST_LMT__SHIFT                                                                     0x17
#define THM_TCON_HTC__HTC_SLEW_SEL__SHIFT                                                                     0x1b
#define THM_TCON_HTC__HTC_EN_MASK                                                                             0x00000001L
#define THM_TCON_HTC__EXTERNAL_PROCHOT_MASK                                                                   0x00000004L
#define THM_TCON_HTC__INTERNAL_PROCHOT_MASK                                                                   0x00000008L
#define THM_TCON_HTC__HTC_ACTIVE_MASK                                                                         0x00000010L
#define THM_TCON_HTC__HTC_ACTIVE_LOG_MASK                                                                     0x00000020L
#define THM_TCON_HTC__HTC_DIAG_MASK                                                                           0x00000100L
#define THM_TCON_HTC__DIS_PROCHOT_PIN_OUT_MASK                                                                0x00000200L
#define THM_TCON_HTC__HTC_TO_IH_EN_MASK                                                                       0x00000400L
#define THM_TCON_HTC__PROCHOT_TO_IH_EN_MASK                                                                   0x00000800L
#define THM_TCON_HTC__PROCHOT_EVENT_SRC_MASK                                                                  0x00007000L
#define THM_TCON_HTC__DIS_PROCHOT_PIN_IN_MASK                                                                 0x00008000L
#define THM_TCON_HTC__HTC_TMP_LMT_MASK                                                                        0x007F0000L
#define THM_TCON_HTC__HTC_HYST_LMT_MASK                                                                       0x07800000L
#define THM_TCON_HTC__HTC_SLEW_SEL_MASK                                                                       0x18000000L
//THM_TCON_THERM_TRIP
#define THM_TCON_THERM_TRIP__CTF_PAD_POLARITY__SHIFT                                                          0x0
#define THM_TCON_THERM_TRIP__THERM_TP__SHIFT                                                                  0x1
#define THM_TCON_THERM_TRIP__CTF_THRESHOLD_EXCEEDED__SHIFT                                                    0x2
#define THM_TCON_THERM_TRIP__THERM_TP_SENSE__SHIFT                                                            0x3
#define THM_TCON_THERM_TRIP__THERM_TP_EN__SHIFT                                                               0x5
#define THM_TCON_THERM_TRIP__THERM_TP_LMT__SHIFT                                                              0x6
#define THM_TCON_THERM_TRIP__FCH_THERMTRIP_EN__SHIFT                                                          0xe
#define THM_TCON_THERM_TRIP__FCH_THERMTRIP_STATUS__SHIFT                                                      0xf
#define THM_TCON_THERM_TRIP__TSV_THERMTRIP_IN__SHIFT                                                          0x10
#define THM_TCON_THERM_TRIP__THERM_TP_LOCAL_SENSE__SHIFT                                                      0x1d
#define THM_TCON_THERM_TRIP__THERM_TP_LOCAL__SHIFT                                                            0x1e
#define THM_TCON_THERM_TRIP__SW_THERM_TP__SHIFT                                                               0x1f
#define THM_TCON_THERM_TRIP__CTF_PAD_POLARITY_MASK                                                            0x00000001L
#define THM_TCON_THERM_TRIP__THERM_TP_MASK                                                                    0x00000002L
#define THM_TCON_THERM_TRIP__CTF_THRESHOLD_EXCEEDED_MASK                                                      0x00000004L
#define THM_TCON_THERM_TRIP__THERM_TP_SENSE_MASK                                                              0x00000008L
#define THM_TCON_THERM_TRIP__THERM_TP_EN_MASK                                                                 0x00000020L
#define THM_TCON_THERM_TRIP__THERM_TP_LMT_MASK                                                                0x00003FC0L
#define THM_TCON_THERM_TRIP__FCH_THERMTRIP_EN_MASK                                                            0x00004000L
#define THM_TCON_THERM_TRIP__FCH_THERMTRIP_STATUS_MASK                                                        0x00008000L
#define THM_TCON_THERM_TRIP__TSV_THERMTRIP_IN_MASK                                                            0x0FFF0000L
#define THM_TCON_THERM_TRIP__THERM_TP_LOCAL_SENSE_MASK                                                        0x20000000L
#define THM_TCON_THERM_TRIP__THERM_TP_LOCAL_MASK                                                              0x40000000L
#define THM_TCON_THERM_TRIP__SW_THERM_TP_MASK                                                                 0x80000000L
//THM_CTF_DELAY
#define THM_CTF_DELAY__CTF_DELAY_CNT__SHIFT                                                                   0x0
#define THM_CTF_DELAY__CTF_DELAY_CNT_MASK                                                                     0x000FFFFFL
//THM_GPIO_PROCHOT_CTRL
#define THM_GPIO_PROCHOT_CTRL__TXIMPSEL__SHIFT                                                                0x0
#define THM_GPIO_PROCHOT_CTRL__PD__SHIFT                                                                      0x1
#define THM_GPIO_PROCHOT_CTRL__PU__SHIFT                                                                      0x2
#define THM_GPIO_PROCHOT_CTRL__SCHMEN__SHIFT                                                                  0x3
#define THM_GPIO_PROCHOT_CTRL__S0__SHIFT                                                                      0x4
#define THM_GPIO_PROCHOT_CTRL__S1__SHIFT                                                                      0x5

Annotation

Implementation Notes