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

TOMOYO Linux Cross Reference
Linux/arch/mips/include/asm/mips-boards/malta.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/mips/include/asm/mips-boards/malta.h (Version linux-6.11.5) and /arch/i386/include/asm-i386/mips-boards/malta.h (Version linux-6.3.13)


  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 
  2 /*                                                
  3  * Carsten Langgaard, carstenl@mips.com           
  4  * Copyright (C) 2000 MIPS Technologies, Inc.     
  5  *                                                
  6  * Defines of the Malta board specific address    
  7  */                                               
  8 #ifndef __ASM_MIPS_BOARDS_MALTA_H                 
  9 #define __ASM_MIPS_BOARDS_MALTA_H                 
 10                                                   
 11 #include <asm/addrspace.h>                        
 12 #include <asm/io.h>                               
 13 #include <asm/mips-boards/msc01_pci.h>            
 14 #include <asm/gt64120.h>                          
 15                                                   
 16 /* Mips interrupt controller found in SOCit va    
 17 #define MIPS_MSC01_IC_REG_BASE          0x1bc4    
 18 #define MIPS_SOCITSC_IC_REG_BASE        0x1ffa    
 19                                                   
 20 /*                                                
 21  * Malta I/O ports base address for the Galile    
 22  * Bonito system controllers.                     
 23  */                                               
 24 #define MALTA_GT_PORT_BASE      get_gt_port_ba    
 25 #define MALTA_BONITO_PORT_BASE  ((unsigned lon    
 26 #define MALTA_MSC_PORT_BASE     get_msc_port_b    
 27                                                   
 28 static inline unsigned long get_gt_port_base(u    
 29 {                                                 
 30         unsigned long addr;                       
 31         addr = GT_READ(reg);                      
 32         return (unsigned long) ioremap (((addr    
 33 }                                                 
 34                                                   
 35 static inline unsigned long get_msc_port_base(    
 36 {                                                 
 37         unsigned long addr;                       
 38         MSC_READ(reg, addr);                      
 39         return (unsigned long) ioremap(addr, 0    
 40 }                                                 
 41                                                   
 42 /*                                                
 43  * GCMP Specific definitions                      
 44  */                                               
 45 #define GCMP_BASE_ADDR                  0x1fbf    
 46 #define GCMP_ADDRSPACE_SZ               (256 *    
 47                                                   
 48 /*                                                
 49  * GIC Specific definitions                       
 50  */                                               
 51 #define GIC_BASE_ADDR                   0x1bdc    
 52 #define GIC_ADDRSPACE_SZ                (128 *    
 53                                                   
 54 /*                                                
 55  * CPC Specific definitions                       
 56  */                                               
 57 #define CPC_BASE_ADDR                   0x1bde    
 58                                                   
 59 /*                                                
 60  * MSC01 BIU Specific definitions                 
 61  * FIXME : These should be elsewhere ?            
 62  */                                               
 63 #define MSC01_BIU_REG_BASE              0x1bc8    
 64 #define MSC01_BIU_ADDRSPACE_SZ          (256 *    
 65 #define MSC01_SC_CFG_OFS                0x0110    
 66 #define MSC01_SC_CFG_GICPRES_MSK        0x0000    
 67 #define MSC01_SC_CFG_GICPRES_SHF        2         
 68 #define MSC01_SC_CFG_GICENA_SHF         3         
 69                                                   
 70 /*                                                
 71  * Malta RTC-device indirect register access.     
 72  */                                               
 73 #define MALTA_RTC_ADR_REG       0x70              
 74 #define MALTA_RTC_DAT_REG       0x71              
 75                                                   
 76 /*                                                
 77  * Malta SMSC FDC37M817 Super I/O Controller r    
 78  */                                               
 79 #define SMSC_CONFIG_REG         0x3f0             
 80 #define SMSC_DATA_REG           0x3f1             
 81                                                   
 82 #define SMSC_CONFIG_DEVNUM      0x7               
 83 #define SMSC_CONFIG_ACTIVATE    0x30              
 84 #define SMSC_CONFIG_ENTER       0x55              
 85 #define SMSC_CONFIG_EXIT        0xaa              
 86                                                   
 87 #define SMSC_CONFIG_DEVNUM_FLOPPY     0           
 88                                                   
 89 #define SMSC_CONFIG_ACTIVATE_ENABLE   1           
 90                                                   
 91 #define SMSC_WRITE(x, a)     outb(x, a)           
 92                                                   
 93 #define MALTA_JMPRS_REG         0x1f000210        
 94                                                   
 95 extern void __init *malta_dt_shim(void *fdt);     
 96                                                   
 97 #endif /* __ASM_MIPS_BOARDS_MALTA_H */            
 98                                                   

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