Home
last modified time | relevance | path

Searched refs:state_index (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/radeon/
Dradeon_atombios.c2044 int state_index, in radeon_atombios_parse_misc_flags_1_3() argument
2047 rdev->pm.power_state[state_index].misc = misc; in radeon_atombios_parse_misc_flags_1_3()
2048 rdev->pm.power_state[state_index].misc2 = misc2; in radeon_atombios_parse_misc_flags_1_3()
2051 rdev->pm.power_state[state_index].type = in radeon_atombios_parse_misc_flags_1_3()
2054 rdev->pm.power_state[state_index].type = in radeon_atombios_parse_misc_flags_1_3()
2057 rdev->pm.power_state[state_index].type = in radeon_atombios_parse_misc_flags_1_3()
2060 rdev->pm.power_state[state_index].type = in radeon_atombios_parse_misc_flags_1_3()
2063 rdev->pm.power_state[state_index].type = in radeon_atombios_parse_misc_flags_1_3()
2065 rdev->pm.power_state[state_index].flags &= in radeon_atombios_parse_misc_flags_1_3()
2069 rdev->pm.power_state[state_index].type = in radeon_atombios_parse_misc_flags_1_3()
[all …]
Dradeon_combios.c2643 int state_index = 0; in radeon_combios_get_power_modes() local
2736 rdev->pm.power_state[state_index].num_clock_modes = 1; in radeon_combios_get_power_modes()
2737 rdev->pm.power_state[state_index].clock_info[0].mclk = RBIOS32(offset + 0x5 + 0x2); in radeon_combios_get_power_modes()
2738 rdev->pm.power_state[state_index].clock_info[0].sclk = RBIOS32(offset + 0x5 + 0x6); in radeon_combios_get_power_modes()
2739 if ((rdev->pm.power_state[state_index].clock_info[0].mclk == 0) || in radeon_combios_get_power_modes()
2740 (rdev->pm.power_state[state_index].clock_info[0].sclk == 0)) in radeon_combios_get_power_modes()
2742 rdev->pm.power_state[state_index].type = in radeon_combios_get_power_modes()
2747 rdev->pm.power_state[state_index].misc = misc; in radeon_combios_get_power_modes()
2748 rdev->pm.power_state[state_index].misc2 = misc2; in radeon_combios_get_power_modes()
2750 rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_GPIO; in radeon_combios_get_power_modes()
[all …]