Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
util.h File Reference

Header file for SCMI Utility Macros. More...

Go to the source code of this file.

Macros

#define SCMI_PROTOCOL_NAME(proto)
 Build protocol name from its ID.
#define DT_SCMI_TRANSPORT_CHANNELS_DECLARE(node_id)
#define DT_SCMI_PROTOCOL_DATA_DEFINE(node_id, proto, pdata)
#define DT_INST_SCMI_TRANSPORT_DEFINE(inst, pm, data, config, level, prio, api)
 Define an SCMI transport driver.
#define DT_SCMI_PROTOCOL_DEFINE(node_id, init_fn, pm, data, config, level, prio, api, version_val)
 Define an SCMI protocol.
#define DT_INST_SCMI_PROTOCOL_DEFINE(inst, init_fn, pm, data, config, level, prio, api, version)
 Just like DT_SCMI_PROTOCOL_DEFINE(), but uses an instance of a DT_DRV_COMPAT compatible instead of a node identifier.
#define DT_SCMI_PROTOCOL_DEFINE_NODEV(node_id, data, version)
 Define an SCMI protocol with no device.
#define SCMI_FIELD_MAKE(x, mask, shift)
 Create an SCMI message field.
#define SCMI_PROTOCOL_BASE   16
 SCMI protocol IDs.
#define SCMI_PROTOCOL_POWER_DOMAIN   17
#define SCMI_PROTOCOL_SYSTEM   18
#define SCMI_PROTOCOL_PERF   19
#define SCMI_PROTOCOL_CLOCK   20
#define SCMI_PROTOCOL_SENSOR   21
#define SCMI_PROTOCOL_RESET_DOMAIN   22
#define SCMI_PROTOCOL_VOLTAGE_DOMAIN   23
#define SCMI_PROTOCOL_PCAP_MONITOR   24
#define SCMI_PROTOCOL_PINCTRL   25

Detailed Description

Header file for SCMI Utility Macros.

Contains various utility macros and macros used for protocol and transport "registration".