Enumerations

enum MmioResourceIndex
Name Value
kDmc 0

The resource ordering in the board driver's `canvas_mmios` table.

Defined at line 18 of file ../../src/graphics/display/drivers/aml-canvas/board-resources.h

enum BtiResourceIndex
Name Value
kCanvas 0

The resource ordering in the board driver's `canvas_btis` table.

Defined at line 23 of file ../../src/graphics/display/drivers/aml-canvas/board-resources.h

Records

Functions

  • zx::result<fdf::MmioBuffer> MapMmio (MmioResourceIndex mmio_index, fidl::UnownedClientEnd<fuchsia_hardware_platform_device::Device> pdev)

    Typesafe wrapper for [`fuchsia.hardware.platform.device/Device.GetMmioById`].

    If the result is successful, the MmioBuffer is guaranteed to be valid.

    Defined at line 19 of file ../../src/graphics/display/drivers/aml-canvas/board-resources.cc

  • zx::result<zx::bti> GetBti (BtiResourceIndex bti_indexfidl::UnownedClientEnd<fuchsia_hardware_platform_device::Device> pdev)

    Typesafe wrapper for [`fuchsia.hardware.platform.device/Device.GetBtiById`].

    If the result is successful, the zx::bti is guaranteed to be valid.

    Defined at line 51 of file ../../src/graphics/display/drivers/aml-canvas/board-resources.cc