Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/display/
A Dintel_cdclk.c812 cdclk_config->voltage_level = in bdw_get_cdclk()
1019 cdclk_config->voltage_level = in skl_get_cdclk()
1515 int voltage_level; in calc_voltage_level() local
1517 for (voltage_level = 0; voltage_level < num_voltage_levels; voltage_level++) { in calc_voltage_level()
1519 return voltage_level; in calc_voltage_level()
2154 dev_priv->display.cdclk.hw.voltage_level = cdclk_config->voltage_level; in bxt_set_cdclk()
2228 cdclk_config.voltage_level = in bxt_cdclk_init_hw()
2404 a->voltage_level != b->voltage_level; in intel_cdclk_changed()
2418 u8 voltage_level, in intel_pcode_notify() argument
2565 voltage_level = new_cdclk_state->actual.voltage_level; in intel_cdclk_pcode_post_notify()
[all …]
A Dintel_cdclk.h20 u8 voltage_level; member
A Dintel_pmdemand.c288 new_cdclk_state->actual.voltage_level != in intel_pmdemand_needs_update()
289 old_cdclk_state->actual.voltage_level)) in intel_pmdemand_needs_update()
340 new_cdclk_state->actual.voltage_level; in intel_pmdemand_atomic_check()
/linux/drivers/firmware/arm_scmi/
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/
A Ddcn_calcs.c499 input->clks_cfg.voltage = v->voltage_level; in dcn_bw_calc_rq_dlg_ttu()
560 if (v->voltage_level < 2) {
590 if (v->voltage_level < 3) {
618 v->dcfclk = v->dcfclk_per_state[v->voltage_level];
629 if (v->voltage_level >= 2) {
633 if (v->voltage_level >= 3)
1062 if (v->voltage_level != 0 in dcn_validate_bandwidth()
1069 if (v->voltage_level == 0 && in dcn_validate_bandwidth()
1178 switch (v->voltage_level) { in dcn_validate_bandwidth()
1287 } else if (v->voltage_level == number_of_states_plus_one) { in dcn_validate_bandwidth()
[all …]
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/amd/display/dc/dml2/dml21/inc/
A Ddml_top_types.h668 unsigned int voltage_level; // LEGACY_ONLY member
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
A Ddml2_core_dcn4.c625 …in_out->programming->informative.voltage_level = in_out->instance->scratch.mode_programming_locals… in core_dcn4_populate_informative()
627 …in_out->programming->informative.voltage_level = in_out->instance->scratch.mode_support_locals.mod… in core_dcn4_populate_informative()
/linux/drivers/gpu/drm/amd/display/dc/inc/
A Ddcn_calcs.h211 int voltage_level; member
/linux/drivers/gpu/drm/radeon/
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()
A Dradeon.h302 void radeon_atom_set_voltage(struct radeon_device *rdev, u16 voltage_level, u8 voltage_type);
304 u16 voltage_level, u8 voltage_type,
A Dci_dpm.c2950 SMU7_Discrete_VoltageLevel voltage_level; in ci_populate_smc_acpi_level() local
3017 if (ci_populate_mvdd_value(rdev, 0, &voltage_level)) in ci_populate_smc_acpi_level()
3021 cpu_to_be32(voltage_level.Voltage * VOLTAGE_SCALE); in ci_populate_smc_acpi_level()
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
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()
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()
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()
/linux/drivers/gpu/drm/i915/
A Di915_reg.h3532 #define DISPLAY_TO_PCODE_UPDATE_MASK(cdclk, num_pipes, voltage_level) \ argument
3535 (DISPLAY_TO_PCODE_VOLTAGE(voltage_level)))

Completed in 99 milliseconds