Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
base.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 EPAM Systems
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef DRIVERS_ARM_SCMI_BASE_H_
8#define DRIVERS_ARM_SCMI_BASE_H_
9
15
17
24
26#define SCMI_BASE_PROTOCOL_SUPPORTED_VERSION 0x20001
27
29#define SCMI_BASE_AGENT_ID_OWN 0xFFFFFFFF
30
50
65
73
82int scmi_base_discover_agent(uint32_t agent_id, struct scmi_agent_info *agent_inf);
83
92int scmi_base_device_permission(uint32_t agent_id, uint32_t device_id, bool allow);
93
101int scmi_base_reset_agent_cfg(uint32_t agent_id, bool reset_perm);
102
106
107#endif /* DRIVERS_ARM_SCMI_BASE_H_ */
Header file for the SCMI (System Control and Management Interface) driver API.
int scmi_base_reset_agent_cfg(uint32_t agent_id, bool reset_perm)
SCMI base protocol reset platform resource settings that were configured by an agent.
int scmi_base_get_revision_info(struct scmi_revision_info *rev)
SCMI base protocol get revision information.
int scmi_base_device_permission(uint32_t agent_id, uint32_t device_id, bool allow)
SCMI base protocol set an agent permissions to access devices.
int scmi_base_discover_agent(uint32_t agent_id, struct scmi_agent_info *agent_inf)
SCMI base protocol discover the name of an agent and agent id.
#define SCMI_SHORT_NAME_MAX_SIZE
Maximum size of strings to describe SCMI names, including NUL terminator.
Definition protocol.h:29
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
SCMI base protocol agent info.
Definition base.h:59
uint32_t agent_id
Identifier for the agent.
Definition base.h:61
char name[16]
Null terminated ASCII string of up to 16 bytes in length.
Definition base.h:63
SCMI base protocol revision information.
Definition base.h:34
uint16_t major_ver
Major ABI version.
Definition base.h:36
char sub_vendor_id[16]
A sub-vendor identifier.
Definition base.h:48
uint8_t num_agents
Number of agents in the system.
Definition base.h:42
uint32_t impl_ver
A vendor-specific implementation version.
Definition base.h:44
uint16_t minor_ver
Minor ABI version.
Definition base.h:38
uint8_t num_protocols
Number of protocols that are implemented, excluding the base protocol.
Definition base.h:40
char vendor_id[16]
A vendor identifier.
Definition base.h:46