class TiLp8556

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

Public Members

static basic_string_view kDriverName

Public Methods

void TiLp8556 (fdf::DriverStartArgs start_args, fdf::UnownedSynchronizedDispatcher driver_dispatcher)

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

double GetDeviceBrightness ()

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

bool GetDevicePower ()

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

uint8_t GetCfg2 ()

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

void SetMaxAbsoluteBrightnessNits (double brightness_nits)

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

zx::result<> Start ()

fdf::DriverBase implementation.

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

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

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

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

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

double GetBacklightPower (double backlight_brightness)

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

double GetBrightnesstoCurrentScalar ()

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

double GetBacklightVoltage (double backlight_brightness, PanelType panel_type)

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

double GetDriverEfficiency (double backlight_brightness)

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

PanelType GetPanelType ()

Defined at line 534 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 192 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

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

Defined at line 202 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 212 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 233 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

void GetMaxAbsoluteBrightness (GetMaxAbsoluteBrightnessCompleter::Sync & completer)

Defined at line 258 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 266 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.cc

void GetVoltageVolts (GetVoltageVoltsCompleter::Sync & completer)

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

void GetSensorName (GetSensorNameCompleter::Sync & completer)

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

Enumerations

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

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