Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tx3927.h File Reference
#include <asm/byteorder.h>

Go to the source code of this file.

Data Structures

struct  tx3927_sdramc_reg
 
struct  tx3927_romc_reg
 
struct  tx3927_dma_reg
 
struct  tx3927_dma_reg::tx3927_dma_ch_reg
 
struct  tx3927_pcic_reg
 
struct  tx3927_ccfg_reg
 

Macros

#define TX3927_REG_BASE   0xfffe0000UL
 
#define TX3927_REG_SIZE   0x00010000
 
#define TX3927_SDRAMC_REG   (TX3927_REG_BASE + 0x8000)
 
#define TX3927_ROMC_REG   (TX3927_REG_BASE + 0x9000)
 
#define TX3927_DMA_REG   (TX3927_REG_BASE + 0xb000)
 
#define TX3927_IRC_REG   (TX3927_REG_BASE + 0xc000)
 
#define TX3927_PCIC_REG   (TX3927_REG_BASE + 0xd000)
 
#define TX3927_CCFG_REG   (TX3927_REG_BASE + 0xe000)
 
#define TX3927_NR_TMR   3
 
#define TX3927_TMR_REG(ch)   (TX3927_REG_BASE + 0xf000 + (ch) * 0x100)
 
#define TX3927_NR_SIO   2
 
#define TX3927_SIO_REG(ch)   (TX3927_REG_BASE + 0xf300 + (ch) * 0x100)
 
#define TX3927_PIO_REG   (TX3927_REG_BASE + 0xf500)
 
#define endian_def_s2(e1, e2)   volatile unsigned short e2, e1
 
#define endian_def_sb2(e1, e2, e3)   volatile unsigned char e3, e2;volatile unsigned short e1
 
#define endian_def_b2s(e1, e2, e3)   volatile unsigned short e3;volatile unsigned char e2, e1
 
#define endian_def_b4(e1, e2, e3, e4)   volatile unsigned char e4, e3, e2, e1
 
#define TX3927_DMA_MCR_EIS(ch)   (0x10000000<<(ch))
 
#define TX3927_DMA_MCR_DIS(ch)   (0x01000000<<(ch))
 
#define TX3927_DMA_MCR_RSFIF   0x00000080
 
#define TX3927_DMA_MCR_FIFUM(ch)   (0x00000008<<(ch))
 
#define TX3927_DMA_MCR_LE   0x00000004
 
#define TX3927_DMA_MCR_RPRT   0x00000002
 
#define TX3927_DMA_MCR_MSTEN   0x00000001
 
#define TX3927_DMA_CCR_DBINH   0x04000000
 
#define TX3927_DMA_CCR_SBINH   0x02000000
 
#define TX3927_DMA_CCR_CHRST   0x01000000
 
#define TX3927_DMA_CCR_RVBYTE   0x00800000
 
#define TX3927_DMA_CCR_ACKPOL   0x00400000
 
#define TX3927_DMA_CCR_REQPL   0x00200000
 
#define TX3927_DMA_CCR_EGREQ   0x00100000
 
#define TX3927_DMA_CCR_CHDN   0x00080000
 
#define TX3927_DMA_CCR_DNCTL   0x00060000
 
#define TX3927_DMA_CCR_EXTRQ   0x00010000
 
#define TX3927_DMA_CCR_INTRQD   0x0000e000
 
#define TX3927_DMA_CCR_INTENE   0x00001000
 
#define TX3927_DMA_CCR_INTENC   0x00000800
 
#define TX3927_DMA_CCR_INTENT   0x00000400
 
#define TX3927_DMA_CCR_CHNEN   0x00000200
 
#define TX3927_DMA_CCR_XFACT   0x00000100
 
#define TX3927_DMA_CCR_SNOP   0x00000080
 
#define TX3927_DMA_CCR_DSTINC   0x00000040
 
#define TX3927_DMA_CCR_SRCINC   0x00000020
 
#define TX3927_DMA_CCR_XFSZ(order)   (((order) << 2) & 0x0000001c)
 
#define TX3927_DMA_CCR_XFSZ_1W   TX3927_DMA_CCR_XFSZ(2)
 
#define TX3927_DMA_CCR_XFSZ_4W   TX3927_DMA_CCR_XFSZ(4)
 
