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

Go to the source code of this file.

Macros

#define ASSABET_SCR_SDRAM_LOW   (1<<2) /* SDRAM size (low bit) */
 
#define ASSABET_SCR_SDRAM_HIGH   (1<<3) /* SDRAM size (high bit) */
 
#define ASSABET_SCR_FLASH_LOW   (1<<4) /* Flash size (low bit) */
 
#define ASSABET_SCR_FLASH_HIGH   (1<<5) /* Flash size (high bit) */
 
#define ASSABET_SCR_GFX   (1<<8) /* Graphics Accelerator (0 = present) */
 
#define ASSABET_SCR_SA1111   (1<<9) /* Neponset (0 = present) */
 
#define ASSABET_SCR_INIT   -1
 
#define machine_has_neponset()   (0)
 
#define ASSABET_BCR_BASE   0xf1000000
 
#define ASSABET_BCR   (*(volatile unsigned int *)(ASSABET_BCR_BASE))
 
#define ASSABET_BCR_CF_PWR   (1<<0) /* Compact Flash Power (1 = 3.3v, 0 = off) */
 
#define ASSABET_BCR_CF_RST   (1<<1) /* Compact Flash Reset (1 = power up reset) */
 
#define ASSABET_BCR_GFX_RST   (1<<1) /* Graphics Accelerator Reset (0 = hold reset) */
 
#define ASSABET_BCR_CODEC_RST   (1<<2) /* 0 = Holds UCB1300, ADI7171, and UDA1341 in reset */
 
#define ASSABET_BCR_IRDA_FSEL   (1<<3) /* IRDA Frequency select (0 = SIR, 1 = MIR/ FIR) */
 
#define ASSABET_BCR_IRDA_MD0   (1<<4) /* Range/Power select */
 
#define ASSABET_BCR_IRDA_MD1   (1<<5) /* Range/Power select */
 
#define ASSABET_BCR_STEREO_LB   (1<<6) /* Stereo Loopback */
 
#define ASSABET_BCR_CF_BUS_OFF   (1<<7) /* Compact Flash bus (0 = on, 1 = off (float)) */
 
#define ASSABET_BCR_AUDIO_ON   (1<<8) /* Audio power on */
 
#define ASSABET_BCR_LIGHT_ON   (1<<9) /* Backlight */
 
#define ASSABET_BCR_LCD_12RGB   (1<<10) /* 0 = 16RGB, 1 = 12RGB */
 
#define ASSABET_BCR_LCD_ON   (1<<11) /* LCD power on */
 
#define ASSABET_BCR_RS232EN   (1<<12) /* RS232 transceiver enable */
 
#define ASSABET_BCR_LED_RED   (1<<13) /* D9 (0 = on, 1 = off) */
 
#define ASSABET_BCR_LED_GREEN   (1<<14) /* D8 (0 = on, 1 = off) */
 
#define ASSABET_BCR_VIB_ON   (1<<15) /* Vibration motor (quiet alert) */
 
#define ASSABET_BCR_COM_DTR   (1<<16) /* COMport Data Terminal Ready */
 
#define ASSABET_BCR_COM_RTS   (1<<17) /* COMport Request To Send */
 
#define ASSABET_BCR_RAD_WU   (1<<18) /* Radio wake up interrupt */
 
#define ASSABET_BCR_SMB_EN   (1<<19) /* System management bus enable */
 
#define ASSABET_BCR_TV_IR_DEC   (1<<20) /* TV IR Decode Enable (not implemented) */
 
#define ASSABET_BCR_QMUTE   (1<<21) /* Quick Mute */
 
#define ASSABET_BCR_RAD_ON   (1<<22) /* Radio Power On */
 
#define ASSABET_BCR_SPK_OFF   (1<<23) /* 1 = Speaker amplifier power off */
 
#define ASSABET_BCR_frob(x, y)   do { } while (0)
 
#define ASSABET_BCR_set(x)   ASSABET_BCR_frob((x), (x))
 
#define ASSABET_BCR_clear(x)   ASSABET_BCR_frob((x), 0)
 
#define ASSABET_BSR_BASE   0xf1000000
 
#define ASSABET_BSR   (*(volatile unsigned int*)(ASSABET_BSR_BASE))
 
#define ASSABET_BSR_RS232_VALID   (1 << 24)
 
#define ASSABET_BSR_COM_DCD   (1 << 25)
 
#define ASSABET_BSR_COM_CTS   (1 << 26)
 
#define ASSABET_BSR_COM_DSR   (1 << 27)
 
#define ASSABET_BSR_RAD_CTS   (1 << 28)
 
#define ASSABET_BSR_RAD_DSR   (1 << 29)
 
#define ASSABET_BSR_RAD_DCD   (1 << 30)
 
