Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ot200_bl.c File Reference
#include <linux/module.h>
#include <linux/fb.h>
#include <linux/backlight.h>
#include <linux/gpio.h>
#include <linux/cs5535.h>

Go to the source code of this file.

Data Structures

struct  ot200_backlight_data
 

Macros

#define GPIO_DIMM   27
 
#define SCALE   1
 
#define CMP1MODE
 
#define PWM_SETUP   (SCALE | CMP1MODE << 6 | MFGPT_SETUP_CNTEN)
 
#define MAX_COMP2   163
 

Functions

 module_platform_driver (ot200_backlight_driver)
 
 MODULE_DESCRIPTION ("backlight driver for ot200 visualisation device")
 
 MODULE_AUTHOR ("Christian Gmeiner <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:ot200-backlight")
 

Macro Definition Documentation

#define CMP1MODE
Value:
0x2 /* compare on GE; output high on compare
* greater than or equal */

Definition at line 38 of file ot200_bl.c.

#define GPIO_DIMM   27

Definition at line 36 of file ot200_bl.c.

#define MAX_COMP2   163

Definition at line 40 of file ot200_bl.c.

#define PWM_SETUP   (SCALE | CMP1MODE << 6 | MFGPT_SETUP_CNTEN)

Definition at line 39 of file ot200_bl.c.

#define SCALE   1

Definition at line 37 of file ot200_bl.c.

Function Documentation

MODULE_ALIAS ( "platform:ot200-backlight"  )
MODULE_AUTHOR ( "Christian Gmeiner <[email protected]>"  )
MODULE_DESCRIPTION ( "backlight driver for ot200 visualisation device )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( ot200_backlight_driver  )