Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
SA-1101.h File Reference
#include <mach/bitfield.h>

Go to the source code of this file.

Macros

#define LANGUAGE   C
 
#define SA1101_p2v(x)   ((x) - SA1101_BASE + 0xf4000000)
 
#define SA1101_v2p(x)   ((x) - 0xf4000000 + SA1101_BASE)
 
#define C   0
 
#define Assembly   1
 
#define __SHMEM_CONTROL0   0x00000000
 
#define __SYSTEM_CONTROL1   0x00000400
 
#define __ARBITER   0x00020000
 
#define __SYSTEM_CONTROL2   0x00040000
 
#define __SYSTEM_CONTROL3   0x00060000
 
#define __PARALLEL_PORT   0x00080000
 
#define __VIDMEM_CONTROL   0x00100000
 
#define __UPDATE_FIFO   0x00120000
 
#define __SHMEM_CONTROL1   0x00140000
 
#define __INTERRUPT_CONTROL   0x00160000
 
#define __USB_CONTROL   0x00180000
 
#define __TRACK_INTERFACE   0x001a0000
 
#define __MOUSE_INTERFACE   0x001b0000
 
#define __KEYPAD_INTERFACE   0x001c0000
 
#define __PCMCIA_INTERFACE   0x001e0000
 
#define __VGA_CONTROL   0x00200000
 
#define __GPIO_INTERFACE   0x00300000
 
#define _SA1101(x)   ((x) + SA1101_BASE)
 
#define _SKCR   _SA1101( 0x00000000 ) /* SA-1101 Control Reg. */
 
#define _SMCR   _SA1101( 0x00140000 ) /* Shared Mem. Control Reg. */
 
#define _SNPR   _SA1101( 0x00140400 ) /* Snoop Reg. */
 
#define SKCR   (*((volatile Word *) SA1101_p2v (_SKCR)))
 
#define SMCR   (*((volatile Word *) SA1101_p2v (_SMCR)))
 
#define SNPR   (*((volatile Word *) SA1101_p2v (_SNPR)))
 
#define SKCR_PLLEn   0x0001 /* Enable On-Chip PLL */
 
#define SKCR_BCLKEn   0x0002 /* Enables BCLK */
 
#define SKCR_Sleep   0x0004 /* Sleep Mode */
 
#define SKCR_IRefEn   0x0008 /* DAC Iref input enable */
 
#define SKCR_VCOON   0x0010 /* VCO bias */
 
#define SKCR_ScanTestEn   0x0020 /* Enables scan test */
 
#define SKCR_ClockTestEn   0x0040 /* Enables clock test */
 
#define SMCR_DCAC   Fld(2,0) /* Number of column address bits */
 
#define SMCR_DRAC   Fld(2,2) /* Number of row address bits */
 
#define SMCR_ArbiterBias   0x0008 /* favor video or USB */
 
#define SMCR_TopVidMem   Fld(4,5) /* Top 4 bits of vidmem addr. */
 
#define SMCR_ColAdrBits(x)
 
#define SMCR_RowAdrBits(x)
 
#define SNPR_VFBstart   Fld(12,0) /* Video frame buffer addr */
 
#define SNPR_VFBsize   Fld(11,12) /* Video frame buffer size */
 
#define SNPR_WholeBank   (1 << 23) /* Whole bank bit */
 
#define SNPR_BankSelect   Fld(2,27) /* Bank select */
 
#define SNPR_SnoopEn   (1 << 31) /* Enable snoop operation */
 
#define SNPR_Set_VFBsize(x)
 
#define SNPR_Select_Bank(x)
 
#define _VMCCR   _SA1101( 0x00100000 ) /* Configuration register */
 
#define _VMCAR   _SA1101( 0x00101000 ) /* VMC address register */
 
#define _VMCDR   _SA1101( 0x00101400 ) /* VMC data register */
 
#define VMCCR   (*((volatile Word *) SA1101_p2v (_VMCCR)))
 
#define VMCAR   (*((volatile Word *) SA1101_p2v (_VMCAR)))
 
#define VMCDR   (*((volatile Word *) SA1101_p2v (_VMCDR)))
 
#define VMCCR_RefreshEn   0x0000 /* Enable memory refresh */
 
#define VMCCR_Config   0x0001 /* DRAM size */
 
#define VMCCR_RefPeriod   Fld(2,3) /* Refresh period */
 
#define VMCCR_StaleDataWait   Fld(4,5) /* Stale FIFO data timeout counter */
 
#define VMCCR_SleepState   (1<<9) /* State of interface pins in sleep*/
 
#define VMCCR_RefTest   (1<<10) /* refresh test */
 
#define VMCCR_RefLow   Fld(6,11) /* refresh low counter */
 
#define VMCCR_RefHigh   Fld(7,17) /* refresh high counter */
 
#define VMCCR_SDTCTest   Fld(7,24) /* stale data timeout counter */
 
#define VMCCR_ForceSelfRef   (1<<31) /* Force self refresh */
 
#define _UFCR   _SA1101(0x00120000) /* Update FIFO Control Reg. */
 
#define _UFSR   _SA1101(0x00120400) /* Update FIFO Status Reg. */
 
#define _UFLVLR   _SA1101(0x00120800) /* Update FIFO level reg. */
 
#define _UFDR   _SA1101(0x00120c00) /* Update FIFO data reg. */
 
#define UFCR   (*((volatile Word *) SA1101_p2v (_UFCR)))
 
#define UFSR   (*((volatile Word *) SA1101_p2v (_UFSR)))
 
#define UFLVLR   (*((volatile Word *) SA1101_p2v (_UFLVLR)))
 
#define UFDR   (*((volatile Word *) SA1101_p2v (_UFDR)))
 
#define UFCR_FifoThreshhold   Fld(7,0) /* Level for FifoGTn flag */
 
#define UFSR_FifoGTnFlag   0x01 /* FifoGTn flag */#define UFSR_FifoEmpty 0x80 /* FIFO is empty */
 
#define _SKPCR   _SA1101(0x00000400)
 
#define _SKCDR   _SA1101(0x00040000)
 
#define _DACDR1   _SA1101(0x00060000)
 
#define _DACDR2   _SA1101(0x00060400)
 
#define SKPCR   (*((volatile Word *) SA1101_p2v (_SKPCR)))
 
#define SKCDR   (*((volatile Word *) SA1101_p2v (_SKCDR)))
 
#define DACDR1   (*((volatile Word *) SA1101_p2v (_DACDR1)))
 
#define DACDR2   (*((volatile Word *) SA1101_p2v (_DACDR2)))
 
#define SKPCR_UCLKEn   0x01 /* USB Enable */
 
#define SKPCR_PCLKEn   0x02 /* PS/2 Enable */
 
#define SKPCR_ICLKEn   0x04 /* Interrupt Controller Enable */
 
#define SKPCR_VCLKEn   0x08 /* Video Controller Enable */
 
#define SKPCR_PICLKEn   0x10 /* parallel port Enable */
 
#define SKPCR_DCLKEn   0x20 /* DACs Enable */
 
#define SKPCR_nKPADEn   0x40 /* Multiplexer */
 
#define SKCDR_PLLMul   Fld(7,0) /* PLL Multiplier */
 
#define SKCDR_VCLKEn   Fld(2,7) /* Video controller clock divider */
 
#define SKDCR_BCLKEn   (1<<9) /* BCLK Divider */
 
#define SKDCR_UTESTCLKEn   (1<<10) /* Route USB clock during test mode */
 
#define SKDCR_DivRValue   Fld(6,11) /* Input clock divider for PLL */
 
#define SKDCR_DivNValue   Fld(5,17) /* Output clock divider for PLL */
 
#define SKDCR_PLLRSH   Fld(3,22) /* PLL bandwidth control */
 
#define SKDCR_ChargePump   (1<<25) /* Charge pump control */
 
#define SKDCR_ClkTestMode   (1<<26) /* Clock output test mode */
 
#define SKDCR_ClkTestEn   (1<<27) /* Test clock generator */
 
#define SKDCR_ClkJitterCntl   Fld(3,28) /* video clock jitter compensation */
 
#define DACDR_DACCount   Fld(8,0) /* Count value */
 
#define DACDR1_DACCount   DACDR_DACCount
 
#define DACDR2_DACCount   DACDR_DACCount
 
#define _IEEE(x)   _SA1101( (x) + __PARALLEL_PORT )
 
#define _IEEE_Config   _IEEE( 0x0000 )
 
#define _IEEE_Control   _IEEE( 0x0400 )
 
#define _IEEE_Data   _IEEE( 0x4000 )
 
#define _IEEE_Addr   _IEEE( 0x0800 )
 
#define _IEEE_Status   _IEEE( 0x0c00 )
 
#define _IEEE_IntStatus   _IEEE( 0x1000 )
 
#define _IEEE_FifoLevels   _IEEE( 0x1400 )
 
#define _IEEE_InitTime   _IEEE( 0x1800 )
 
#define _IEEE_TimerStatus   _IEEE( 0x1c00 )
 
#define _IEEE_FifoReset   _IEEE( 0x2000 )
 
#define _IEEE_ReloadValue   _IEEE( 0x3c00 )
 
#define _IEEE_TestControl   _IEEE( 0x2400 )
 
#define _IEEE_TestDataIn   _IEEE( 0x2800 )
 
#define _IEEE_TestDataInEn   _IEEE( 0x2c00 )
 
#define _IEEE_TestCtrlIn   _IEEE( 0x3000 )
 
#define _IEEE_TestCtrlInEn   _IEEE( 0x3400 )
 
#define _IEEE_TestDataStat   _IEEE( 0x3800 )
 
#define IEEE_Config   (*((volatile Word *) SA1101_p2v (_IEEE_Config)))
 
#define IEEE_Control   (*((volatile Word *) SA1101_p2v (_IEEE_Control)))
 
#define IEEE_Data   (*((volatile Word *) SA1101_p2v (_IEEE_Data)))
 
#define IEEE_Addr   (*((volatile Word *) SA1101_p2v (_IEEE_Addr)))
 
#define IEEE_Status   (*((volatile Word *) SA1101_p2v (_IEEE_Status)))
 
#define IEEE_IntStatus   (*((volatile Word *) SA1101_p2v (_IEEE_IntStatus)))
 
#define IEEE_FifoLevels   (*((volatile Word *) SA1101_p2v (_IEEE_FifoLevels)))
 
#define IEEE_InitTime   (*((volatile Word *) SA1101_p2v (_IEEE_InitTime)))
 
#define IEEE_TimerStatus   (*((volatile Word *) SA1101_p2v (_IEEE_TimerStatus)))
 
#define IEEE_FifoReset   (*((volatile Word *) SA1101_p2v (_IEEE_FifoReset)))
 
#define IEEE_ReloadValue   (*((volatile Word *) SA1101_p2v (_IEEE_ReloadValue)))
 
#define IEEE_TestControl   (*((volatile Word *) SA1101_p2v (_IEEE_TestControl)))
 
#define IEEE_TestDataIn   (*((volatile Word *) SA1101_p2v (_IEEE_TestDataIn)))
 
#define IEEE_TestDataInEn   (*((volatile Word *) SA1101_p2v (_IEEE_TestDataInEn)))
 
#define IEEE_TestCtrlIn   (*((volatile Word *) SA1101_p2v (_IEEE_TestCtrlIn)))
 
#define IEEE_TestCtrlInEn   (*((volatile Word *) SA1101_p2v (_IEEE_TestCtrlInEn)))
 
#define IEEE_TestDataStat   (*((volatile Word *) SA1101_p2v (_IEEE_TestDataStat)))
 
#define IEEE_Config_M   Fld(3,0) /* Mode select */
 
#define IEEE_Config_D   0x04 /* FIFO access enable */
 
#define IEEE_Config_B   0x08 /* 9-bit word enable */
 
#define IEEE_Config_T   0x10 /* Data transfer enable */
 
#define IEEE_Config_A   0x20 /* Data transfer direction */
 
#define IEEE_Config_E   0x40 /* Timer enable */
 
#define IEEE_Control_A   0x08 /* AutoFd output */
 
#define IEEE_Control_E   0x04 /* Selectin output */
 
#define IEEE_Control_T   0x02 /* Strobe output */
 
#define IEEE_Control_I   0x01 /* Port init output */
 
#define IEEE_Data_C   (1<<31) /* Byte count */
 
#define IEEE_Data_Db   Fld(9,16) /* Data byte 2 */
 