#define TX3927_DMA_CCR_XFSZ_8W   TX3927_DMA_CCR_XFSZ(5)
 
#define TX3927_DMA_CCR_XFSZ_16W   TX3927_DMA_CCR_XFSZ(6)
 
#define TX3927_DMA_CCR_XFSZ_32W   TX3927_DMA_CCR_XFSZ(7)
 
#define TX3927_DMA_CCR_MEMIO   0x00000002
 
#define TX3927_DMA_CCR_ONEAD   0x00000001
 
#define TX3927_DMA_CSR_CHNACT   0x00000100
 
#define TX3927_DMA_CSR_ABCHC   0x00000080
 
#define TX3927_DMA_CSR_NCHNC   0x00000040
 
#define TX3927_DMA_CSR_NTRNFC   0x00000020
 
#define TX3927_DMA_CSR_EXTDN   0x00000010
 
#define TX3927_DMA_CSR_CFERR   0x00000008
 
#define TX3927_DMA_CSR_CHERR   0x00000004
 
#define TX3927_DMA_CSR_DESERR   0x00000002
 
#define TX3927_DMA_CSR_SORERR   0x00000001
 
#define TX3927_IR_INT0   0
 
#define TX3927_IR_INT1   1
 
#define TX3927_IR_INT2   2
 
#define TX3927_IR_INT3   3
 
#define TX3927_IR_INT4   4
 
#define TX3927_IR_INT5   5
 
#define TX3927_IR_SIO0   6
 
#define TX3927_IR_SIO1   7
 
#define TX3927_IR_SIO(ch)   (6 + (ch))
 
#define TX3927_IR_DMA   8
 
#define TX3927_IR_PIO   9
 
#define TX3927_IR_PCI   10
 
#define TX3927_IR_TMR(ch)   (13 + (ch))
 
#define TX3927_NUM_IR   16
 
#define PCI_STATUS_NEW_CAP   0x0010
 
#define TX3927_PCIC_IIM_ALL   0x00001600
 
#define TX3927_PCIC_TC_OF16E   0x00000020
 
#define TX3927_PCIC_TC_IF8E   0x00000010
 
#define TX3927_PCIC_TC_OF8E   0x00000008
 
#define TX3927_PCIC_TIM_ALL   0x0003ffff
 
#define TX3927_PCIC_PBAPMC_RPBA   0x00000004
 
#define TX3927_PCIC_PBAPMC_PBAEN   0x00000002
 
#define TX3927_PCIC_PBAPMC_BMCEN   0x00000001
 
#define TX3927_PCIC_LBIM_ALL   0x0000003e
 
#define TX3927_PCIC_PCISTATIM_ALL   0x0000f900
 
#define TX3927_PCIC_LBC_IBSE   0x00004000
 
#define TX3927_PCIC_LBC_TIBSE   0x00002000
 
#define TX3927_PCIC_LBC_TMFBSE   0x00001000
 
#define TX3927_PCIC_LBC_HRST   0x00000800
 
#define TX3927_PCIC_LBC_SRST   0x00000400
 
#define TX3927_PCIC_LBC_EPCAD   0x00000200
 
#define TX3927_PCIC_LBC_MSDSE   0x00000100
 
#define TX3927_PCIC_LBC_CRR   0x00000080
 
#define TX3927_PCIC_LBC_ILMDE   0x00000040
 
#define TX3927_PCIC_LBC_ILIDE   0x00000020
 
#define TX3927_PCIC_IDSEL_AD_TO_SLOT(ad)   ((ad) - 11)
 
#define TX3927_PCIC_MAX_DEVNU   TX3927_PCIC_IDSEL_AD_TO_SLOT(32)
 
#define TX3927_CCFG_TLBOFF   0x00020000
 
#define TX3927_CCFG_BEOW   0x00010000
 
#define TX3927_CCFG_WR   0x00008000
 
#define TX3927_CCFG_TOE   0x00004000
 
#define TX3927_CCFG_PCIXARB   0x00002000
 
#define TX3927_CCFG_PCI3   0x00001000
 
#define TX3927_CCFG_PSNP   0x00000800
 
#define TX3927_CCFG_PPRI   0x00000400
 
#define TX3927_CCFG_PLLM   0x00000030
 
#define TX3927_CCFG_ENDIAN   0x00000004
 
#define TX3927_CCFG_HALT   0x00000002
 
