Home
last modified time | relevance | path

Searched refs:voltage_control (Results 1 – 22 of 22) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/radeon/
Drs780_dpm.c615 if (pi->voltage_control) in rs780_dpm_enable()
660 if (pi->voltage_control) { in rs780_dpm_set_power_state()
672 if (pi->voltage_control) in rs780_dpm_set_power_state()
869 pi->voltage_control = false; in rs780_dpm_init()
894 pi->voltage_control = true; in rs780_dpm_init()
912 pi->voltage_control = true; in rs780_dpm_init()
920 pi->voltage_control = false; in rs780_dpm_init()
925 pi->voltage_control = false; in rs780_dpm_init()
929 pi->voltage_control = false; in rs780_dpm_init()
1040 if (pi->voltage_control) in rs780_dpm_force_performance_level()
[all …]
Drs780_dpm.h36 bool voltage_control; member
Drv6xx_dpm.h58 bool voltage_control; member
Drv6xx_dpm.c1061 if (pi->voltage_control) in rv6xx_program_stepping_parameters_except_lowest_entry()
1074 if (pi->voltage_control) in rv6xx_program_stepping_parameters_lowest_entry()
1578 if (pi->voltage_control) in rv6xx_dpm_enable()
1600 if (pi->voltage_control) in rv6xx_dpm_enable()
1638 if (pi->voltage_control) in rv6xx_dpm_disable()
1681 if (pi->voltage_control) { in rv6xx_dpm_set_power_state()
1693 if (pi->voltage_control) in rv6xx_dpm_set_power_state()
1699 if (pi->voltage_control) { in rv6xx_dpm_set_power_state()
1719 if (pi->voltage_control) { in rv6xx_dpm_set_power_state()
1976 pi->voltage_control = in rv6xx_dpm_init()
Dci_dpm.h196 u32 voltage_control; member
Drv770_dpm.h82 bool voltage_control; /* vddc */ member
Dci_dpm.c2102 if (pi->voltage_control == CISLANDS_VOLTAGE_CONTROL_BY_GPIO) { in ci_construct_voltage_tables()
2108 } else if (pi->voltage_control == CISLANDS_VOLTAGE_CONTROL_BY_SVID2) { in ci_construct_voltage_tables()
2193 if (pi->voltage_control == CISLANDS_VOLTAGE_CONTROL_BY_GPIO) in ci_populate_smc_vddc_table()
3099 if (pi->voltage_control != CISLANDS_VOLTAGE_CONTROL_BY_SVID2) { in ci_populate_ulv_level()
3530 if (pi->voltage_control != CISLANDS_VOLTAGE_CONTROL_NONE) in ci_init_smc_table()
3631 if (pi->voltage_control == CISLANDS_VOLTAGE_CONTROL_BY_SVID2) in ci_init_smc_table()
5136 if (pi->voltage_control != CISLANDS_VOLTAGE_CONTROL_NONE) { in ci_dpm_enable()
5838 pi->voltage_control = CISLANDS_VOLTAGE_CONTROL_NONE; in ci_dpm_init()
5842 pi->voltage_control = CISLANDS_VOLTAGE_CONTROL_BY_GPIO; in ci_dpm_init()
5844 pi->voltage_control = CISLANDS_VOLTAGE_CONTROL_BY_SVID2; in ci_dpm_init()
Drv770_dpm.c573 if (!pi->voltage_control) { in rv770_populate_vddc_value()
1907 if (pi->voltage_control) { in rv770_dpm_enable()
2390 pi->voltage_control = in rv770_dpm_init()
Dbtc_dpm.c2393 if (pi->voltage_control) { in btc_dpm_enable()
2633 pi->voltage_control = in btc_dpm_init()
Dcypress_dpm.c1815 if (pi->voltage_control) { in cypress_dpm_enable()
2070 pi->voltage_control = in cypress_dpm_init()
Dsi_dpm.c3944 if (pi->voltage_control) { in si_construct_voltage_tables()
6339 if (pi->voltage_control || si_pi->voltage_control_svi2) in si_dpm_enable()
6343 if (pi->voltage_control || si_pi->voltage_control_svi2) { in si_dpm_enable()
6982 pi->voltage_control = in si_dpm_init()
6985 if (!pi->voltage_control) { in si_dpm_init()
Dni_dpm.c3599 if (pi->voltage_control) { in ni_dpm_enable()
4139 pi->voltage_control = in ni_dpm_init()
/linux-5.19.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.h222 uint32_t voltage_control; member
Dsmu7_hwmgr.c270 return (SMU7_VOLTAGE_CONTROL_NONE != data->voltage_control); in smu7_voltage_control()
373 if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->voltage_control) { in smu7_construct_voltage_tables()
379 } else if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->voltage_control) { in smu7_construct_voltage_tables()
1778 data->voltage_control = SMU7_VOLTAGE_CONTROL_NONE; in smu7_init_dpm_defaults()
1826 data->voltage_control = SMU7_VOLTAGE_CONTROL_BY_SVID2; in smu7_init_dpm_defaults()
1829 data->voltage_control = SMU7_VOLTAGE_CONTROL_BY_GPIO; in smu7_init_dpm_defaults()
1877 if (data->voltage_control == SMU7_VOLTAGE_CONTROL_BY_SVID2) { in smu7_init_dpm_defaults()
/linux-5.19.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Diceland_smumgr.c632 if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->voltage_control) in iceland_populate_smc_vddc_table()
634 else if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->voltage_control) in iceland_populate_smc_vddc_table()
732 if (data->voltage_control != SMU7_VOLTAGE_CONTROL_BY_SVID2) { in iceland_populate_ulv_level()
1912 if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->voltage_control) in iceland_populate_smc_svi2_config()
1940 if (SMU7_VOLTAGE_CONTROL_NONE != data->voltage_control) { in iceland_init_smc_table()
Dpolaris10_smumgr.c699 if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->voltage_control) { in polaris10_populate_smc_vddc_table()
1722 if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->voltage_control) { in polaris10_populate_vr_config()
1725 } else if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->voltage_control) { in polaris10_populate_vr_config()
1792 if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->voltage_control) { in polaris10_populate_avfs_parameters()
1929 if (SMU7_VOLTAGE_CONTROL_NONE != hw_data->voltage_control) in polaris10_init_smc_table()
Dci_smumgr.c857 if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->voltage_control) { in ci_populate_smc_vddc_table()
966 if (data->voltage_control != SMU7_VOLTAGE_CONTROL_BY_SVID2) { in ci_populate_ulv_level()
1889 if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->voltage_control) in ci_populate_smc_svi2_config()
1920 if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->voltage_control) { in ci_populate_vr_config()
1955 if (SMU7_VOLTAGE_CONTROL_NONE != data->voltage_control) in ci_init_smc_table()
Dtonga_smumgr.c308 if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->voltage_control) { in tonga_populate_smc_vddc_table()
1757 if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->voltage_control) { in tonga_populate_vr_config()
1770 if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->voltage_control) { in tonga_populate_vr_config()
2238 if (SMU7_VOLTAGE_CONTROL_NONE != data->voltage_control) in tonga_init_smc_table()
Dvegam_smumgr.c1680 if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->voltage_control) { in vegam_populate_vr_config()
1938 if (SMU7_VOLTAGE_CONTROL_NONE != hw_data->voltage_control) in vegam_init_smc_table()
Dfiji_smumgr.c1827 if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->voltage_control) { in fiji_populate_vr_config()
1931 if (SMU7_VOLTAGE_CONTROL_NONE != data->voltage_control) in fiji_init_smc_table()
/linux-5.19.10/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.h538 bool voltage_control; /* vddc */ member
Dsi_dpm.c4421 if (pi->voltage_control) { in si_construct_voltage_tables()
6820 if (pi->voltage_control || si_pi->voltage_control_svi2) in si_dpm_enable()
6824 if (pi->voltage_control || si_pi->voltage_control_svi2) { in si_dpm_enable()
7437 pi->voltage_control = in si_dpm_init()
7440 if (!pi->voltage_control) { in si_dpm_init()