~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/mach-s3c/pm-common.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0 */
  2 /*
  3  * Copyright (C) 2013 Samsung Electronics Co., Ltd.
  4  *      Tomasz Figa <t.figa@samsung.com>
  5  * Copyright (c) 2004 Simtec Electronics
  6  *      http://armlinux.simtec.co.uk/
  7  *      Written by Ben Dooks, <ben@simtec.co.uk>
  8  */
  9 
 10 #ifndef __PLAT_SAMSUNG_PM_COMMON_H
 11 #define __PLAT_SAMSUNG_PM_COMMON_H __FILE__
 12 
 13 #include <linux/irq.h>
 14 #include <linux/soc/samsung/s3c-pm.h>
 15 
 16 /* sleep save info */
 17 
 18 /**
 19  * struct sleep_save - save information for shared peripherals.
 20  * @reg: Pointer to the register to save.
 21  * @val: Holder for the value saved from reg.
 22  *
 23  * This describes a list of registers which is used by the pm core and
 24  * other subsystem to save and restore register values over suspend.
 25  */
 26 struct sleep_save {
 27         void __iomem    *reg;
 28         unsigned long   val;
 29 };
 30 
 31 #define SAVE_ITEM(x) \
 32         { .reg = (x) }
 33 
 34 /* helper functions to save/restore lists of registers. */
 35 
 36 extern void s3c_pm_do_save(struct sleep_save *ptr, int count);
 37 extern void s3c_pm_do_restore(const struct sleep_save *ptr, int count);
 38 extern void s3c_pm_do_restore_core(const struct sleep_save *ptr, int count);
 39 
 40 #endif
 41 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php