#define TX3927_CCFG_ACEHOLD   0x00000001
 
#define TX3927_PCFG_SYSCLKEN   0x08000000
 
#define TX3927_PCFG_SDRCLKEN_ALL   0x07c00000
 
#define TX3927_PCFG_SDRCLKEN(ch)   (0x00400000<<(ch))
 
#define TX3927_PCFG_PCICLKEN_ALL   0x003c0000
 
#define TX3927_PCFG_PCICLKEN(ch)   (0x00040000<<(ch))
 
#define TX3927_PCFG_SELALL   0x0003ffff
 
#define TX3927_PCFG_SELCS   0x00020000
 
#define TX3927_PCFG_SELDSF   0x00010000
 
#define TX3927_PCFG_SELSIOC_ALL   0x0000c000
 
#define TX3927_PCFG_SELSIOC(ch)   (0x00004000<<(ch))
 
#define TX3927_PCFG_SELSIO_ALL   0x00003000
 
#define TX3927_PCFG_SELSIO(ch)   (0x00001000<<(ch))
 
#define TX3927_PCFG_SELTMR_ALL   0x00000e00
 
#define TX3927_PCFG_SELTMR(ch)   (0x00000200<<(ch))
 
#define TX3927_PCFG_SELDONE   0x00000100
 
#define TX3927_PCFG_INTDMA_ALL   0x000000f0
 
#define TX3927_PCFG_INTDMA(ch)   (0x00000010<<(ch))
 
#define TX3927_PCFG_SELDMA_ALL   0x0000000f
 
#define TX3927_PCFG_SELDMA(ch)   (0x00000001<<(ch))
 
#define tx3927_sdramcptr   ((struct tx3927_sdramc_reg *)TX3927_SDRAMC_REG)
 
#define tx3927_romcptr   ((struct tx3927_romc_reg *)TX3927_ROMC_REG)
 
#define tx3927_dmaptr   ((struct tx3927_dma_reg *)TX3927_DMA_REG)
 
#define tx3927_pcicptr   ((struct tx3927_pcic_reg *)TX3927_PCIC_REG)
 
#define tx3927_ccfgptr   ((struct tx3927_ccfg_reg *)TX3927_CCFG_REG)
 
#define tx3927_sioptr(ch)   ((struct txx927_sio_reg *)TX3927_SIO_REG(ch))
 
#define tx3927_pioptr   ((struct txx9_pio_reg __iomem *)TX3927_PIO_REG)
 
#define TX3927_REV_PCODE()   (tx3927_ccfgptr->crir >> 16)
 
#define TX3927_ROMC_BA(ch)   (tx3927_romcptr->cr[(ch)] & 0xfff00000)
 
#define TX3927_ROMC_SIZE(ch)   (0x00100000 << ((tx3927_romcptr->cr[(ch)] >> 8) & 0xf))
 
#define TX3927_ROMC_WIDTH(ch)   (32 >> ((tx3927_romcptr->cr[(ch)] >> 7) & 0x1))
 

Functions

void tx3927_wdt_init (void)
 
void tx3927_setup (void)
 
void tx3927_time_init (unsigned int evt_tmrnr, unsigned int src_tmrnr)
 
void tx3927_sio_init (unsigned int sclk, unsigned int cts_mask)
 
void tx3927_pcic_setup (struct pci_controller *channel, unsigned long sdram_size, int extarb)
 
void tx3927_setup_pcierr_irq (void)
 
void tx3927_irq_init (void)
 
void tx3927_mtd_init (int ch)
 

Macro Definition Documentation

#define endian_def_b2s (   e1,
  e2,
  e3 
)    volatile unsigned short e3;volatile unsigned char e2, e1

Definition at line 69 of file tx3927.h.

#define endian_def_b4 (   e1,
  e2,
  e3,
  e4 
)    volatile unsigned char e4, e3, e2, e1

Definition at line 71 of file tx3927.h.

#define endian_def_s2 (   e1,
  e2 
)    volatile unsigned short e2, e1

Definition at line 65 of file tx3927.h.

#define endian_def_sb2 (   e1,
  e2,
  e3 
)    volatile unsigned char e3, e2;volatile unsigned short e1

Definition at line 67 of file tx3927.h.

#define PCI_STATUS_NEW_CAP   0x0010

