Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
hp6xx.h File Reference
#include <linux/sh_intc.h>
#include <asm/hd64461.h>
#include <asm/io.h>

Go to the source code of this file.

Macros

#define HP680_BTN_IRQ   evt2irq(0x600) /* IRQ0_IRQ */
 
#define HP680_TS_IRQ   evt2irq(0x660) /* IRQ3_IRQ */
 
#define HP680_HD64461_IRQ   evt2irq(0x680) /* IRQ4_IRQ */
 
#define DAC_LCD_BRIGHTNESS   0
 
#define DAC_SPEAKER_VOLUME   1
 
#define PGDR_OPENED   0x01
 
#define PGDR_MAIN_BATTERY_OUT   0x04
 
#define PGDR_PLAY_BUTTON   0x08
 
#define PGDR_REWIND_BUTTON   0x10
 
#define PGDR_RECORD_BUTTON   0x20
 
#define PHDR_TS_PEN_DOWN   0x08
 
#define PJDR_LED_BLINK   0x02
 
#define PKDR_LED_GREEN   0x10
 
#define PKDR_SPEAKER   0x20
 
#define SCPDR_TS_SCAN_ENABLE   0x20
 
#define SCPDR_TS_SCAN_Y   0x02
 
#define SCPDR_TS_SCAN_X   0x01
 
#define SCPCR_TS_ENABLE   0x405
 
#define SCPCR_TS_MASK   0xc0f
 
#define ADC_CHANNEL_TS_Y   1
 
#define ADC_CHANNEL_TS_X   2
 
#define ADC_CHANNEL_BATTERY   3
 
#define ADC_CHANNEL_BACKUP   4
 
#define ADC_CHANNEL_CHARGE   5
 
#define HD64461_GPADR_SPEAKER   0x01
 
#define HD64461_GPADR_PCMCIA0   (0x02|0x08)
 
#define HD64461_GPBDR_LCDOFF   0x01
 
#define HD64461_GPBDR_LCD_CONTRAST_MASK   0x78
 
#define HD64461_GPBDR_LED_RED   0x80
 
#define PJDR   0xa4000130
 
#define PKDR   0xa4000132
 

Macro Definition Documentation

#define ADC_CHANNEL_BACKUP   4

Definition at line 46 of file hp6xx.h.

#define ADC_CHANNEL_BATTERY   3

Definition at line 45 of file hp6xx.h.

#define ADC_CHANNEL_CHARGE   5

Definition at line 47 of file hp6xx.h.

#define ADC_CHANNEL_TS_X   2

Definition at line 44 of file hp6xx.h.

#define ADC_CHANNEL_TS_Y   1

Definition at line 43 of file hp6xx.h.

#define DAC_LCD_BRIGHTNESS   0

Definition at line 18 of file hp6xx.h.

#define DAC_SPEAKER_VOLUME   1

Definition at line 19 of file hp6xx.h.

#define HD64461_GPADR_PCMCIA0   (0x02|0x08)

Definition at line 51 of file hp6xx.h.

#define HD64461_GPADR_SPEAKER   0x01

Definition at line 50 of file hp6xx.h.

#define HD64461_GPBDR_LCD_CONTRAST_MASK   0x78

Definition at line 54 of file hp6xx.h.

#define HD64461_GPBDR_LCDOFF   0x01

Definition at line 53 of file hp6xx.h.

#define HD64461_GPBDR_LED_RED   0x80

Definition at line 55 of file hp6xx.h.

#define HP680_BTN_IRQ   evt2irq(0x600) /* IRQ0_IRQ */

Definition at line 14 of file hp6xx.h.

#define HP680_HD64461_IRQ   evt2irq(0x680) /* IRQ4_IRQ */

Definition at line 16 of file hp6xx.h.

#define HP680_TS_IRQ   evt2irq(0x660) /* IRQ3_IRQ */

Definition at line 15 of file hp6xx.h.

#define PGDR_MAIN_BATTERY_OUT   0x04

Definition at line 22 of file hp6xx.h.

#define PGDR_OPENED   0x01

Definition at line 21 of file hp6xx.h.

#define PGDR_PLAY_BUTTON   0x08

Definition at line 23 of file hp6xx.h.

#define PGDR_RECORD_BUTTON   0x20

Definition at line 25 of file hp6xx.h.

#define PGDR_REWIND_BUTTON   0x10

Definition at line 24 of file hp6xx.h.

#define PHDR_TS_PEN_DOWN   0x08

Definition at line 27 of file hp6xx.h.

#define PJDR   0xa4000130

Definition at line 60 of file hp6xx.h.

#define PJDR_LED_BLINK   0x02

Definition at line 29 of file hp6xx.h.

#define PKDR   0xa4000132

Definition at line 61 of file hp6xx.h.

#define PKDR_LED_GREEN   0x10

Definition at line 31 of file hp6xx.h.

#define PKDR_SPEAKER   0x20

Definition at line 34 of file hp6xx.h.

#define SCPCR_TS_ENABLE   0x405

Definition at line 40 of file hp6xx.h.

#define SCPCR_TS_MASK   0xc0f

Definition at line 41 of file hp6xx.h.

#define SCPDR_TS_SCAN_ENABLE   0x20

Definition at line 36 of file hp6xx.h.

#define SCPDR_TS_SCAN_X   0x01

Definition at line 38 of file hp6xx.h.

#define SCPDR_TS_SCAN_Y   0x02

Definition at line 37 of file hp6xx.h.