Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #define IMPD1_OSC1 0x00 |
| 2 | #define IMPD1_OSC2 0x04 |
| 3 | #define IMPD1_LOCK 0x08 |
| 4 | #define IMPD1_LEDS 0x0c |
| 5 | #define IMPD1_INT 0x10 |
| 6 | #define IMPD1_SW 0x14 |
| 7 | #define IMPD1_CTRL 0x18 |
| 8 | |
| 9 | #define IMPD1_CTRL_DISP_LCD (0 << 0) |
| 10 | #define IMPD1_CTRL_DISP_VGA (1 << 0) |
| 11 | #define IMPD1_CTRL_DISP_LCD1 (2 << 0) |
| 12 | #define IMPD1_CTRL_DISP_ENABLE (1 << 2) |
| 13 | #define IMPD1_CTRL_DISP_MASK (7 << 0) |
| 14 | |
| 15 | struct device; |
| 16 | |
| 17 | void impd1_tweak_control(struct device *dev, u32 mask, u32 val); |
| 18 | |