Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ld9040.c File Reference
#include <linux/wait.h>
#include <linux/fb.h>
#include <linux/delay.h>
#include <linux/gpio.h>
#include <linux/spi/spi.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/lcd.h>
#include <linux/backlight.h>
#include <linux/module.h>
#include <linux/regulator/consumer.h>
#include "ld9040_gamma.h"

Go to the source code of this file.

Data Structures

struct  ld9040
 

Macros

#define SLEEPMSEC   0x1000
 
#define ENDDEF   0x2000
 
#define DEFMASK   0xFF00
 
#define COMMAND_ONLY   0xFE
 
#define DATA_ONLY   0xFF
 
#define MIN_BRIGHTNESS   0
 
#define MAX_BRIGHTNESS   24
 
#define power_is_on(pwr)   ((pwr) <= FB_BLANK_NORMAL)
 
#define ld9040_suspend   NULL
 
#define ld9040_resume   NULL
 

Functions

 module_spi_driver (ld9040_driver)
 
 MODULE_AUTHOR ("Donghwa Lee <[email protected]>")
 
 MODULE_DESCRIPTION ("ld9040 LCD Driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define COMMAND_ONLY   0xFE

Definition at line 41 of file ld9040.c.

#define DATA_ONLY   0xFF

Definition at line 42 of file ld9040.c.

#define DEFMASK   0xFF00

Definition at line 40 of file ld9040.c.

#define ENDDEF   0x2000

Definition at line 39 of file ld9040.c.

#define ld9040_resume   NULL

Definition at line 833 of file ld9040.c.

#define ld9040_suspend   NULL

Definition at line 832 of file ld9040.c.

#define MAX_BRIGHTNESS   24

Definition at line 45 of file ld9040.c.

#define MIN_BRIGHTNESS   0

Definition at line 44 of file ld9040.c.

#define power_is_on (   pwr)    ((pwr) <= FB_BLANK_NORMAL)

Definition at line 46 of file ld9040.c.

#define SLEEPMSEC   0x1000

Definition at line 38 of file ld9040.c.

Function Documentation

MODULE_AUTHOR ( "Donghwa Lee <[email protected]>"  )
MODULE_DESCRIPTION ( "ld9040 LCD Driver"  )
MODULE_LICENSE ( "GPL"  )
module_spi_driver ( ld9040_driver  )