class TiLp8556

Defined at line 70 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.h

Public Members

static basic_string_view kDriverName

Public Methods

void TiLp8556 ()

Defined at line 39 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

double GetDeviceBrightness ()

Defined at line 84 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.h

bool GetDevicePower ()

Defined at line 85 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.h

uint8_t GetCfg2 ()

Defined at line 86 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.h

void SetMaxAbsoluteBrightnessNits (double brightness_nits)

Defined at line 87 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.h

zx::result<> Start (fdf::DriverContext context)

fdf::DriverBase implementation.

Defined at line 318 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

zx::result<> GetBacklightState (bool * power, double * brightness)

Defined at line 111 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

zx::result<> SetBacklightState (bool power, double brightness)

Defined at line 117 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

double GetBacklightPower (double backlight_brightness)

Defined at line 456 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

double GetBrightnesstoCurrentScalar ()

Defined at line 479 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

double GetBacklightVoltage (double backlight_brightness, PanelType panel_type)

Defined at line 492 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

double GetDriverEfficiency (double backlight_brightness)

Defined at line 517 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

PanelType GetPanelType ()

Defined at line 538 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

void GetStateNormalized (GetStateNormalizedCompleter::Sync & completer)

fidl::WireServer

<fuchsia

_hardware_backlight::Device> implementation.

Defined at line 194 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

void SetStateNormalized (SetStateNormalizedRequestView request, SetStateNormalizedCompleter::Sync & completer)

Defined at line 204 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

void GetStateAbsolute (GetStateAbsoluteCompleter::Sync & completer)

Note: the device is calibrated at the factory to find a normalized brightness scale value that

corresponds to a set maximum brightness in nits. GetStateAbsolute() will return an error if

the normalized brightness scale is not set to the calibrated value, as there is no universal

way to map other scale values to absolute brightness.

Defined at line 214 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

void SetStateAbsolute (SetStateAbsoluteRequestView request, SetStateAbsoluteCompleter::Sync & completer)

Note: this changes the normalized brightness scale back to the calibrated value in order to set

the absolute brightness.

Defined at line 235 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

void GetMaxAbsoluteBrightness (GetMaxAbsoluteBrightnessCompleter::Sync & completer)

Defined at line 260 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

void GetPowerWatts (GetPowerWattsCompleter::Sync & completer)

fidl::WireServer

<fuchsia

_hardware_power_sensor::Device> implementation.

Defined at line 268 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

void GetVoltageVolts (GetVoltageVoltsCompleter::Sync & completer)

Defined at line 277 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

void GetSensorName (GetSensorNameCompleter::Sync & completer)

Defined at line 281 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

Protected Methods

inspect::Inspector & inspector ()

Defined at line 131 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.h

Enumerations

enum class PanelType
Name Value
kBoe 0
kKd 1
kUnknown 2
kNumTypes 3

Defined at line 97 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.h