#define IEEE_Data_Da   Fld(9,0) /* Data byte 1 */
 
#define IEEE_Addr_A   Fld(8,0) /* forward address transfer byte */
 
#define IEEE_Status_A   0x0100 /* nAutoFd port output status */
 
#define IEEE_Status_E   0x0080 /* nSelectIn port output status */
 
#define IEEE_Status_T   0x0040 /* nStrobe port output status */
 
#define IEEE_Status_I   0x0020 /* nInit port output status */
 
#define IEEE_Status_B   0x0010 /* Busy port inout status */
 
#define IEEE_Status_S   0x0008 /* Select port input status */
 
#define IEEE_Status_K   0x0004 /* nAck port input status */
 
#define IEEE_Status_F   0x0002 /* nFault port input status */
 
#define IEEE_Status_R   0x0001 /* pError port input status */
 
#define IEEE_IntStatus_IntReqDat   0x0100
 
#define IEEE_IntStatus_IntReqEmp   0x0080
 
#define IEEE_IntStatus_IntReqInt   0x0040
 
#define IEEE_IntStatus_IntReqRav   0x0020
 
#define IEEE_IntStatus_IntReqTim   0x0010
 
#define IEEE_IntStatus_RevAddrComp   0x0008
 
#define IEEE_IntStatus_RevDataComp   0x0004
 
#define IEEE_IntStatus_FwdAddrComp   0x0002
 
#define IEEE_IntStatus_FwdDataComp   0x0001
 
#define IEEE_FifoLevels_RevFifoLevel   2
 
#define IEEE_FifoLevels_FwdFifoLevel   1
 
#define IEEE_InitTime_TimValInit   Fld(22,0)
 
#define IEEE_TimerStatus_TimValStat   Fld(22,0)
 
#define IEEE_ReloadValue_Reload   Fld(4,0)
 
#define IEEE_TestControl_RegClk   0x04
 
#define IEEE_TestControl_ClockSelect   Fld(2,1)
 
#define IEEE_TestControl_TimerTestModeEn   0x01
 
#define IEEE_TestCtrlIn_PError   0x10
 
#define IEEE_TestCtrlIn_nFault   0x08
 
#define IEEE_TestCtrlIn_nAck   0x04
 
#define IEEE_TestCtrlIn_PSel   0x02
 
#define IEEE_TestCtrlIn_Busy   0x01
 
#define _VGA(x)   _SA1101( ( x ) + __VGA_CONTROL )
 
#define _VideoControl   _VGA( 0x0000 )
 
#define _VgaTiming0   _VGA( 0x0400 )
 
#define _VgaTiming1   _VGA( 0x0800 )
 
#define _VgaTiming2   _VGA( 0x0c00 )
 
#define _VgaTiming3   _VGA( 0x1000 )
 
#define _VgaBorder   _VGA( 0x1400 )
 
#define _VgaDBAR   _VGA( 0x1800 )
 
#define _VgaDCAR   _VGA( 0x1c00 )
 
#define _VgaStatus   _VGA( 0x2000 )
 
#define _VgaInterruptMask   _VGA( 0x2400 )
 
#define _VgaPalette   _VGA( 0x40000 )
 
#define _DacControl   _VGA( 0x3000 )
 
#define _VgaTest   _VGA( 0x2c00 )
 
#define VideoControl   (*((volatile Word *) SA1101_p2v (_VideoControl)))
 
#define VgaTiming0   (*((volatile Word *) SA1101_p2v (_VgaTiming0)))
 
#define VgaTiming1   (*((volatile Word *) SA1101_p2v (_VgaTiming1)))
 
#define VgaTiming2   (*((volatile Word *) SA1101_p2v (_VgaTiming2)))
 
#define VgaTiming3   (*((volatile Word *) SA1101_p2v (_VgaTiming3)))
 
#define VgaBorder   (*((volatile Word *) SA1101_p2v (_VgaBorder)))
 
#define VgaDBAR   (*((volatile Word *) SA1101_p2v (_VgaDBAR)))
 
#define VgaDCAR   (*((volatile Word *) SA1101_p2v (_VgaDCAR)))
 
#define VgaStatus   (*((volatile Word *) SA1101_p2v (_VgaStatus)))
 
#define VgaInterruptMask   (*((volatile Word *) SA1101_p2v (_VgaInterruptMask)))
 
#define VgaPalette   (*((volatile Word *) SA1101_p2v (_VgaPalette)))
 
#define DacControl   (*((volatile Word *) SA1101_p2v (_DacControl)))
 
#define VgaTest   (*((volatile Word *) SA1101_p2v (_VgaTest)))
 
#define VideoControl_VgaEn   0x00000000
 
#define VideoControl_BGR   0x00000001
 
#define VideoControl_VCompVal   Fld(2,2)
 
#define VideoControl_VgaReq   Fld(4,4)
 
#define VideoControl_VBurstL   Fld(4,8)
 
#define VideoControl_VMode   (1<<12)
 
#define VideoControl_PalRead   (1<<13)
 
#define VgaTiming0_PPL   Fld(6,2)
 
#define VgaTiming0_HSW   Fld(8,8)
 
#define VgaTiming0_HFP   Fld(8,16)
 
#define VgaTiming0_HBP   Fld(8,24)
 
#define VgaTiming1_LPS   Fld(10,0)
 
#define VgaTiming1_VSW   Fld(6,10)
 
#define VgaTiming1_VFP   Fld(8,16)
 
#define VgaTiming1_VBP   Fld(8,24)
 
#define VgaTiming2_IVS   0x01
 
#define VgaTiming2_IHS   0x02
 
#define VgaTiming2_CVS   0x04
 
#define VgaTiming2_CHS   0x08
 
#define VgaTiming3_HBS   Fld(8,0)
 
#define VgaTiming3_HBE   Fld(8,8)
 
#define VgaTiming3_VBS   Fld(8,16)
 
#define VgaTiming3_VBE   Fld(8,24)
 
#define VgaBorder_BCOL   Fld(24,0)
 
#define VgaStatus_VFUF   0x01
 
#define VgaStatus_VNext   0x02
 
#define VgaStatus_VComp   0x04
 
#define VgaInterruptMask_VFUFMask   0x00
 
#define VgaInterruptMask_VNextMask   0x01
 
#define VgaInterruptMask_VCompMask   0x02
 
#define VgaPalette_R   Fld(8,0)
 
#define VgaPalette_G   Fld(8,8)
 
#define VgaPalette_B   Fld(8,16)
 
#define DacControl_DACON   0x0001
 
#define DacControl_COMPON   0x0002
 
#define DacControl_PEDON   0x0004
 
#define DacControl_RTrim   Fld(5,4)
 
#define DacControl_GTrim   Fld(5,9)
 
#define DacControl_BTrim   Fld(5,14)
 
#define VgaTest_TDAC   0x00
 
#define VgaTest_Datatest   Fld(4,1)
 
#define VgaTest_DACTESTDAC   0x10
 
#define VgaTest_DACTESTOUT   Fld(3,5)
 
#define _USB(x)   _SA1101( ( x ) + __USB_CONTROL )
 
#define _Revision   _USB( 0x0000 )
 
#define _Control   _USB( 0x0888 )
 
#define _CommandStatus   _USB( 0x0c00 )
 
#define _InterruptStatus   _USB( 0x1000 )
 
#define _InterruptEnable   _USB( 0x1400 )
 
#define _HCCA   _USB( 0x1800 )
 
#define _PeriodCurrentED   _USB( 0x1c00 )
 
#define _ControlHeadED   _USB( 0x2000 )
 
#define _BulkHeadED   _USB( 0x2800 )
 
#define _BulkCurrentED   _USB( 0x2c00 )
 
#define _DoneHead   _USB( 0x3000 )
 
#define _FmInterval   _USB( 0x3400 )
 
#define _FmRemaining   _USB( 0x3800 )
 
#define _FmNumber   _USB( 0x3c00 )
 
#define _PeriodicStart   _USB( 0x4000 )
 
#define _LSThreshold   _USB( 0x4400 )
 
#define _RhDescriptorA   _USB( 0x4800 )
 
#define _RhDescriptorB   _USB( 0x4c00 )
 
#define _RhStatus   _USB( 0x5000 )
 
#define _RhPortStatus   _USB( 0x5400 )
 
#define _USBStatus   _USB( 0x11800 )
 
#define _USBReset   _USB( 0x11c00 )
 
#define _USTAR   _USB( 0x10400 )
 
#define _USWER   _USB( 0x10800 )
 
#define _USRFR   _USB( 0x10c00 )
 
#define _USNFR   _USB( 0x11000 )
 
#define _USTCSR   _USB( 0x11400 )
 
#define _USSR   _USB( 0x11800 )
 
#define Revision   (*((volatile Word *) SA1101_p2v (_Revision)))
 
#define Control   (*((volatile Word *) SA1101_p2v (_Control)))
 
#define CommandStatus   (*((volatile Word *) SA1101_p2v (_CommandStatus)))
 
#define InterruptStatus   (*((volatile Word *) SA1101_p2v (_InterruptStatus)))
 
#define InterruptEnable   (*((volatile Word *) SA1101_p2v (_InterruptEnable)))
 
#define HCCA   (*((volatile Word *) SA1101_p2v (_HCCA)))
 
#define PeriodCurrentED   (*((volatile Word *) SA1101_p2v (_PeriodCurrentED)))
 
#define ControlHeadED   (*((volatile Word *) SA1101_p2v (_ControlHeadED)))
 
#define BulkHeadED   (*((volatile Word *) SA1101_p2v (_BulkHeadED)))
 
#define BulkCurrentED   (*((volatile Word *) SA1101_p2v (_BulkCurrentED)))
 
#define DoneHead   (*((volatile Word *) SA1101_p2v (_DoneHead)))
 
#define FmInterval   (*((volatile Word *) SA1101_p2v (_FmInterval)))
 
#define FmRemaining   (*((volatile Word *) SA1101_p2v (_FmRemaining)))
 
#define FmNumber   (*((volatile Word *) SA1101_p2v (_FmNumber)))
 
#define PeriodicStart   (*((volatile Word *) SA1101_p2v (_PeriodicStart)))
 
#define LSThreshold   (*((volatile Word *) SA1101_p2v (_LSThreshold)))
 
#define RhDescriptorA   (*((volatile Word *) SA1101_p2v (_RhDescriptorA)))
 
#define RhDescriptorB   (*((volatile Word *) SA1101_p2v (_RhDescriptorB)))
 
#define RhStatus   (*((volatile Word *) SA1101_p2v (_RhStatus)))
 
#define RhPortStatus   (*((volatile Word *) SA1101_p2v (_RhPortStatus)))
 
#define USBStatus   (*((volatile Word *) SA1101_p2v (_USBStatus)))
 
#define USBReset   (*((volatile Word *) SA1101_p2v (_USBReset)))
 
#define USTAR   (*((volatile Word *) SA1101_p2v (_USTAR)))
 
#define USWER   (*((volatile Word *) SA1101_p2v (_USWER)))
 
#define USRFR   (*((volatile Word *) SA1101_p2v (_USRFR)))
 
#define USNFR   (*((volatile Word *) SA1101_p2v (_USNFR)))
 
#define USTCSR   (*((volatile Word *) SA1101_p2v (_USTCSR)))
 
#define USSR   (*((volatile Word *) SA1101_p2v (_USSR)))
 
#define USBStatus_IrqHciRmtWkp   (1<<7)
 
#define USBStatus_IrqHciBuffAcc   (1<<8)
 
#define USBStatus_nIrqHciM   (1<<9)
 
#define USBStatus_nHciMFClr   (1<<10)
 
#define USBReset_ForceIfReset   0x01
 
#define USBReset_ForceHcReset   0x02
 
#define USBReset_ClkGenReset   0x04
 
#define USTCR_RdBstCntrl   Fld(3,0)
 
#define USTCR_ByteEnable   Fld(4,3)
 
#define USTCR_WriteEn   (1<<7)
 
#define USTCR_FifoCir   (1<<8)
 
#define USTCR_TestXferSel   (1<<9)
 
#define USTCR_FifoCirAtEnd   (1<<10)
 
#define USTCR_nSimScaleDownClk   (1<<11)
 
#define USSR_nAppMDEmpty   0x01
 
#define USSR_nAppMDFirst   0x02
 
#define USSR_nAppMDLast   0x04
 
#define USSR_nAppMDFull   0x08
 
#define USSR_nAppMAFull   0x10
 
#define USSR_XferReq   0x20
 
