Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
keypad-nomadik-ske.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) ST-Ericsson SA 2010
3  *
4  * License Terms: GNU General Public License v2
5  * Author: Naveen Kumar Gaddipati <[email protected]>
6  *
7  * ux500 Scroll key and Keypad Encoder (SKE) header
8  */
9 
10 #ifndef __SKE_H
11 #define __SKE_H
12 
14 
15 /* register definitions for SKE peripheral */
16 #define SKE_CR 0x00
17 #define SKE_VAL0 0x04
18 #define SKE_VAL1 0x08
19 #define SKE_DBCR 0x0C
20 #define SKE_IMSC 0x10
21 #define SKE_RIS 0x14
22 #define SKE_MIS 0x18
23 #define SKE_ICR 0x1C
24 
25 /*
26  * Keypad module
27  */
28 
41  int (*init)(void);
42  int (*exit)(void);
49 };
50 #endif /*__SKE_KPD_H*/