/linux/drivers/gpu/drm/radeon/ |
H A D | rs780_dpm.c | 700 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member 807 rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, in rs780_parse_power_table() 813 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in rs780_parse_power_table() 816 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in rs780_parse_power_table() 817 i * power_info->pplib.ucStateEntrySize); in rs780_parse_power_table() 820 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in rs780_parse_power_table() 822 power_info->pplib.ucNonClockSize)); in rs780_parse_power_table() 823 if (power_info->pplib.ucStateEntrySize - 1) { in rs780_parse_power_table() 826 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset) + in rs780_parse_power_table() 828 power_info->pplib.ucClockInfoSize)); in rs780_parse_power_table() [all …]
|
H A D | rv6xx_dpm.c | 1777 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member 1890 rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, in rv6xx_parse_power_table() 1896 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in rv6xx_parse_power_table() 1899 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in rv6xx_parse_power_table() 1900 i * power_info->pplib.ucStateEntrySize); in rv6xx_parse_power_table() 1903 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in rv6xx_parse_power_table() 1905 power_info->pplib.ucNonClockSize)); in rv6xx_parse_power_table() 1906 if (power_info->pplib.ucStateEntrySize - 1) { in rv6xx_parse_power_table() 1917 for (j = 0; j < (power_info->pplib.ucStateEntrySize - 1); j++) { in rv6xx_parse_power_table() 1920 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset) + in rv6xx_parse_power_table() [all …]
|
H A D | rv770_dpm.c | 2128 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member 2286 rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, in rv7xx_parse_power_table() 2292 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in rv7xx_parse_power_table() 2295 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in rv7xx_parse_power_table() 2296 i * power_info->pplib.ucStateEntrySize); in rv7xx_parse_power_table() 2299 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in rv7xx_parse_power_table() 2301 power_info->pplib.ucNonClockSize)); in rv7xx_parse_power_table() 2302 if (power_info->pplib.ucStateEntrySize - 1) { in rv7xx_parse_power_table() 2312 power_info->pplib.ucNonClockSize); in rv7xx_parse_power_table() 2314 for (j = 0; j < (power_info->pplib.ucStateEntrySize - 1); j++) { in rv7xx_parse_power_table() [all …]
|
H A D | r600_dpm.c | 805 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member 856 rdev->pm.dpm.platform_caps = le32_to_cpu(power_info->pplib.ulPlatformCaps); in r600_get_platform_caps() 857 rdev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); in r600_get_platform_caps() 858 rdev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); in r600_get_platform_caps() 888 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table() 918 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table() 1016 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table() 1065 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table()
|
H A D | radeon_atombios.c | 2022 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member 2591 radeon_atombios_add_pplib_thermal_controller(rdev, &power_info->pplib.sThermalController); in radeon_atombios_parse_power_table_4_5() 2592 if (power_info->pplib.ucNumStates == 0) in radeon_atombios_parse_power_table_4_5() 2594 rdev->pm.power_state = kcalloc(power_info->pplib.ucNumStates, in radeon_atombios_parse_power_table_4_5() 2600 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in radeon_atombios_parse_power_table_4_5() 2604 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in radeon_atombios_parse_power_table_4_5() 2605 i * power_info->pplib.ucStateEntrySize); in radeon_atombios_parse_power_table_4_5() 2608 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in radeon_atombios_parse_power_table_4_5() 2610 power_info->pplib.ucNonClockSize)); in radeon_atombios_parse_power_table_4_5() 2612 kcalloc((power_info->pplib.ucStateEntrySize - 1) ? in radeon_atombios_parse_power_table_4_5() [all …]
|
H A D | ni_dpm.c | 3877 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member 4003 rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, in ni_parse_power_table() 4009 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in ni_parse_power_table() 4012 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in ni_parse_power_table() 4013 i * power_info->pplib.ucStateEntrySize); in ni_parse_power_table() 4016 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in ni_parse_power_table() 4018 power_info->pplib.ucNonClockSize)); in ni_parse_power_table() 4019 if (power_info->pplib.ucStateEntrySize - 1) { in ni_parse_power_table() 4029 power_info->pplib.ucNonClockSize); in ni_parse_power_table() 4031 for (j = 0; j < (power_info->pplib.ucStateEntrySize - 1); j++) { in ni_parse_power_table() [all …]
|
H A D | trinity_dpm.c | 1615 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member 1705 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in trinity_parse_power_table() 1708 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in trinity_parse_power_table() 1711 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in trinity_parse_power_table()
|
H A D | sumo_dpm.c | 1373 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member 1474 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in sumo_parse_power_table() 1477 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in sumo_parse_power_table() 1480 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in sumo_parse_power_table()
|
H A D | kv_dpm.c | 2353 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member 2452 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in kv_parse_power_table() 2455 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in kv_parse_power_table() 2458 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in kv_parse_power_table()
|
H A D | ci_dpm.c | 5388 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member 5524 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in ci_parse_power_table() 5527 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in ci_parse_power_table() 5530 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in ci_parse_power_table()
|
H A D | si_dpm.c | 6624 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member 6768 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in si_parse_power_table() 6771 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in si_parse_power_table() 6774 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in si_parse_power_table()
|
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A D | legacy_dpm.c | 152 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member 172 adev->pm.dpm.platform_caps = le32_to_cpu(power_info->pplib.ulPlatformCaps); in amdgpu_get_platform_caps() 173 adev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); in amdgpu_get_platform_caps() 174 adev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); in amdgpu_get_platform_caps() 237 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table() 267 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table() 354 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table() 401 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table()
|
H A D | kv_dpm.c | 2618 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member 2719 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in kv_parse_power_table() 2722 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in kv_parse_power_table() 2725 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in kv_parse_power_table()
|
H A D | si_dpm.c | 80 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member 7282 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in si_parse_power_table() 7285 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in si_parse_power_table() 7288 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in si_parse_power_table()
|