Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/io.h>
#include <asm/txx9irq.h>
#include <asm/txx9/tx4927pcic.h>
Go to the source code of this file.
Data Structures | |
struct | tx4927_sdramc_reg |
struct | tx4927_ebusc_reg |
struct | tx4927_ccfg_reg |
Functions | |
unsigned int | tx4927_get_mem_size (void) |
void | tx4927_wdt_init (void) |
void | tx4927_setup (void) |
void | tx4927_time_init (unsigned int tmrnr) |
void | tx4927_sio_init (unsigned int sclk, unsigned int cts_mask) |
int | tx4927_report_pciclk (void) |
int | tx4927_pciclk66_setup (void) |
void | tx4927_setup_pcierr_irq (void) |
void | tx4927_irq_init (void) |
void | tx4927_mtd_init (int ch) |
void | tx4927_dmac_init (int memcpy_chan) |
void | tx4927_aclc_init (unsigned int dma_chan_out, unsigned int dma_chan_in) |
#define TX4927_ACLC_REG (TX4927_REG_BASE + 0xf700) |
#define TX4927_CCFG_REG (TX4927_REG_BASE + 0xe000) |
#define TX4927_CCFG_W1CBITS (TX4927_CCFG_WDRST | TX4927_CCFG_BEOW) |
#define tx4927_ccfgptr ((struct tx4927_ccfg_reg __iomem *)TX4927_CCFG_REG) |
#define TX4927_DMA_REG (TX4927_REG_BASE + 0xb000) |
#define TX4927_EBUSC_BA | ( | ch | ) | ((TX4927_EBUSC_CR(ch) >> 48) << 20) |
#define TX4927_EBUSC_CR | ( | ch | ) | __raw_readq(&tx4927_ebuscptr->cr[(ch)]) |
#define TX4927_EBUSC_REG (TX4927_REG_BASE + 0x9000) |
#define TX4927_EBUSC_SIZE | ( | ch | ) | (0x00100000 << ((unsigned long)(TX4927_EBUSC_CR(ch) >> 8) & 0xf)) |
#define TX4927_EBUSC_WIDTH | ( | ch | ) | (64 >> ((__u32)(TX4927_EBUSC_CR(ch) >> 20) & 0x3)) |
#define tx4927_ebuscptr ((struct tx4927_ebusc_reg __iomem *)TX4927_EBUSC_REG) |
#define TX4927_IRC_REG (TX4927_REG_BASE + 0xf600) |
#define TX4927_PCIC_REG (TX4927_REG_BASE + 0xd000) |
#define tx4927_pcicptr ((struct tx4927_pcic_reg __iomem *)TX4927_PCIC_REG) |
#define TX4927_PIO_REG (TX4927_REG_BASE + 0xf500) |
#define tx4927_pioptr ((struct txx9_pio_reg __iomem *)TX4927_PIO_REG) |
#define TX4927_REV_PCODE | ( | ) | ((__u32)__raw_readq(&tx4927_ccfgptr->crir) >> 16) |
#define TX4927_SDRAMC_BA | ( | ch | ) | ((TX4927_SDRAMC_CR(ch) >> 49) << 21) |
#define TX4927_SDRAMC_CR | ( | ch | ) | __raw_readq(&tx4927_sdramcptr->cr[(ch)]) |
#define TX4927_SDRAMC_REG (TX4927_REG_BASE + 0x8000) |
#define TX4927_SDRAMC_SIZE | ( | ch | ) | ((((TX4927_SDRAMC_CR(ch) >> 33) & 0x7fff) + 1) << 21) |
#define tx4927_sdramcptr ((struct tx4927_sdramc_reg __iomem *)TX4927_SDRAMC_REG) |
#define TX4927_SIO_REG | ( | ch | ) | (TX4927_REG_BASE + 0xf300 + (ch) * 0x100) |
#define TX4927_TMR_REG | ( | ch | ) | (TX4927_REG_BASE + 0xf000 + (ch) * 0x100) |
Definition at line 268 of file setup_tx4927.c.
Definition at line 257 of file setup_tx4927.c.
Definition at line 67 of file mem_tx4927.c.
Definition at line 32 of file irq_tx4927.c.
Definition at line 244 of file setup_tx4927.c.
Definition at line 51 of file pci-tx4927.c.
Definition at line 20 of file pci-tx4927.c.
Definition at line 88 of file setup_tx4927.c.
Definition at line 84 of file pci-tx4927.c.
Definition at line 234 of file setup_tx4927.c.
Definition at line 226 of file setup_tx4927.c.
Definition at line 40 of file setup_tx4927.c.