commit d1edce71135cc6d98c0a4b5729774542b676e769 Author: sophgo-forum-service <forum_service@sophgo.com> Date: Fri Mar 15 16:07:33 2024 +0800 [fix] recommend using ssh method to clone repo. [fix] fix sensor driver repo branch name.
21 lines
540 B
C
21 lines
540 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
|
|
struct device *psci_dt_attach_cpu(int cpu);
|
|
void psci_dt_detach_cpu(struct device *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 */
|