TianoCore EDK2 master
Loading...
Searching...
No Matches
PL111Lcd.c File Reference

Go to the source code of this file.

Functions

EFI_STATUS LcdIdentify (VOID)
 
EFI_STATUS LcdInitialize (IN EFI_PHYSICAL_ADDRESS VramBaseAddress)
 
EFI_STATUS LcdSetMode (IN UINT32 ModeNumber)
 
VOID LcdShutdown (VOID)
 

Detailed Description

This file contains the platform independent parts of PL111Lcd

Copyright (c) 2011-2018, ARM Ltd. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file PL111Lcd.c.

Function Documentation

◆ LcdIdentify()

EFI_STATUS LcdIdentify ( VOID  )

Check for presence of PL111.

Return values
EFI_SUCCESSReturns success if platform implements a PL111 controller.
EFI_NOT_FOUNDPL111 display controller not found the platform.

Definition at line 25 of file PL111Lcd.c.

◆ LcdInitialize()

EFI_STATUS LcdInitialize ( IN EFI_PHYSICAL_ADDRESS  VramBaseAddress)

Initialize display.

Parameters
[in]VramBaseAddressAddress of the framebuffer.
Return values
EFI_SUCCESSInitialization of display successful.

Definition at line 58 of file PL111Lcd.c.

◆ LcdSetMode()

EFI_STATUS LcdSetMode ( IN UINT32  ModeNumber)

Set requested mode of the display.

Parameters
[in]ModeNumberDisplay mode number.
Return values
EFI_SUCCESSDisplay mode set successfully.
!(EFI_SUCCESS)Other errors.

Definition at line 80 of file PL111Lcd.c.

◆ LcdShutdown()

VOID LcdShutdown ( VOID  )

De-initializes the display.

Definition at line 165 of file PL111Lcd.c.