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

TOMOYO Linux Cross Reference
Linux/arch/sparc/include/asm/sunbpp.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/sunbpp.h (Architecture mips) and /arch/ppc/include/asm-ppc/sunbpp.h (Architecture ppc)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 
  2 /*                                                
  3  * include/asm/sunbpp.h                           
  4  */                                               
  5                                                   
  6 #ifndef _ASM_SPARC_SUNBPP_H                       
  7 #define _ASM_SPARC_SUNBPP_H                       
  8                                                   
  9 struct bpp_regs {                                 
 10   /* DMA registers */                             
 11   __volatile__ __u32 p_csr;             /* DMA    
 12   __volatile__ __u32 p_addr;            /* Add    
 13   __volatile__ __u32 p_bcnt;            /* Byt    
 14   __volatile__ __u32 p_tst_csr;         /* Tes    
 15   /* Parallel Port registers */                   
 16   __volatile__ __u16 p_hcr;             /* Har    
 17   __volatile__ __u16 p_ocr;             /* Ope    
 18   __volatile__ __u8 p_dr;               /* Par    
 19   __volatile__ __u8 p_tcr;              /* Tra    
 20   __volatile__ __u8 p_or;               /* Out    
 21   __volatile__ __u8 p_ir;               /* Inp    
 22   __volatile__ __u16 p_icr;             /* Int    
 23 };                                                
 24                                                   
 25 /* P_HCR. Time is in increments of SBus clock.    
 26 #define P_HCR_TEST      0x8000      /* Allows     
 27 #define P_HCR_DSW       0x7f00      /* Data st    
 28 #define P_HCR_DDS       0x007f      /* Data se    
 29                                                   
 30 /* P_OCR. */                                      
 31 #define P_OCR_MEM_CLR   0x8000                    
 32 #define P_OCR_DATA_SRC  0x4000      /* )          
 33 #define P_OCR_DS_DSEL   0x2000      /* )  Bidi    
 34 #define P_OCR_BUSY_DSEL 0x1000      /* )    se    
 35 #define P_OCR_ACK_DSEL  0x0800      /* )          
 36 #define P_OCR_EN_DIAG   0x0400                    
 37 #define P_OCR_BUSY_OP   0x0200      /* Busy op    
 38 #define P_OCR_ACK_OP    0x0100      /* Ack ope    
 39 #define P_OCR_SRST      0x0080      /* Reset s    
 40 #define P_OCR_IDLE      0x0008      /* PP data    
 41 #define P_OCR_V_ILCK    0x0002      /* Versate    
 42 #define P_OCR_EN_VER    0x0001      /* Enable     
 43                                                   
 44 /* P_TCR */                                       
 45 #define P_TCR_DIR       0x08                      
 46 #define P_TCR_BUSY      0x04                      
 47 #define P_TCR_ACK       0x02                      
 48 #define P_TCR_DS        0x01        /* Strobe     
 49                                                   
 50 /* P_OR */                                        
 51 #define P_OR_V3         0x20        /* )          
 52 #define P_OR_V2         0x10        /* ) on Ze    
 53 #define P_OR_V1         0x08        /* )          
 54 #define P_OR_INIT       0x04                      
 55 #define P_OR_AFXN       0x02        /* Auto Fe    
 56 #define P_OR_SLCT_IN    0x01                      
 57                                                   
 58 /* P_IR */                                        
 59 #define P_IR_PE         0x04                      
 60 #define P_IR_SLCT       0x02                      
 61 #define P_IR_ERR        0x01                      
 62                                                   
 63 /* P_ICR */                                       
 64 #define P_DS_IRQ        0x8000      /* RW1  */    
 65 #define P_ACK_IRQ       0x4000      /* RW1  */    
 66 #define P_BUSY_IRQ      0x2000      /* RW1  */    
 67 #define P_PE_IRQ        0x1000      /* RW1  */    
 68 #define P_SLCT_IRQ      0x0800      /* RW1  */    
 69 #define P_ERR_IRQ       0x0400      /* RW1  */    
 70 #define P_DS_IRQ_EN     0x0200      /* RW   Al    
 71 #define P_ACK_IRQ_EN    0x0100      /* RW   Al    
 72 #define P_BUSY_IRP      0x0080      /* RW   1=    
 73 #define P_BUSY_IRQ_EN   0x0040      /* RW   */    
 74 #define P_PE_IRP        0x0020      /* RW   1=    
 75 #define P_PE_IRQ_EN     0x0010      /* RW   */    
 76 #define P_SLCT_IRP      0x0008      /* RW   1=    
 77 #define P_SLCT_IRQ_EN   0x0004      /* RW   */    
 78 #define P_ERR_IRP       0x0002      /* RW1  1=    
 79 #define P_ERR_IRQ_EN    0x0001      /* RW   */    
 80                                                   
 81 #endif /* !(_ASM_SPARC_SUNBPP_H) */               
 82                                                   

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