Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/
H A Dcypress_dpm.c659 if (!pi->mvdd_control) { in cypress_populate_mvdd_value()
1582 pi->mvdd_control = false; in cypress_get_mvdd_configuration()
1597 pi->mvdd_control = false; in cypress_get_mvdd_configuration()
1605 pi->mvdd_control = false; in cypress_get_mvdd_configuration()
1826 if (pi->mvdd_control) { in cypress_dpm_enable()
2075 pi->mvdd_control = in cypress_dpm_init()
H A Dci_dpm.h197 u32 mvdd_control; member
H A Drv770_dpm.h83 bool mvdd_control; member
H A Drv770_dpm.c596 if (!pi->mvdd_control) { in rv770_populate_mvdd_value()
1147 if (pi->mvdd_control) { in rv770_populate_smc_mvdd_table()
1317 pi->mvdd_control = false; in rv770_get_mvdd_configuration()
1325 pi->mvdd_control = false; in rv770_get_mvdd_configuration()
1917 if (pi->mvdd_control) { in rv770_dpm_enable()
2391 pi->mvdd_control = in rv770_dpm_init()
H A Dsi_dpm.c3986 if (pi->mvdd_control) { in si_construct_voltage_tables()
3991 pi->mvdd_control = false; in si_construct_voltage_tables()
3996 pi->mvdd_control = false; in si_construct_voltage_tables()
4119 if (pi->mvdd_control) { in si_populate_mvdd_value()
4341 if (pi->mvdd_control) in si_populate_initial_mvdd_value()
6343 if (pi->mvdd_control) in si_dpm_enable()
6996 pi->mvdd_control = in si_dpm_init()
H A Dci_dpm.c2160 if (pi->mvdd_control == CISLANDS_VOLTAGE_CONTROL_BY_GPIO) { in ci_construct_voltage_tables()
2166 } else if (pi->mvdd_control == CISLANDS_VOLTAGE_CONTROL_BY_SVID2) { in ci_construct_voltage_tables()
2261 if (pi->mvdd_control == CISLANDS_VOLTAGE_CONTROL_BY_GPIO) in ci_populate_smc_mvdd_table()
2298 if (pi->mvdd_control != CISLANDS_VOLTAGE_CONTROL_NONE) { in ci_populate_mvdd_value()
5862 pi->mvdd_control = CISLANDS_VOLTAGE_CONTROL_NONE; in ci_dpm_init()
5879 pi->mvdd_control = CISLANDS_VOLTAGE_CONTROL_BY_GPIO; in ci_dpm_init()
5881 pi->mvdd_control = CISLANDS_VOLTAGE_CONTROL_BY_SVID2; in ci_dpm_init()
H A Dbtc_dpm.c2404 if (pi->mvdd_control) { in btc_dpm_enable()
2638 pi->mvdd_control = in btc_dpm_init()
H A Dni_dpm.c1328 if (!pi->mvdd_control) { in ni_populate_mvdd_value()
4141 pi->mvdd_control = in ni_dpm_init()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_hwmgr.h230 uint32_t mvdd_control; member
H A Dvega12_hwmgr.h324 uint32_t mvdd_control; member
H A Dvega10_hwmgr.h321 uint32_t mvdd_control; member
H A Dvega20_hwmgr.h449 uint32_t mvdd_control; member
H A Dsmu7_hwmgr.c262 if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->mvdd_control) { in smu7_construct_voltage_tables()
269 } else if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->mvdd_control) { in smu7_construct_voltage_tables()
1651 data->mvdd_control = SMU7_VOLTAGE_CONTROL_NONE; in smu7_init_dpm_defaults()
1727 data->mvdd_control = SMU7_VOLTAGE_CONTROL_BY_GPIO; in smu7_init_dpm_defaults()
1730 data->mvdd_control = SMU7_VOLTAGE_CONTROL_BY_SVID2; in smu7_init_dpm_defaults()
1747 if (data->mvdd_control == SMU7_VOLTAGE_CONTROL_NONE) in smu7_init_dpm_defaults()
H A Dvega10_hwmgr.c841 data->mvdd_control = VEGA10_VOLTAGE_CONTROL_NONE; in vega10_hwmgr_backend_init()
871 data->mvdd_control = VEGA10_VOLTAGE_CONTROL_BY_SVID2; in vega10_hwmgr_backend_init()
1168 if (data->mvdd_control == VEGA10_VOLTAGE_CONTROL_BY_SVID2 || in vega10_construct_voltage_tables()
1169 data->mvdd_control == VEGA10_VOLTAGE_CONTROL_NONE) { in vega10_construct_voltage_tables()
H A Dvega12_hwmgr.c406 data->mvdd_control = VEGA12_VOLTAGE_CONTROL_NONE; in vega12_hwmgr_backend_init()
H A Dvega20_hwmgr.c448 data->mvdd_control = VEGA20_VOLTAGE_CONTROL_NONE; in vega20_hwmgr_backend_init()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dvegam_smumgr.c455 if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->mvdd_control) { in vegam_populate_smc_mvdd_table()
633 if (SMU7_VOLTAGE_CONTROL_NONE == data->mvdd_control) in vegam_get_dependency_volt_by_clk()
662 if (SMU7_VOLTAGE_CONTROL_NONE == data->mvdd_control) in vegam_get_dependency_volt_by_clk()
1094 if (SMU7_VOLTAGE_CONTROL_NONE != data->mvdd_control) { in vegam_populate_mvdd_value()
1701 if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->mvdd_control) { in vegam_populate_vr_config()
1716 } else if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->mvdd_control) { in vegam_populate_vr_config()
H A Dfiji_smumgr.c385 if (SMU7_VOLTAGE_CONTROL_NONE == data->mvdd_control) in fiji_get_dependency_volt_by_clk()
410 if (SMU7_VOLTAGE_CONTROL_NONE == data->mvdd_control) in fiji_get_dependency_volt_by_clk()
1280 if (SMU7_VOLTAGE_CONTROL_NONE != data->mvdd_control) { in fiji_populate_mvdd_value()
1391 if ((SMU7_VOLTAGE_CONTROL_NONE == data->mvdd_control) || in fiji_populate_smc_acpi_level()
1849 if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->mvdd_control) { in fiji_populate_vr_config()
1852 } else if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->mvdd_control) { in fiji_populate_vr_config()
H A Dpolaris10_smumgr.c385 if (SMU7_VOLTAGE_CONTROL_NONE == data->mvdd_control) in polaris10_get_dependency_volt_by_clk()
410 if (SMU7_VOLTAGE_CONTROL_NONE == data->mvdd_control) in polaris10_get_dependency_volt_by_clk()
653 if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->mvdd_control) { in polaris10_populate_smc_mvdd_table()
1183 if (SMU7_VOLTAGE_CONTROL_NONE != data->mvdd_control) { in polaris10_populate_mvdd_value()
1260 if (!((SMU7_VOLTAGE_CONTROL_NONE == data->mvdd_control) || in polaris10_populate_smc_acpi_level()
1627 if (SMU7_VOLTAGE_CONTROL_BY_SVID2 == data->mvdd_control) { in polaris10_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.c911 if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->mvdd_control) { in ci_populate_smc_mvdd_table()
1356 if (SMU7_VOLTAGE_CONTROL_NONE != data->mvdd_control) { in ci_populate_mvdd_value()
1933 if (SMU7_VOLTAGE_CONTROL_BY_GPIO == data->mvdd_control) { in ci_populate_vr_config()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/powerplay/
H A Dsi_dpm.h539 bool mvdd_control; member
H A Dsi_dpm.c4445 if (pi->mvdd_control) { in si_construct_voltage_tables()
4450 pi->mvdd_control = false; in si_construct_voltage_tables()
4455 pi->mvdd_control = false; in si_construct_voltage_tables()
4578 if (pi->mvdd_control) { in si_populate_mvdd_value()
4802 if (pi->mvdd_control) in si_populate_initial_mvdd_value()
6772 if (pi->mvdd_control) in si_dpm_enable()
7402 pi->mvdd_control = in si_dpm_init()