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

TOMOYO Linux Cross Reference
Linux/arch/mips/include/asm/txx9tmr.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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/mips/include/asm/txx9tmr.h (Version linux-6.12-rc7) and /arch/i386/include/asm-i386/txx9tmr.h (Version linux-5.9.16)


  1 /*                                                  1 
  2  * include/asm-mips/txx9tmr.h                     
  3  * TX39/TX49 timer controller definitions.        
  4  *                                                
  5  * This file is subject to the terms and condi    
  6  * License.  See the file "COPYING" in the mai    
  7  * for more details.                              
  8  */                                               
  9 #ifndef __ASM_TXX9TMR_H                           
 10 #define __ASM_TXX9TMR_H                           
 11                                                   
 12 #include <linux/types.h>                          
 13                                                   
 14 struct txx9_tmr_reg {                             
 15         u32 tcr;                                  
 16         u32 tisr;                                 
 17         u32 cpra;                                 
 18         u32 cprb;                                 
 19         u32 itmr;                                 
 20         u32 unused0[3];                           
 21         u32 ccdr;                                 
 22         u32 unused1[3];                           
 23         u32 pgmr;                                 
 24         u32 unused2[3];                           
 25         u32 wtmr;                                 
 26         u32 unused3[43];                          
 27         u32 trr;                                  
 28 };                                                
 29                                                   
 30 /* TMTCR : Timer Control */                       
 31 #define TXx9_TMTCR_TCE          0x00000080        
 32 #define TXx9_TMTCR_CCDE         0x00000040        
 33 #define TXx9_TMTCR_CRE          0x00000020        
 34 #define TXx9_TMTCR_ECES         0x00000008        
 35 #define TXx9_TMTCR_CCS          0x00000004        
 36 #define TXx9_TMTCR_TMODE_MASK   0x00000003        
 37 #define TXx9_TMTCR_TMODE_ITVL   0x00000000        
 38 #define TXx9_TMTCR_TMODE_PGEN   0x00000001        
 39 #define TXx9_TMTCR_TMODE_WDOG   0x00000002        
 40                                                   
 41 /* TMTISR : Timer Int. Status */                  
 42 #define TXx9_TMTISR_TPIBS       0x00000004        
 43 #define TXx9_TMTISR_TPIAS       0x00000002        
 44 #define TXx9_TMTISR_TIIS        0x00000001        
 45                                                   
 46 /* TMITMR : Interval Timer Mode */                
 47 #define TXx9_TMITMR_TIIE        0x00008000        
 48 #define TXx9_TMITMR_TZCE        0x00000001        
 49                                                   
 50 /* TMWTMR : Watchdog Timer Mode */                
 51 #define TXx9_TMWTMR_TWIE        0x00008000        
 52 #define TXx9_TMWTMR_WDIS        0x00000080        
 53 #define TXx9_TMWTMR_TWC         0x00000001        
 54                                                   
 55 void txx9_clocksource_init(unsigned long basea    
 56                            unsigned int imbusc    
 57 void txx9_clockevent_init(unsigned long basead    
 58                           unsigned int imbuscl    
 59 void txx9_tmr_init(unsigned long baseaddr);       
 60                                                   
 61 #define TXX9_TIMER_BITS 32                        
 62                                                   
 63 #endif /* __ASM_TXX9TMR_H */                      
 64                                                   

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