/* * FR-V MB93093 Power Management Routines * * Copyright (c) 2004 Red Hat, Inc. * * Written by: msalter@redhat.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License. * */ #include <linux/init.h> #include <linux/pm.h> #include <linux/sched.h> #include <linux/interrupt.h> #include <linux/sysctl.h> #include <linux/errno.h> #include <linux/delay.h> #include <linux/uaccess.h> #include <asm/mb86943a.h> #include "local.h" static unsigned long imask; /* * Setup interrupt masks, etc to enable wakeup by power switch */
static void mb93093_power_switch_setup(void) { /* mask all but FPGA interrupt sources. */ imask = *(volatile unsigned long *)0xfeff9820; *(volatile unsigned long *)0xfeff9820 = ~(1 << (IRQ_XIRQ2_LEVEL + 16)) & 0xfffe0000; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 42 | 100.00% | 1 | 100.00% |
Total | 42 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 19 | 100.00% | 1 | 100.00% |
Total | 19 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 24 | 100.00% | 1 | 100.00% |
Total | 24 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
David Howells | 140 | 99.29% | 1 | 50.00% |
Linus Torvalds | 1 | 0.71% | 1 | 50.00% |
Total | 141 | 100.00% | 2 | 100.00% |