Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Dcz_dpm.c306 struct _StateArray *state_array; in cz_parse_power_table() local
321 state_array = (struct _StateArray *) in cz_parse_power_table()
332 state_array->ucNumEntries, GFP_KERNEL); in cz_parse_power_table()
337 power_state_offset = (u8 *)state_array->states; in cz_parse_power_table()
345 for (i = 0; i < state_array->ucNumEntries; i++) { in cz_parse_power_table()
377 adev->pm.dpm.num_ps = state_array->ucNumEntries; in cz_parse_power_table()
Dkv_dpm.c2735 struct _StateArray *state_array; in kv_parse_power_table() local
2752 state_array = (struct _StateArray *) in kv_parse_power_table()
2763 state_array->ucNumEntries, GFP_KERNEL); in kv_parse_power_table()
2766 power_state_offset = (u8 *)state_array->states; in kv_parse_power_table()
2767 for (i = 0; i < state_array->ucNumEntries; i++) { in kv_parse_power_table()
2800 adev->pm.dpm.num_ps = state_array->ucNumEntries; in kv_parse_power_table()
Dci_dpm.c5661 struct _StateArray *state_array; in ci_parse_power_table() local
5678 state_array = (struct _StateArray *) in ci_parse_power_table()
5689 state_array->ucNumEntries, GFP_KERNEL); in ci_parse_power_table()
5692 power_state_offset = (u8 *)state_array->states; in ci_parse_power_table()
5693 for (i = 0; i < state_array->ucNumEntries; i++) { in ci_parse_power_table()
5726 adev->pm.dpm.num_ps = state_array->ucNumEntries; in ci_parse_power_table()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dtrinity_dpm.c1735 struct _StateArray *state_array; in trinity_parse_power_table() local
1750 state_array = (struct _StateArray *) in trinity_parse_power_table()
1761 state_array->ucNumEntries, GFP_KERNEL); in trinity_parse_power_table()
1764 power_state_offset = (u8 *)state_array->states; in trinity_parse_power_table()
1765 for (i = 0; i < state_array->ucNumEntries; i++) { in trinity_parse_power_table()
1800 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in trinity_parse_power_table()
Dsumo_dpm.c1460 struct _StateArray *state_array; in sumo_parse_power_table() local
1475 state_array = (struct _StateArray *) in sumo_parse_power_table()
1486 state_array->ucNumEntries, GFP_KERNEL); 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()
1524 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in sumo_parse_power_table()
Dkv_dpm.c2638 struct _StateArray *state_array; in kv_parse_power_table() local
2653 state_array = (struct _StateArray *) in kv_parse_power_table()
2664 state_array->ucNumEntries, GFP_KERNEL); in kv_parse_power_table()
2667 power_state_offset = (u8 *)state_array->states; in kv_parse_power_table()
2668 for (i = 0; i < state_array->ucNumEntries; i++) { in kv_parse_power_table()
2703 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in kv_parse_power_table()
Dradeon_atombios.c2663 struct _StateArray *state_array; in radeon_atombios_parse_power_table_6() local
2679 state_array = (struct _StateArray *) in radeon_atombios_parse_power_table_6()
2688 if (state_array->ucNumEntries == 0) in radeon_atombios_parse_power_table_6()
2691 state_array->ucNumEntries, GFP_KERNEL); in radeon_atombios_parse_power_table_6()
2694 power_state_offset = (u8 *)state_array->states; in radeon_atombios_parse_power_table_6()
2695 for (i = 0; i < state_array->ucNumEntries; i++) { in radeon_atombios_parse_power_table_6()
Dci_dpm.c5515 struct _StateArray *state_array; in ci_parse_power_table() local
5530 state_array = (struct _StateArray *) in ci_parse_power_table()
5541 state_array->ucNumEntries, GFP_KERNEL); in ci_parse_power_table()
5544 power_state_offset = (u8 *)state_array->states; in ci_parse_power_table()
5545 for (i = 0; i < state_array->ucNumEntries; i++) { in ci_parse_power_table()
5580 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in ci_parse_power_table()
Dsi_dpm.c6825 struct _StateArray *state_array; in si_parse_power_table() local
6840 state_array = (struct _StateArray *) in si_parse_power_table()
6851 state_array->ucNumEntries, GFP_KERNEL); in si_parse_power_table()
6854 power_state_offset = (u8 *)state_array->states; in si_parse_power_table()
6855 for (i = 0; i < state_array->ucNumEntries; i++) { in si_parse_power_table()
6890 rdev->pm.dpm.num_ps = state_array->ucNumEntries; in si_parse_power_table()