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

TOMOYO Linux Cross Reference
Linux/include/linux/mtd/ndfc.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 /include/linux/mtd/ndfc.h (Version linux-6.12-rc7) and /include/linux/mtd/ndfc.h (Version linux-2.4.37.11)


  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 
  2 /*                                                
  3  *  Copyright (c) 2006 Thomas Gleixner <tglx@l    
  4  *                                                
  5  *  Info:                                         
  6  *   Contains defines, datastructures for ndfc    
  7  */                                               
  8 #ifndef __LINUX_MTD_NDFC_H                        
  9 #define __LINUX_MTD_NDFC_H                        
 10                                                   
 11 /* NDFC Register definitions */                   
 12 #define NDFC_CMD                0x00              
 13 #define NDFC_ALE                0x04              
 14 #define NDFC_DATA               0x08              
 15 #define NDFC_ECC                0x10              
 16 #define NDFC_BCFG0              0x30              
 17 #define NDFC_BCFG1              0x34              
 18 #define NDFC_BCFG2              0x38              
 19 #define NDFC_BCFG3              0x3c              
 20 #define NDFC_CCR                0x40              
 21 #define NDFC_STAT               0x44              
 22 #define NDFC_HWCTL              0x48              
 23 #define NDFC_REVID              0x50              
 24                                                   
 25 #define NDFC_STAT_IS_READY      0x01000000        
 26                                                   
 27 #define NDFC_CCR_RESET_CE       0x80000000 /*     
 28 #define NDFC_CCR_RESET_ECC      0x40000000 /*     
 29 #define NDFC_CCR_RIE            0x20000000 /*     
 30 #define NDFC_CCR_REN            0x10000000 /*     
 31 #define NDFC_CCR_ROMEN          0x08000000 /*     
 32 #define NDFC_CCR_ARE            0x04000000 /*     
 33 #define NDFC_CCR_BS(x)          (((x) & 0x3) <    
 34 #define NDFC_CCR_BS_MASK        0x03000000 /*     
 35 #define NDFC_CCR_ARAC0          0x00000000 /*     
 36 #define NDFC_CCR_ARAC1          0x00001000 /*     
 37 #define NDFC_CCR_ARAC2          0x00002000 /*     
 38 #define NDFC_CCR_ARAC3          0x00003000 /*     
 39 #define NDFC_CCR_ARAC_MASK      0x00003000 /*     
 40 #define NDFC_CCR_RPG            0x0000C000 /*     
 41 #define NDFC_CCR_EBCC           0x00000004 /*     
 42 #define NDFC_CCR_DHC            0x00000002 /*     
 43                                                   
 44 #define NDFC_BxCFG_EN           0x80000000 /*     
 45 #define NDFC_BxCFG_CED          0x40000000 /*     
 46 #define NDFC_BxCFG_SZ_MASK      0x08000000 /*     
 47 #define NDFC_BxCFG_SZ_8BIT      0x00000000 /*     
 48 #define NDFC_BxCFG_SZ_16BIT     0x08000000 /*     
 49                                                   
 50 #define NDFC_MAX_BANKS          4                 
 51                                                   
 52 struct ndfc_controller_settings {                 
 53         uint32_t        ccr_settings;             
 54         uint64_t        ndfc_erpn;                
 55 };                                                
 56                                                   
 57 struct ndfc_chip_settings {                       
 58         uint32_t        bank_settings;            
 59 };                                                
 60                                                   
 61 #endif                                            
 62                                                   

~ [ 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