#define USSR_XferEnd   0x40
 
#define _INT(x)   _SA1101( ( x ) + __INTERRUPT_CONTROL)
 
#define _INTTEST0   _INT( 0x1000 )
 
#define _INTTEST1   _INT( 0x1400 )
 
#define _INTENABLE0   _INT( 0x2000 )
 
#define _INTENABLE1   _INT( 0x2400 )
 
#define _INTPOL0   _INT( 0x3000 )
 
#define _INTPOL1   _INT( 0x3400 )
 
#define _INTTSTSEL   _INT( 0x5000 )
 
#define _INTSTATCLR0   _INT( 0x6000 )
 
#define _INTSTATCLR1   _INT( 0x6400 )
 
#define _INTSET0   _INT( 0x7000 )
 
#define _INTSET1   _INT( 0x7400 )
 
#define INTTEST0   (*((volatile Word *) SA1101_p2v (_INTTEST0)))
 
#define INTTEST1   (*((volatile Word *) SA1101_p2v (_INTTEST1)))
 
#define INTENABLE0   (*((volatile Word *) SA1101_p2v (_INTENABLE0)))
 
#define INTENABLE1   (*((volatile Word *) SA1101_p2v (_INTENABLE1)))
 
#define INTPOL0   (*((volatile Word *) SA1101_p2v (_INTPOL0)))
 
#define INTPOL1   (*((volatile Word *) SA1101_p2v (_INTPOL1)))
 
#define INTTSTSEL   (*((volatile Word *) SA1101_p2v (_INTTSTSEL)))
 
#define INTSTATCLR0   (*((volatile Word *) SA1101_p2v (_INTSTATCLR0)))
 
#define INTSTATCLR1   (*((volatile Word *) SA1101_p2v (_INTSTATCLR1)))
 
#define INTSET0   (*((volatile Word *) SA1101_p2v (_INTSET0)))
 
#define INTSET1   (*((volatile Word *) SA1101_p2v (_INTSET1)))
 
#define _KBD(x)   _SA1101( ( x ) + __TRACK_INTERFACE )
 
#define _MSE(x)   _SA1101( ( x ) + __MOUSE_INTERFACE )
 
#define _KBDCR   _KBD( 0x0000 )
 
#define _KBDSTAT   _KBD( 0x0400 )
 
#define _KBDDATA   _KBD( 0x0800 )
 
#define _KBDCLKDIV   _KBD( 0x0c00 )
 
#define _KBDPRECNT   _KBD( 0x1000 )
 
#define _KBDTEST1   _KBD( 0x2000 )
 
#define _KBDTEST2   _KBD( 0x2400 )
 
#define _KBDTEST3   _KBD( 0x2800 )
 
#define _KBDTEST4   _KBD( 0x2c00 )
 
#define _MSECR   _MSE( 0x0000 )
 
#define _MSESTAT   _MSE( 0x0400 )
 
#define _MSEDATA   _MSE( 0x0800 )
 
#define _MSECLKDIV   _MSE( 0x0c00 )
 
#define _MSEPRECNT   _MSE( 0x1000 )
 
#define _MSETEST1   _MSE( 0x2000 )
 
#define _MSETEST2   _MSE( 0x2400 )
 
#define _MSETEST3   _MSE( 0x2800 )
 
#define _MSETEST4   _MSE( 0x2c00 )
 
#define KBDCR   (*((volatile Word *) SA1101_p2v (_KBDCR)))
 
#define KBDSTAT   (*((volatile Word *) SA1101_p2v (_KBDSTAT)))
 
#define KBDDATA   (*((volatile Word *) SA1101_p2v (_KBDDATA)))
 
#define KBDCLKDIV   (*((volatile Word *) SA1101_p2v (_KBDCLKDIV)))
 
#define KBDPRECNT   (*((volatile Word *) SA1101_p2v (_KBDPRECNT)))
 
#define KBDTEST1   (*((volatile Word *) SA1101_p2v (_KBDTEST1)))
 
#define KBDTEST2   (*((volatile Word *) SA1101_p2v (_KBDTEST2)))
 
#define KBDTEST3   (*((volatile Word *) SA1101_p2v (_KBDTEST3)))
 
#define KBDTEST4   (*((volatile Word *) SA1101_p2v (_KBDTEST4)))
 
#define MSECR   (*((volatile Word *) SA1101_p2v (_MSECR)))
 
#define MSESTAT   (*((volatile Word *) SA1101_p2v (_MSESTAT)))
 
#define MSEDATA   (*((volatile Word *) SA1101_p2v (_MSEDATA)))
 
#define MSECLKDIV   (*((volatile Word *) SA1101_p2v (_MSECLKDIV)))
 
#define MSEPRECNT   (*((volatile Word *) SA1101_p2v (_MSEPRECNT)))
 
#define MSETEST1   (*((volatile Word *) SA1101_p2v (_MSETEST1)))
 
#define MSETEST2   (*((volatile Word *) SA1101_p2v (_MSETEST2)))
 
#define MSETEST3   (*((volatile Word *) SA1101_p2v (_MSETEST3)))
 
#define MSETEST4   (*((volatile Word *) SA1101_p2v (_MSETEST4)))
 
#define KBDCR_ENA   0x08
 
#define KBDCR_FKD   0x02
 
#define KBDCR_FKC   0x01
 
#define KBDSTAT_TXE   0x80
 
#define KBDSTAT_TXB   0x40
 
#define KBDSTAT_RXF   0x20
 
#define KBDSTAT_RXB   0x10
 
#define KBDSTAT_ENA   0x08
 
#define KBDSTAT_RXP   0x04
 
#define KBDSTAT_KBD   0x02
 
#define KBDSTAT_KBC   0x01
 
#define KBDCLKDIV_DivVal   Fld(4,0)
 
#define MSECR_ENA   0x08
 
#define MSECR_FKD   0x02
 
#define MSECR_FKC   0x01
 
#define MSESTAT_TXE   0x80
 
#define MSESTAT_TXB   0x40
 
#define MSESTAT_RXF   0x20
 
#define MSESTAT_RXB   0x10
 
#define MSESTAT_ENA   0x08
 
#define MSESTAT_RXP   0x04
 
#define MSESTAT_MSD   0x02
 
#define MSESTAT_MSC   0x01
 
#define MSECLKDIV_DivVal   Fld(4,0)
 
#define KBDTEST1_CD   0x80
 
#define KBDTEST1_RC1   0x40
 
#define KBDTEST1_MC   0x20
 
#define KBDTEST1_C   Fld(2,3)
 
#define KBDTEST1_T2   0x40
 
#define KBDTEST1_T1   0x20
 
#define KBDTEST1_T0   0x10
 
#define KBDTEST2_TICBnRES   0x08
 
#define KBDTEST2_RKC   0x04
 
#define KBDTEST2_RKD   0x02
 
#define KBDTEST2_SEL   0x01
 
#define KBDTEST3_ms_16   0x80
 
#define KBDTEST3_us_64   0x40
 
#define KBDTEST3_us_16   0x20
 
#define KBDTEST3_DIV8   0x10
 
#define KBDTEST3_DIn   0x08
 
#define KBDTEST3_CIn   0x04
 
#define KBDTEST3_KD   0x02
 
#define KBDTEST3_KC   0x01
 
#define KBDTEST4_BC12   0x80
 
#define KBDTEST4_BC11   0x40
 
#define KBDTEST4_TRES   0x20
 
#define KBDTEST4_CLKOE   0x10
 
#define KBDTEST4_CRES   0x08
 
#define KBDTEST4_RXB   0x04
 
#define KBDTEST4_TXB   0x02
 
#define KBDTEST4_SRX   0x01
 
#define MSETEST1_CD   0x80
 
#define MSETEST1_RC1   0x40
 
#define MSETEST1_MC   0x20
 
#define MSETEST1_C   Fld(2,3)
 
#define MSETEST1_T2   0x40
 
#define MSETEST1_T1   0x20
 
#define MSETEST1_T0   0x10
 
#define MSETEST2_TICBnRES   0x08
 
#define MSETEST2_RKC   0x04
 
#define MSETEST2_RKD   0x02
 
#define MSETEST2_SEL   0x01
 
#define MSETEST3_ms_16   0x80
 
#define MSETEST3_us_64   0x40
 
#define MSETEST3_us_16   0x20
 
#define MSETEST3_DIV8   0x10
 
#define MSETEST3_DIn   0x08
 
#define MSETEST3_CIn   0x04
 
#define MSETEST3_KD   0x02
 
#define MSETEST3_KC   0x01
 
#define MSETEST4_BC12   0x80
 
#define MSETEST4_BC11   0x40
 
#define MSETEST4_TRES   0x20
 
#define MSETEST4_CLKOE   0x10
 
#define MSETEST4_CRES   0x08
 
#define MSETEST4_RXB   0x04
 
#define MSETEST4_TXB   0x02
 
#define MSETEST4_SRX   0x01
 
#define _PIO(x)   _SA1101( ( x ) + __GPIO_INTERFACE )
 
#define _PADWR   _PIO( 0x0000 )
 
#define _PBDWR   _PIO( 0x0400 )
 
#define _PADRR   _PIO( 0x0000 )
 
#define _PBDRR   _PIO( 0x0400 )
 
#define _PADDR   _PIO( 0x0800 )
 
#define _PBDDR   _PIO( 0x0c00 )
 
#define _PASSR   _PIO( 0x1000 )
 
#define _PBSSR   _PIO( 0x1400 )
 
#define PADWR   (*((volatile Word *) SA1101_p2v (_PADWR)))
 
#define PBDWR   (*((volatile Word *) SA1101_p2v (_PBDWR)))
 
#define PADRR   (*((volatile Word *) SA1101_p2v (_PADRR)))
 
#define PBDRR   (*((volatile Word *) SA1101_p2v (_PBDRR)))
 
#define PADDR   (*((volatile Word *) SA1101_p2v (_PADDR)))
 
#define PBDDR   (*((volatile Word *) SA1101_p2v (_PBDDR)))
 
#define PASSR   (*((volatile Word *) SA1101_p2v (_PASSR)))
 
#define PBSSR   (*((volatile Word *) SA1101_p2v (_PBSSR)))
 
#define _KEYPAD(x)   _SA1101( ( x ) + __KEYPAD_INTERFACE )
 
#define _PXDWR   _KEYPAD( 0x0000 )
 
#define _PXDRR   _KEYPAD( 0x0000 )
 
#define _PYDWR   _KEYPAD( 0x0400 )
 
#define _PYDRR   _KEYPAD( 0x0400 )
 
#define PXDWR   (*((volatile Word *) SA1101_p2v (_PXDWR)))
 
#define PXDRR   (*((volatile Word *) SA1101_p2v (_PXDRR)))
 
#define PYDWR   (*((volatile Word *) SA1101_p2v (_PYDWR)))
 
#define PYDRR   (*((volatile Word *) SA1101_p2v (_PYDRR)))
 
#define _CARD(x)   _SA1101( ( x ) + __PCMCIA_INTERFACE )
 
#define _PCSR   _CARD( 0x0000 )
 
#define _PCCR   _CARD( 0x0400 )
 
#define _PCSSR   _CARD( 0x0800 )
 
#define PCSR   (*((volatile Word *) SA1101_p2v (_PCSR)))
 
#define PCCR   (*((volatile Word *) SA1101_p2v (_PCCR)))
 
#define PCSSR   (*((volatile Word *) SA1101_p2v (_PCSSR)))
 
#define PCSR_S0_ready   0x0001
 
#define PCSR_S1_ready   0x0002
 
#define PCSR_S0_detected   0x0004
 
#define PCSR_S1_detected   0x0008
 
#define PCSR_S0_VS1   0x0010
 
#define PCSR_S0_VS2   0x0020
 
#define PCSR_S1_VS1   0x0040
 
#define PCSR_S1_VS2   0x0080
 
#define PCSR_S0_WP   0x0100
 
#define PCSR_S1_WP   0x0200
 
#define PCSR_S0_BVD1_nSTSCHG   0x0400
 
#define PCSR_S0_BVD2_nSPKR   0x0800
 
#define PCSR_S1_BVD1_nSTSCHG   0x1000
 
#define PCSR_S1_BVD2_nSPKR   0x2000
 
#define PCCR_S0_VPP0   0x0001
 
#define PCCR_S0_VPP1   0x0002
 
#define PCCR_S0_VCC0   0x0004
 
#define PCCR_S0_VCC1   0x0008
 
