Home
last modified time | relevance | path

Searched refs:pplib (Results 1 – 15 of 15) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/radeon/
Drs780_dpm.c700 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 …]
Drv6xx_dpm.c1778 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
1891 rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, in rv6xx_parse_power_table()
1897 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in rv6xx_parse_power_table()
1900 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in rv6xx_parse_power_table()
1901 i * power_info->pplib.ucStateEntrySize); in rv6xx_parse_power_table()
1904 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in rv6xx_parse_power_table()
1906 power_info->pplib.ucNonClockSize)); in rv6xx_parse_power_table()
1907 if (power_info->pplib.ucStateEntrySize - 1) { in rv6xx_parse_power_table()
1918 for (j = 0; j < (power_info->pplib.ucStateEntrySize - 1); j++) { in rv6xx_parse_power_table()
1921 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset) + in rv6xx_parse_power_table()
[all …]
Drv770_dpm.c2127 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
2285 rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, in rv7xx_parse_power_table()
2291 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in rv7xx_parse_power_table()
2294 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in rv7xx_parse_power_table()
2295 i * power_info->pplib.ucStateEntrySize); in rv7xx_parse_power_table()
2298 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in rv7xx_parse_power_table()
2300 power_info->pplib.ucNonClockSize)); in rv7xx_parse_power_table()
2301 if (power_info->pplib.ucStateEntrySize - 1) { in rv7xx_parse_power_table()
2311 power_info->pplib.ucNonClockSize); in rv7xx_parse_power_table()
2313 for (j = 0; j < (power_info->pplib.ucStateEntrySize - 1); j++) { in rv7xx_parse_power_table()
[all …]
Dr600_dpm.c808 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
859 rdev->pm.dpm.platform_caps = le32_to_cpu(power_info->pplib.ulPlatformCaps); in r600_get_platform_caps()
860 rdev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); in r600_get_platform_caps()
861 rdev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); in r600_get_platform_caps()
891 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table()
921 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table()
1019 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table()
1068 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table()
Dradeon_atombios.c2031 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
2590 radeon_atombios_add_pplib_thermal_controller(rdev, &power_info->pplib.sThermalController); in radeon_atombios_parse_power_table_4_5()
2591 if (power_info->pplib.ucNumStates == 0) in radeon_atombios_parse_power_table_4_5()
2593 rdev->pm.power_state = kcalloc(power_info->pplib.ucNumStates, in radeon_atombios_parse_power_table_4_5()
2599 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in radeon_atombios_parse_power_table_4_5()
2603 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in radeon_atombios_parse_power_table_4_5()
2604 i * power_info->pplib.ucStateEntrySize); in radeon_atombios_parse_power_table_4_5()
2607 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in radeon_atombios_parse_power_table_4_5()
2609 power_info->pplib.ucNonClockSize)); in radeon_atombios_parse_power_table_4_5()
2611 kcalloc((power_info->pplib.ucStateEntrySize - 1) ? in radeon_atombios_parse_power_table_4_5()
[all …]
Dni_dpm.c3875 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
4001 rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, in ni_parse_power_table()
4007 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in ni_parse_power_table()
4010 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in ni_parse_power_table()
4011 i * power_info->pplib.ucStateEntrySize); in ni_parse_power_table()
4014 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in ni_parse_power_table()
4016 power_info->pplib.ucNonClockSize)); in ni_parse_power_table()
4017 if (power_info->pplib.ucStateEntrySize - 1) { in ni_parse_power_table()
4027 power_info->pplib.ucNonClockSize); in ni_parse_power_table()
4029 for (j = 0; j < (power_info->pplib.ucStateEntrySize - 1); j++) { in ni_parse_power_table()
[all …]
Dtrinity_dpm.c1662 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
1752 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in trinity_parse_power_table()
1755 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in trinity_parse_power_table()
1758 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in trinity_parse_power_table()
Dsumo_dpm.c1376 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
1477 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in sumo_parse_power_table()
1480 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in sumo_parse_power_table()
1483 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in sumo_parse_power_table()
Dkv_dpm.c2556 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
2655 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in kv_parse_power_table()
2658 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in kv_parse_power_table()
2661 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in kv_parse_power_table()
Dsi_dpm.c6683 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
6827 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in si_parse_power_table()
6830 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in si_parse_power_table()
6833 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in si_parse_power_table()
Dci_dpm.c5428 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
5563 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in ci_parse_power_table()
5566 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in ci_parse_power_table()
5569 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in ci_parse_power_table()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dpm.c269 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
320 adev->pm.dpm.platform_caps = le32_to_cpu(power_info->pplib.ulPlatformCaps); in amdgpu_get_platform_caps()
321 adev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); in amdgpu_get_platform_caps()
322 adev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); in amdgpu_get_platform_caps()
354 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table()
384 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table()
481 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table()
530 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table()
Dkv_dpm.c2627 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
2728 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in kv_parse_power_table()
2731 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in kv_parse_power_table()
2734 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in kv_parse_power_table()
Dci_dpm.c5537 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
5674 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in ci_parse_power_table()
5677 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in ci_parse_power_table()
5680 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in ci_parse_power_table()
Dsi_dpm.c76 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
7236 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in si_parse_power_table()
7239 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in si_parse_power_table()
7242 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in si_parse_power_table()