Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cfag12864b.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/cdev.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/jiffies.h>
#include <linux/mutex.h>
#include <linux/uaccess.h>
#include <linux/vmalloc.h>
#include <linux/workqueue.h>
#include <linux/ks0108.h>
#include <linux/cfag12864b.h>

Go to the source code of this file.

Macros

#define CFAG12864B_NAME   "cfag12864b"
 
#define bit(n)   (((unsigned char)1)<<(n))
 
#define CFAG12864B_BIT_E   (0)
 
#define CFAG12864B_BIT_CS1   (2)
 
#define CFAG12864B_BIT_CS2   (1)
 
#define CFAG12864B_BIT_DI   (3)
 

Functions

 module_param (cfag12864b_rate, uint, S_IRUGO)
 
 MODULE_PARM_DESC (cfag12864b_rate,"Refresh rate (hertz)")
 
unsigned int cfag12864b_getrate (void)
 
unsigned char cfag12864b_enable (void)
 
void cfag12864b_disable (void)
 
unsigned char cfag12864b_isenabled (void)
 
 EXPORT_SYMBOL_GPL (cfag12864b_buffer)
 
 EXPORT_SYMBOL_GPL (cfag12864b_getrate)
 
 EXPORT_SYMBOL_GPL (cfag12864b_enable)
 
 EXPORT_SYMBOL_GPL (cfag12864b_disable)
 
 EXPORT_SYMBOL_GPL (cfag12864b_isenabled)
 
unsigned char cfag12864b_isinited (void)
 
 EXPORT_SYMBOL_GPL (cfag12864b_isinited)
 
 module_init (cfag12864b_init)
 
 module_exit (cfag12864b_exit)
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_AUTHOR ("Miguel Ojeda Sandonis <[email protected]>")
 
 MODULE_DESCRIPTION ("cfag12864b LCD driver")
 

Variables

unsigned charcfag12864b_buffer
 

Macro Definition Documentation

#define bit (   n)    (((unsigned char)1)<<(n))

Definition at line 78 of file cfag12864b.c.

#define CFAG12864B_BIT_CS1   (2)

Definition at line 81 of file cfag12864b.c.

#define CFAG12864B_BIT_CS2   (1)

Definition at line 82 of file cfag12864b.c.

#define CFAG12864B_BIT_DI   (3)

Definition at line 83 of file cfag12864b.c.

#define CFAG12864B_BIT_E   (0)

Definition at line 80 of file cfag12864b.c.

#define CFAG12864B_NAME   "cfag12864b"

Definition at line 43 of file cfag12864b.c.

Function Documentation

void cfag12864b_disable ( void  )

Definition at line 253 of file cfag12864b.c.

unsigned char cfag12864b_enable ( void  )

Definition at line 235 of file cfag12864b.c.

unsigned int cfag12864b_getrate ( void  )

Definition at line 54 of file cfag12864b.c.

unsigned char cfag12864b_isenabled ( void  )

Definition at line 266 of file cfag12864b.c.

unsigned char cfag12864b_isinited ( void  )

Definition at line 320 of file cfag12864b.c.

EXPORT_SYMBOL_GPL ( cfag12864b_buffer  )
EXPORT_SYMBOL_GPL ( cfag12864b_getrate  )
EXPORT_SYMBOL_GPL ( cfag12864b_enable  )
EXPORT_SYMBOL_GPL ( cfag12864b_disable  )
EXPORT_SYMBOL_GPL ( cfag12864b_isenabled  )
EXPORT_SYMBOL_GPL ( cfag12864b_isinited  )
MODULE_AUTHOR ( "Miguel Ojeda Sandonis <[email protected]>"  )
MODULE_DESCRIPTION ( "cfag12864b LCD driver )
module_exit ( cfag12864b_exit  )
module_init ( cfag12864b_init  )
MODULE_LICENSE ( "GPL v2 )
module_param ( cfag12864b_rate  ,
uint  ,
S_IRUGO   
)
MODULE_PARM_DESC ( cfag12864b_rate  ,
"Refresh rate (hertz)"   
)

Variable Documentation

unsigned char* cfag12864b_buffer

Definition at line 221 of file cfag12864b.c.