Searched refs:voltage_level (Results 1 – 9 of 9) sorted by relevance
/drivers/gpu/drm/msm/edp/ |
D | edp_ctrl.c | 476 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/ |
D | amdgpu_atombios.h | 173 u16 voltage_level,
|
D | amdgpu_atombios.c | 1264 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()
|
D | ci_dpm.c | 3108 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/ |
D | radeon_atombios.c | 3094 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()
|
D | radeon.h | 297 void radeon_atom_set_voltage(struct radeon_device *rdev, u16 voltage_level, u8 voltage_type); 299 u16 voltage_level, u8 voltage_type,
|
D | ci_dpm.c | 2976 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/ |
D | iceland_smc.c | 1302 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()
|
D | tonga_smc.c | 1097 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()
|