Release 4.10 arch/arm/mach-shmobile/suspend.c
/*
* Suspend-to-RAM support code for SH-Mobile ARM
*
* Copyright (C) 2011 Magnus Damm
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
#include <linux/pm.h>
#include <linux/suspend.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/cpu.h>
#include <asm/io.h>
#include <asm/system_misc.h>
#include "common.h"
static int shmobile_suspend_default_enter(suspend_state_t suspend_state)
{
cpu_do_idle();
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
magnus damm | magnus damm | 15 | 100.00% | 1 | 100.00% |
| Total | 15 | 100.00% | 1 | 100.00% |
static int shmobile_suspend_begin(suspend_state_t state)
{
cpu_idle_poll_ctrl(true);
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
magnus damm | magnus damm | 13 | 76.47% | 1 | 50.00% |
thomas gleixner | thomas gleixner | 4 | 23.53% | 1 | 50.00% |
| Total | 17 | 100.00% | 2 | 100.00% |
static void shmobile_suspend_end(void)
{
cpu_idle_poll_ctrl(false);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
magnus damm | magnus damm | 9 | 69.23% | 1 | 50.00% |
thomas gleixner | thomas gleixner | 4 | 30.77% | 1 | 50.00% |
| Total | 13 | 100.00% | 2 | 100.00% |
struct platform_suspend_ops shmobile_suspend_ops = {
.begin = shmobile_suspend_begin,
.end = shmobile_suspend_end,
.enter = shmobile_suspend_default_enter,
.valid = suspend_valid_only_mem,
};
int __init shmobile_suspend_init(void)
{
suspend_set_ops(&shmobile_suspend_ops);
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
magnus damm | magnus damm | 17 | 100.00% | 1 | 100.00% |
| Total | 17 | 100.00% | 1 | 100.00% |
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
magnus damm | magnus damm | 97 | 85.84% | 1 | 25.00% |
thomas gleixner | thomas gleixner | 11 | 9.73% | 1 | 25.00% |
geert uytterhoeven | geert uytterhoeven | 3 | 2.65% | 1 | 25.00% |
david howells | david howells | 2 | 1.77% | 1 | 25.00% |
| Total | 113 | 100.00% | 4 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.