forked from Qortal/Brooklyn
a94b3d14aa
Changes included (and more): 1. Dynamic RAM merge 2. Real-time page scan and allocation 3. Cache compression 4. Real-time IRQ checks 5. Dynamic I/O allocation for Java heap 6. Java page migration 7. Contiguous memory allocation 8. Idle pages tracking 9. Per CPU RAM usage tracking 10. ARM NEON scalar multiplication library 11. NEON/ARMv8 crypto extensions 12. NEON SHA, Blake, RIPEMD crypto extensions 13. Parallel NEON crypto engine for multi-algo based CPU stress reduction
32 lines
672 B
C
32 lines
672 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef __CPUIDLE_PSCI_H
|
|
#define __CPUIDLE_PSCI_H
|
|
|
|
struct device;
|
|
struct device_node;
|
|
|
|
void psci_set_domain_state(u32 state);
|
|
int psci_dt_parse_state_node(struct device_node *np, u32 *state);
|
|
|
|
#ifdef CONFIG_ARM_PSCI_CPUIDLE_DOMAIN
|
|
|
|
#include "dt_idle_genpd.h"
|
|
|
|
static inline struct device *psci_dt_attach_cpu(int cpu)
|
|
{
|
|
return dt_idle_attach_cpu(cpu, "psci");
|
|
}
|
|
|
|
static inline void psci_dt_detach_cpu(struct device *dev)
|
|
{
|
|
dt_idle_detach_cpu(dev);
|
|
}
|
|
|
|
#else
|
|
static inline struct device *psci_dt_attach_cpu(int cpu) { return NULL; }
|
|
static inline void psci_dt_detach_cpu(struct device *dev) { }
|
|
#endif
|
|
|
|
#endif /* __CPUIDLE_PSCI_H */
|