Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/radeon/
H A 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()
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()
837 power_info->pplib.ucNonClockSize); in rs780_parse_power_table()
[all …]
H A Drv6xx_dpm.c1777 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()
1920 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset) + in rv6xx_parse_power_table()
1921 (idx[j] * power_info->pplib.ucClockInfoSize)); in rv6xx_parse_power_table()
[all …]
H A Drv770_dpm.c2128 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()
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()
2317 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset) + in rv7xx_parse_power_table()
2318 (idx[j] * power_info->pplib.ucClockInfoSize)); in rv7xx_parse_power_table()
[all …]
H A Dr600_dpm.c807 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
858 rdev->pm.dpm.platform_caps = le32_to_cpu(power_info->pplib.ulPlatformCaps); in r600_get_platform_caps()
859 rdev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); in r600_get_platform_caps()
860 rdev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); in r600_get_platform_caps()
890 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table()
920 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table()
1018 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table()
1067 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table()
H A Dradeon_atombios.c2023 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
2593 if (power_info->pplib.ucNumStates == 0) in radeon_atombios_parse_power_table_4_5()
2601 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in radeon_atombios_parse_power_table_4_5()
2605 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in radeon_atombios_parse_power_table_4_5()
2606 i * power_info->pplib.ucStateEntrySize); in radeon_atombios_parse_power_table_4_5()
2611 power_info->pplib.ucNonClockSize)); in radeon_atombios_parse_power_table_4_5()
2613 kcalloc((power_info->pplib.ucStateEntrySize - 1) ? in radeon_atombios_parse_power_table_4_5()
2614 (power_info->pplib.ucStateEntrySize - 1) : 1, in radeon_atombios_parse_power_table_4_5()
2619 if (power_info->pplib.ucStateEntrySize - 1) { in radeon_atombios_parse_power_table_4_5()
2625 power_info->pplib.ucClockInfoSize)); in radeon_atombios_parse_power_table_4_5()
[all …]
H A Dni_dpm.c3880 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
4006 rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, in ni_parse_power_table()
4012 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in ni_parse_power_table()
4015 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in ni_parse_power_table()
4016 i * power_info->pplib.ucStateEntrySize); in ni_parse_power_table()
4021 power_info->pplib.ucNonClockSize)); in ni_parse_power_table()
4022 if (power_info->pplib.ucStateEntrySize - 1) { in ni_parse_power_table()
4032 power_info->pplib.ucNonClockSize); in ni_parse_power_table()
4037 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset) + in ni_parse_power_table()
4038 (idx[j] * power_info->pplib.ucClockInfoSize)); in ni_parse_power_table()
[all …]
H A Dtrinity_dpm.c1619 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
1709 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in trinity_parse_power_table()
1712 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in trinity_parse_power_table()
1715 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in trinity_parse_power_table()
H A Dsumo_dpm.c1375 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
1476 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in sumo_parse_power_table()
1479 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in sumo_parse_power_table()
1482 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in sumo_parse_power_table()
H A Dkv_dpm.c2354 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
2453 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in kv_parse_power_table()
2456 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in kv_parse_power_table()
2459 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in kv_parse_power_table()
H A Dsi_dpm.c6668 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
6812 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in si_parse_power_table()
6815 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in si_parse_power_table()
6818 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in si_parse_power_table()
H A Dci_dpm.c5393 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
5529 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in ci_parse_power_table()
5532 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in ci_parse_power_table()
5535 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in ci_parse_power_table()
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dlegacy_dpm.c152 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 Dkv_dpm.c2618 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 Dsi_dpm.c80 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
7286 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in si_parse_power_table()
7289 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in si_parse_power_table()
7292 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in si_parse_power_table()