Definition at line 236 of file tx3927.h.

#define TX3927_CCFG_ACEHOLD   0x00000001

Definition at line 293 of file tx3927.h.

#define TX3927_CCFG_BEOW   0x00010000

Definition at line 283 of file tx3927.h.

#define TX3927_CCFG_ENDIAN   0x00000004

Definition at line 291 of file tx3927.h.

#define TX3927_CCFG_HALT   0x00000002

Definition at line 292 of file tx3927.h.

#define TX3927_CCFG_PCI3   0x00001000

Definition at line 287 of file tx3927.h.

#define TX3927_CCFG_PCIXARB   0x00002000

Definition at line 286 of file tx3927.h.

#define TX3927_CCFG_PLLM   0x00000030

Definition at line 290 of file tx3927.h.

#define TX3927_CCFG_PPRI   0x00000400

Definition at line 289 of file tx3927.h.

#define TX3927_CCFG_PSNP   0x00000800

Definition at line 288 of file tx3927.h.

#define TX3927_CCFG_REG   (TX3927_REG_BASE + 0xe000)

Definition at line 18 of file tx3927.h.

#define TX3927_CCFG_TLBOFF   0x00020000

Definition at line 282 of file tx3927.h.

#define TX3927_CCFG_TOE   0x00004000

Definition at line 285 of file tx3927.h.

#define TX3927_CCFG_WR   0x00008000

Definition at line 284 of file tx3927.h.

#define tx3927_ccfgptr   ((struct tx3927_ccfg_reg *)TX3927_CCFG_REG)

Definition at line 320 of file tx3927.h.

#define TX3927_DMA_CCR_ACKPOL   0x00400000

Definition at line 175 of file tx3927.h.

#define TX3927_DMA_CCR_CHDN   0x00080000

Definition at line 178 of file tx3927.h.

#define TX3927_DMA_CCR_CHNEN   0x00000200

Definition at line 185 of file tx3927.h.

#define TX3927_DMA_CCR_CHRST   0x01000000

Definition at line 173 of file tx3927.h.

#define TX3927_DMA_CCR_DBINH   0x04000000

Definition at line 171 of file tx3927.h.

#define TX3927_DMA_CCR_DNCTL   0x00060000

Definition at line 179 of file tx3927.h.

#define TX3927_DMA_CCR_DSTINC   0x00000040

Definition at line 188 of file tx3927.h.

#define TX3927_DMA_CCR_EGREQ   0x00100000

Definition at line 177 of file tx3927.h.

#define TX3927_DMA_CCR_EXTRQ   0x00010000

Definition at line 180 of file tx3927.h.

#define TX3927_DMA_CCR_INTENC   0x00000800

Definition at line 183 of file tx3927.h.

#define TX3927_DMA_CCR_INTENE   0x00001000

Definition at line 182 of file tx3927.h.

#define TX3927_DMA_CCR_INTENT   0x00000400

Definition at line 184 of file tx3927.h.

#define TX3927_DMA_CCR_INTRQD   0x0000e000

Definition at line 181 of file tx3927.h.

#define TX3927_DMA_CCR_MEMIO   0x00000002

Definition at line 196 of file tx3927.h.

#define TX3927_DMA_CCR_ONEAD   0x00000001

Definition at line 197 of file tx3927.h.

#define TX3927_DMA_CCR_REQPL   0x00200000

Definition at line 176 of file tx3927.h.

#define TX3927_DMA_CCR_RVBYTE   0x00800000

Definition at line 174 of file tx3927.h.

#define TX3927_DMA_CCR_SBINH   0x02000000

Definition at line 172 of file tx3927.h.

#define TX3927_DMA_CCR_SNOP   0x00000080

Definition at line 187 of file tx3927.h.

#define TX3927_DMA_CCR_SRCINC   0x00000020

Definition at line 189 of file tx3927.h.

#define TX3927_DMA_CCR_XFACT   0x00000100

Definition at line 186 of file tx3927.h.

#define TX3927_DMA_CCR_XFSZ (   order)    (((order) << 2) & 0x0000001c)

Definition at line 190 of file tx3927.h.

#define TX3927_DMA_CCR_XFSZ_16W   TX3927_DMA_CCR_XFSZ(6)

Definition at line 194 of file tx3927.h.