#define PCCR_S1_VPP0   0x0010
 
#define PCCR_S1_VPP1   0x0020
 
#define PCCR_S1_VCC0   0x0040
 
#define PCCR_S1_VCC1   0x0080
 
#define PCCR_S0_reset   0x0100
 
#define PCCR_S1_reset   0x0200
 
#define PCCR_S0_float   0x0400
 
#define PCCR_S1_float   0x0800
 
#define PCSSR_S0_VCC0   0x0001
 
#define PCSSR_S0_VCC1   0x0002
 
#define PCSSR_S0_VPP0   0x0004
 
#define PCSSR_S0_VPP1   0x0008
 
#define PCSSR_S0_control   0x0010
 
#define PCSSR_S1_VCC0   0x0020
 
#define PCSSR_S1_VCC1   0x0040
 
#define PCSSR_S1_VPP0   0x0080
 
#define PCSSR_S1_VPP1   0x0100
 
#define PCSSR_S1_control   0x0200
 

Macro Definition Documentation

#define __ARBITER   0x00020000

Definition at line 53 of file SA-1101.h.

#define __GPIO_INTERFACE   0x00300000

Definition at line 67 of file SA-1101.h.

#define __INTERRUPT_CONTROL   0x00160000

Definition at line 60 of file SA-1101.h.

#define __KEYPAD_INTERFACE   0x001c0000

Definition at line 64 of file SA-1101.h.

#define __MOUSE_INTERFACE   0x001b0000

Definition at line 63 of file SA-1101.h.

#define __PARALLEL_PORT   0x00080000

Definition at line 56 of file SA-1101.h.

#define __PCMCIA_INTERFACE   0x001e0000

Definition at line 65 of file SA-1101.h.

#define __SHMEM_CONTROL0   0x00000000

Definition at line 51 of file SA-1101.h.

#define __SHMEM_CONTROL1   0x00140000

Definition at line 59 of file SA-1101.h.

#define __SYSTEM_CONTROL1   0x00000400

Definition at line 52 of file SA-1101.h.

#define __SYSTEM_CONTROL2   0x00040000

Definition at line 54 of file SA-1101.h.

#define __SYSTEM_CONTROL3   0x00060000

Definition at line 55 of file SA-1101.h.

#define __TRACK_INTERFACE   0x001a0000

Definition at line 62 of file SA-1101.h.

#define __UPDATE_FIFO   0x00120000

Definition at line 58 of file SA-1101.h.

#define __USB_CONTROL   0x00180000

Definition at line 61 of file SA-1101.h.

#define __VGA_CONTROL   0x00200000

Definition at line 66 of file SA-1101.h.

#define __VIDMEM_CONTROL   0x00100000

Definition at line 57 of file SA-1101.h.

#define _BulkCurrentED   _USB( 0x2c00 )

Definition at line 503 of file SA-1101.h.

#define _BulkHeadED   _USB( 0x2800 )

Definition at line 502 of file SA-1101.h.

#define _CARD (   x)    _SA1101( ( x ) + __PCMCIA_INTERFACE )

Definition at line 872 of file SA-1101.h.

#define _CommandStatus   _USB( 0x0c00 )

Definition at line 496 of file SA-1101.h.

#define _Control   _USB( 0x0888 )

Definition at line 495 of file SA-1101.h.

#define _ControlHeadED   _USB( 0x2000 )

Definition at line 501 of file SA-1101.h.

#define _DacControl   _VGA( 0x3000 )

Definition at line 382 of file SA-1101.h.

#define _DACDR1   _SA1101(0x00060000)

Definition at line 196 of file SA-1101.h.

#define _DACDR2   _SA1101(0x00060400)

Definition at line 197 of file SA-1101.h.

#define _DoneHead   _USB( 0x3000 )

Definition at line 504 of file SA-1101.h.

#define _FmInterval   _USB( 0x3400 )

Definition at line 505 of file SA-1101.h.

#define _FmNumber   _USB( 0x3c00 )

Definition at line 507 of file SA-1101.h.

#define _FmRemaining   _USB( 0x3800 )

Definition at line 506 of file SA-1101.h.

#define _HCCA   _USB( 0x1800 )

Definition at line 499 of file SA-1101.h.

#define _IEEE (   x)    _SA1101( (x) + __PARALLEL_PORT )

Definition at line 259 of file SA-1101.h.

#define _IEEE_Addr   _IEEE( 0x0800 )

Definition at line 264 of file SA-1101.h.

#define _IEEE_Config   _IEEE( 0x0000 )

Definition at line 261 of file SA-1101.h.

#define _IEEE_Control   _IEEE( 0x0400 )

Definition at line 262 of file SA-1101.h.

#define _IEEE_Data   _IEEE( 0x4000 )

Definition at line 263 of file SA-1101.h.

#define _IEEE_FifoLevels   _IEEE( 0x1400 )

Definition at line 267 of file SA-1101.h.

#define _IEEE_FifoReset   _IEEE( 0x2000 )

Definition at line 270 of file SA-1101.h.

#define _IEEE_InitTime   _IEEE( 0x1800 )

Definition at line 268 of file SA-1101.h.

#define _IEEE_IntStatus   _IEEE( 0x1000 )

Definition at line 266 of file SA-1101.h.

#define _IEEE_ReloadValue   _IEEE( 0x3c00 )

Definition at line 271 of file SA-1101.h.

#define _IEEE_Status   _IEEE( 0x0c00 )

Definition at line 265 of file SA-1101.h.

#define _IEEE_TestControl   _IEEE( 0x2400 )

Definition at line 272 of file SA-1101.h.

#define _IEEE_TestCtrlIn   _IEEE( 0x3000 )

Definition at line 275 of file SA-1101.h.

#define _IEEE_TestCtrlInEn   _IEEE( 0x3400 )

Definition at line 276 of file SA-1101.h.

#define _IEEE_TestDataIn   _IEEE( 0x2800 )

Definition at line 273 of file SA-1101.h.

#define _IEEE_TestDataInEn   _IEEE( 0x2c00 )

Definition at line 274 of file SA-1101.h.

#define _IEEE_TestDataStat   _IEEE( 0x3800 )

Definition at line 277 of file SA-1101.h.

#define _IEEE_TimerStatus   _IEEE( 0x1c00 )

Definition at line 269 of file SA-1101.h.

#define _INT (   x)    _SA1101( ( x ) + __INTERRUPT_CONTROL)

Definition at line 602 of file SA-1101.h.

#define _INTENABLE0   _INT( 0x2000 )

Definition at line 606 of file SA-1101.h.

#define _INTENABLE1   _INT( 0x2400 )

Definition at line 607 of file SA-1101.h.

#define _InterruptEnable   _USB( 0x1400 )

Definition at line 498 of file SA-1101.h.

#define _InterruptStatus   _USB( 0x1000 )

Definition at line 497 of file SA-1101.h.

#define _INTPOL0   _INT( 0x3000 )

Definition at line 608 of file SA-1101.h.

#define _INTPOL1   _INT( 0x3400 )

Definition at line 609 of file SA-1101.h.

#define _INTSET0   _INT( 0x7000 )

Definition at line 613 of file SA-1101.h.

#define _INTSET1   _INT( 0x7400 )

Definition at line 614 of file SA-1101.h.

#define _INTSTATCLR0   _INT( 0x6000 )

Definition at line 611 of file SA-1101.h.

#define _INTSTATCLR1   _INT( 0x6400 )

Definition at line 612 of file SA-1101.h.

#define _INTTEST0   _INT( 0x1000 )

Definition at line 604 of file SA-1101.h.

#define _INTTEST1   _INT( 0x1400 )

Definition at line 605 of file SA-1101.h.

#define _INTTSTSEL   _INT( 0x5000 )

Definition at line 610 of file SA-1101.h.

#define _KBD (   x)    _SA1101( ( x ) + __TRACK_INTERFACE )

Definition at line 656 of file SA-1101.h.

#define _KBDCLKDIV   _KBD( 0x0c00 )

Definition at line 662 of file SA-1101.h.

#define _KBDCR   _KBD( 0x0000 )

Definition at line 659 of file SA-1101.h.

#define _KBDDATA   _KBD( 0x0800 )

Definition at line 661 of file SA-1101.h.

#define _KBDPRECNT   _KBD( 0x1000 )

Definition at line 663 of file SA-1101.h.

#define _KBDSTAT   _KBD( 0x0400 )

Definition at line 660 of file SA-1101.h.

#define _KBDTEST1   _KBD( 0x2000 )

Definition at line 664 of file SA-1101.h.

#define _KBDTEST2   _KBD( 0x2400 )

Definition at line 665 of file SA-1101.h.

#define _KBDTEST3   _KBD( 0x2800 )

Definition at line 666 of file SA-1101.h.

#define _KBDTEST4   _KBD( 0x2c00 )

Definition at line 667 of file SA-1101.h.

#define _KEYPAD (   x)    _SA1101( ( x ) + __KEYPAD_INTERFACE )

Definition at line 843 of file SA-1101.h.

#define _LSThreshold   _USB( 0x4400 )

Definition at line 509 of file SA-1101.h.

#define _MSE (   x)    _SA1101( ( x ) + __MOUSE_INTERFACE )

Definition at line 657 of file SA-1101.h.

#define _MSECLKDIV   _MSE( 0x0c00 )

Definition at line 671 of file SA-1101.h.

#define _MSECR   _MSE( 0x0000 )

Definition at line 668 of file SA-1101.h.

#define _MSEDATA   _MSE( 0x0800 )

Definition at line 670 of file SA-1101.h.

#define _MSEPRECNT   _MSE( 0x1000 )

Definition at line 672 of file SA-1101.h.

#define _MSESTAT   _MSE( 0x0400 )

Definition at line 669 of file SA-1101.h.

#define _MSETEST1   _MSE( 0x2000 )

Definition at line 673 of file SA-1101.h.

#define _MSETEST2   _MSE( 0x2400 )

Definition at line 674 of file SA-1101.h.

#define _MSETEST3   _MSE( 0x2800 )

Definition at line 675 of file SA-1101.h.

#define _MSETEST4   _MSE( 0x2c00 )

Definition at line 676 of file SA-1101.h.

#define _PADDR   _PIO( 0x0800 )

Definition at line 810 of file SA-1101.h.

#define _PADRR   _PIO( 0x0000 )

Definition at line 808 of file SA-1101.h.

#define _PADWR   _PIO( 0x0000 )

Definition at line 806 of file SA-1101.h.

#define _PASSR   _PIO( 0x1000 )

Definition at line 812 of file SA-1101.h.

#define _PBDDR   _PIO( 0x0c00 )

Definition at line 811 of file SA-1101.h.

#define _PBDRR   _PIO( 0x0400 )

Definition at line 809 of file SA-1101.h.

#define _PBDWR   _PIO( 0x0400 )

Definition at line 807 of file SA-1101.h.

#define _PBSSR   _PIO( 0x1400 )

Definition at line 813 of file SA-1101.h.

#define _PCCR   _CARD( 0x0400 )

Definition at line 875 of file SA-1101.h.

#define _PCSR   _CARD( 0x0000 )

Definition at line 874 of file SA-1101.h.

#define _PCSSR   _CARD( 0x0800 )

Definition at line 876 of file SA-1101.h.

#define _PeriodCurrentED   _USB( 0x1c00 )

Definition at line 500 of file SA-1101.h.

#define _PeriodicStart   _USB( 0x4000 )

Definition at line 508 of file SA-1101.h.

#define _PIO (   x)    _SA1101( ( x ) + __GPIO_INTERFACE )

Definition at line 804 of file SA-1101.h.

#define _PXDRR   _KEYPAD( 0x0000 )

Definition at line 846 of file SA-1101.h.

#define _PXDWR   _KEYPAD( 0x0000 )

Definition at line 845 of file SA-1101.h.

#define _PYDRR   _KEYPAD( 0x0400 )

Definition at line 848 of file SA-1101.h.

#define _PYDWR   _KEYPAD( 0x0400 )

Definition at line 847 of file SA-1101.h.

#define _Revision   _USB( 0x0000 )

Definition at line 494 of file SA-1101.h.

#define _RhDescriptorA   _USB( 0x4800 )

Definition at line 510 of file SA-1101.h.

#define _RhDescriptorB   _USB( 0x4c00 )

Definition at line 511 of file SA-1101.h.

#define _RhPortStatus   _USB( 0x5400 )

Definition at line 513 of file SA-1101.h.

#define _RhStatus   _USB( 0x5000 )

