7#ifndef ZEPHYR_INCLUDE_DRIVERS_PM_CPU_OPS_PSCI_H_
8#define ZEPHYR_INCLUDE_DRIVERS_PM_CPU_OPS_PSCI_H_
20#define PSCI_VERSION_MAJOR_SHIFT 16
21#define PSCI_VERSION_MINOR_MASK \
22 ((1U << PSCI_VERSION_MAJOR_SHIFT) - 1)
23#define PSCI_VERSION_MAJOR_MASK ~PSCI_VERSION_MINOR_MASK
25#define PSCI_VERSION_MAJOR(ver) \
26 (((ver) & PSCI_VERSION_MAJOR_MASK) >> PSCI_VERSION_MAJOR_SHIFT)
27#define PSCI_VERSION_MINOR(ver) \
28 ((ver) & PSCI_VERSION_MINOR_MASK)
uint32_t psci_version(void)
__UINT32_TYPE__ uint32_t
Definition stdint.h:90