Home
last modified time | relevance | path

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

/dflybsd-src/sys/dev/drm/radeon/
H A Drs780_dpm.c700 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
808 power_info->pplib.ucNumStates, GFP_KERNEL); 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.c1778 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
1892 power_info->pplib.ucNumStates, GFP_KERNEL); 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 Drv770_dpm.c2131 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
2290 power_info->pplib.ucNumStates, GFP_KERNEL); in rv7xx_parse_power_table()
2294 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in rv7xx_parse_power_table()
2297 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in rv7xx_parse_power_table()
2298 i * power_info->pplib.ucStateEntrySize); in rv7xx_parse_power_table()
2301 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in rv7xx_parse_power_table()
2303 power_info->pplib.ucNonClockSize)); in rv7xx_parse_power_table()
2304 if (power_info->pplib.ucStateEntrySize - 1) { in rv7xx_parse_power_table()
2314 power_info->pplib.ucNonClockSize); in rv7xx_parse_power_table()
2316 for (j = 0; j < (power_info->pplib.ucStateEntrySize - 1); j++) { in rv7xx_parse_power_table()
[all …]
H A 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()
H A Dradeon_atombios.c2022 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
2578 radeon_atombios_add_pplib_thermal_controller(rdev, &power_info->pplib.sThermalController); in radeon_atombios_parse_power_table_4_5()
2579 if (power_info->pplib.ucNumStates == 0) in radeon_atombios_parse_power_table_4_5()
2582 power_info->pplib.ucNumStates, GFP_KERNEL); in radeon_atombios_parse_power_table_4_5()
2586 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in radeon_atombios_parse_power_table_4_5()
2590 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in radeon_atombios_parse_power_table_4_5()
2591 i * power_info->pplib.ucStateEntrySize); in radeon_atombios_parse_power_table_4_5()
2594 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in radeon_atombios_parse_power_table_4_5()
2596 power_info->pplib.ucNonClockSize)); in radeon_atombios_parse_power_table_4_5()
2598 ((power_info->pplib.ucStateEntrySize - 1) ? in radeon_atombios_parse_power_table_4_5()
[all …]
H A Dni_dpm.c3875 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
4002 power_info->pplib.ucNumStates, GFP_KERNEL); in ni_parse_power_table()
4006 for (i = 0; i < power_info->pplib.ucNumStates; i++) { in ni_parse_power_table()
4009 le16_to_cpu(power_info->pplib.usStateArrayOffset) + in ni_parse_power_table()
4010 i * power_info->pplib.ucStateEntrySize); in ni_parse_power_table()
4013 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset) + in ni_parse_power_table()
4015 power_info->pplib.ucNonClockSize)); in ni_parse_power_table()
4016 if (power_info->pplib.ucStateEntrySize - 1) { in ni_parse_power_table()
4026 power_info->pplib.ucNonClockSize); in ni_parse_power_table()
4028 for (j = 0; j < (power_info->pplib.ucStateEntrySize - 1); j++) { in ni_parse_power_table()
[all …]
H A Dtrinity_dpm.c1668 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
1758 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in trinity_parse_power_table()
1761 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in trinity_parse_power_table()
1764 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in trinity_parse_power_table()
H A Dsumo_dpm.c1378 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
1479 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in sumo_parse_power_table()
1482 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in sumo_parse_power_table()
1485 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in sumo_parse_power_table()
H A Dkv_dpm.c2553 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
2652 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in kv_parse_power_table()
2655 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in kv_parse_power_table()
2658 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in kv_parse_power_table()
H A Dci_dpm.c5461 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
5596 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in ci_parse_power_table()
5599 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in ci_parse_power_table()
5602 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in ci_parse_power_table()
H A Dsi_dpm.c6684 struct _ATOM_PPLIB_POWERPLAYTABLE pplib; member
6828 le16_to_cpu(power_info->pplib.usStateArrayOffset)); in si_parse_power_table()
6831 le16_to_cpu(power_info->pplib.usClockInfoArrayOffset)); in si_parse_power_table()
6834 le16_to_cpu(power_info->pplib.usNonClockInfoArrayOffset)); in si_parse_power_table()
/dflybsd-src/sys/dev/drm/amd/amdgpu/
H A 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()
H A 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()