Home
last modified time | relevance | path

Searched refs:state_array (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/radeon/
Dtrinity_dpm.c1736 struct _StateArray *state_array; in trinity_parse_power_table() local
1751 state_array = (struct _StateArray *) in trinity_parse_power_table()
1761 rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in trinity_parse_power_table()
1766 power_state_offset = (u8 *)state_array->states; in trinity_parse_power_table()
1767 for (i = 0; i < state_array->ucNumEntries; i++) { in trinity_parse_power_table()
1804 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in trinity_parse_power_table()
Dsumo_dpm.c1459 struct _StateArray *state_array; in sumo_parse_power_table() local
1474 state_array = (struct _StateArray *) in sumo_parse_power_table()
1484 rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in sumo_parse_power_table()
1489 power_state_offset = (u8 *)state_array->states; in sumo_parse_power_table()
1490 for (i = 0; i < state_array->ucNumEntries; i++) { in sumo_parse_power_table()
1526 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in sumo_parse_power_table()
Dkv_dpm.c2639 struct _StateArray *state_array; in kv_parse_power_table() local
2654 state_array = (struct _StateArray *) in kv_parse_power_table()
2664 rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in kv_parse_power_table()
2669 power_state_offset = (u8 *)state_array->states; in kv_parse_power_table()
2670 for (i = 0; i < state_array->ucNumEntries; i++) { in kv_parse_power_table()
2705 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in kv_parse_power_table()
Dradeon_atombios.c2672 struct _StateArray *state_array; in radeon_atombios_parse_power_table_6() local
2688 state_array = (struct _StateArray *) in radeon_atombios_parse_power_table_6()
2697 if (state_array->ucNumEntries == 0) in radeon_atombios_parse_power_table_6()
2699 rdev->pm.power_state = kcalloc(state_array->ucNumEntries, in radeon_atombios_parse_power_table_6()
2704 power_state_offset = (u8 *)state_array->states; in radeon_atombios_parse_power_table_6()
2705 for (i = 0; i < state_array->ucNumEntries; i++) { in radeon_atombios_parse_power_table_6()
Dsi_dpm.c6797 struct _StateArray *state_array; in si_parse_power_table() local
6812 state_array = (struct _StateArray *) in si_parse_power_table()
6822 rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in si_parse_power_table()
6827 power_state_offset = (u8 *)state_array->states; in si_parse_power_table()
6828 for (i = 0; i < state_array->ucNumEntries; i++) { in si_parse_power_table()
6863 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in si_parse_power_table()
Dci_dpm.c5535 struct _StateArray *state_array; in ci_parse_power_table() local
5551 state_array = (struct _StateArray *) in ci_parse_power_table()
5561 rdev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in ci_parse_power_table()
5566 power_state_offset = (u8 *)state_array->states; in ci_parse_power_table()
5568 for (i = 0; i < state_array->ucNumEntries; i++) { in ci_parse_power_table()
/drivers/gpu/drm/amd/pm/powerplay/
Dkv_dpm.c2696 struct _StateArray *state_array; in kv_parse_power_table() local
2713 state_array = (struct _StateArray *) in kv_parse_power_table()
2723 adev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in kv_parse_power_table()
2728 power_state_offset = (u8 *)state_array->states; in kv_parse_power_table()
2729 for (i = 0; i < state_array->ucNumEntries; i++) { in kv_parse_power_table()
2760 adev->pm.dpm.num_ps = state_array->ucNumEntries; in kv_parse_power_table()
Dsi_dpm.c7220 struct _StateArray *state_array; in si_parse_power_table() local
7237 state_array = (struct _StateArray *) in si_parse_power_table()
7247 adev->pm.dpm.ps = kcalloc(state_array->ucNumEntries, in si_parse_power_table()
7252 power_state_offset = (u8 *)state_array->states; in si_parse_power_table()
7253 for (adev->pm.dpm.num_ps = 0, i = 0; i < state_array->ucNumEntries; i++) { in si_parse_power_table()