#define TX3927_DMA_CCR_XFSZ_1W   TX3927_DMA_CCR_XFSZ(2)

Definition at line 191 of file tx3927.h.

#define TX3927_DMA_CCR_XFSZ_32W   TX3927_DMA_CCR_XFSZ(7)

Definition at line 195 of file tx3927.h.

#define TX3927_DMA_CCR_XFSZ_4W   TX3927_DMA_CCR_XFSZ(4)

Definition at line 192 of file tx3927.h.

#define TX3927_DMA_CCR_XFSZ_8W   TX3927_DMA_CCR_XFSZ(5)

Definition at line 193 of file tx3927.h.

#define TX3927_DMA_CSR_ABCHC   0x00000080

Definition at line 201 of file tx3927.h.

#define TX3927_DMA_CSR_CFERR   0x00000008

Definition at line 205 of file tx3927.h.

#define TX3927_DMA_CSR_CHERR   0x00000004

Definition at line 206 of file tx3927.h.

#define TX3927_DMA_CSR_CHNACT   0x00000100

Definition at line 200 of file tx3927.h.

#define TX3927_DMA_CSR_DESERR   0x00000002

Definition at line 207 of file tx3927.h.

#define TX3927_DMA_CSR_EXTDN   0x00000010

Definition at line 204 of file tx3927.h.

#define TX3927_DMA_CSR_NCHNC   0x00000040

Definition at line 202 of file tx3927.h.

#define TX3927_DMA_CSR_NTRNFC   0x00000020

Definition at line 203 of file tx3927.h.

#define TX3927_DMA_CSR_SORERR   0x00000001

Definition at line 208 of file tx3927.h.

#define TX3927_DMA_MCR_DIS (   ch)    (0x01000000<<(ch))

Definition at line 163 of file tx3927.h.

#define TX3927_DMA_MCR_EIS (   ch)    (0x10000000<<(ch))

Definition at line 162 of file tx3927.h.

#define TX3927_DMA_MCR_FIFUM (   ch)    (0x00000008<<(ch))

Definition at line 165 of file tx3927.h.

#define TX3927_DMA_MCR_LE   0x00000004

Definition at line 166 of file tx3927.h.

#define TX3927_DMA_MCR_MSTEN   0x00000001

Definition at line 168 of file tx3927.h.

#define TX3927_DMA_MCR_RPRT   0x00000002

Definition at line 167 of file tx3927.h.

#define TX3927_DMA_MCR_RSFIF   0x00000080

Definition at line 164 of file tx3927.h.

#define TX3927_DMA_REG   (TX3927_REG_BASE + 0xb000)

Definition at line 15 of file tx3927.h.

#define tx3927_dmaptr   ((struct tx3927_dma_reg *)TX3927_DMA_REG)

Definition at line 318 of file tx3927.h.

#define TX3927_IR_DMA   8

Definition at line 222 of file tx3927.h.

#define TX3927_IR_INT0   0

Definition at line 213 of file tx3927.h.

#define TX3927_IR_INT1   1

Definition at line 214 of file tx3927.h.

#define TX3927_IR_INT2   2

Definition at line 215 of file tx3927.h.

#define TX3927_IR_INT3   3

Definition at line 216 of file tx3927.h.

#define TX3927_IR_INT4   4

Definition at line 217 of file tx3927.h.

#define TX3927_IR_INT5   5

Definition at line 218 of file tx3927.h.

#define TX3927_IR_PCI   10

Definition at line 224 of file tx3927.h.

#define TX3927_IR_PIO   9

Definition at line 223 of file tx3927.h.

#define TX3927_IR_SIO (   ch)    (6 + (ch))

Definition at line 221 of file tx3927.h.

#define TX3927_IR_SIO0   6

Definition at line 219 of file tx3927.h.

#define TX3927_IR_SIO1   7

Definition at line 220 of file tx3927.h.

#define TX3927_IR_TMR (   ch)    (13 + (ch))

Definition at line 225 of file tx3927.h.

#define TX3927_IRC_REG   (TX3927_REG_BASE + 0xc000)

Definition at line 16 of file tx3927.h.

#define TX3927_NR_SIO   2

Definition at line 21 of file tx3927.h.

#define TX3927_NR_TMR   3

Definition at line 19 of file tx3927.h.

#define TX3927_NUM_IR   16

