Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
impd1.h File Reference

Go to the source code of this file.

Macros

#define IMPD1_OSC1   0x00
 
#define IMPD1_OSC2   0x04
 
#define IMPD1_LOCK   0x08
 
#define IMPD1_LEDS   0x0c
 
#define IMPD1_INT   0x10
 
#define IMPD1_SW   0x14
 
#define IMPD1_CTRL   0x18
 
#define IMPD1_CTRL_DISP_LCD   (0 << 0)
 
#define IMPD1_CTRL_DISP_VGA   (1 << 0)
 
#define IMPD1_CTRL_DISP_LCD1   (2 << 0)
 
#define IMPD1_CTRL_DISP_ENABLE   (1 << 2)
 
#define IMPD1_CTRL_DISP_MASK   (7 << 0)
 

Functions

void impd1_tweak_control (struct device *dev, u32 mask, u32 val)
 

Macro Definition Documentation

#define IMPD1_CTRL   0x18

Definition at line 7 of file impd1.h.

#define IMPD1_CTRL_DISP_ENABLE   (1 << 2)

Definition at line 12 of file impd1.h.

#define IMPD1_CTRL_DISP_LCD   (0 << 0)

Definition at line 9 of file impd1.h.

#define IMPD1_CTRL_DISP_LCD1   (2 << 0)

Definition at line 11 of file impd1.h.

#define IMPD1_CTRL_DISP_MASK   (7 << 0)

Definition at line 13 of file impd1.h.

#define IMPD1_CTRL_DISP_VGA   (1 << 0)

Definition at line 10 of file impd1.h.

#define IMPD1_INT   0x10

Definition at line 5 of file impd1.h.

#define IMPD1_LEDS   0x0c

Definition at line 4 of file impd1.h.

#define IMPD1_LOCK   0x08

Definition at line 3 of file impd1.h.

#define IMPD1_OSC1   0x00

Definition at line 1 of file impd1.h.

#define IMPD1_OSC2   0x04

Definition at line 2 of file impd1.h.

#define IMPD1_SW   0x14

Definition at line 6 of file impd1.h.

Function Documentation

void impd1_tweak_control ( struct device dev,
u32  mask,
u32  val 
)

Definition at line 80 of file impd1.c.