TianoCore EDK2 master
Loading...
Searching...
No Matches
ArmScmiPerformanceProtocolPrivate.h File Reference

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)
 

Detailed Description

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.

Macro Definition Documentation

◆ NUM_PERF_LEVELS

#define NUM_PERF_LEVELS (   Lvls)    (Lvls & NUM_PERF_LEVELS_MASK)

Definition at line 19 of file ArmScmiPerformanceProtocolPrivate.h.

◆ NUM_PERF_LEVELS_MASK

#define NUM_PERF_LEVELS_MASK   0x0FFF

Definition at line 18 of file ArmScmiPerformanceProtocolPrivate.h.

◆ NUM_REMAIN_PERF_LEVELS

#define NUM_REMAIN_PERF_LEVELS (   Lvls)    (Lvls >> NUM_REMAIN_PERF_LEVELS_SHIFT)

Definition at line 23 of file ArmScmiPerformanceProtocolPrivate.h.

◆ NUM_REMAIN_PERF_LEVELS_SHIFT

#define NUM_REMAIN_PERF_LEVELS_SHIFT   16

Definition at line 22 of file ArmScmiPerformanceProtocolPrivate.h.

Function Documentation

◆ ScmiPerformanceProtocolInit()

EFI_STATUS ScmiPerformanceProtocolInit ( IN EFI_HANDLE Handle)

Initialize performance management protocol and install on a given Handle.

Parameters
[in]HandleHandle to install performance management protocol.
Return values
EFI_SUCCESSPerformance protocol installed successfully.

Definition at line 509 of file ScmiPerformanceProtocol.c.