Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Drs780_dpm.c701 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
808 rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, in rs780_parse_power_table()
814 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in rs780_parse_power_table()
817 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in rs780_parse_power_table()
818 i * power_info->pplib.ucStateEntrySize); in rs780_parse_power_table()
821 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in rs780_parse_power_table()
823 power_info->pplib.ucNonClockSize)); in rs780_parse_power_table()
824 if (power_info->pplib.ucStateEntrySize - 1) { in rs780_parse_power_table()
827 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset) + in rs780_parse_power_table()
829 power_info->pplib.ucClockInfoSize)); in rs780_parse_power_table()
[all …]
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()
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 …]
Drv770_dpm.c2126 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
2284 rdev->pm.dpm.ps = kcalloc(power_info->pplib.ucNumStates, in rv7xx_parse_power_table()
2290 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in rv7xx_parse_power_table()
2293 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in rv7xx_parse_power_table()
2294 i * power_info->pplib.ucStateEntrySize); in rv7xx_parse_power_table()
2297 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in rv7xx_parse_power_table()
2299 power_info->pplib.ucNonClockSize)); in rv7xx_parse_power_table()
2300 if (power_info->pplib.ucStateEntrySize - 1) { in rv7xx_parse_power_table()
2310 power_info->pplib.ucNonClockSize); in rv7xx_parse_power_table()
2312 for (j = 0; j < (power_info->pplib.ucStateEntrySize - 1); j++) { in rv7xx_parse_power_table()
[all …]
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()
Dradeon_atombios.c2024 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
2593 radeon_atombios_add_pplib_thermal_controller(rdev, &power_info->pplib.sThermalController); in radeon_atombios_parse_power_table_4_5()
2594 if (power_info->pplib.ucNumStates == 0) in radeon_atombios_parse_power_table_4_5()
2596 rdev->pm.power_state = kcalloc(power_info->pplib.ucNumStates, in radeon_atombios_parse_power_table_4_5()
2602 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in radeon_atombios_parse_power_table_4_5()
2606 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in radeon_atombios_parse_power_table_4_5()
2607 i * power_info->pplib.ucStateEntrySize); in radeon_atombios_parse_power_table_4_5()
2610 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in radeon_atombios_parse_power_table_4_5()
2612 power_info->pplib.ucNonClockSize)); in radeon_atombios_parse_power_table_4_5()
2614 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.c1663 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
1753 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in trinity_parse_power_table()
1756 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in trinity_parse_power_table()
1759 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in trinity_parse_power_table()
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()
Dkv_dpm.c2557 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
2656 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in kv_parse_power_table()
2659 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in kv_parse_power_table()
2662 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in kv_parse_power_table()
Dci_dpm.c5417 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
5552 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in ci_parse_power_table()
5555 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in ci_parse_power_table()
5558 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in ci_parse_power_table()
Dsi_dpm.c6670 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
6814 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in si_parse_power_table()
6817 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in si_parse_power_table()
6820 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in si_parse_power_table()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c218 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
269 adev->pm.dpm.platform_caps = le32_to_cpu(power_info->pplib.ulPlatformCaps); in amdgpu_get_platform_caps()
270 adev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); in amdgpu_get_platform_caps()
271 adev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); in amdgpu_get_platform_caps()
303 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table()
333 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table()
430 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table()
479 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/
Dkv_dpm.c2614 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
2715 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in kv_parse_power_table()
2718 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in kv_parse_power_table()
2721 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in kv_parse_power_table()
Dsi_dpm.c78 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
7239 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in si_parse_power_table()
7242 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in si_parse_power_table()
7245 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in si_parse_power_table()