sleep.h (bd89bb78f35fd175db7a9cfc504d789b6ca0f7b0) sleep.h (05ccf19602cc16fc96401b4f2617d1b8e20e642d)
1/*
2 * Copyright (c) 2010-2013, NVIDIA Corporation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT

--- 116 unchanged lines hidden (view full) ---

125void tegra_pen_unlock(void);
126void tegra_resume(void);
127int tegra_sleep_cpu_finish(unsigned long);
128void tegra_disable_clean_inv_dcache(u32 flag);
129
130#ifdef CONFIG_HOTPLUG_CPU
131void tegra20_hotplug_shutdown(void);
132void tegra30_hotplug_shutdown(void);
1/*
2 * Copyright (c) 2010-2013, NVIDIA Corporation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT

--- 116 unchanged lines hidden (view full) ---

125void tegra_pen_unlock(void);
126void tegra_resume(void);
127int tegra_sleep_cpu_finish(unsigned long);
128void tegra_disable_clean_inv_dcache(u32 flag);
129
130#ifdef CONFIG_HOTPLUG_CPU
131void tegra20_hotplug_shutdown(void);
132void tegra30_hotplug_shutdown(void);
133void tegra_hotplug_init(void);
134#else
135static inline void tegra_hotplug_init(void) {}
136#endif
137
138void tegra20_cpu_shutdown(int cpu);
139int tegra20_cpu_is_resettable_soon(void);
140void tegra20_cpu_clear_resettable(void);
141#ifdef CONFIG_ARCH_TEGRA_2x_SOC
142void tegra20_cpu_set_resettable_soon(void);
143#else
144static inline void tegra20_cpu_set_resettable_soon(void) {}
145#endif
146
147int tegra20_sleep_cpu_secondary_finish(unsigned long);
148void tegra20_tear_down_cpu(void);
149int tegra30_sleep_cpu_secondary_finish(unsigned long);
150void tegra30_tear_down_cpu(void);
151
152#endif
153#endif
133#endif
134
135void tegra20_cpu_shutdown(int cpu);
136int tegra20_cpu_is_resettable_soon(void);
137void tegra20_cpu_clear_resettable(void);
138#ifdef CONFIG_ARCH_TEGRA_2x_SOC
139void tegra20_cpu_set_resettable_soon(void);
140#else
141static inline void tegra20_cpu_set_resettable_soon(void) {}
142#endif
143
144int tegra20_sleep_cpu_secondary_finish(unsigned long);
145void tegra20_tear_down_cpu(void);
146int tegra30_sleep_cpu_secondary_finish(unsigned long);
147void tegra30_tear_down_cpu(void);
148
149#endif
150#endif