Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
 4.1.99
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
cpu.h
Go to the documentation of this file.
1/*
2 * Copyright 2025 NXP
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12#ifndef _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_CPU_H_
13#define _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_CPU_H_
14
16#if __has_include("scmi_cpu_soc.h")
17#include <scmi_cpu_soc.h>
18#endif
19
20#define SCMI_CPU_SLEEP_FLAG_IRQ_MUX 0x1U
21
22#define SCMI_PROTOCOL_CPU_DOMAIN 130
23
35
55
66
67#endif /* _INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_SCMI_CPU_H_ */
scmi_cpu_domain_message
CPU domain protocol command message IDs.
Definition cpu.h:39
@ SCMI_CPU_DOMAIN_MSG_CPU_PD_LPM_CONFIG_SET
Definition cpu.h:50
@ SCMI_CPU_DOMAIN_MSG_PROTOCOL_ATTRIBUTES
Definition cpu.h:41
@ SCMI_CPU_DOMAIN_MSG_CPU_START
Definition cpu.h:44
@ SCMI_CPU_DOMAIN_MSG_CPU_STOP
Definition cpu.h:45
@ SCMI_CPU_DOMAIN_MSG_CPU_IRQ_WAKE_SET
Definition cpu.h:48
@ SCMI_CPU_DOMAIN_MSG_PROTOCOL_VERSION
Definition cpu.h:40
@ SCMI_CPU_DOMAIN_MSG_CPU_DOMAIN_ATTRIBUTES
Definition cpu.h:43
@ SCMI_CPU_DOMAIN_MSG_CPU_SLEEP_MODE_SET
Definition cpu.h:47
@ SCMI_CPU_DOMAIN_MSG_CPU_NON_IRQ_WAKE_SET
Definition cpu.h:49
@ SCMI_CPU_DOMAIN_MSG_NEGOTIATE_PROTOCOL_VERSION
Definition cpu.h:53
@ SCMI_CPU_DOMAIN_MSG_CPU_PER_LPM_CONFIG_SET
Definition cpu.h:51
@ SCMI_CPU_DOMAIN_MSG_CPU_INFO_GET
Definition cpu.h:52
@ SCMI_CPU_DOMAIN_MSG_CPU_RESET_VECTOR_SET
Definition cpu.h:46
@ SCMI_CPU_DOMAIN_MSG_PROTOCOL_MESSAGE_ATTRIBUTES
Definition cpu.h:42
int scmi_cpu_sleep_mode_set(struct scmi_cpu_sleep_mode_config *cfg)
Send the CPU_SLEEP_MODE_SET command and get its reply.
SCMI protocol generic functions and structures.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Describes the parameters for the CPU_STATE_SET command.
Definition cpu.h:30
uint32_t sleep_mode
Definition cpu.h:33
uint32_t flags
Definition cpu.h:32
uint32_t cpu_id
Definition cpu.h:31