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

TOMOYO Linux Cross Reference
Linux/arch/arm/mach-rpc/ecard.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/arm/mach-rpc/ecard.h (Version linux-6.12-rc7) and /arch/sparc64/mach-rpc/ecard.h (Version linux-5.10.229)


  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 
  2 /*                                                
  3  *  ecard.h                                       
  4  *                                                
  5  *  Copyright 2007 Russell King                   
  6  */                                               
  7                                                   
  8 /* Definitions internal to ecard.c - for it's     
  9  *                                                
 10  * External expansion card header as read from    
 11  */                                               
 12 struct ex_ecid {                                  
 13         unsigned char   r_irq:1;                  
 14         unsigned char   r_zero:1;                 
 15         unsigned char   r_fiq:1;                  
 16         unsigned char   r_id:4;                   
 17         unsigned char   r_a:1;                    
 18                                                   
 19         unsigned char   r_cd:1;                   
 20         unsigned char   r_is:1;                   
 21         unsigned char   r_w:2;                    
 22         unsigned char   r_r1:4;                   
 23                                                   
 24         unsigned char   r_r2:8;                   
 25                                                   
 26         unsigned char   r_prod[2];                
 27                                                   
 28         unsigned char   r_manu[2];                
 29                                                   
 30         unsigned char   r_country;                
 31                                                   
 32         unsigned char   r_fiqmask;                
 33         unsigned char   r_fiqoff[3];              
 34                                                   
 35         unsigned char   r_irqmask;                
 36         unsigned char   r_irqoff[3];              
 37 };                                                
 38                                                   
 39 /*                                                
 40  * Chunk directory entry as read from the card    
 41  */                                               
 42 struct ex_chunk_dir {                             
 43         unsigned char r_id;                       
 44         unsigned char r_len[3];                   
 45         unsigned long r_start;                    
 46         union {                                   
 47                 char string[256];                 
 48                 char data[1];                     
 49         } d;                                      
 50 #define c_id(x)         ((x)->r_id)               
 51 #define c_len(x)        ((x)->r_len[0]|((x)->r    
 52 #define c_start(x)      ((x)->r_start)            
 53 };                                                
 54                                                   
 55 typedef enum ecard_type {               /* Car    
 56         ECARD_IOC,                                
 57         ECARD_MEMC,                               
 58         ECARD_EASI                                
 59 } card_type_t;                                    
 60                                                   
 61 typedef enum {                          /* Spe    
 62         ECARD_SLOW       = 0,                     
 63         ECARD_MEDIUM     = 1,                     
 64         ECARD_FAST       = 2,                     
 65         ECARD_SYNC       = 3                      
 66 } card_speed_t;                                   
 67                                                   

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