Definition at line 512 of file SA-1101.h.

#define _SA1101 (   x)    ((x) + SA1101_BASE)

Definition at line 73 of file SA-1101.h.

#define _SKCDR   _SA1101(0x00040000)

Definition at line 195 of file SA-1101.h.

#define _SKCR   _SA1101( 0x00000000 ) /* SA-1101 Control Reg. */

Definition at line 84 of file SA-1101.h.

#define _SKPCR   _SA1101(0x00000400)

Definition at line 194 of file SA-1101.h.

#define _SMCR   _SA1101( 0x00140000 ) /* Shared Mem. Control Reg. */

Definition at line 85 of file SA-1101.h.

#define _SNPR   _SA1101( 0x00140400 ) /* Snoop Reg. */

Definition at line 86 of file SA-1101.h.

#define _UFCR   _SA1101(0x00120000) /* Update FIFO Control Reg. */

Definition at line 166 of file SA-1101.h.

#define _UFDR   _SA1101(0x00120c00) /* Update FIFO data reg. */

Definition at line 169 of file SA-1101.h.

#define _UFLVLR   _SA1101(0x00120800) /* Update FIFO level reg. */

Definition at line 168 of file SA-1101.h.

#define _UFSR   _SA1101(0x00120400) /* Update FIFO Status Reg. */

Definition at line 167 of file SA-1101.h.

#define _USB (   x)    _SA1101( ( x ) + __USB_CONTROL )

Definition at line 491 of file SA-1101.h.

#define _USBReset   _USB( 0x11c00 )

Definition at line 515 of file SA-1101.h.

#define _USBStatus   _USB( 0x11800 )

Definition at line 514 of file SA-1101.h.

#define _USNFR   _USB( 0x11000 )

Definition at line 520 of file SA-1101.h.

#define _USRFR   _USB( 0x10c00 )

Definition at line 519 of file SA-1101.h.

#define _USSR   _USB( 0x11800 )

Definition at line 522 of file SA-1101.h.

#define _USTAR   _USB( 0x10400 )

Definition at line 517 of file SA-1101.h.

#define _USTCSR   _USB( 0x11400 )

Definition at line 521 of file SA-1101.h.

#define _USWER   _USB( 0x10800 )

Definition at line 518 of file SA-1101.h.

#define _VGA (   x)    _SA1101( ( x ) + __VGA_CONTROL )

Definition at line 369 of file SA-1101.h.

#define _VgaBorder   _VGA( 0x1400 )

Definition at line 376 of file SA-1101.h.

#define _VgaDBAR   _VGA( 0x1800 )

Definition at line 377 of file SA-1101.h.

#define _VgaDCAR   _VGA( 0x1c00 )

Definition at line 378 of file SA-1101.h.

#define _VgaInterruptMask   _VGA( 0x2400 )

Definition at line 380 of file SA-1101.h.

#define _VgaPalette   _VGA( 0x40000 )

Definition at line 381 of file SA-1101.h.

#define _VgaStatus   _VGA( 0x2000 )

Definition at line 379 of file SA-1101.h.

#define _VgaTest   _VGA( 0x2c00 )

Definition at line 383 of file SA-1101.h.

#define _VgaTiming0   _VGA( 0x0400 )

Definition at line 372 of file SA-1101.h.

#define _VgaTiming1   _VGA( 0x0800 )

Definition at line 373 of file SA-1101.h.

#define _VgaTiming2   _VGA( 0x0c00 )

Definition at line 374 of file SA-1101.h.

#define _VgaTiming3   _VGA( 0x1000 )

Definition at line 375 of file SA-1101.h.

#define _VideoControl   _VGA( 0x0000 )

Definition at line 371 of file SA-1101.h.

#define _VMCAR   _SA1101( 0x00101000 ) /* VMC address register */

Definition at line 135 of file SA-1101.h.

#define _VMCCR   _SA1101( 0x00100000 ) /* Configuration register */

Definition at line 134 of file SA-1101.h.

#define _VMCDR   _SA1101( 0x00101400 ) /* VMC data register */

Definition at line 136 of file SA-1101.h.

#define Assembly   1

Definition at line 44 of file SA-1101.h.

#define BulkCurrentED   (*((volatile Word *) SA1101_p2v (_BulkCurrentED)))

Definition at line 536 of file SA-1101.h.

#define BulkHeadED   (*((volatile Word *) SA1101_p2v (_BulkHeadED)))

Definition at line 535 of file SA-1101.h.

#define C   0

Definition at line 43 of file SA-1101.h.

#define CommandStatus   (*((volatile Word *) SA1101_p2v (_CommandStatus)))

Definition at line 529 of file SA-1101.h.

unsigned char Control   (*((volatile Word *) SA1101_p2v (_Control)))

Definition at line 528 of file SA-1101.h.

#define ControlHeadED   (*((volatile Word *) SA1101_p2v (_ControlHeadED)))

Definition at line 534 of file SA-1101.h.

#define DacControl   (*((volatile Word *) SA1101_p2v (_DacControl)))

Definition at line 397 of file SA-1101.h.

#define DacControl_BTrim   Fld(5,14)

Definition at line 447 of file SA-1101.h.

#define DacControl_COMPON   0x0002

Definition at line 443 of file SA-1101.h.

#define DacControl_DACON   0x0001

Definition at line 442 of file SA-1101.h.

#define DacControl_GTrim   Fld(5,9)

Definition at line 446 of file SA-1101.h.

#define DacControl_PEDON   0x0004

Definition at line 444 of file SA-1101.h.

#define DacControl_RTrim   Fld(5,4)

Definition at line 445 of file SA-1101.h.

#define DACDR1   (*((volatile Word *) SA1101_p2v (_DACDR1)))

Definition at line 202 of file SA-1101.h.

#define DACDR1_DACCount   DACDR_DACCount

Definition at line 226 of file SA-1101.h.

#define DACDR2   (*((volatile Word *) SA1101_p2v (_DACDR2)))

Definition at line 203 of file SA-1101.h.

#define DACDR2_DACCount   DACDR_DACCount

Definition at line 227 of file SA-1101.h.

#define DACDR_DACCount   Fld(8,0) /* Count value */

Definition at line 225 of file SA-1101.h.

#define DoneHead   (*((volatile Word *) SA1101_p2v (_DoneHead)))

Definition at line 537 of file SA-1101.h.

#define FmInterval   (*((volatile Word *) SA1101_p2v (_FmInterval)))

Definition at line 538 of file SA-1101.h.

#define FmNumber   (*((volatile Word *) SA1101_p2v (_FmNumber)))

Definition at line 540 of file SA-1101.h.

#define FmRemaining   (*((volatile Word *) SA1101_p2v (_FmRemaining)))

Definition at line 539 of file SA-1101.h.

#define HCCA   (*((volatile Word *) SA1101_p2v (_HCCA)))

Definition at line 532 of file SA-1101.h.

#define IEEE_Addr   (*((volatile Word *) SA1101_p2v (_IEEE_Addr)))

Definition at line 284 of file SA-1101.h.

#define IEEE_Addr_A   Fld(8,0) /* forward address transfer byte */

Definition at line 313 of file SA-1101.h.

#define IEEE_Config   (*((volatile Word *) SA1101_p2v (_IEEE_Config)))

Definition at line 281 of file SA-1101.h.

#define IEEE_Config_A   0x20 /* Data transfer direction */

Definition at line 304 of file SA-1101.h.

#define IEEE_Config_B   0x08 /* 9-bit word enable */

Definition at line 302 of file SA-1101.h.

#define IEEE_Config_D   0x04 /* FIFO access enable */

Definition at line 301 of file SA-1101.h.

#define IEEE_Config_E   0x40 /* Timer enable */

Definition at line 305 of file SA-1101.h.

#define IEEE_Config_M   Fld(3,0) /* Mode select */

Definition at line 300 of file SA-1101.h.

#define IEEE_Config_T   0x10 /* Data transfer enable */

Definition at line 303 of file SA-1101.h.

#define IEEE_Control   (*((volatile Word *) SA1101_p2v (_IEEE_Control)))

Definition at line 282 of file SA-1101.h.

#define IEEE_Control_A   0x08 /* AutoFd output */

Definition at line 306 of file SA-1101.h.

#define IEEE_Control_E   0x04 /* Selectin output */

Definition at line 307 of file SA-1101.h.

#define IEEE_Control_I   0x01 /* Port init output */

Definition at line 309 of file SA-1101.h.

#define IEEE_Control_T   0x02 /* Strobe output */

Definition at line 308 of file SA-1101.h.

#define IEEE_Data   (*((volatile Word *) SA1101_p2v (_IEEE_Data)))

Definition at line 283 of file SA-1101.h.

#define IEEE_Data_C   (1<<31) /* Byte count */

Definition at line 310 of file SA-1101.h.

#define IEEE_Data_Da   Fld(9,0) /* Data byte 1 */

Definition at line 312 of file SA-1101.h.

#define IEEE_Data_Db   Fld(9,16) /* Data byte 2 */

Definition at line 311 of file SA-1101.h.

#define IEEE_FifoLevels   (*((volatile Word *) SA1101_p2v (_IEEE_FifoLevels)))

Definition at line 287 of file SA-1101.h.

#define IEEE_FifoLevels_FwdFifoLevel   1

Definition at line 334 of file SA-1101.h.

#define IEEE_FifoLevels_RevFifoLevel   2

Definition at line 333 of file SA-1101.h.

#define IEEE_FifoReset   (*((volatile Word *) SA1101_p2v (_IEEE_FifoReset)))

Definition at line 290 of file SA-1101.h.

#define IEEE_InitTime   (*((volatile Word *) SA1101_p2v (_IEEE_InitTime)))

Definition at line 288 of file SA-1101.h.

#define IEEE_InitTime_TimValInit   Fld(22,0)

Definition at line 335 of file SA-1101.h.

#define IEEE_IntStatus   (*((volatile Word *) SA1101_p2v (_IEEE_IntStatus)))

Definition at line 286 of file SA-1101.h.

#define IEEE_IntStatus_FwdAddrComp   0x0002

Definition at line 331 of file SA-1101.h.

#define IEEE_IntStatus_FwdDataComp   0x0001

Definition at line 332 of file SA-1101.h.

#define IEEE_IntStatus_IntReqDat   0x0100

Definition at line 324 of file SA-1101.h.

#define IEEE_IntStatus_IntReqEmp   0x0080

Definition at line 325 of file SA-1101.h.

#define IEEE_IntStatus_IntReqInt   0x0040

Definition at line 326 of file SA-1101.h.

#define IEEE_IntStatus_IntReqRav   0x0020

Definition at line 327 of file SA-1101.h.

#define IEEE_IntStatus_IntReqTim   0x0010

Definition at line 328 of file SA-1101.h.

#define IEEE_IntStatus_RevAddrComp   0x0008

Definition at line 329 of file SA-1101.h.

#define IEEE_IntStatus_RevDataComp   0x0004

Definition at line 330 of file SA-1101.h.

#define IEEE_ReloadValue   (*((volatile Word *) SA1101_p2v (_IEEE_ReloadValue)))

Definition at line 291 of file SA-1101.h.

#define IEEE_ReloadValue_Reload   Fld(4,0)

Definition at line 337 of file SA-1101.h.

#define IEEE_Status   (*((volatile Word *) SA1101_p2v (_IEEE_Status)))

Definition at line 285 of file SA-1101.h.

#define IEEE_Status_A   0x0100 /* nAutoFd port output status */

Definition at line 314 of file SA-1101.h.

#define IEEE_Status_B   0x0010 /* Busy port inout status */

Definition at line 318 of file SA-1101.h.

#define IEEE_Status_E   0x0080 /* nSelectIn port output status */

Definition at line 315 of file SA-1101.h.

#define IEEE_Status_F   0x0002 /* nFault port input status */

Definition at line 321 of file SA-1101.h.

#define IEEE_Status_I   0x0020 /* nInit port output status */

Definition at line 317 of file SA-1101.h.

#define IEEE_Status_K   0x0004 /* nAck port input status */

Definition at line 320 of file SA-1101.h.

#define IEEE_Status_R   0x0001 /* pError port input status */

Definition at line 322 of file SA-1101.h.

#define IEEE_Status_S   0x0008 /* Select port input status */

Definition at line 319 of file SA-1101.h.

#define IEEE_Status_T   0x0040 /* nStrobe port output status */

Definition at line 316 of file SA-1101.h.

