Home
last modified time | relevance | path

Searched refs:mvdd_control (Results 1 – 24 of 24) sorted by relevance

/openbmc/linux/drivers/gpu/drm/radeon/
H A Dci_dpm.h197 u32 mvdd_control; member
H A Drv770_dpm.h83 bool mvdd_control; member
H A Dcypress_dpm.c661 if (!pi->mvdd_control) { in cypress_populate_mvdd_value()
1584 pi->mvdd_control = false; in cypress_get_mvdd_configuration()
1599 pi->mvdd_control = false; in cypress_get_mvdd_configuration()
1607 pi->mvdd_control = false; in cypress_get_mvdd_configuration()
1828 if (pi->mvdd_control) { in cypress_dpm_enable()
2077 pi->mvdd_control = in cypress_dpm_init()
H A Drv770_dpm.c598 if (!pi->mvdd_control) { in rv770_populate_mvdd_value()
1149 if (pi->mvdd_control) { in rv770_populate_smc_mvdd_table()
1319 pi->mvdd_control = false; in rv770_get_mvdd_configuration()
1327 pi->mvdd_control = false; in rv770_get_mvdd_configuration()
1919 if (pi->mvdd_control) { in rv770_dpm_enable()
2393 pi->mvdd_control = in rv770_dpm_init()
H A Dsi_dpm.c3983 if (pi->mvdd_control) { in si_construct_voltage_tables()
3988 pi->mvdd_control = false; in si_construct_voltage_tables()
3993 pi->mvdd_control = false; in si_construct_voltage_tables()
4116 if (pi->mvdd_control) { in si_populate_mvdd_value()
4338 if (pi->mvdd_control) in si_populate_initial_mvdd_value()
6341 if (pi->mvdd_control) in si_dpm_enable()
6994 pi->mvdd_control = in si_dpm_init()
H A Dci_dpm.c2136 if (pi->mvdd_control == CISLANDS_VOLTAGE_CONTROL_BY_GPIO) { in ci_construct_voltage_tables()
2142 } else if (pi->mvdd_control == CISLANDS_VOLTAGE_CONTROL_BY_SVID2) { in ci_construct_voltage_tables()
2237 if (pi->mvdd_control == CISLANDS_VOLTAGE_CONTROL_BY_GPIO) in ci_populate_smc_mvdd_table()
2274 if (pi->mvdd_control != CISLANDS_VOLTAGE_CONTROL_NONE) { in ci_populate_mvdd_value()
5850 pi->mvdd_control = CISLANDS_VOLTAGE_CONTROL_NONE; in ci_dpm_init()
5867 pi->mvdd_control = CISLANDS_VOLTAGE_CONTROL_BY_GPIO; in ci_dpm_init()
5869 pi->mvdd_control = CISLANDS_VOLTAGE_CONTROL_BY_SVID2; in ci_dpm_init()
H A Dbtc_dpm.c2402 if (pi->mvdd_control) { in btc_dpm_enable()
2636 pi->mvdd_control = in btc_dpm_init()
H A Dni_dpm.c1327 if (!pi->mvdd_control) { in ni_populate_mvdd_value()
4146 pi->mvdd_control = in ni_dpm_init()
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_hwmgr.h241 uint32_t mvdd_control; member
H A Dvega10_hwmgr.h321 uint32_t mvdd_control; member
H A Dvega12_hwmgr.h323 uint32_t mvdd_control; member
H A Dvega20_hwmgr.h447 uint32_t mvdd_control; member
H A Dsmu7_hwmgr.c324 if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->mvdd_control) { in smu7_construct_voltage_tables()
331 } else if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->mvdd_control) { in smu7_construct_voltage_tables()
1830 data->mvdd_control = SMU7_VOLTAGE_CONTROL_NONE; in smu7_init_dpm_defaults()
1893 data->mvdd_control = SMU7_VOLTAGE_CONTROL_BY_GPIO; in smu7_init_dpm_defaults()
1896 data->mvdd_control = SMU7_VOLTAGE_CONTROL_BY_SVID2; in smu7_init_dpm_defaults()
1913 if (data->mvdd_control == SMU7_VOLTAGE_CONTROL_NONE) in smu7_init_dpm_defaults()
H A Dvega10_hwmgr.c849 data->mvdd_control = VEGA10_VOLTAGE_CONTROL_NONE; in vega10_hwmgr_backend_init()
879 data->mvdd_control = VEGA10_VOLTAGE_CONTROL_BY_SVID2; in vega10_hwmgr_backend_init()
1177 if (data->mvdd_control == VEGA10_VOLTAGE_CONTROL_BY_SVID2 || in vega10_construct_voltage_tables()
1178 data->mvdd_control == VEGA10_VOLTAGE_CONTROL_NONE) { in vega10_construct_voltage_tables()
H A Dvega12_hwmgr.c411 data->mvdd_control = VEGA12_VOLTAGE_CONTROL_NONE; in vega12_hwmgr_backend_init()
H A Dvega20_hwmgr.c455 data->mvdd_control = VEGA20_VOLTAGE_CONTROL_NONE; in vega20_hwmgr_backend_init()
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dvegam_smumgr.c454 if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->mvdd_control) { in vegam_populate_smc_mvdd_table()
632 if (SMU7_VOLTAGE_CONTROL_NONE == data->mvdd_control) in vegam_get_dependency_volt_by_clk()
661 if (SMU7_VOLTAGE_CONTROL_NONE == data->mvdd_control) in vegam_get_dependency_volt_by_clk()
1093 if (SMU7_VOLTAGE_CONTROL_NONE != data->mvdd_control) { in vegam_populate_mvdd_value()
1699 if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->mvdd_control) { in vegam_populate_vr_config()
1714 } else if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->mvdd_control) { in vegam_populate_vr_config()
H A Dpolaris10_smumgr.c385 if (SMU7_VOLTAGE_CONTROL_NONE == data->mvdd_control) in polaris10_get_dependency_volt_by_clk()
412 if (SMU7_VOLTAGE_CONTROL_NONE == data->mvdd_control) in polaris10_get_dependency_volt_by_clk()
670 if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->mvdd_control) { in polaris10_populate_smc_mvdd_table()
1260 if (SMU7_VOLTAGE_CONTROL_NONE != data->mvdd_control) { in polaris10_populate_mvdd_value()
1337 if (!((SMU7_VOLTAGE_CONTROL_NONE == data->mvdd_control) || in polaris10_populate_smc_acpi_level()
1745 if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->mvdd_control) { in polaris10_populate_vr_config()
1755 } else if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->mvdd_control) { in polaris10_populate_vr_config()
H A Dfiji_smumgr.c384 if (SMU7_VOLTAGE_CONTROL_NONE == data->mvdd_control) in fiji_get_dependency_volt_by_clk()
409 if (SMU7_VOLTAGE_CONTROL_NONE == data->mvdd_control) in fiji_get_dependency_volt_by_clk()
1279 if (SMU7_VOLTAGE_CONTROL_NONE != data->mvdd_control) { in fiji_populate_mvdd_value()
1390 if ((SMU7_VOLTAGE_CONTROL_NONE == data->mvdd_control) || in fiji_populate_smc_acpi_level()
1847 if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->mvdd_control) { in fiji_populate_vr_config()
1850 } else if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->mvdd_control) { in fiji_populate_vr_config()
H A Dtonga_smumgr.c372 if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->mvdd_control) { in tonga_populate_smc_mvdd_table()
994 if (data->mvdd_control == SMU7_VOLTAGE_CONTROL_NONE) in tonga_populate_single_memory_level()
1151 if (SMU7_VOLTAGE_CONTROL_NONE != data->mvdd_control) { in tonga_populate_mvdd_value()
1789 if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->mvdd_control) { in tonga_populate_vr_config()
H A Diceland_smumgr.c682 if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->mvdd_control) in iceland_populate_smc_mvdd_table()
1402 if (SMU7_VOLTAGE_CONTROL_NONE != data->mvdd_control) { in iceland_populate_mvdd_value()
1920 if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->mvdd_control) in iceland_populate_smc_svi2_config()
H A Dci_smumgr.c912 if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->mvdd_control) { in ci_populate_smc_mvdd_table()
1357 if (SMU7_VOLTAGE_CONTROL_NONE != data->mvdd_control) { in ci_populate_mvdd_value()
1934 if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->mvdd_control) { in ci_populate_vr_config()
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.h539 bool mvdd_control; member
H A Dsi_dpm.c4460 if (pi->mvdd_control) { in si_construct_voltage_tables()
4465 pi->mvdd_control = false; in si_construct_voltage_tables()
4470 pi->mvdd_control = false; in si_construct_voltage_tables()
4593 if (pi->mvdd_control) { in si_populate_mvdd_value()
4817 if (pi->mvdd_control) in si_populate_initial_mvdd_value()
6822 if (pi->mvdd_control) in si_dpm_enable()
7448 pi->mvdd_control = in si_dpm_init()