Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
sh_keysc.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/input.h>
#include <linux/input/sh_keysc.h>
#include <linux/bitmap.h>
#include <linux/pm_runtime.h>
#include <linux/io.h>
#include <linux/slab.h>

Go to the source code of this file.

Data Structures

struct  sh_keysc_priv
 

Macros

#define KYCR1   0
 
#define KYCR2   1
 
#define KYINDR   2
 
#define KYOUTDR   3
 
#define KYCR2_IRQ_LEVEL   0x10
 
#define KYCR2_IRQ_DISABLED   0x00
 

Functions

 module_platform_driver (sh_keysc_device_driver)
 
 MODULE_AUTHOR ("Magnus Damm")
 
 MODULE_DESCRIPTION ("SuperH KEYSC Keypad Driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define KYCR1   0

Definition at line 45 of file sh_keysc.c.

#define KYCR2   1

Definition at line 46 of file sh_keysc.c.

#define KYCR2_IRQ_DISABLED   0x00

Definition at line 51 of file sh_keysc.c.

#define KYCR2_IRQ_LEVEL   0x10

Definition at line 50 of file sh_keysc.c.

#define KYINDR   2

Definition at line 47 of file sh_keysc.c.

#define KYOUTDR   3

Definition at line 48 of file sh_keysc.c.

Function Documentation

MODULE_AUTHOR ( "Magnus Damm"  )
MODULE_DESCRIPTION ( "SuperH KEYSC Keypad Driver"  )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( sh_keysc_device_driver  )

Variable Documentation

unsigned char keyin

Definition at line 28 of file sh_keysc.c.

unsigned char keyout

Definition at line 28 of file sh_keysc.c.

unsigned char kymd

Definition at line 28 of file sh_keysc.c.