#define IEEE_TestControl   (*((volatile Word *) SA1101_p2v (_IEEE_TestControl)))

Definition at line 292 of file SA-1101.h.

#define IEEE_TestControl_ClockSelect   Fld(2,1)

Definition at line 340 of file SA-1101.h.

#define IEEE_TestControl_RegClk   0x04

Definition at line 339 of file SA-1101.h.

#define IEEE_TestControl_TimerTestModeEn   0x01

Definition at line 341 of file SA-1101.h.

#define IEEE_TestCtrlIn   (*((volatile Word *) SA1101_p2v (_IEEE_TestCtrlIn)))

Definition at line 295 of file SA-1101.h.

#define IEEE_TestCtrlIn_Busy   0x01

Definition at line 346 of file SA-1101.h.

#define IEEE_TestCtrlIn_nAck   0x04

Definition at line 344 of file SA-1101.h.

#define IEEE_TestCtrlIn_nFault   0x08

Definition at line 343 of file SA-1101.h.

#define IEEE_TestCtrlIn_PError   0x10

Definition at line 342 of file SA-1101.h.

#define IEEE_TestCtrlIn_PSel   0x02

Definition at line 345 of file SA-1101.h.

#define IEEE_TestCtrlInEn   (*((volatile Word *) SA1101_p2v (_IEEE_TestCtrlInEn)))

Definition at line 296 of file SA-1101.h.

#define IEEE_TestDataIn   (*((volatile Word *) SA1101_p2v (_IEEE_TestDataIn)))

Definition at line 293 of file SA-1101.h.

#define IEEE_TestDataInEn   (*((volatile Word *) SA1101_p2v (_IEEE_TestDataInEn)))

Definition at line 294 of file SA-1101.h.

#define IEEE_TestDataStat   (*((volatile Word *) SA1101_p2v (_IEEE_TestDataStat)))

Definition at line 297 of file SA-1101.h.

#define IEEE_TimerStatus   (*((volatile Word *) SA1101_p2v (_IEEE_TimerStatus)))

Definition at line 289 of file SA-1101.h.

#define IEEE_TimerStatus_TimValStat   Fld(22,0)

Definition at line 336 of file SA-1101.h.

#define INTENABLE0   (*((volatile Word *) SA1101_p2v (_INTENABLE0)))

Definition at line 619 of file SA-1101.h.

#define INTENABLE1   (*((volatile Word *) SA1101_p2v (_INTENABLE1)))

Definition at line 620 of file SA-1101.h.

#define InterruptEnable   (*((volatile Word *) SA1101_p2v (_InterruptEnable)))

Definition at line 531 of file SA-1101.h.

#define InterruptStatus   (*((volatile Word *) SA1101_p2v (_InterruptStatus)))

Definition at line 530 of file SA-1101.h.

#define INTPOL0   (*((volatile Word *) SA1101_p2v (_INTPOL0)))

Definition at line 621 of file SA-1101.h.

#define INTPOL1   (*((volatile Word *) SA1101_p2v (_INTPOL1)))

Definition at line 622 of file SA-1101.h.

#define INTSET0   (*((volatile Word *) SA1101_p2v (_INTSET0)))

Definition at line 626 of file SA-1101.h.

#define INTSET1   (*((volatile Word *) SA1101_p2v (_INTSET1)))

Definition at line 627 of file SA-1101.h.

#define INTSTATCLR0   (*((volatile Word *) SA1101_p2v (_INTSTATCLR0)))

Definition at line 624 of file SA-1101.h.

#define INTSTATCLR1   (*((volatile Word *) SA1101_p2v (_INTSTATCLR1)))

Definition at line 625 of file SA-1101.h.

#define INTTEST0   (*((volatile Word *) SA1101_p2v (_INTTEST0)))

Definition at line 617 of file SA-1101.h.

#define INTTEST1   (*((volatile Word *) SA1101_p2v (_INTTEST1)))

Definition at line 618 of file SA-1101.h.

#define INTTSTSEL   (*((volatile Word *) SA1101_p2v (_INTTSTSEL)))

Definition at line 623 of file SA-1101.h.

#define KBDCLKDIV   (*((volatile Word *) SA1101_p2v (_KBDCLKDIV)))

Definition at line 683 of file SA-1101.h.

#define KBDCLKDIV_DivVal   Fld(4,0)

Definition at line 713 of file SA-1101.h.

#define KBDCR   (*((volatile Word *) SA1101_p2v (_KBDCR)))

Definition at line 680 of file SA-1101.h.

#define KBDCR_ENA   0x08

Definition at line 700 of file SA-1101.h.

#define KBDCR_FKC   0x01

Definition at line 702 of file SA-1101.h.

#define KBDCR_FKD   0x02

Definition at line 701 of file SA-1101.h.

#define KBDDATA   (*((volatile Word *) SA1101_p2v (_KBDDATA)))

Definition at line 682 of file SA-1101.h.

#define KBDPRECNT   (*((volatile Word *) SA1101_p2v (_KBDPRECNT)))

Definition at line 684 of file SA-1101.h.

#define KBDSTAT   (*((volatile Word *) SA1101_p2v (_KBDSTAT)))

Definition at line 681 of file SA-1101.h.

#define KBDSTAT_ENA   0x08

Definition at line 708 of file SA-1101.h.

#define KBDSTAT_KBC   0x01

Definition at line 711 of file SA-1101.h.

#define KBDSTAT_KBD   0x02

Definition at line 710 of file SA-1101.h.

#define KBDSTAT_RXB   0x10

Definition at line 707 of file SA-1101.h.

#define KBDSTAT_RXF   0x20

Definition at line 706 of file SA-1101.h.

#define KBDSTAT_RXP   0x04

Definition at line 709 of file SA-1101.h.

#define KBDSTAT_TXB   0x40

Definition at line 705 of file SA-1101.h.

#define KBDSTAT_TXE   0x80

Definition at line 704 of file SA-1101.h.

#define KBDTEST1   (*((volatile Word *) SA1101_p2v (_KBDTEST1)))

Definition at line 685 of file SA-1101.h.

#define KBDTEST1_C   Fld(2,3)

Definition at line 733 of file SA-1101.h.

#define KBDTEST1_CD   0x80

Definition at line 730 of file SA-1101.h.

#define KBDTEST1_MC   0x20

Definition at line 732 of file SA-1101.h.

#define KBDTEST1_RC1   0x40

Definition at line 731 of file SA-1101.h.

#define KBDTEST1_T0   0x10

Definition at line 736 of file SA-1101.h.

#define KBDTEST1_T1   0x20

Definition at line 735 of file SA-1101.h.

#define KBDTEST1_T2   0x40

Definition at line 734 of file SA-1101.h.

#define KBDTEST2   (*((volatile Word *) SA1101_p2v (_KBDTEST2)))

Definition at line 686 of file SA-1101.h.

#define KBDTEST2_RKC   0x04

Definition at line 738 of file SA-1101.h.

#define KBDTEST2_RKD   0x02

Definition at line 739 of file SA-1101.h.

#define KBDTEST2_SEL   0x01

Definition at line 740 of file SA-1101.h.

#define KBDTEST2_TICBnRES   0x08

Definition at line 737 of file SA-1101.h.

#define KBDTEST3   (*((volatile Word *) SA1101_p2v (_KBDTEST3)))

Definition at line 687 of file SA-1101.h.

#define KBDTEST3_CIn   0x04

Definition at line 746 of file SA-1101.h.

#define KBDTEST3_DIn   0x08

Definition at line 745 of file SA-1101.h.

#define KBDTEST3_DIV8   0x10

Definition at line 744 of file SA-1101.h.

#define KBDTEST3_KC   0x01

Definition at line 748 of file SA-1101.h.

#define KBDTEST3_KD   0x02

Definition at line 747 of file SA-1101.h.

#define KBDTEST3_ms_16   0x80

Definition at line 741 of file SA-1101.h.

#define KBDTEST3_us_16   0x20

Definition at line 743 of file SA-1101.h.

#define KBDTEST3_us_64   0x40

Definition at line 742 of file SA-1101.h.

#define KBDTEST4   (*((volatile Word *) SA1101_p2v (_KBDTEST4)))

Definition at line 688 of file SA-1101.h.

#define KBDTEST4_BC11   0x40

Definition at line 750 of file SA-1101.h.

#define KBDTEST4_BC12   0x80

Definition at line 749 of file SA-1101.h.

#define KBDTEST4_CLKOE   0x10

Definition at line 752 of file SA-1101.h.

#define KBDTEST4_CRES   0x08

Definition at line 753 of file SA-1101.h.

#define KBDTEST4_RXB   0x04

Definition at line 754 of file SA-1101.h.

#define KBDTEST4_SRX   0x01

Definition at line 756 of file SA-1101.h.

#define KBDTEST4_TRES   0x20

Definition at line 751 of file SA-1101.h.

#define KBDTEST4_TXB   0x02

Definition at line 755 of file SA-1101.h.

#define LANGUAGE   C

Definition at line 25 of file SA-1101.h.

#define LSThreshold   (*((volatile Word *) SA1101_p2v (_LSThreshold)))

Definition at line 542 of file SA-1101.h.

#define MSECLKDIV   (*((volatile Word *) SA1101_p2v (_MSECLKDIV)))

Definition at line 692 of file SA-1101.h.

#define MSECLKDIV_DivVal   Fld(4,0)

Definition at line 728 of file SA-1101.h.

#define MSECR   (*((volatile Word *) SA1101_p2v (_MSECR)))

Definition at line 689 of file SA-1101.h.

#define MSECR_ENA   0x08

Definition at line 715 of file SA-1101.h.

#define MSECR_FKC   0x01

Definition at line 717 of file SA-1101.h.

#define MSECR_FKD   0x02

Definition at line 716 of file SA-1101.h.

#define MSEDATA   (*((volatile Word *) SA1101_p2v (_MSEDATA)))

Definition at line 691 of file SA-1101.h.

#define MSEPRECNT   (*((volatile Word *) SA1101_p2v (_MSEPRECNT)))

Definition at line 693 of file SA-1101.h.

#define MSESTAT   (*((volatile Word *) SA1101_p2v (_MSESTAT)))

Definition at line 690 of file SA-1101.h.

#define MSESTAT_ENA   0x08

Definition at line 723 of file SA-1101.h.

#define MSESTAT_MSC   0x01

Definition at line 726 of file SA-1101.h.

#define MSESTAT_MSD   0x02

Definition at line 725 of file SA-1101.h.

#define MSESTAT_RXB   0x10

Definition at line 722 of file SA-1101.h.

#define MSESTAT_RXF   0x20

Definition at line 721 of file SA-1101.h.

#define MSESTAT_RXP   0x04

Definition at line 724 of file SA-1101.h.

#define MSESTAT_TXB   0x40

Definition at line 720 of file SA-1101.h.

#define MSESTAT_TXE   0x80

Definition at line 719 of file SA-1101.h.

#define MSETEST1   (*((volatile Word *) SA1101_p2v (_MSETEST1)))

Definition at line 694 of file SA-1101.h.

#define MSETEST1_C   Fld(2,3)

Definition at line 761 of file SA-1101.h.

#define MSETEST1_CD   0x80

Definition at line 758 of file SA-1101.h.

#define MSETEST1_MC   0x20

Definition at line 760 of file SA-1101.h.

#define MSETEST1_RC1   0x40

Definition at line 759 of file SA-1101.h.

#define MSETEST1_T0   0x10

Definition at line 764 of file SA-1101.h.

#define MSETEST1_T1   0x20

Definition at line 763 of file SA-1101.h.

#define MSETEST1_T2   0x40

Definition at line 762 of file SA-1101.h.

#define MSETEST2   (*((volatile Word *) SA1101_p2v (_MSETEST2)))

Definition at line 695 of file SA-1101.h.

#define MSETEST2_RKC   0x04

Definition at line 766 of file SA-1101.h.

#define MSETEST2_RKD   0x02

Definition at line 767 of file SA-1101.h.

#define MSETEST2_SEL   0x01

Definition at line 768 of file SA-1101.h.

#define MSETEST2_TICBnRES   0x08

Definition at line 765 of file SA-1101.h.

#define MSETEST3   (*((volatile Word *) SA1101_p2v (_MSETEST3)))

Definition at line 696 of file SA-1101.h.

#define MSETEST3_CIn   0x04

Definition at line 774 of file SA-1101.h.

#define MSETEST3_DIn   0x08

Definition at line 773 of file SA-1101.h.

#define MSETEST3_DIV8   0x10

