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

TOMOYO Linux Cross Reference
Linux/arch/sparc/include/asm/auxio_64.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/sparc/include/asm/auxio_64.h (Version linux-6.12-rc7) and /arch/i386/include/asm-i386/auxio_64.h (Version linux-4.16.18)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 
  2 /*                                                
  3  * auxio.h:  Definitions and code for the Auxi    
  4  *                                                
  5  * Copyright (C) 1995 David S. Miller (davem@c    
  6  *                                                
  7  * Refactoring for unified NCR/PCIO support 20    
  8  */                                               
  9 #ifndef _SPARC64_AUXIO_H                          
 10 #define _SPARC64_AUXIO_H                          
 11                                                   
 12 /* AUXIO implementations:                         
 13  * sbus-based NCR89C105 "Slavio"                  
 14  *      LED/Floppy (AUX1) register                
 15  *      Power (AUX2) register                     
 16  *                                                
 17  * ebus-based auxio on PCIO                       
 18  *      LED Auxio Register                        
 19  *      Power Auxio Register                      
 20  *                                                
 21  * Register definitions from NCR _NCR89C105 Ch    
 22  *                                                
 23  * SLAVIO AUX1 @ 0x1900000                        
 24  * -------------------------------------------    
 25  * | (R) | (R) |  D  | (R) |  E  |  M  |  T  |    
 26  * -------------------------------------------    
 27  * (R) - bit 7:6,4 are reserved and should be     
 28  *  D  - Floppy Density Sense (1=high density)    
 29  *  E  - Link Test Enable, directly reflected     
 30  *  M  - Monitor/Mouse Mux, directly reflected    
 31  *  T  - Terminal Count: sends TC pulse to 820    
 32  *  L  - System LED on front panel (0=off, 1=o    
 33  */                                               
 34 #define AUXIO_AUX1_MASK         0xc0 /* Mask b    
 35 #define AUXIO_AUX1_FDENS        0x20 /* Floppy    
 36 #define AUXIO_AUX1_LTE          0x08 /* Link T    
 37 #define AUXIO_AUX1_MMUX         0x04 /* Monito    
 38 #define AUXIO_AUX1_FTCNT        0x02 /* Termin    
 39 #define AUXIO_AUX1_LED          0x01 /* System    
 40                                                   
 41 /* SLAVIO AUX2 @ 0x1910000                        
 42  * -------------------------------------------    
 43  * | (R) | (R) |  D  | (R) | (R) | (R) |  C  |    
 44  * -------------------------------------------    
 45  * (R) - bits 7:6,4:2 are reserved and should     
 46  *  D  - Power Failure Detect (1=power fail)      
 47  *  C  - Clear Power Failure Detect Int (1=cle    
 48  *  F  - Power Off (1=power off)                  
 49  */                                               
 50 #define AUXIO_AUX2_MASK         0xdc /* Mask B    
 51 #define AUXIO_AUX2_PFAILDET     0x20 /* Power     
 52 #define AUXIO_AUX2_PFAILCLR     0x02 /* Clear     
 53 #define AUXIO_AUX2_PWR_OFF      0x01 /* Power     
 54                                                   
 55 /* Register definitions from Sun Microsystems     
 56  *                                                
 57  * PCIO LED Auxio @ 0x726000                      
 58  * -------------------------------------------    
 59  * |             31:1 Unused                 |    
 60  * -------------------------------------------    
 61  * Bits 31:1 unused                               
 62  * LED - System LED on front panel (0=off, 1=o    
 63  */                                               
 64 #define AUXIO_PCIO_LED          0x01 /* System    
 65                                                   
 66 /* PCIO Power Auxio @ 0x724000                    
 67  * -------------------------------------------    
 68  * |             31:2 Unused           | CPO |    
 69  * -------------------------------------------    
 70  * Bits 31:2 unused                               
 71  * CPO - Courtesy Power Off (1=off)               
 72  * SPO - System Power Off   (1=off)               
 73  */                                               
 74 #define AUXIO_PCIO_CPWR_OFF     0x02 /* Courte    
 75 #define AUXIO_PCIO_SPWR_OFF     0x01 /* System    
 76                                                   
 77 #ifndef __ASSEMBLY__                              
 78                                                   
 79 #define AUXIO_LTE_ON    1                         
 80 #define AUXIO_LTE_OFF   0                         
 81                                                   
 82 /* auxio_set_lte - Set Link Test Enable (TPE L    
 83  *                                                
 84  * on - AUXIO_LTE_ON or AUXIO_LTE_OFF             
 85  */                                               
 86 void auxio_set_lte(int on);                       
 87                                                   
 88 #define AUXIO_LED_ON    1                         
 89 #define AUXIO_LED_OFF   0                         
 90                                                   
 91 /* auxio_set_led - Set system front panel LED     
 92  *                                                
 93  * on - AUXIO_LED_ON or AUXIO_LED_OFF             
 94  */                                               
 95 void auxio_set_led(int on);                       
 96                                                   
 97 #endif /* ifndef __ASSEMBLY__ */                  
 98                                                   
 99 #endif /* !(_SPARC64_AUXIO_H) */                  
100                                                   

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