|
Linux Kernel
3.7.1
|
#include <linux/irq.h>Go to the source code of this file.
Data Structures | |
| struct | sleep_save |
| struct | pm_uart_save |
Macros | |
| #define | SAVE_ITEM(x) { .reg = (x) } |
| #define | s3c_irqext_wake NULL |
| #define | s3c24xx_irq_suspend NULL |
| #define | s3c24xx_irq_resume NULL |
| #define | S3C_PMDBG(fmt...) printk(KERN_DEBUG fmt) |
| #define | s3c_pm_check_prepare() do { } while(0) |
| #define | s3c_pm_check_restore() do { } while(0) |
| #define | s3c_pm_check_cleanup() do { } while(0) |
| #define | s3c_pm_check_store() do { } while(0) |
Functions | |
| void | s3c_cpu_resume (void) |
| int | s3c2410_cpu_suspend (unsigned long) |
| void | s3c_pm_do_save (struct sleep_save *ptr, int count) |
| void | s3c_pm_do_restore (struct sleep_save *ptr, int count) |
| void | s3c_pm_do_restore_core (struct sleep_save *ptr, int count) |
| void | s3c_pm_configure_extint (void) |
| void | samsung_pm_restore_gpios (void) |
| void | samsung_pm_save_gpios (void) |
| void | s3c_pm_save_core (void) |
| void | s3c_pm_restore_core (void) |
Variables | |
| unsigned long | s3c_irqwake_intmask |
| unsigned long | s3c_irqwake_eintmask |
| unsigned long | s3c_irqwake_intallow |
| unsigned long | s3c_irqwake_eintallow |
| void(* | pm_cpu_prep )(void) |
| int(* | pm_cpu_sleep )(unsigned long) |
| unsigned long | s3c_pm_flags |
| unsigned char | pm_uart_udivslot |
| struct syscore_ops | s3c24xx_irq_syscore_ops |
| #define S3C_PMDBG | ( | fmt... | ) | printk(KERN_DEBUG fmt) |
| int s3c2410_cpu_suspend | ( | unsigned | long | ) |
| void s3c_pm_do_restore | ( | struct sleep_save * | ptr, |
| int | count | ||
| ) |
s3c_pm_do_restore() - restore register values from the save list. : Pointer to an array of registers. : Size of the ptr array.
Restore the register values saved from s3c_pm_do_save().
Note, we do not use S3C_PMDBG() in here, as the system may not have restore the UARTs state yet
| void s3c_pm_do_restore_core | ( | struct sleep_save * | ptr, |
| int | count | ||
| ) |
s3c_pm_do_restore_core() - early restore register values from save list.
This is similar to s3c_pm_do_restore() except we try and minimise the side effects of the function in case registers that hardware might need to work has been restored.
WARNING: Do not put any debug in here that may effect memory or use peripherals, as things may be changing!
| void s3c_pm_do_save | ( | struct sleep_save * | ptr, |
| int | count | ||
| ) |
samsung_pm_save_gpios() - save the state of the GPIOs for restoring after sleep.
Save the GPIO states for resotration on resume. See samsung_pm_restore_gpios().
samsung_pm_save_gpios() - Save the state of the GPIO banks.
For all the GPIO banks, save the state of each one ready for going into a suspend mode.
| struct syscore_ops s3c24xx_irq_syscore_ops |
1.8.2