~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/mach-pxa/smemc.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/arm/mach-pxa/smemc.h (Architecture sparc64) and /arch/alpha/mach-pxa/smemc.h (Architecture alpha)


  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 
  2 /*                                                
  3  * Static memory controller register definitio    
  4  *                                                
  5  * Copyright (C) 2010 Marek Vasut <marek.vasut    
  6  */                                               
  7                                                   
  8 #ifndef __SMEMC_REGS_H                            
  9 #define __SMEMC_REGS_H                            
 10                                                   
 11 #define PXA2XX_SMEMC_BASE       0x48000000        
 12 #define PXA3XX_SMEMC_BASE       0x4a000000        
 13 #define SMEMC_VIRT              IOMEM(0xf60000    
 14                                                   
 15 #define MDCNFG          (SMEMC_VIRT + 0x00)  /    
 16 #define MDREFR          (SMEMC_VIRT + 0x04)  /    
 17 #define MSC0            (SMEMC_VIRT + 0x08)  /    
 18 #define MSC1            (SMEMC_VIRT + 0x0C)  /    
 19 #define MSC2            (SMEMC_VIRT + 0x10)  /    
 20 #define MECR            (SMEMC_VIRT + 0x14)  /    
 21 #define SXLCR           (SMEMC_VIRT + 0x18)  /    
 22 #define SXCNFG          (SMEMC_VIRT + 0x1C)  /    
 23 #define SXMRS           (SMEMC_VIRT + 0x24)  /    
 24 #define MCMEM0          (SMEMC_VIRT + 0x28)  /    
 25 #define MCMEM1          (SMEMC_VIRT + 0x2C)  /    
 26 #define MCATT0          (SMEMC_VIRT + 0x30)  /    
 27 #define MCATT1          (SMEMC_VIRT + 0x34)  /    
 28 #define MCIO0           (SMEMC_VIRT + 0x38)  /    
 29 #define MCIO1           (SMEMC_VIRT + 0x3C)  /    
 30 #define MDMRS           (SMEMC_VIRT + 0x40)  /    
 31 #define BOOT_DEF        (SMEMC_VIRT + 0x44)  /    
 32 #define MEMCLKCFG       (SMEMC_VIRT + 0x68)  /    
 33 #define CSADRCFG0       (SMEMC_VIRT + 0x80)  /    
 34 #define CSADRCFG1       (SMEMC_VIRT + 0x84)  /    
 35 #define CSADRCFG2       (SMEMC_VIRT + 0x88)  /    
 36 #define CSADRCFG3       (SMEMC_VIRT + 0x8C)  /    
 37 #define CSMSADRCFG      (SMEMC_VIRT + 0xA0)  /    
 38                                                   
 39 /*                                                
 40  * More handy macros for PCMCIA                   
 41  *                                                
 42  * Arg is socket number                           
 43  */                                               
 44 #define MCMEM(s)        (SMEMC_VIRT + 0x28 + (    
 45 #define MCATT(s)        (SMEMC_VIRT + 0x30 + (    
 46 #define MCIO(s)         (SMEMC_VIRT + 0x38 + (    
 47                                                   
 48 /* MECR register defines */                       
 49 #define MECR_NOS        (1 << 0)        /* Num    
 50 #define MECR_CIT        (1 << 1)        /* Car    
 51                                                   
 52 #define MDCNFG_DE0      (1 << 0)        /* SDR    
 53 #define MDCNFG_DE1      (1 << 1)        /* SDR    
 54 #define MDCNFG_DE2      (1 << 16)       /* SDR    
 55 #define MDCNFG_DE3      (1 << 17)       /* SDR    
 56                                                   
 57 #define MDREFR_K0DB4    (1 << 29)       /* SDC    
 58 #define MDREFR_K2FREE   (1 << 25)       /* SDR    
 59 #define MDREFR_K1FREE   (1 << 24)       /* SDR    
 60 #define MDREFR_K0FREE   (1 << 23)       /* SDR    
 61 #define MDREFR_SLFRSH   (1 << 22)       /* SDR    
 62 #define MDREFR_APD      (1 << 20)       /* SDR    
 63 #define MDREFR_K2DB2    (1 << 19)       /* SDC    
 64 #define MDREFR_K2RUN    (1 << 18)       /* SDC    
 65 #define MDREFR_K1DB2    (1 << 17)       /* SDC    
 66 #define MDREFR_K1RUN    (1 << 16)       /* SDC    
 67 #define MDREFR_E1PIN    (1 << 15)       /* SDC    
 68 #define MDREFR_K0DB2    (1 << 14)       /* SDC    
 69 #define MDREFR_K0RUN    (1 << 13)       /* SDC    
 70 #define MDREFR_E0PIN    (1 << 12)       /* SDC    
 71                                                   
 72 #endif                                            
 73                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php