Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: GPL-2.0 */
2
3#ifndef __CPUIDLE_PSCI_H
4#define __CPUIDLE_PSCI_H
5
6struct device_node;
7
8void psci_set_domain_state(u32 state);
9int __init psci_dt_parse_state_node(struct device_node *np, u32 *state);
10
11#ifdef CONFIG_PM_GENERIC_DOMAINS_OF
12struct device __init *psci_dt_attach_cpu(int cpu);
13#else
14static inline struct device __init *psci_dt_attach_cpu(int cpu) { return NULL; }
15#endif
16
17#endif /* __CPUIDLE_PSCI_H */