Definition at line 226 of file tx3927.h.

#define TX3927_PCFG_INTDMA (   ch)    (0x00000010<<(ch))

Definition at line 312 of file tx3927.h.

#define TX3927_PCFG_INTDMA_ALL   0x000000f0

Definition at line 311 of file tx3927.h.

#define TX3927_PCFG_PCICLKEN (   ch)    (0x00040000<<(ch))

Definition at line 300 of file tx3927.h.

#define TX3927_PCFG_PCICLKEN_ALL   0x003c0000

Definition at line 299 of file tx3927.h.

#define TX3927_PCFG_SDRCLKEN (   ch)    (0x00400000<<(ch))

Definition at line 298 of file tx3927.h.

#define TX3927_PCFG_SDRCLKEN_ALL   0x07c00000

Definition at line 297 of file tx3927.h.

#define TX3927_PCFG_SELALL   0x0003ffff

Definition at line 301 of file tx3927.h.

#define TX3927_PCFG_SELCS   0x00020000

Definition at line 302 of file tx3927.h.

#define TX3927_PCFG_SELDMA (   ch)    (0x00000001<<(ch))

Definition at line 314 of file tx3927.h.

#define TX3927_PCFG_SELDMA_ALL   0x0000000f

Definition at line 313 of file tx3927.h.

#define TX3927_PCFG_SELDONE   0x00000100

Definition at line 310 of file tx3927.h.

#define TX3927_PCFG_SELDSF   0x00010000

Definition at line 303 of file tx3927.h.

#define TX3927_PCFG_SELSIO (   ch)    (0x00001000<<(ch))

Definition at line 307 of file tx3927.h.

#define TX3927_PCFG_SELSIO_ALL   0x00003000

Definition at line 306 of file tx3927.h.

#define TX3927_PCFG_SELSIOC (   ch)    (0x00004000<<(ch))

Definition at line 305 of file tx3927.h.

#define TX3927_PCFG_SELSIOC_ALL   0x0000c000

Definition at line 304 of file tx3927.h.

#define TX3927_PCFG_SELTMR (   ch)    (0x00000200<<(ch))

Definition at line 309 of file tx3927.h.

#define TX3927_PCFG_SELTMR_ALL   0x00000e00

Definition at line 308 of file tx3927.h.

#define TX3927_PCFG_SYSCLKEN   0x08000000

Definition at line 296 of file tx3927.h.

#define TX3927_PCIC_IDSEL_AD_TO_SLOT (   ad)    ((ad) - 11)

Definition at line 275 of file tx3927.h.

#define TX3927_PCIC_IIM_ALL   0x00001600

Definition at line 239 of file tx3927.h.

#define TX3927_PCIC_LBC_CRR   0x00000080

Definition at line 271 of file tx3927.h.

#define TX3927_PCIC_LBC_EPCAD   0x00000200

Definition at line 269 of file tx3927.h.

#define TX3927_PCIC_LBC_HRST   0x00000800

Definition at line 267 of file tx3927.h.

#define TX3927_PCIC_LBC_IBSE   0x00004000

Definition at line 264 of file tx3927.h.

#define TX3927_PCIC_LBC_ILIDE   0x00000020

Definition at line 273 of file tx3927.h.

#define TX3927_PCIC_LBC_ILMDE   0x00000040

Definition at line 272 of file tx3927.h.

#define TX3927_PCIC_LBC_MSDSE   0x00000100

Definition at line 270 of file tx3927.h.

#define TX3927_PCIC_LBC_SRST   0x00000400

Definition at line 268 of file tx3927.h.

#define TX3927_PCIC_LBC_TIBSE   0x00002000

Definition at line 265 of file tx3927.h.

#define TX3927_PCIC_LBC_TMFBSE   0x00001000

Definition at line 266 of file tx3927.h.

#define TX3927_PCIC_LBIM_ALL   0x0000003e

Definition at line 258 of file tx3927.h.

#define TX3927_PCIC_MAX_DEVNU   TX3927_PCIC_IDSEL_AD_TO_SLOT(32)

Definition at line 276 of file tx3927.h.

#define TX3927_PCIC_PBAPMC_BMCEN   0x00000001

Definition at line 255 of file tx3927.h.

#define TX3927_PCIC_PBAPMC_PBAEN   0x00000002

