pm34xx.c (8c0956aa76f97003e2ac96e86b00a2a4e82abf8e) pm34xx.c (69e26b4f43ed396868c6e7645f9eb06c3a0d2fee)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * OMAP3 Power Management Routines
4 *
5 * Copyright (C) 2006-2008 Nokia Corporation
6 * Tony Lindgren <tony@atomide.com>
7 * Jouni Hogander
8 *

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

170}
171
172static int omap34xx_do_sram_idle(unsigned long save_state)
173{
174 omap34xx_cpu_suspend(save_state);
175 return 0;
176}
177
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * OMAP3 Power Management Routines
4 *
5 * Copyright (C) 2006-2008 Nokia Corporation
6 * Tony Lindgren <tony@atomide.com>
7 * Jouni Hogander
8 *

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

170}
171
172static int omap34xx_do_sram_idle(unsigned long save_state)
173{
174 omap34xx_cpu_suspend(save_state);
175 return 0;
176}
177
178void omap_sram_idle(bool rcuidle)
178__cpuidle void omap_sram_idle(bool rcuidle)
179{
180 /* Variable to tell what needs to be saved and restored
181 * in omap_sram_idle*/
182 /* save_state = 0 => Nothing to save and restored */
183 /* save_state = 1 => Only L1 and logic lost */
184 /* save_state = 2 => Only L2 lost */
185 /* save_state = 3 => L1, L2 and logic lost */
186 int save_state = 0;

--- 406 unchanged lines hidden ---
179{
180 /* Variable to tell what needs to be saved and restored
181 * in omap_sram_idle*/
182 /* save_state = 0 => Nothing to save and restored */
183 /* save_state = 1 => Only L1 and logic lost */
184 /* save_state = 2 => Only L2 lost */
185 /* save_state = 3 => L1, L2 and logic lost */
186 int save_state = 0;

--- 406 unchanged lines hidden ---