Definition at line 772 of file SA-1101.h.

#define MSETEST3_KC   0x01

Definition at line 776 of file SA-1101.h.

#define MSETEST3_KD   0x02

Definition at line 775 of file SA-1101.h.

#define MSETEST3_ms_16   0x80

Definition at line 769 of file SA-1101.h.

#define MSETEST3_us_16   0x20

Definition at line 771 of file SA-1101.h.

#define MSETEST3_us_64   0x40

Definition at line 770 of file SA-1101.h.

#define MSETEST4   (*((volatile Word *) SA1101_p2v (_MSETEST4)))

Definition at line 697 of file SA-1101.h.

#define MSETEST4_BC11   0x40

Definition at line 778 of file SA-1101.h.

#define MSETEST4_BC12   0x80

Definition at line 777 of file SA-1101.h.

#define MSETEST4_CLKOE   0x10

Definition at line 780 of file SA-1101.h.

#define MSETEST4_CRES   0x08

Definition at line 781 of file SA-1101.h.

#define MSETEST4_RXB   0x04

Definition at line 782 of file SA-1101.h.

#define MSETEST4_SRX   0x01

Definition at line 784 of file SA-1101.h.

#define MSETEST4_TRES   0x20

Definition at line 779 of file SA-1101.h.

#define MSETEST4_TXB   0x02

Definition at line 783 of file SA-1101.h.

#define PADDR   (*((volatile Word *) SA1101_p2v (_PADDR)))

Definition at line 823 of file SA-1101.h.

#define PADRR   (*((volatile Word *) SA1101_p2v (_PADRR)))

Definition at line 821 of file SA-1101.h.

#define PADWR   (*((volatile Word *) SA1101_p2v (_PADWR)))

Definition at line 819 of file SA-1101.h.

#define PASSR   (*((volatile Word *) SA1101_p2v (_PASSR)))

Definition at line 825 of file SA-1101.h.

#define PBDDR   (*((volatile Word *) SA1101_p2v (_PBDDR)))

Definition at line 824 of file SA-1101.h.

#define PBDRR   (*((volatile Word *) SA1101_p2v (_PBDRR)))

Definition at line 822 of file SA-1101.h.

#define PBDWR   (*((volatile Word *) SA1101_p2v (_PBDWR)))

Definition at line 820 of file SA-1101.h.

#define PBSSR   (*((volatile Word *) SA1101_p2v (_PBSSR)))

Definition at line 826 of file SA-1101.h.

#define PCCR   (*((volatile Word *) SA1101_p2v (_PCCR)))

Definition at line 880 of file SA-1101.h.

#define PCCR_S0_float   0x0400

Definition at line 908 of file SA-1101.h.

#define PCCR_S0_reset   0x0100

Definition at line 906 of file SA-1101.h.

#define PCCR_S0_VCC0   0x0004

Definition at line 900 of file SA-1101.h.

#define PCCR_S0_VCC1   0x0008

Definition at line 901 of file SA-1101.h.

#define PCCR_S0_VPP0   0x0001

Definition at line 898 of file SA-1101.h.

#define PCCR_S0_VPP1   0x0002

Definition at line 899 of file SA-1101.h.

#define PCCR_S1_float   0x0800

Definition at line 909 of file SA-1101.h.

#define PCCR_S1_reset   0x0200

Definition at line 907 of file SA-1101.h.

#define PCCR_S1_VCC0   0x0040

Definition at line 904 of file SA-1101.h.

#define PCCR_S1_VCC1   0x0080

Definition at line 905 of file SA-1101.h.

#define PCCR_S1_VPP0   0x0010

Definition at line 902 of file SA-1101.h.

#define PCCR_S1_VPP1   0x0020

Definition at line 903 of file SA-1101.h.

#define PCSR   (*((volatile Word *) SA1101_p2v (_PCSR)))

Definition at line 879 of file SA-1101.h.

#define PCSR_S0_BVD1_nSTSCHG   0x0400

Definition at line 893 of file SA-1101.h.

#define PCSR_S0_BVD2_nSPKR   0x0800

Definition at line 894 of file SA-1101.h.

#define PCSR_S0_detected   0x0004

Definition at line 885 of file SA-1101.h.

#define PCSR_S0_ready   0x0001

Definition at line 883 of file SA-1101.h.

#define PCSR_S0_VS1   0x0010

Definition at line 887 of file SA-1101.h.

#define PCSR_S0_VS2   0x0020

Definition at line 888 of file SA-1101.h.

#define PCSR_S0_WP   0x0100

Definition at line 891 of file SA-1101.h.

#define PCSR_S1_BVD1_nSTSCHG   0x1000

Definition at line 895 of file SA-1101.h.

#define PCSR_S1_BVD2_nSPKR   0x2000

Definition at line 896 of file SA-1101.h.

#define PCSR_S1_detected   0x0008

Definition at line 886 of file SA-1101.h.

#define PCSR_S1_ready   0x0002

Definition at line 884 of file SA-1101.h.

#define PCSR_S1_VS1   0x0040

Definition at line 889 of file SA-1101.h.

#define PCSR_S1_VS2   0x0080

Definition at line 890 of file SA-1101.h.

#define PCSR_S1_WP   0x0200

Definition at line 892 of file SA-1101.h.

#define PCSSR   (*((volatile Word *) SA1101_p2v (_PCSSR)))

Definition at line 881 of file SA-1101.h.

#define PCSSR_S0_control   0x0010

Definition at line 915 of file SA-1101.h.

#define PCSSR_S0_VCC0   0x0001

Definition at line 911 of file SA-1101.h.

#define PCSSR_S0_VCC1   0x0002

Definition at line 912 of file SA-1101.h.

#define PCSSR_S0_VPP0   0x0004

Definition at line 913 of file SA-1101.h.

#define PCSSR_S0_VPP1   0x0008

Definition at line 914 of file SA-1101.h.

#define PCSSR_S1_control   0x0200

Definition at line 920 of file SA-1101.h.

#define PCSSR_S1_VCC0   0x0020

Definition at line 916 of file SA-1101.h.

#define PCSSR_S1_VCC1   0x0040

Definition at line 917 of file SA-1101.h.

#define PCSSR_S1_VPP0   0x0080

Definition at line 918 of file SA-1101.h.

#define PCSSR_S1_VPP1   0x0100

Definition at line 919 of file SA-1101.h.

#define PeriodCurrentED   (*((volatile Word *) SA1101_p2v (_PeriodCurrentED)))

Definition at line 533 of file SA-1101.h.

#define PeriodicStart   (*((volatile Word *) SA1101_p2v (_PeriodicStart)))

Definition at line 541 of file SA-1101.h.

#define PXDRR   (*((volatile Word *) SA1101_p2v (_PXDRR)))

Definition at line 854 of file SA-1101.h.

#define PXDWR   (*((volatile Word *) SA1101_p2v (_PXDWR)))

Definition at line 853 of file SA-1101.h.

#define PYDRR   (*((volatile Word *) SA1101_p2v (_PYDRR)))

Definition at line 856 of file SA-1101.h.

#define PYDWR   (*((volatile Word *) SA1101_p2v (_PYDWR)))

Definition at line 855 of file SA-1101.h.

#define Revision   (*((volatile Word *) SA1101_p2v (_Revision)))

Definition at line 527 of file SA-1101.h.

#define RhDescriptorA   (*((volatile Word *) SA1101_p2v (_RhDescriptorA)))

Definition at line 543 of file SA-1101.h.

#define RhDescriptorB   (*((volatile Word *) SA1101_p2v (_RhDescriptorB)))

Definition at line 544 of file SA-1101.h.

#define RhPortStatus   (*((volatile Word *) SA1101_p2v (_RhPortStatus)))

Definition at line 546 of file SA-1101.h.

#define RhStatus   (*((volatile Word *) SA1101_p2v (_RhStatus)))

Definition at line 545 of file SA-1101.h.

#define SA1101_p2v (   x)    ((x) - SA1101_BASE + 0xf4000000)

Definition at line 34 of file SA-1101.h.

#define SA1101_v2p (   x)    ((x) - 0xf4000000 + SA1101_BASE)

Definition at line 35 of file SA-1101.h.

#define SKCDR   (*((volatile Word *) SA1101_p2v (_SKCDR)))

Definition at line 201 of file SA-1101.h.

#define SKCDR_PLLMul   Fld(7,0) /* PLL Multiplier */

Definition at line 213 of file SA-1101.h.

#define SKCDR_VCLKEn   Fld(2,7) /* Video controller clock divider */

Definition at line 214 of file SA-1101.h.

#define SKCR   (*((volatile Word *) SA1101_p2v (_SKCR)))

Definition at line 89 of file SA-1101.h.

#define SKCR_BCLKEn   0x0002 /* Enables BCLK */

Definition at line 94 of file SA-1101.h.

#define SKCR_ClockTestEn   0x0040 /* Enables clock test */

Definition at line 99 of file SA-1101.h.

#define SKCR_IRefEn   0x0008 /* DAC Iref input enable */

Definition at line 96 of file SA-1101.h.

#define SKCR_PLLEn   0x0001 /* Enable On-Chip PLL */

Definition at line 93 of file SA-1101.h.

#define SKCR_ScanTestEn   0x0020 /* Enables scan test */

Definition at line 98 of file SA-1101.h.

#define SKCR_Sleep   0x0004 /* Sleep Mode */

Definition at line 95 of file SA-1101.h.

#define SKCR_VCOON   0x0010 /* VCO bias */

Definition at line 97 of file SA-1101.h.

#define SKDCR_BCLKEn   (1<<9) /* BCLK Divider */

Definition at line 215 of file SA-1101.h.

#define SKDCR_ChargePump   (1<<25) /* Charge pump control */

Definition at line 220 of file SA-1101.h.

#define SKDCR_ClkJitterCntl   Fld(3,28) /* video clock jitter compensation */

Definition at line 223 of file SA-1101.h.

#define SKDCR_ClkTestEn   (1<<27) /* Test clock generator */

Definition at line 222 of file SA-1101.h.

#define SKDCR_ClkTestMode   (1<<26) /* Clock output test mode */

Definition at line 221 of file SA-1101.h.

#define SKDCR_DivNValue   Fld(5,17) /* Output clock divider for PLL */

Definition at line 218 of file SA-1101.h.

#define SKDCR_DivRValue   Fld(6,11) /* Input clock divider for PLL */

Definition at line 217 of file SA-1101.h.

#define SKDCR_PLLRSH   Fld(3,22) /* PLL bandwidth control */

Definition at line 219 of file SA-1101.h.

#define SKDCR_UTESTCLKEn   (1<<10) /* Route USB clock during test mode */

Definition at line 216 of file SA-1101.h.

#define SKPCR   (*((volatile Word *) SA1101_p2v (_SKPCR)))

Definition at line 200 of file SA-1101.h.

#define SKPCR_DCLKEn   0x20 /* DACs Enable */

Definition at line 210 of file SA-1101.h.

#define SKPCR_ICLKEn   0x04 /* Interrupt Controller Enable */

Definition at line 207 of file SA-1101.h.

#define SKPCR_nKPADEn   0x40 /* Multiplexer */

Definition at line 211 of file SA-1101.h.

#define SKPCR_PCLKEn   0x02 /* PS/2 Enable */

Definition at line 206 of file SA-1101.h.

#define SKPCR_PICLKEn   0x10 /* parallel port Enable */

Definition at line 209 of file SA-1101.h.

#define SKPCR_UCLKEn   0x01 /* USB Enable */

Definition at line 205 of file SA-1101.h.

#define SKPCR_VCLKEn   0x08 /* Video Controller Enable */

Definition at line 208 of file SA-1101.h.

#define SMCR   (*((volatile Word *) SA1101_p2v (_SMCR)))

Definition at line 90 of file SA-1101.h.

#define SMCR_ArbiterBias   0x0008 /* favor video or USB */

Definition at line 103 of file SA-1101.h.

#define SMCR_ColAdrBits (   x)
Value:
/* col. addr bits 8..11 */ \
(( (x) - 8 ) << FShft (SMCR_DCAC))

Definition at line 106 of file SA-1101.h.

#define SMCR_DCAC   Fld(2,0) /* Number of column address bits */

Definition at line 101 of file SA-1101.h.

#define SMCR_DRAC   Fld(2,2) /* Number of row address bits */

Definition at line 102 of file SA-1101.h.

#define SMCR_RowAdrBits (   x)
Value:
/* row addr bits 9..12 */\
(( (x) - 9 ) << FShft (SMCR_DRAC))

