Lines Matching full:power_state

2633 	rdev->pm.power_state = kcalloc(2, sizeof(struct radeon_power_state),  in radeon_combios_get_power_modes()
2635 if (rdev->pm.power_state) { in radeon_combios_get_power_modes()
2637 rdev->pm.power_state[0].clock_info = in radeon_combios_get_power_modes()
2640 rdev->pm.power_state[1].clock_info = in radeon_combios_get_power_modes()
2643 if (!rdev->pm.power_state[0].clock_info || in radeon_combios_get_power_modes()
2644 !rdev->pm.power_state[1].clock_info) in radeon_combios_get_power_modes()
2720 rdev->pm.power_state[state_index].num_clock_modes = 1; in radeon_combios_get_power_modes()
2721 rdev->pm.power_state[state_index].clock_info[0].mclk = RBIOS32(offset + 0x5 + 0x2); in radeon_combios_get_power_modes()
2722 rdev->pm.power_state[state_index].clock_info[0].sclk = RBIOS32(offset + 0x5 + 0x6); in radeon_combios_get_power_modes()
2723 if ((rdev->pm.power_state[state_index].clock_info[0].mclk == 0) || in radeon_combios_get_power_modes()
2724 (rdev->pm.power_state[state_index].clock_info[0].sclk == 0)) in radeon_combios_get_power_modes()
2726 rdev->pm.power_state[state_index].type = in radeon_combios_get_power_modes()
2731 rdev->pm.power_state[state_index].misc = misc; in radeon_combios_get_power_modes()
2732 rdev->pm.power_state[state_index].misc2 = misc2; in radeon_combios_get_power_modes()
2734 rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_GPIO; in radeon_combios_get_power_modes()
2736 rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = in radeon_combios_get_power_modes()
2739 rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = in radeon_combios_get_power_modes()
2741 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.valid = true; in radeon_combios_get_power_modes()
2743 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.reg = in radeon_combios_get_power_modes()
2746 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.mask = (1 << tmp); in radeon_combios_get_power_modes()
2751 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.reg = in radeon_combios_get_power_modes()
2754 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.mask = (1 << tmp); in radeon_combios_get_power_modes()
2756 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.valid = false; in radeon_combios_get_power_modes()
2761 rdev->pm.power_state[state_index].clock_info[0].voltage.delay = 0; in radeon_combios_get_power_modes()
2764 rdev->pm.power_state[state_index].clock_info[0].voltage.delay = 33; in radeon_combios_get_power_modes()
2767 rdev->pm.power_state[state_index].clock_info[0].voltage.delay = 66; in radeon_combios_get_power_modes()
2770 rdev->pm.power_state[state_index].clock_info[0].voltage.delay = 99; in radeon_combios_get_power_modes()
2773 rdev->pm.power_state[state_index].clock_info[0].voltage.delay = 132; in radeon_combios_get_power_modes()
2777 rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_NONE; in radeon_combios_get_power_modes()
2779 rdev->pm.power_state[state_index].pcie_lanes = in radeon_combios_get_power_modes()
2781 rdev->pm.power_state[state_index].flags = RADEON_PM_STATE_SINGLE_DISPLAY_ONLY; in radeon_combios_get_power_modes()
2792 rdev->pm.power_state[state_index].type = in radeon_combios_get_power_modes()
2794 rdev->pm.power_state[state_index].num_clock_modes = 1; in radeon_combios_get_power_modes()
2795 rdev->pm.power_state[state_index].clock_info[0].mclk = rdev->clock.default_mclk; in radeon_combios_get_power_modes()
2796 rdev->pm.power_state[state_index].clock_info[0].sclk = rdev->clock.default_sclk; in radeon_combios_get_power_modes()
2797 …rdev->pm.power_state[state_index].default_clock_mode = &rdev->pm.power_state[state_index].clock_in… in radeon_combios_get_power_modes()
2799 (rdev->pm.power_state[0].clock_info[0].voltage.type == VOLTAGE_GPIO)) in radeon_combios_get_power_modes()
2800 rdev->pm.power_state[state_index].clock_info[0].voltage = in radeon_combios_get_power_modes()
2801 rdev->pm.power_state[0].clock_info[0].voltage; in radeon_combios_get_power_modes()
2803 rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_NONE; in radeon_combios_get_power_modes()
2804 rdev->pm.power_state[state_index].pcie_lanes = 16; in radeon_combios_get_power_modes()
2805 rdev->pm.power_state[state_index].flags = 0; in radeon_combios_get_power_modes()