#define ASSABET_BSR_RAD_RI   (1 << 31)
 
#define ASSABET_GPIO_RADIO_IRQ   GPIO_GPIO (14) /* Radio interrupt request */
 
#define ASSABET_GPIO_PS_MODE_SYNC   GPIO_GPIO (16) /* Power supply mode/sync */
 
#define ASSABET_GPIO_STEREO_64FS_CLK   GPIO_GPIO (19) /* SSP UDA1341 clock input */
 
#define ASSABET_GPIO_GFX_IRQ   GPIO_GPIO (24) /* Graphics IRQ */
 
#define ASSABET_GPIO_BATT_LOW   GPIO_GPIO (26) /* Low battery */
 
#define ASSABET_GPIO_RCLK   GPIO_GPIO (26) /* CCLK/2 */
 
#define ASSABET_GPIO_CF_IRQ   21 /* CF IRQ */
 
#define ASSABET_GPIO_CF_CD   22 /* CF CD */
 
#define ASSABET_GPIO_CF_BVD2   24 /* CF BVD / IOSPKR */
 
#define ASSABET_GPIO_CF_BVD1   25 /* CF BVD / IOSTSCHG */
 

Variables

unsigned long SCR_value
 

Macro Definition Documentation

#define ASSABET_BCR   (*(volatile unsigned int *)(ASSABET_BCR_BASE))

Definition at line 38 of file assabet.h.

#define ASSABET_BCR_AUDIO_ON   (1<<8) /* Audio power on */

Definition at line 49 of file assabet.h.

#define ASSABET_BCR_BASE   0xf1000000

Definition at line 37 of file assabet.h.

#define ASSABET_BCR_CF_BUS_OFF   (1<<7) /* Compact Flash bus (0 = on, 1 = off (float)) */

Definition at line 48 of file assabet.h.

#define ASSABET_BCR_CF_PWR   (1<<0) /* Compact Flash Power (1 = 3.3v, 0 = off) */

Definition at line 40 of file assabet.h.

#define ASSABET_BCR_CF_RST   (1<<1) /* Compact Flash Reset (1 = power up reset) */

Definition at line 41 of file assabet.h.

#define ASSABET_BCR_clear (   x)    ASSABET_BCR_frob((x), 0)

Definition at line 73 of file assabet.h.

#define ASSABET_BCR_CODEC_RST   (1<<2) /* 0 = Holds UCB1300, ADI7171, and UDA1341 in reset */

Definition at line 43 of file assabet.h.

#define ASSABET_BCR_COM_DTR   (1<<16) /* COMport Data Terminal Ready */

Definition at line 57 of file assabet.h.

#define ASSABET_BCR_COM_RTS   (1<<17) /* COMport Request To Send */

Definition at line 58 of file assabet.h.

#define ASSABET_BCR_frob (   x,
  y 
)    do { } while (0)

Definition at line 69 of file assabet.h.

#define ASSABET_BCR_GFX_RST   (1<<1) /* Graphics Accelerator Reset (0 = hold reset) */

Definition at line 42 of file assabet.h.

#define ASSABET_BCR_IRDA_FSEL   (1<<3) /* IRDA Frequency select (0 = SIR, 1 = MIR/ FIR) */

Definition at line 44 of file assabet.h.

#define ASSABET_BCR_IRDA_MD0   (1<<4) /* Range/Power select */

Definition at line 45 of file assabet.h.

#define ASSABET_BCR_IRDA_MD1   (1<<5) /* Range/Power select */

Definition at line 46 of file assabet.h.

#define ASSABET_BCR_LCD_12RGB   (1<<10) /* 0 = 16RGB, 1 = 12RGB */

Definition at line 51 of file assabet.h.

#define ASSABET_BCR_LCD_ON   (1<<11) /* LCD power on */

Definition at line 52 of file assabet.h.

#define ASSABET_BCR_LED_GREEN   (1<<14) /* D8 (0 = on, 1 = off) */

Definition at line 55 of file assabet.h.

#define ASSABET_BCR_LED_RED   (1<<13) /* D9 (0 = on, 1 = off) */

Definition at line 54 of file assabet.h.

#define ASSABET_BCR_LIGHT_ON   (1<<9) /* Backlight */

Definition at line 50 of file assabet.h.

#define ASSABET_BCR_QMUTE   (1<<21) /* Quick Mute */

Definition at line 62 of file assabet.h.

#define ASSABET_BCR_RAD_ON   (1<<22) /* Radio Power On */

Definition at line 63 of file assabet.h.

#define ASSABET_BCR_RAD_WU   (1<<18) /* Radio wake up interrupt */

Definition at line 59 of file assabet.h.

#define ASSABET_BCR_RS232EN   (1<<12) /* RS232 transceiver enable */