Definition at line 254 of file tx3927.h.

#define TX3927_PCIC_PBAPMC_RPBA   0x00000004

Definition at line 253 of file tx3927.h.

#define TX3927_PCIC_PCISTATIM_ALL   0x0000f900

Definition at line 261 of file tx3927.h.

#define TX3927_PCIC_REG   (TX3927_REG_BASE + 0xd000)

Definition at line 17 of file tx3927.h.

#define TX3927_PCIC_TC_IF8E   0x00000010

Definition at line 243 of file tx3927.h.

#define TX3927_PCIC_TC_OF16E   0x00000020

Definition at line 242 of file tx3927.h.

#define TX3927_PCIC_TC_OF8E   0x00000008

Definition at line 244 of file tx3927.h.

#define TX3927_PCIC_TIM_ALL   0x0003ffff

Definition at line 247 of file tx3927.h.

#define tx3927_pcicptr   ((struct tx3927_pcic_reg *)TX3927_PCIC_REG)

Definition at line 319 of file tx3927.h.

#define TX3927_PIO_REG   (TX3927_REG_BASE + 0xf500)

Definition at line 23 of file tx3927.h.

#define tx3927_pioptr   ((struct txx9_pio_reg __iomem *)TX3927_PIO_REG)

Definition at line 322 of file tx3927.h.

#define TX3927_REG_BASE   0xfffe0000UL

Definition at line 11 of file tx3927.h.

#define TX3927_REG_SIZE   0x00010000

Definition at line 12 of file tx3927.h.

#define TX3927_REV_PCODE ( )    (tx3927_ccfgptr->crir >> 16)

Definition at line 324 of file tx3927.h.

#define TX3927_ROMC_BA (   ch)    (tx3927_romcptr->cr[(ch)] & 0xfff00000)

Definition at line 325 of file tx3927.h.

#define TX3927_ROMC_REG   (TX3927_REG_BASE + 0x9000)

Definition at line 14 of file tx3927.h.

#define TX3927_ROMC_SIZE (   ch)    (0x00100000 << ((tx3927_romcptr->cr[(ch)] >> 8) & 0xf))

Definition at line 326 of file tx3927.h.

#define TX3927_ROMC_WIDTH (   ch)    (32 >> ((tx3927_romcptr->cr[(ch)] >> 7) & 0x1))

Definition at line 328 of file tx3927.h.

#define tx3927_romcptr   ((struct tx3927_romc_reg *)TX3927_ROMC_REG)

Definition at line 317 of file tx3927.h.

#define TX3927_SDRAMC_REG   (TX3927_REG_BASE + 0x8000)

Definition at line 13 of file tx3927.h.

#define tx3927_sdramcptr   ((struct tx3927_sdramc_reg *)TX3927_SDRAMC_REG)

Definition at line 316 of file tx3927.h.

#define TX3927_SIO_REG (   ch)    (TX3927_REG_BASE + 0xf300 + (ch) * 0x100)

Definition at line 22 of file tx3927.h.

#define tx3927_sioptr (   ch)    ((struct txx927_sio_reg *)TX3927_SIO_REG(ch))

Definition at line 321 of file tx3927.h.

#define TX3927_TMR_REG (   ch)    (TX3927_REG_BASE + 0xf000 + (ch) * 0x100)

Definition at line 20 of file tx3927.h.

Function Documentation

void tx3927_irq_init ( void  )

Definition at line 15 of file irq_tx3927.c.

void tx3927_mtd_init ( int  ch)

Definition at line 126 of file setup_tx3927.c.

void tx3927_pcic_setup ( struct pci_controller channel,
unsigned long  sdram_size,
int  extarb 
)

Definition at line 129 of file ops-tx3927.c.

void tx3927_setup ( void  )

Definition at line 31 of file setup_tx3927.c.

void tx3927_setup_pcierr_irq ( void  )

Definition at line 224 of file ops-tx3927.c.

void tx3927_sio_init ( unsigned int  sclk,
unsigned int  cts_mask 
)

Definition at line 116 of file setup_tx3927.c.

void tx3927_time_init ( unsigned int  evt_tmrnr,
unsigned int  src_tmrnr 
)

Definition at line 108 of file setup_tx3927.c.

void tx3927_wdt_init ( void  )

Definition at line 26 of file setup_tx3927.c.