summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/arch/arm/include/asm/fiq.h
diff options
context:
space:
mode:
authorSrikant Patnaik2015-01-11 12:28:04 +0530
committerSrikant Patnaik2015-01-11 12:28:04 +0530
commit871480933a1c28f8a9fed4c4d34d06c439a7a422 (patch)
tree8718f573808810c2a1e8cb8fb6ac469093ca2784 /ANDROID_3.4.5/arch/arm/include/asm/fiq.h
parent9d40ac5867b9aefe0722bc1f110b965ff294d30d (diff)
downloadFOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.gz
FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.bz2
FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.zip
Moved, renamed, and deleted files
The original directory structure was scattered and unorganized. Changes are basically to make it look like kernel structure.
Diffstat (limited to 'ANDROID_3.4.5/arch/arm/include/asm/fiq.h')
-rw-r--r--ANDROID_3.4.5/arch/arm/include/asm/fiq.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/ANDROID_3.4.5/arch/arm/include/asm/fiq.h b/ANDROID_3.4.5/arch/arm/include/asm/fiq.h
deleted file mode 100644
index d493d0b7..00000000
--- a/ANDROID_3.4.5/arch/arm/include/asm/fiq.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * arch/arm/include/asm/fiq.h
- *
- * Support for FIQ on ARM architectures.
- * Written by Philip Blundell <philb@gnu.org>, 1998
- * Re-written by Russell King
- *
- * NOTE: The FIQ mode registers are not magically preserved across
- * suspend/resume.
- *
- * Drivers which require these registers to be preserved across power
- * management operations must implement appropriate suspend/resume handlers to
- * save and restore them.
- */
-
-#ifndef __ASM_FIQ_H
-#define __ASM_FIQ_H
-
-#include <asm/ptrace.h>
-
-struct fiq_handler {
- struct fiq_handler *next;
- /* Name
- */
- const char *name;
- /* Called to ask driver to relinquish/
- * reacquire FIQ
- * return zero to accept, or -<errno>
- */
- int (*fiq_op)(void *, int relinquish);
- /* data for the relinquish/reacquire functions
- */
- void *dev_id;
-};
-
-extern int claim_fiq(struct fiq_handler *f);
-extern void release_fiq(struct fiq_handler *f);
-extern void set_fiq_handler(void *start, unsigned int length);
-extern void enable_fiq(int fiq);
-extern void disable_fiq(int fiq);
-
-/* helpers defined in fiqasm.S: */
-extern void __set_fiq_regs(unsigned long const *regs);
-extern void __get_fiq_regs(unsigned long *regs);
-
-static inline void set_fiq_regs(struct pt_regs const *regs)
-{
- __set_fiq_regs(&regs->ARM_r8);
-}
-
-static inline void get_fiq_regs(struct pt_regs *regs)
-{
- __get_fiq_regs(&regs->ARM_r8);
-}
-
-#endif