Definition at line 53 of file assabet.h.

#define ASSABET_BCR_set (   x)    ASSABET_BCR_frob((x), (x))

Definition at line 72 of file assabet.h.

#define ASSABET_BCR_SMB_EN   (1<<19) /* System management bus enable */

Definition at line 60 of file assabet.h.

#define ASSABET_BCR_SPK_OFF   (1<<23) /* 1 = Speaker amplifier power off */

Definition at line 64 of file assabet.h.

#define ASSABET_BCR_STEREO_LB   (1<<6) /* Stereo Loopback */

Definition at line 47 of file assabet.h.

#define ASSABET_BCR_TV_IR_DEC   (1<<20) /* TV IR Decode Enable (not implemented) */

Definition at line 61 of file assabet.h.

#define ASSABET_BCR_VIB_ON   (1<<15) /* Vibration motor (quiet alert) */

Definition at line 56 of file assabet.h.

#define ASSABET_BSR   (*(volatile unsigned int*)(ASSABET_BSR_BASE))

Definition at line 76 of file assabet.h.

#define ASSABET_BSR_BASE   0xf1000000

Definition at line 75 of file assabet.h.

#define ASSABET_BSR_COM_CTS   (1 << 26)

Definition at line 80 of file assabet.h.

#define ASSABET_BSR_COM_DCD   (1 << 25)

Definition at line 79 of file assabet.h.

#define ASSABET_BSR_COM_DSR   (1 << 27)

Definition at line 81 of file assabet.h.

#define ASSABET_BSR_RAD_CTS   (1 << 28)

Definition at line 82 of file assabet.h.

#define ASSABET_BSR_RAD_DCD   (1 << 30)

Definition at line 84 of file assabet.h.

#define ASSABET_BSR_RAD_DSR   (1 << 29)

Definition at line 83 of file assabet.h.

#define ASSABET_BSR_RAD_RI   (1 << 31)

Definition at line 85 of file assabet.h.

#define ASSABET_BSR_RS232_VALID   (1 << 24)

Definition at line 78 of file assabet.h.

#define ASSABET_GPIO_BATT_LOW   GPIO_GPIO (26) /* Low battery */

Definition at line 93 of file assabet.h.

#define ASSABET_GPIO_CF_BVD1   25 /* CF BVD / IOSTSCHG */

Definition at line 100 of file assabet.h.

#define ASSABET_GPIO_CF_BVD2   24 /* CF BVD / IOSPKR */

Definition at line 99 of file assabet.h.

#define ASSABET_GPIO_CF_CD   22 /* CF CD */

Definition at line 98 of file assabet.h.

#define ASSABET_GPIO_CF_IRQ   21 /* CF IRQ */

Definition at line 97 of file assabet.h.

#define ASSABET_GPIO_GFX_IRQ   GPIO_GPIO (24) /* Graphics IRQ */

Definition at line 92 of file assabet.h.

#define ASSABET_GPIO_PS_MODE_SYNC   GPIO_GPIO (16) /* Power supply mode/sync */

Definition at line 90 of file assabet.h.

#define ASSABET_GPIO_RADIO_IRQ   GPIO_GPIO (14) /* Radio interrupt request */

Definition at line 89 of file assabet.h.

#define ASSABET_GPIO_RCLK   GPIO_GPIO (26) /* CCLK/2 */

Definition at line 94 of file assabet.h.

#define ASSABET_GPIO_STEREO_64FS_CLK   GPIO_GPIO (19) /* SSP UDA1341 clock input */

Definition at line 91 of file assabet.h.

#define ASSABET_SCR_FLASH_HIGH   (1<<5) /* Flash size (high bit) */

Definition at line 21 of file assabet.h.

#define ASSABET_SCR_FLASH_LOW   (1<<4) /* Flash size (low bit) */

Definition at line 20 of file assabet.h.

#define ASSABET_SCR_GFX   (1<<8) /* Graphics Accelerator (0 = present) */

Definition at line 22 of file assabet.h.

#define ASSABET_SCR_INIT   -1

Definition at line 25 of file assabet.h.

#define ASSABET_SCR_SA1111   (1<<9) /* Neponset (0 = present) */

Definition at line 23 of file assabet.h.

#define ASSABET_SCR_SDRAM_HIGH   (1<<3) /* SDRAM size (high bit) */

Definition at line 19 of file assabet.h.

#define ASSABET_SCR_SDRAM_LOW   (1<<2) /* SDRAM size (low bit) */

Definition at line 18 of file assabet.h.

#define machine_has_neponset ( )    (0)

Definition at line 32 of file assabet.h.

Variable Documentation

unsigned long SCR_value

Definition at line 60 of file assabet.c.