Searched refs:state_array (Results 1 – 8 of 8) sorted by relevance
1736 struct _StateArray *state_array; in trinity_parse_power_table() local1751 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()
1459 struct _StateArray *state_array; in sumo_parse_power_table() local1474 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()
2639 struct _StateArray *state_array; in kv_parse_power_table() local2654 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()
2672 struct _StateArray *state_array; in radeon_atombios_parse_power_table_6() local2688 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()
6797 struct _StateArray *state_array; in si_parse_power_table() local6812 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()
5535 struct _StateArray *state_array; in ci_parse_power_table() local5551 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()
2696 struct _StateArray *state_array; in kv_parse_power_table() local2713 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()
7220 struct _StateArray *state_array; in si_parse_power_table() local7237 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()