Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ili9320.c File Reference
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/lcd.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/spi/spi.h>
#include <video/ili9320.h>
#include "ili9320.h"

Go to the source code of this file.

Macros

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

Functions

int ili9320_write (struct ili9320 *ili, unsigned int reg, unsigned int value)
 
 EXPORT_SYMBOL_GPL (ili9320_write)
 
int ili9320_write_regs (struct ili9320 *ili, struct ili9320_reg *values, int nr_values)
 
 EXPORT_SYMBOL_GPL (ili9320_write_regs)
 
int __devinit ili9320_probe_spi (struct spi_device *spi, struct ili9320_client *client)
 
 EXPORT_SYMBOL_GPL (ili9320_probe_spi)
 
int ili9320_remove (struct ili9320 *ili)
 
 EXPORT_SYMBOL_GPL (ili9320_remove)
 
void ili9320_shutdown (struct ili9320 *lcd)
 
 EXPORT_SYMBOL_GPL (ili9320_shutdown)
 
 MODULE_AUTHOR ("Ben Dooks <[email protected]>")
 
 MODULE_DESCRIPTION ("ILI9320 LCD Driver")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

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

Definition at line 129 of file ili9320.c.

Function Documentation

EXPORT_SYMBOL_GPL ( ili9320_write  )
EXPORT_SYMBOL_GPL ( ili9320_write_regs  )
EXPORT_SYMBOL_GPL ( ili9320_probe_spi  )
EXPORT_SYMBOL_GPL ( ili9320_remove  )
EXPORT_SYMBOL_GPL ( ili9320_shutdown  )
int __devinit ili9320_probe_spi ( struct spi_device spi,
struct ili9320_client client 
)

Definition at line 200 of file ili9320.c.

int ili9320_remove ( struct ili9320 ili)

Definition at line 266 of file ili9320.c.

void ili9320_shutdown ( struct ili9320 lcd)

Definition at line 317 of file ili9320.c.

int ili9320_write ( struct ili9320 ili,
unsigned int  reg,
unsigned int  value 
)

Definition at line 54 of file ili9320.c.

int ili9320_write_regs ( struct ili9320 ili,
struct ili9320_reg values,
int  nr_values 
)

Definition at line 62 of file ili9320.c.

MODULE_AUTHOR ( "Ben Dooks <[email protected]>"  )
MODULE_DESCRIPTION ( "ILI9320 LCD Driver"  )
MODULE_LICENSE ( "GPL v2 )