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

TOMOYO Linux Cross Reference
Linux/include/linux/amba/kmi.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 /include/linux/amba/kmi.h (Version linux-6.12-rc7) and /include/linux/amba/kmi.h (Version linux-5.15.164)


** Warning: Cannot open xref database.

  1 /* SPDX-License-Identifier: GPL-2.0-or-later *      1 
  2 /*                                                
  3  *  linux/include/asm-arm/hardware/amba_kmi.h     
  4  *                                                
  5  *  Internal header file for AMBA KMI ports       
  6  *                                                
  7  *  Copyright (C) 2000 Deep Blue Solutions Ltd    
  8  *                                                
  9  * -------------------------------------------    
 10  *  From ARM PrimeCell(tm) PS2 Keyboard/Mouse     
 11  *  Reference Manual - ARM DDI 0143B - see htt    
 12  * -------------------------------------------    
 13  */                                               
 14 #ifndef ASM_ARM_HARDWARE_AMBA_KMI_H               
 15 #define ASM_ARM_HARDWARE_AMBA_KMI_H               
 16                                                   
 17 /*                                                
 18  * KMI control register:                          
 19  *  KMICR_TYPE       0 = PS2/AT mode, 1 = No l    
 20  *  KMICR_RXINTREN   1 = enable RX interrupts     
 21  *  KMICR_TXINTREN   1 = enable TX interrupts     
 22  *  KMICR_EN         1 = enable KMI               
 23  *  KMICR_FD         1 = force KMI data low       
 24  *  KMICR_FC         1 = force KMI clock low      
 25  */                                               
 26 #define KMICR           (KMI_BASE + 0x00)         
 27 #define KMICR_TYPE              (1 << 5)          
 28 #define KMICR_RXINTREN          (1 << 4)          
 29 #define KMICR_TXINTREN          (1 << 3)          
 30 #define KMICR_EN                (1 << 2)          
 31 #define KMICR_FD                (1 << 1)          
 32 #define KMICR_FC                (1 << 0)          
 33                                                   
 34 /*                                                
 35  * KMI status register:                           
 36  *  KMISTAT_TXEMPTY  1 = transmitter register     
 37  *  KMISTAT_TXBUSY   1 = currently sending dat    
 38  *  KMISTAT_RXFULL   1 = receiver register rea    
 39  *  KMISTAT_RXBUSY   1 = currently receiving d    
 40  *  KMISTAT_RXPARITY parity of last databyte r    
 41  *  KMISTAT_IC       current level of KMI cloc    
 42  *  KMISTAT_ID       current level of KMI data    
 43  */                                               
 44 #define KMISTAT         (KMI_BASE + 0x04)         
 45 #define KMISTAT_TXEMPTY         (1 << 6)          
 46 #define KMISTAT_TXBUSY          (1 << 5)          
 47 #define KMISTAT_RXFULL          (1 << 4)          
 48 #define KMISTAT_RXBUSY          (1 << 3)          
 49 #define KMISTAT_RXPARITY        (1 << 2)          
 50 #define KMISTAT_IC              (1 << 1)          
 51 #define KMISTAT_ID              (1 << 0)          
 52                                                   
 53 /*                                                
 54  * KMI data register                              
 55  */                                               
 56 #define KMIDATA         (KMI_BASE + 0x08)         
 57                                                   
 58 /*                                                
 59  * KMI clock divisor: to generate 8MHz interna    
 60  *  div = (ref / 8MHz) - 1; 0 <= div <= 15        
 61  */                                               
 62 #define KMICLKDIV       (KMI_BASE + 0x0c)         
 63                                                   
 64 /*                                                
 65  * KMI interrupt register:                        
 66  *  KMIIR_TXINTR     1 = transmit interrupt as    
 67  *  KMIIR_RXINTR     1 = receive interrupt ass    
 68  */                                               
 69 #define KMIIR           (KMI_BASE + 0x10)         
 70 #define KMIIR_TXINTR            (1 << 1)          
 71 #define KMIIR_RXINTR            (1 << 0)          
 72                                                   
 73 /*                                                
 74  * The size of the KMI primecell                  
 75  */                                               
 76 #define KMI_SIZE        (0x100)                   
 77                                                   
 78 #endif                                            
 79                                                   

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