Go to the source code of this file.
|
enum | MTL_CHANNEL_TYPE { MTL_CHANNEL_TYPE_LOW = 0
, MTL_CHANNEL_TYPE_HIGH = 1
} |
|
Copyright (c) 2017-2018, 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 ArmMtlLib.h.
◆ MTL_CHANNEL_TYPE
◆ MtlGetChannel()
Return pointer to a channel for the requested channel type.
- Parameters
-
[in] | ChannelType | ChannelType, Low or High priority channel. MTL_CHANNEL_TYPE_LOW or MTL_CHANNEL_TYPE_HIGH |
[out] | Channel | Holds pointer to the channel. |
- Return values
-
EFI_SUCCESS | Pointer to channel is returned. |
EFI_UNSUPPORTED | Requested channel type not supported. |
Return pointer to a channel for the requested channel type.
- Parameters
-
[in] | ChannelType | ChannelType, Low or High priority channel. MTL_CHANNEL_TYPE_LOW or MTL_CHANNEL_TYPE_HIGH |
[out] | Channel | Holds pointer to the channel. |
- Return values
-
EFI_UNSUPPORTED | Requested channel type not supported or interface not implemented. |
Definition at line 58 of file ArmMtlNullLib.c.
◆ MtlGetChannelPayload()
Return the address of the message payload.
- Parameters
-
[in] | Channel | Pointer to a channel. |
- Return values
-
UINT32* | Pointer to the payload. |
Definition at line 38 of file ArmMtlNullLib.c.
◆ MtlReceiveMessage()
Wait for a response on a channel.
If channel is free after sending message, it implies SCP responded with a response on the channel.
- Parameters
-
[in] | Channel | Pointer to a channel. |
- Return values
-
EFI_SUCCESS | Message received successfully. |
EFI_TIMEOUT | Time out error. |
Wait for a response on a channel.
If channel is free after sending message, it implies SCP responded with a response on the channel.
- Parameters
-
[in] | Channel | Pointer to a channel. |
- Return values
-
EFI_UNSUPPORTED | Interface not implemented. |
Definition at line 95 of file ArmMtlNullLib.c.
◆ MtlSendMessage()
Mark the channel busy and ring the doorbell.
- Parameters
-
[in] | Channel | Pointer to a channel. |
[in] | MessageHeader | Message header. |
[out] | PayloadLength | Message length. |
- Return values
-
EFI_SUCCESS | Message sent successfully. |
EFI_DEVICE_ERROR | Channel is busy. |
Mark the channel busy and ring the doorbell.
- Parameters
-
[in] | Channel | Pointer to a channel. |
[in] | MessageHeader | Message header. |
[out] | PayloadLength | Message length. |
- Return values
-
EFI_UNSUPPORTED | Interface not implemented. |
Definition at line 76 of file ArmMtlNullLib.c.
◆ MtlWaitUntilChannelFree()
Wait until channel is free.
- Parameters
-
[in] | Channel | Pointer to a channel. |
[in] | TimeOutInMicroSeconds | Time out in micro seconds. |
- Return values
-
EFI_SUCCESS | Channel is free. |
EFI_TIMEOUT | Time out error. |
Wait until channel is free.
- Parameters
-
[in] | Channel | Pointer to a channel. |
[in] | TimeOutInMicroSeconds | Timeout in micro seconds. |
- Return values
-
EFI_UNSUPPORTED | Interface not implemented. |
Definition at line 23 of file ArmMtlNullLib.c.