TianoCore EDK2 master
|
#include <Protocol/ArmScmiPerformanceProtocol.h>
Go to the source code of this file.
Data Structures | |
struct | PERF_DESCRIBE_LEVELS |
Macros | |
#define | NUM_PERF_LEVELS_MASK 0x0FFF |
#define | NUM_PERF_LEVELS(Lvls) (Lvls & NUM_PERF_LEVELS_MASK) |
#define | NUM_REMAIN_PERF_LEVELS_SHIFT 16 |
#define | NUM_REMAIN_PERF_LEVELS(Lvls) (Lvls >> NUM_REMAIN_PERF_LEVELS_SHIFT) |
Functions | |
EFI_STATUS | ScmiPerformanceProtocolInit (IN EFI_HANDLE *Handle) |
Copyright (c) 2017-2021, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
System Control and Management Interface V1.0 http://infocenter.arm.com/help/topic/com.arm.doc.den0056a/ DEN0056A_System_Control_and_Management_Interface.pdf
Definition in file ArmScmiPerformanceProtocolPrivate.h.
#define NUM_PERF_LEVELS | ( | Lvls | ) | (Lvls & NUM_PERF_LEVELS_MASK) |
Definition at line 19 of file ArmScmiPerformanceProtocolPrivate.h.
#define NUM_PERF_LEVELS_MASK 0x0FFF |
Definition at line 18 of file ArmScmiPerformanceProtocolPrivate.h.
#define NUM_REMAIN_PERF_LEVELS | ( | Lvls | ) | (Lvls >> NUM_REMAIN_PERF_LEVELS_SHIFT) |
Definition at line 23 of file ArmScmiPerformanceProtocolPrivate.h.
#define NUM_REMAIN_PERF_LEVELS_SHIFT 16 |
Definition at line 22 of file ArmScmiPerformanceProtocolPrivate.h.
EFI_STATUS ScmiPerformanceProtocolInit | ( | IN EFI_HANDLE * | Handle | ) |
Initialize performance management protocol and install on a given Handle.
[in] | Handle | Handle to install performance management protocol. |
EFI_SUCCESS | Performance protocol installed successfully. |
Definition at line 509 of file ScmiPerformanceProtocol.c.