Home
last modified time | relevance | path

Searched refs:pplib5 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dlegacy_dpm.c156 struct _ATOM_PPLIB_POWERPLAYTABLE5 pplib5; member
356 adev->pm.dpm.tdp_limit = le32_to_cpu(power_info->pplib5.ulTDPLimit); in amdgpu_parse_extended_power_table()
357 adev->pm.dpm.near_tdp_limit = le32_to_cpu(power_info->pplib5.ulNearTDPLimit); in amdgpu_parse_extended_power_table()
359 adev->pm.dpm.tdp_od_limit = le16_to_cpu(power_info->pplib5.usTDPODLimit); in amdgpu_parse_extended_power_table()
365 adev->pm.dpm.sq_ramping_threshold = le32_to_cpu(power_info->pplib5.ulSQRampingThreshold); in amdgpu_parse_extended_power_table()
366 adev->pm.dpm.cac_leakage = le32_to_cpu(power_info->pplib5.ulCACLeakage); in amdgpu_parse_extended_power_table()
367 adev->pm.dpm.load_line_slope = le16_to_cpu(power_info->pplib5.usLoadLineSlope); in amdgpu_parse_extended_power_table()
368 if (power_info->pplib5.usCACLeakageTableOffset) { in amdgpu_parse_extended_power_table()
372 le16_to_cpu(power_info->pplib5.usCACLeakageTableOffset)); in amdgpu_parse_extended_power_table()
H A Dsi_dpm.c84 struct _ATOM_PPLIB_POWERPLAYTABLE5 pplib5; member
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dr600_dpm.c811 struct _ATOM_PPLIB_POWERPLAYTABLE5 pplib5; member
1020 rdev->pm.dpm.tdp_limit = le32_to_cpu(power_info->pplib5.ulTDPLimit); in r600_parse_extended_power_table()
1021 rdev->pm.dpm.near_tdp_limit = le32_to_cpu(power_info->pplib5.ulNearTDPLimit); in r600_parse_extended_power_table()
1023 rdev->pm.dpm.tdp_od_limit = le16_to_cpu(power_info->pplib5.usTDPODLimit); in r600_parse_extended_power_table()
1029 rdev->pm.dpm.sq_ramping_threshold = le32_to_cpu(power_info->pplib5.ulSQRampingThreshold); in r600_parse_extended_power_table()
1030 rdev->pm.dpm.cac_leakage = le32_to_cpu(power_info->pplib5.ulCACLeakage); in r600_parse_extended_power_table()
1031 rdev->pm.dpm.load_line_slope = le16_to_cpu(power_info->pplib5.usLoadLineSlope); in r600_parse_extended_power_table()
1032 if (power_info->pplib5.usCACLeakageTableOffset) { in r600_parse_extended_power_table()
1036 le16_to_cpu(power_info->pplib5.usCACLeakageTableOffset)); in r600_parse_extended_power_table()