class MipiPhy
Defined at line 18 of file ../../src/graphics/display/drivers/amlogic-display/mipi-phy.h
Public Methods
void MipiPhy (const MipiPhy & )
Defined at line 50 of file ../../src/graphics/display/drivers/amlogic-display/mipi-phy.h
MipiPhy & operator= (const MipiPhy & )
Defined at line 51 of file ../../src/graphics/display/drivers/amlogic-display/mipi-phy.h
zx::result<std::unique_ptr<MipiPhy>> Create (fidl::UnownedClientEnd<fuchsia_hardware_platform_device::Device> platform_device, designware_dsi::DsiHostController * designware_dsi_host_controller, bool enabled)
Factory method intended for production use.
`platform_device` must be valid.
`designware_dsi_host_controller` must be non-null and outlive the `MipiPhy`
instance.
`enabled` is true iff the driver adopts an already initialized MIPI D-PHY
controller.
Creating an MipiPhy instance doesn't change the hardware state, and is
therefore safe to use when adopting a device previously initialized by
the bootloader or another driver.
Defined at line 218 of file ../../src/graphics/display/drivers/amlogic-display/mipi-phy.cc
void MipiPhy (fdf::MmioBuffer d_phy_mmio, designware_dsi::DsiHostController * designware_dsi_host_controller, bool enabled)
Production code should prefer using the `Create()` factory method.
`d_phy_mmio` is the MIPI D-PHY controller register MMIO region (also known
as "MIPI_DSI_PHY" in the "Memory Map" Section of Amlogic datasheets).
It must be a valid MMIO buffer.
`designware_dsi_host_controller` must be non-null and outlive the `MipiPhy`
instance.
`dsiimpl` must be valid.
Defined at line 240 of file ../../src/graphics/display/drivers/amlogic-display/mipi-phy.cc
zx::result<> Startup ()
This function enables and starts up the Mipi Phy
Defined at line 180 of file ../../src/graphics/display/drivers/amlogic-display/mipi-phy.cc
void Shutdown ()
This function stops Mipi Phy
Defined at line 165 of file ../../src/graphics/display/drivers/amlogic-display/mipi-phy.cc
zx::result<> PhyCfgLoad (int64_t dphy_data_lane_bits_per_second)
Defined at line 32 of file ../../src/graphics/display/drivers/amlogic-display/mipi-phy.cc
uint32_t GetDataLaneByteRateToEscapeClockFrequencyRatio ()
Defined at line 59 of file ../../src/graphics/display/drivers/amlogic-display/mipi-phy.h
void Dump ()
Defined at line 248 of file ../../src/graphics/display/drivers/amlogic-display/mipi-phy.cc