Definition at line 108 of file SA-1101.h.

#define SMCR_TopVidMem   Fld(4,5) /* Top 4 bits of vidmem addr. */

Definition at line 104 of file SA-1101.h.

#define SNPR   (*((volatile Word *) SA1101_p2v (_SNPR)))

Definition at line 91 of file SA-1101.h.

#define SNPR_BankSelect   Fld(2,27) /* Bank select */

Definition at line 114 of file SA-1101.h.

#define SNPR_Select_Bank (   x)
Value:
/* select bank 0 or 1 */ \
(( (x) + 1 ) << FShft (SNPR_BankSelect ))

Definition at line 119 of file SA-1101.h.

#define SNPR_Set_VFBsize (   x)
Value:
/* set frame buffer size (in kb) */ \
( (x) << FShft (SNPR_VFBsize))

Definition at line 117 of file SA-1101.h.

#define SNPR_SnoopEn   (1 << 31) /* Enable snoop operation */

Definition at line 115 of file SA-1101.h.

#define SNPR_VFBsize   Fld(11,12) /* Video frame buffer size */

Definition at line 112 of file SA-1101.h.

#define SNPR_VFBstart   Fld(12,0) /* Video frame buffer addr */

Definition at line 111 of file SA-1101.h.

#define SNPR_WholeBank   (1 << 23) /* Whole bank bit */

Definition at line 113 of file SA-1101.h.

#define UFCR   (*((volatile Word *) SA1101_p2v (_UFCR)))

Definition at line 173 of file SA-1101.h.

#define UFCR_FifoThreshhold   Fld(7,0) /* Level for FifoGTn flag */

Definition at line 179 of file SA-1101.h.

#define UFDR   (*((volatile Word *) SA1101_p2v (_UFDR)))

Definition at line 176 of file SA-1101.h.

#define UFLVLR   (*((volatile Word *) SA1101_p2v (_UFLVLR)))

Definition at line 175 of file SA-1101.h.

#define UFSR   (*((volatile Word *) SA1101_p2v (_UFSR)))

Definition at line 174 of file SA-1101.h.

#define UFSR_FifoGTnFlag   0x01 /* FifoGTn flag */#define UFSR_FifoEmpty 0x80 /* FIFO is empty */

Definition at line 181 of file SA-1101.h.

#define USBReset   (*((volatile Word *) SA1101_p2v (_USBReset)))

Definition at line 548 of file SA-1101.h.

#define USBReset_ClkGenReset   0x04

Definition at line 564 of file SA-1101.h.

#define USBReset_ForceHcReset   0x02

Definition at line 563 of file SA-1101.h.

#define USBReset_ForceIfReset   0x01

Definition at line 562 of file SA-1101.h.

#define USBStatus   (*((volatile Word *) SA1101_p2v (_USBStatus)))

Definition at line 547 of file SA-1101.h.

#define USBStatus_IrqHciBuffAcc   (1<<8)

Definition at line 558 of file SA-1101.h.

#define USBStatus_IrqHciRmtWkp   (1<<7)

Definition at line 557 of file SA-1101.h.

#define USBStatus_nHciMFClr   (1<<10)

Definition at line 560 of file SA-1101.h.

#define USBStatus_nIrqHciM   (1<<9)

Definition at line 559 of file SA-1101.h.

#define USNFR   (*((volatile Word *) SA1101_p2v (_USNFR)))

Definition at line 552 of file SA-1101.h.

#define USRFR   (*((volatile Word *) SA1101_p2v (_USRFR)))

Definition at line 551 of file SA-1101.h.

#define USSR   (*((volatile Word *) SA1101_p2v (_USSR)))

Definition at line 554 of file SA-1101.h.

#define USSR_nAppMAFull   0x10

Definition at line 578 of file SA-1101.h.

#define USSR_nAppMDEmpty   0x01

Definition at line 574 of file SA-1101.h.

#define USSR_nAppMDFirst   0x02

Definition at line 575 of file SA-1101.h.

#define USSR_nAppMDFull   0x08

Definition at line 577 of file SA-1101.h.

#define USSR_nAppMDLast   0x04

Definition at line 576 of file SA-1101.h.

#define USSR_XferEnd   0x40

Definition at line 580 of file SA-1101.h.

#define USSR_XferReq   0x20

Definition at line 579 of file SA-1101.h.

#define USTAR   (*((volatile Word *) SA1101_p2v (_USTAR)))

Definition at line 549 of file SA-1101.h.

#define USTCR_ByteEnable   Fld(4,3)

Definition at line 567 of file SA-1101.h.

#define USTCR_FifoCir   (1<<8)

Definition at line 569 of file SA-1101.h.

#define USTCR_FifoCirAtEnd   (1<<10)

Definition at line 571 of file SA-1101.h.

#define USTCR_nSimScaleDownClk   (1<<11)

Definition at line 572 of file SA-1101.h.

#define USTCR_RdBstCntrl   Fld(3,0)

Definition at line 566 of file SA-1101.h.

#define USTCR_TestXferSel   (1<<9)

Definition at line 570 of file SA-1101.h.

#define USTCR_WriteEn   (1<<7)

Definition at line 568 of file SA-1101.h.

#define USTCSR   (*((volatile Word *) SA1101_p2v (_USTCSR)))

Definition at line 553 of file SA-1101.h.

#define USWER   (*((volatile Word *) SA1101_p2v (_USWER)))

Definition at line 550 of file SA-1101.h.

#define VgaBorder   (*((volatile Word *) SA1101_p2v (_VgaBorder)))

Definition at line 391 of file SA-1101.h.

#define VgaBorder_BCOL   Fld(24,0)

Definition at line 428 of file SA-1101.h.

#define VgaDBAR   (*((volatile Word *) SA1101_p2v (_VgaDBAR)))

Definition at line 392 of file SA-1101.h.

#define VgaDCAR   (*((volatile Word *) SA1101_p2v (_VgaDCAR)))

Definition at line 393 of file SA-1101.h.

#define VgaInterruptMask   (*((volatile Word *) SA1101_p2v (_VgaInterruptMask)))

Definition at line 395 of file SA-1101.h.

#define VgaInterruptMask_VCompMask   0x02

Definition at line 436 of file SA-1101.h.

#define VgaInterruptMask_VFUFMask   0x00

Definition at line 434 of file SA-1101.h.

#define VgaInterruptMask_VNextMask   0x01

Definition at line 435 of file SA-1101.h.

#define VgaPalette   (*((volatile Word *) SA1101_p2v (_VgaPalette)))

Definition at line 396 of file SA-1101.h.

#define VgaPalette_B   Fld(8,16)

Definition at line 440 of file SA-1101.h.

#define VgaPalette_G   Fld(8,8)

Definition at line 439 of file SA-1101.h.

#define VgaPalette_R   Fld(8,0)

Definition at line 438 of file SA-1101.h.

#define VgaStatus   (*((volatile Word *) SA1101_p2v (_VgaStatus)))

Definition at line 394 of file SA-1101.h.

#define VgaStatus_VComp   0x04

Definition at line 432 of file SA-1101.h.

#define VgaStatus_VFUF   0x01

Definition at line 430 of file SA-1101.h.

#define VgaStatus_VNext   0x02

Definition at line 431 of file SA-1101.h.

#define VgaTest   (*((volatile Word *) SA1101_p2v (_VgaTest)))

Definition at line 398 of file SA-1101.h.

#define VgaTest_DACTESTDAC   0x10

Definition at line 451 of file SA-1101.h.

#define VgaTest_DACTESTOUT   Fld(3,5)

Definition at line 452 of file SA-1101.h.

#define VgaTest_Datatest   Fld(4,1)

Definition at line 450 of file SA-1101.h.

#define VgaTest_TDAC   0x00

Definition at line 449 of file SA-1101.h.

#define VgaTiming0   (*((volatile Word *) SA1101_p2v (_VgaTiming0)))

Definition at line 387 of file SA-1101.h.

#define VgaTiming0_HBP   Fld(8,24)

Definition at line 411 of file SA-1101.h.

#define VgaTiming0_HFP   Fld(8,16)

Definition at line 410 of file SA-1101.h.

#define VgaTiming0_HSW   Fld(8,8)

Definition at line 409 of file SA-1101.h.

#define VgaTiming0_PPL   Fld(6,2)

Definition at line 408 of file SA-1101.h.

#define VgaTiming1   (*((volatile Word *) SA1101_p2v (_VgaTiming1)))

Definition at line 388 of file SA-1101.h.

#define VgaTiming1_LPS   Fld(10,0)

Definition at line 413 of file SA-1101.h.

#define VgaTiming1_VBP   Fld(8,24)

Definition at line 416 of file SA-1101.h.

#define VgaTiming1_VFP   Fld(8,16)

Definition at line 415 of file SA-1101.h.

#define VgaTiming1_VSW   Fld(6,10)

Definition at line 414 of file SA-1101.h.

#define VgaTiming2   (*((volatile Word *) SA1101_p2v (_VgaTiming2)))

Definition at line 389 of file SA-1101.h.

#define VgaTiming2_CHS   0x08

Definition at line 421 of file SA-1101.h.

#define VgaTiming2_CVS   0x04

Definition at line 420 of file SA-1101.h.

#define VgaTiming2_IHS   0x02

Definition at line 419 of file SA-1101.h.

#define VgaTiming2_IVS   0x01

Definition at line 418 of file SA-1101.h.

#define VgaTiming3   (*((volatile Word *) SA1101_p2v (_VgaTiming3)))

Definition at line 390 of file SA-1101.h.

#define VgaTiming3_HBE   Fld(8,8)

Definition at line 424 of file SA-1101.h.

#define VgaTiming3_HBS   Fld(8,0)

Definition at line 423 of file SA-1101.h.

#define VgaTiming3_VBE   Fld(8,24)

Definition at line 426 of file SA-1101.h.

#define VgaTiming3_VBS   Fld(8,16)

Definition at line 425 of file SA-1101.h.

#define VideoControl   (*((volatile Word *) SA1101_p2v (_VideoControl)))

Definition at line 386 of file SA-1101.h.

#define VideoControl_BGR   0x00000001

Definition at line 401 of file SA-1101.h.

#define VideoControl_PalRead   (1<<13)

Definition at line 406 of file SA-1101.h.

#define VideoControl_VBurstL   Fld(4,8)

Definition at line 404 of file SA-1101.h.

#define VideoControl_VCompVal   Fld(2,2)

Definition at line 402 of file SA-1101.h.

#define VideoControl_VgaEn   0x00000000

Definition at line 400 of file SA-1101.h.

#define VideoControl_VgaReq   Fld(4,4)

Definition at line 403 of file SA-1101.h.

#define VideoControl_VMode   (1<<12)

Definition at line 405 of file SA-1101.h.

#define VMCAR   (*((volatile Word *) SA1101_p2v (_VMCAR)))

Definition at line 140 of file SA-1101.h.

#define VMCCR   (*((volatile Word *) SA1101_p2v (_VMCCR)))

Definition at line 139 of file SA-1101.h.

#define VMCCR_Config   0x0001 /* DRAM size */

Definition at line 144 of file SA-1101.h.

#define VMCCR_ForceSelfRef   (1<<31) /* Force self refresh */

Definition at line 152 of file SA-1101.h.

#define VMCCR_RefHigh   Fld(7,17) /* refresh high counter */

Definition at line 150 of file SA-1101.h.

#define VMCCR_RefLow   Fld(6,11) /* refresh low counter */

Definition at line 149 of file SA-1101.h.

#define VMCCR_RefPeriod   Fld(2,3) /* Refresh period */

Definition at line 145 of file SA-1101.h.

#define VMCCR_RefreshEn   0x0000 /* Enable memory refresh */

Definition at line 143 of file SA-1101.h.

#define VMCCR_RefTest   (1<<10) /* refresh test */

Definition at line 148 of file SA-1101.h.

#define VMCCR_SDTCTest   Fld(7,24) /* stale data timeout counter */

Definition at line 151 of file SA-1101.h.

#define VMCCR_SleepState   (1<<9) /* State of interface pins in sleep*/

Definition at line 147 of file SA-1101.h.

#define VMCCR_StaleDataWait   Fld(4,5) /* Stale FIFO data timeout counter */

Definition at line 146 of file SA-1101.h.

#define VMCDR   (*((volatile Word *) SA1101_p2v (_VMCDR)))

Definition at line 141 of file SA-1101.h.