Home
last modified time | relevance | path

Searched refs:PHM_GET_FIELD (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu_helper.h131 #define PHM_GET_FIELD(value, reg, field) \ macro
139 PHM_GET_FIELD(cgs_read_register(device, mm##reg), reg, field)
142 PHM_GET_FIELD(cgs_read_ind_register(device, port, ix##reg), \
146 PHM_GET_FIELD(cgs_read_ind_register(device, port, ix##reg), \
Dsmu8_hwmgr.c1554 now = PHM_GET_FIELD(cgs_read_ind_register(hwmgr->device, in smu8_print_clock_levels()
1566 now = PHM_GET_FIELD(cgs_read_ind_register(hwmgr->device, in smu8_print_clock_levels()
1691 uint32_t temp = PHM_GET_FIELD(val, THM_TCON_CUR_TMP, CUR_TEMP); in smu8_thermal_get_temperature()
1693 if (PHM_GET_FIELD(val, THM_TCON_CUR_TMP, CUR_TEMP_RANGE_SEL)) in smu8_thermal_get_temperature()
1715 …uint32_t sclk_index = PHM_GET_FIELD(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixTARGE… in smu8_read_sensor()
1717 …uint32_t uvd_index = PHM_GET_FIELD(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixTARGET… in smu8_read_sensor()
1719 …uint32_t vce_index = PHM_GET_FIELD(cgs_read_ind_register(hwmgr->device, CGS_IND_REG__SMC, ixTARGET… in smu8_read_sensor()
Dsmu7_hwmgr.c158 return((uint16_t)PHM_GET_FIELD(speedCntl, in smu7_get_current_pcie_speed()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dfiji_smumgr.c1513 trrds = PHM_GET_FIELD(burstTime, MC_ARB_BURST_TIME, TRRDS0); in fiji_populate_memory_timing_parameters()
1514 trrdl = PHM_GET_FIELD(burstTime, MC_ARB_BURST_TIME, TRRDL0); in fiji_populate_memory_timing_parameters()