Home
last modified time | relevance | path

Searched refs:voltage_level (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/firmware/arm_scmi/
H A Dvoltage.c60 __le32 voltage_level; member
65 __le32 voltage_level; member
344 cmd->voltage_level = cpu_to_le32(volt_uV); in scmi_voltage_level_set()
360 le32_to_cpu(resp->voltage_level)); in scmi_voltage_level_set()
/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calc_auto.c1000 v->voltage_level = v->voltage_level_without_immediate_flip; in mode_support_and_system_configuration()
1004 v->voltage_level = v->voltage_level_with_immediate_flip; in mode_support_and_system_configuration()
1006 v->dcfclk = v->dcfclk_per_state[v->voltage_level]; in mode_support_and_system_configuration()
1007 v->fabric_and_dram_bandwidth = v->fabric_and_dram_bandwidth_per_state[v->voltage_level]; in mode_support_and_system_configuration()
1009 v->required_dispclk_per_ratio[j] = v->required_dispclk[v->voltage_level][j]; in mode_support_and_system_configuration()
1011 v->dpp_per_plane_per_ratio[j][k] = v->no_of_dpp[v->voltage_level][j][k]; in mode_support_and_system_configuration()
1013 v->dispclk_dppclk_support_per_ratio[j] = v->dispclk_dppclk_support[v->voltage_level][j]; in mode_support_and_system_configuration()
1015 v->max_phyclk = v->phyclk_per_state[v->voltage_level]; in mode_support_and_system_configuration()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_atombios.c3105 void radeon_atom_set_voltage(struct radeon_device *rdev, u16 voltage_level, u8 voltage_type) in radeon_atom_set_voltage() argument
3109 u8 frev, crev, volt_index = voltage_level; in radeon_atom_set_voltage()
3115 if (voltage_level == 0xff01) in radeon_atom_set_voltage()
3127 args.v2.usVoltageLevel = cpu_to_le16(voltage_level); in radeon_atom_set_voltage()
3132 args.v3.usVoltageLevel = cpu_to_le16(voltage_level); in radeon_atom_set_voltage()
3340 u16 voltage_level, u8 voltage_type, in radeon_atom_get_voltage_gpio_settings() argument
3356 args.v2.usVoltageLevel = cpu_to_le16(voltage_level); in radeon_atom_get_voltage_gpio_settings()
3364 args.v2.usVoltageLevel = cpu_to_le16(voltage_level); in radeon_atom_get_voltage_gpio_settings()
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Diceland_smumgr.c1430 SMU71_Discrete_VoltageLevel voltage_level; in iceland_populate_smc_acpi_level() local
1504 if (0 == iceland_populate_mvdd_value(hwmgr, 0, &voltage_level)) in iceland_populate_smc_acpi_level()
1506 PP_HOST_TO_SMC_UL(voltage_level.Voltage * VOLTAGE_SCALE); in iceland_populate_smc_acpi_level()
H A Dci_smumgr.c1384 SMU7_Discrete_VoltageLevel voltage_level; in ci_populate_smc_acpi_level() local
1458 if (0 == ci_populate_mvdd_value(hwmgr, 0, &voltage_level)) in ci_populate_smc_acpi_level()
1460 PP_HOST_TO_SMC_UL(voltage_level.Voltage * VOLTAGE_SCALE); in ci_populate_smc_acpi_level()
H A Dtonga_smumgr.c1182 SMIO_Pattern voltage_level; in tonga_populate_smc_acpi_level() local
1246 if (0 == tonga_populate_mvdd_value(hwmgr, 0, &voltage_level)) in tonga_populate_smc_acpi_level()
1248 PP_HOST_TO_SMC_UL(voltage_level.Voltage * VOLTAGE_SCALE); in tonga_populate_smc_acpi_level()