TianoCore EDK2 master
|
#include <Uefi/UefiBaseType.h>
Go to the source code of this file.
Functions | |
EFI_STATUS | LcdIdentify (VOID) |
EFI_STATUS | LcdInitialize (EFI_PHYSICAL_ADDRESS FrameBaseAddress) |
EFI_STATUS | LcdSetMode (IN UINT32 ModeNumber) |
VOID | LcdShutdown (VOID) |
This file contains interface functions for LcdHwLib of ArmPlatformPkg
Copyright (c) 2017, ARM Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file LcdHwLib.h.
EFI_STATUS LcdIdentify | ( | VOID | ) |
Check for presence of display
EFI_SUCCESS | Platform implements display. |
EFI_NOT_FOUND | Display not found on the platform. |
Check for presence of MALI.
This function returns success if the platform implements DP500/DP550/DP650 ARM Mali display processor.
EFI_SUCCESS | DP500/DP550/DP650 display processor found on the platform. |
EFI_NOT_FOUND | DP500/DP550/DP650 display processor not found on the platform. |
Check for presence of HDLCD.
EFI_SUCCESS | Returns success if platform implements a HDLCD controller. |
EFI_NOT_FOUND | HDLCD display controller not found on the platform. |
Check for presence of PL111.
EFI_SUCCESS | Returns success if platform implements a PL111 controller. |
EFI_NOT_FOUND | PL111 display controller not found the platform. |
Definition at line 234 of file ArmMaliDp.c.
EFI_STATUS LcdInitialize | ( | EFI_PHYSICAL_ADDRESS | FrameBaseAddress | ) |
Initialize display.
FrameBaseAddress | Address of the frame buffer. |
EFI_SUCCESS | Display initialization success. |
!(EFI_SUCCESS) | Display initialization failure. |
Definition at line 38 of file LcdHwNullLib.c.
EFI_STATUS LcdSetMode | ( | IN UINT32 | ModeNumber | ) |
Set requested mode of the display.
ModeNumber | Display mode number. |
EFI_SUCCESS | Display set mode success. |
EFI_DEVICE_ERROR | If mode not found/supported. |
Set requested mode of the display.
[in] | ModeNumber | Display mode number. |
EFI_SUCCESS | Display mode set successfully. |
!(EFI_SUCCESS) | Other errors. |
VOID LcdShutdown | ( | VOID | ) |
De-initializes the display.
This function de-initializes the display.
Definition at line 415 of file ArmMaliDp.c.