class AmlVoltageRegulator

Defined at line 25 of file ../../src/devices/thermal/drivers/aml-thermal-s905d2g-legacy/aml-voltage.h

This class represents a voltage regulator

on the Amlogic board which provides interface

to set and get current voltage for the CPU.

Public Methods

void AmlVoltageRegulator (const AmlVoltageRegulator & )

Defined at line 27 of file ../../src/devices/thermal/drivers/aml-thermal-s905d2g-legacy/aml-voltage.h

AmlVoltageRegulator & operator= (const AmlVoltageRegulator & )

Defined at line 27 of file ../../src/devices/thermal/drivers/aml-thermal-s905d2g-legacy/aml-voltage.h

void AmlVoltageRegulator ()

Defined at line 28 of file ../../src/devices/thermal/drivers/aml-thermal-s905d2g-legacy/aml-voltage.h

uint32_t GetVoltage (fuchsia_hardware_thermal::wire::PowerDomain power_domain)

Defined at line 39 of file ../../src/devices/thermal/drivers/aml-thermal-s905d2g-legacy/aml-voltage.h

zx_status_t SetVoltage (fuchsia_hardware_thermal::wire::PowerDomain power_domain, uint32_t microvolt)

Defined at line 46 of file ../../src/devices/thermal/drivers/aml-thermal-s905d2g-legacy/aml-voltage.h

zx_status_t Create (zx_device_t * parent, const fuchsia_hardware_thermal::wire::ThermalDeviceInfo & thermal_config, const aml_thermal_info_t * thermal_info)

Defined at line 59 of file ../../src/devices/thermal/drivers/aml-thermal-s905d2g-legacy/aml-voltage.cc

zx_status_t Init (fidl::WireSyncClient<fuchsia_hardware_pwm::Pwm> big_cluster_pwm, fidl::WireSyncClient<fuchsia_hardware_pwm::Pwm> little_cluster_pwm, const fuchsia_hardware_thermal::wire::ThermalDeviceInfo & thermal_config, const aml_thermal_info_t * thermal_info)

For testing

Defined at line 95 of file ../../src/devices/thermal/drivers/aml-thermal-s905d2g-legacy/aml-voltage.cc

zx_status_t Init (const fuchsia_hardware_thermal::wire::ThermalDeviceInfo & thermal_config, const aml_thermal_info_t * thermal_info)

Defined at line 129 of file ../../src/devices/thermal/drivers/aml-thermal-s905d2g-legacy/aml-voltage.cc