#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"
static inline int ili9320_write_spi(struct ili9320 *ili,
unsigned int reg,
unsigned int value)
{ … }
int ili9320_write(struct ili9320 *ili, unsigned int reg, unsigned int value)
{ … }
EXPORT_SYMBOL_GPL(…);
int ili9320_write_regs(struct ili9320 *ili,
const struct ili9320_reg *values,
int nr_values)
{ … }
EXPORT_SYMBOL_GPL(…);
static void ili9320_reset(struct ili9320 *lcd)
{ … }
static inline int ili9320_init_chip(struct ili9320 *lcd)
{ … }
static inline int ili9320_power_on(struct ili9320 *lcd)
{ … }
static inline int ili9320_power_off(struct ili9320 *lcd)
{ … }
#define POWER_IS_ON(pwr) …
static int ili9320_power(struct ili9320 *lcd, int power)
{ … }
static inline struct ili9320 *to_our_lcd(struct lcd_device *lcd)
{ … }
static int ili9320_set_power(struct lcd_device *ld, int power)
{ … }
static int ili9320_get_power(struct lcd_device *ld)
{ … }
static const struct lcd_ops ili9320_ops = …;
static void ili9320_setup_spi(struct ili9320 *ili,
struct spi_device *dev)
{ … }
int ili9320_probe_spi(struct spi_device *spi,
struct ili9320_client *client)
{ … }
EXPORT_SYMBOL_GPL(…);
void ili9320_remove(struct ili9320 *ili)
{ … }
EXPORT_SYMBOL_GPL(…);
#ifdef CONFIG_PM_SLEEP
int ili9320_suspend(struct ili9320 *lcd)
{ … }
EXPORT_SYMBOL_GPL(…);
int ili9320_resume(struct ili9320 *lcd)
{ … }
EXPORT_SYMBOL_GPL(…);
#endif
void ili9320_shutdown(struct ili9320 *lcd)
{ … }
EXPORT_SYMBOL_GPL(…);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;