Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/radeon/
H A Drs780_dpm.c700 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
808 power_info->pplib.ucNumStates); in rs780_parse_power_table()
812 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in rs780_parse_power_table()
815 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in rs780_parse_power_table()
816 i * power_info->pplib.ucStateEntrySize); in rs780_parse_power_table()
819 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in rs780_parse_power_table()
821 power_info->pplib.ucNonClockSize)); in rs780_parse_power_table()
822 if (power_info->pplib.ucStateEntrySize - 1) { in rs780_parse_power_table()
825 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset) + in rs780_parse_power_table()
827 power_info->pplib.ucClockInfoSize)); in rs780_parse_power_table()
[all …]
H A Drv6xx_dpm.c1777 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
1891 power_info->pplib.ucNumStates); in rv6xx_parse_power_table()
1895 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in rv6xx_parse_power_table()
1898 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in rv6xx_parse_power_table()
1899 i * power_info->pplib.ucStateEntrySize); in rv6xx_parse_power_table()
1902 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in rv6xx_parse_power_table()
1904 power_info->pplib.ucNonClockSize)); in rv6xx_parse_power_table()
1905 if (power_info->pplib.ucStateEntrySize - 1) { in rv6xx_parse_power_table()
1916 for (j = 0; j < (power_info->pplib.ucStateEntrySize - 1); j++) { in rv6xx_parse_power_table()
1919 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset) + in rv6xx_parse_power_table()
[all …]
H A Drv770_dpm.c2128 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
2287 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 …]
H A Dr600_dpm.c805 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
855 rdev->pm.dpm.platform_caps = le32_to_cpu(power_info->pplib.ulPlatformCaps); in r600_get_platform_caps()
856 rdev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); in r600_get_platform_caps()
857 rdev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); in r600_get_platform_caps()
887 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table()
917 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table()
1014 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table()
1063 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table()
H A Dradeon_atombios.c2022 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
2589 radeon_atombios_add_pplib_thermal_controller(rdev, &power_info->pplib.sThermalController); in radeon_atombios_parse_power_table_4_5()
2590 if (power_info->pplib.ucNumStates == 0) in radeon_atombios_parse_power_table_4_5()
2593 power_info->pplib.ucNumStates); in radeon_atombios_parse_power_table_4_5()
2597 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in radeon_atombios_parse_power_table_4_5()
2601 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in radeon_atombios_parse_power_table_4_5()
2602 i * power_info->pplib.ucStateEntrySize); in radeon_atombios_parse_power_table_4_5()
2605 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in radeon_atombios_parse_power_table_4_5()
2607 power_info->pplib.ucNonClockSize)); in radeon_atombios_parse_power_table_4_5()
2610 (power_info->pplib.ucStateEntrySize - 1) ? (power_info->pplib.ucStateEntrySize - 1) : 1); in radeon_atombios_parse_power_table_4_5()
[all …]
H A Dni_dpm.c3877 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
4004 power_info->pplib.ucNumStates); in ni_parse_power_table()
4008 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in ni_parse_power_table()
4011 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in ni_parse_power_table()
4012 i * power_info->pplib.ucStateEntrySize); in ni_parse_power_table()
4015 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in ni_parse_power_table()
4017 power_info->pplib.ucNonClockSize)); in ni_parse_power_table()
4018 if (power_info->pplib.ucStateEntrySize - 1) { in ni_parse_power_table()
4028 power_info->pplib.ucNonClockSize); in ni_parse_power_table()
4030 for (j = 0; j < (power_info->pplib.ucStateEntrySize - 1); j++) { in ni_parse_power_table()
[all …]
H A Dtrinity_dpm.c1615 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 Dsumo_dpm.c1373 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 Dkv_dpm.c2353 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 Dsi_dpm.c6629 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
6773 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in si_parse_power_table()
6776 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in si_parse_power_table()
6779 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in si_parse_power_table()
H A Dci_dpm.c5376 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
5512 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in ci_parse_power_table()
5515 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in ci_parse_power_table()
5518 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in ci_parse_power_table()
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dlegacy_dpm.c126 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
146 adev->pm.dpm.platform_caps = le32_to_cpu(power_info->pplib.ulPlatformCaps); in amdgpu_get_platform_caps()
147 adev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); in amdgpu_get_platform_caps()
148 adev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); in amdgpu_get_platform_caps()
211 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table()
241 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table()
327 if (le16_to_cpu(power_info->pplib.usTableSize) >= in amdgpu_parse_extended_power_table()
374 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.c96 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
7336 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in si_parse_power_table()
7339 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in si_parse_power_table()
7342 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in si_parse_power_table()