Home
last modified time | relevance | path

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

/drivers/gpu/drm/msm/edp/
Dedp_ctrl.c476 u8 voltage_level, u8 pre_emphasis_level) in edp_lane_set_write() argument
481 if (voltage_level >= DPCD_LINK_VOLTAGE_MAX) in edp_lane_set_write()
482 voltage_level |= 0x04; in edp_lane_set_write()
490 buf[i] = voltage_level | pre_emphasis_level; in edp_lane_set_write()
492 DBG("%s: p|v=0x%x", __func__, voltage_level | pre_emphasis_level); in edp_lane_set_write()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.h173 u16 voltage_level,
Damdgpu_atombios.c1264 u16 voltage_level, in amdgpu_atombios_set_voltage() argument
1269 u8 frev, crev, volt_index = voltage_level; in amdgpu_atombios_set_voltage()
1275 if (voltage_level == 0xff01) in amdgpu_atombios_set_voltage()
1287 args.v2.usVoltageLevel = cpu_to_le16(voltage_level); in amdgpu_atombios_set_voltage()
1292 args.v3.usVoltageLevel = cpu_to_le16(voltage_level); in amdgpu_atombios_set_voltage()
Dci_dpm.c3108 SMU7_Discrete_VoltageLevel voltage_level; in ci_populate_smc_acpi_level() local
3175 if (ci_populate_mvdd_value(adev, 0, &voltage_level)) in ci_populate_smc_acpi_level()
3179 cpu_to_be32(voltage_level.Voltage * VOLTAGE_SCALE); in ci_populate_smc_acpi_level()
/drivers/gpu/drm/radeon/
Dradeon_atombios.c3094 void radeon_atom_set_voltage(struct radeon_device *rdev, u16 voltage_level, u8 voltage_type) in radeon_atom_set_voltage() argument
3098 u8 frev, crev, volt_index = voltage_level; in radeon_atom_set_voltage()
3104 if (voltage_level == 0xff01) in radeon_atom_set_voltage()
3116 args.v2.usVoltageLevel = cpu_to_le16(voltage_level); in radeon_atom_set_voltage()
3121 args.v3.usVoltageLevel = cpu_to_le16(voltage_level); in radeon_atom_set_voltage()
3329 u16 voltage_level, u8 voltage_type, in radeon_atom_get_voltage_gpio_settings() argument
3345 args.v2.usVoltageLevel = cpu_to_le16(voltage_level); in radeon_atom_get_voltage_gpio_settings()
3353 args.v2.usVoltageLevel = cpu_to_le16(voltage_level); in radeon_atom_get_voltage_gpio_settings()
Dradeon.h297 void radeon_atom_set_voltage(struct radeon_device *rdev, u16 voltage_level, u8 voltage_type);
299 u16 voltage_level, u8 voltage_type,
Dci_dpm.c2976 SMU7_Discrete_VoltageLevel voltage_level; in ci_populate_smc_acpi_level() local
3043 if (ci_populate_mvdd_value(rdev, 0, &voltage_level)) in ci_populate_smc_acpi_level()
3047 cpu_to_be32(voltage_level.Voltage * VOLTAGE_SCALE); in ci_populate_smc_acpi_level()
/drivers/gpu/drm/amd/powerplay/smumgr/
Diceland_smc.c1302 SMU71_Discrete_VoltageLevel voltage_level; in iceland_populate_smc_acpi_level() local
1376 if (0 == iceland_populate_mvdd_value(hwmgr, 0, &voltage_level)) in iceland_populate_smc_acpi_level()
1378 PP_HOST_TO_SMC_UL(voltage_level.Voltage * VOLTAGE_SCALE); in iceland_populate_smc_acpi_level()
Dtonga_smc.c1097 SMIO_Pattern voltage_level; in tonga_populate_smc_acpi_level() local
1161 if (0 == tonga_populate_mvdd_value(hwmgr, 0, &voltage_level)) in tonga_populate_smc_acpi_level()
1163 PP_HOST_TO_SMC_UL(voltage_level.Voltage * VOLTAGE_SCALE); in tonga_populate_smc_acpi_level()