Linux Kernel
3.7.1
|
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/io.h>
#include <asm/cache.h>
#include <asm/soc.h>
Go to the source code of this file.
Macros | |
#define | IMCR_CCFG 0x0000 |
#define | IMCR_L1PCFG 0x0020 |
#define | IMCR_L1PCC 0x0024 |
#define | IMCR_L1DCFG 0x0040 |
#define | IMCR_L1DCC 0x0044 |
#define | IMCR_L2ALLOC0 0x2000 |
#define | IMCR_L2ALLOC1 0x2004 |
#define | IMCR_L2ALLOC2 0x2008 |
#define | IMCR_L2ALLOC3 0x200c |
#define | IMCR_L2WBAR 0x4000 |
#define | IMCR_L2WWC 0x4004 |
#define | IMCR_L2WIBAR 0x4010 |
#define | IMCR_L2WIWC 0x4014 |
#define | IMCR_L2IBAR 0x4018 |
#define | IMCR_L2IWC 0x401c |
#define | IMCR_L1PIBAR 0x4020 |
#define | IMCR_L1PIWC 0x4024 |
#define | IMCR_L1DWIBAR 0x4030 |
#define | IMCR_L1DWIWC 0x4034 |
#define | IMCR_L1DWBAR 0x4040 |
#define | IMCR_L1DWWC 0x4044 |
#define | IMCR_L1DIBAR 0x4048 |
#define | IMCR_L1DIWC 0x404c |
#define | IMCR_L2WB 0x5000 |
#define | IMCR_L2WBINV 0x5004 |
#define | IMCR_L2INV 0x5008 |
#define | IMCR_L1PINV 0x5028 |
#define | IMCR_L1DWB 0x5040 |
#define | IMCR_L1DWBINV 0x5044 |
#define | IMCR_L1DINV 0x5048 |
#define | IMCR_MAR_BASE 0x8000 |
#define | IMCR_MAR96_111 0x8180 |
#define | IMCR_MAR128_191 0x8200 |
#define | IMCR_MAR224_239 0x8380 |
#define | IMCR_L2MPFAR 0xa000 |
#define | IMCR_L2MPFSR 0xa004 |
#define | IMCR_L2MPFCR 0xa008 |
#define | IMCR_L2MPLK0 0xa100 |
#define | IMCR_L2MPLK1 0xa104 |
#define | IMCR_L2MPLK2 0xa108 |
#define | IMCR_L2MPLK3 0xa10c |
#define | IMCR_L2MPLKCMD 0xa110 |
#define | IMCR_L2MPLKSTAT 0xa114 |
#define | IMCR_L2MPPA_BASE 0xa200 |
#define | IMCR_L1PMPFAR 0xa400 |
#define | IMCR_L1PMPFSR 0xa404 |
#define | IMCR_L1PMPFCR 0xa408 |
#define | IMCR_L1PMPLK0 0xa500 |
#define | IMCR_L1PMPLK1 0xa504 |
#define | IMCR_L1PMPLK2 0xa508 |
#define | IMCR_L1PMPLK3 0xa50c |
#define | IMCR_L1PMPLKCMD 0xa510 |
#define | IMCR_L1PMPLKSTAT 0xa514 |
#define | IMCR_L1PMPPA_BASE 0xa600 |
#define | IMCR_L1DMPFAR 0xac00 |
#define | IMCR_L1DMPFSR 0xac04 |
#define | IMCR_L1DMPFCR 0xac08 |
#define | IMCR_L1DMPLK0 0xad00 |
#define | IMCR_L1DMPLK1 0xad04 |
#define | IMCR_L1DMPLK2 0xad08 |
#define | IMCR_L1DMPLK3 0xad0c |
#define | IMCR_L1DMPLKCMD 0xad10 |
#define | IMCR_L1DMPLKSTAT 0xad14 |
#define | IMCR_L1DMPPA_BASE 0xae00 |
#define | IMCR_L2PDWAKE0 0xc040 |
#define | IMCR_L2PDWAKE1 0xc044 |
#define | IMCR_L2PDSLEEP0 0xc050 |
#define | IMCR_L2PDSLEEP1 0xc054 |
#define | IMCR_L2PDSTAT0 0xc060 |
#define | IMCR_L2PDSTAT1 0xc064 |
#define | L2MODE_0K_CACHE 0x0 |
#define | L2MODE_32K_CACHE 0x1 |
#define | L2MODE_64K_CACHE 0x2 |
#define | L2MODE_128K_CACHE 0x3 |
#define | L2MODE_256K_CACHE 0x7 |
#define | L2PRIO_URGENT 0x0 |
#define | L2PRIO_HIGH 0x1 |
#define | L2PRIO_MEDIUM 0x2 |
#define | L2PRIO_LOW 0x3 |
#define | CCFG_ID 0x100 /* Invalidate L1P bit */ |
#define | CCFG_IP 0x200 /* Invalidate L1D bit */ |
#define | imcr_get(reg) soc_readl(cache_base + (reg)) |
#define | imcr_set(reg, value) |