| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * 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 |
|---|
| 9 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|---|
| 10 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
|---|
| 11 | | - * more details. |
|---|
| 12 | | - * |
|---|
| 13 | | - * You should have received a copy of the GNU General Public License |
|---|
| 14 | | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|---|
| 15 | 4 | */ |
|---|
| 16 | 5 | |
|---|
| 17 | 6 | #ifndef __MACH_TEGRA_SLEEP_H |
|---|
| .. | .. |
|---|
| 125 | 114 | .endm |
|---|
| 126 | 115 | |
|---|
| 127 | 116 | #else |
|---|
| 128 | | -void tegra_pen_lock(void); |
|---|
| 129 | | -void tegra_pen_unlock(void); |
|---|
| 130 | 117 | void tegra_resume(void); |
|---|
| 131 | 118 | int tegra_sleep_cpu_finish(unsigned long); |
|---|
| 132 | 119 | void tegra_disable_clean_inv_dcache(u32 flag); |
|---|
| 133 | 120 | |
|---|
| 134 | | -#ifdef CONFIG_HOTPLUG_CPU |
|---|
| 135 | 121 | void tegra20_hotplug_shutdown(void); |
|---|
| 136 | 122 | void tegra30_hotplug_shutdown(void); |
|---|
| 137 | | -#endif |
|---|
| 138 | 123 | |
|---|
| 139 | | -void tegra20_cpu_shutdown(int cpu); |
|---|
| 140 | | -int tegra20_cpu_is_resettable_soon(void); |
|---|
| 141 | | -void tegra20_cpu_clear_resettable(void); |
|---|
| 142 | | -#ifdef CONFIG_ARCH_TEGRA_2x_SOC |
|---|
| 143 | | -void tegra20_cpu_set_resettable_soon(void); |
|---|
| 144 | | -#else |
|---|
| 145 | | -static inline void tegra20_cpu_set_resettable_soon(void) {} |
|---|
| 146 | | -#endif |
|---|
| 147 | | - |
|---|
| 148 | | -int tegra20_sleep_cpu_secondary_finish(unsigned long); |
|---|
| 149 | 124 | void tegra20_tear_down_cpu(void); |
|---|
| 150 | | -int tegra30_sleep_cpu_secondary_finish(unsigned long); |
|---|
| 151 | 125 | void tegra30_tear_down_cpu(void); |
|---|
| 152 | 126 | |
|---|
| 153 | 127 | #endif |
|---|