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

TOMOYO Linux Cross Reference
Linux/arch/arm/include/debug/samsung.S

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/include/debug/samsung.S (Architecture sparc) and /arch/i386/include/debug/samsung.S (Architecture i386)


  1 /* SPDX-License-Identifier: GPL-2.0 */            
  2 /*                                                
  3  * Copyright 2005, 2007 Simtec Electronics        
  4  *      http://armlinux.simtec.co.uk/             
  5  *      Ben Dooks <ben@simtec.co.uk>               
  6  */                                               
  7                                                   
  8 #include <linux/serial_s3c.h>                     
  9                                                   
 10 /* The S5PV210/S5PC110 implementations are as     
 11                                                   
 12         .macro fifo_level_s5pv210 rd, rx          
 13                 ldr     \rd, [\rx, # S3C2410_U    
 14 ARM_BE8(rev \rd, \rd)                             
 15                 and     \rd, \rd, #S5PV210_UFS    
 16         .endm                                     
 17                                                   
 18         .macro  fifo_full_s5pv210 rd, rx          
 19                 ldr     \rd, [\rx, # S3C2410_U    
 20 ARM_BE8(rev \rd, \rd)                             
 21                 tst     \rd, #S5PV210_UFSTAT_T    
 22         .endm                                     
 23                                                   
 24 /* The S3C2440 implementations are used by def    
 25  * most widely re-used */                         
 26                                                   
 27         .macro fifo_level_s3c2440 rd, rx          
 28                 ldr     \rd, [\rx, # S3C2410_U    
 29 ARM_BE8(rev \rd, \rd)                             
 30                 and     \rd, \rd, #S3C2440_UFS    
 31         .endm                                     
 32                                                   
 33 #ifndef fifo_level                                
 34 #define fifo_level fifo_level_s3c2440             
 35 #endif                                            
 36                                                   
 37         .macro  fifo_full_s3c2440 rd, rx          
 38                 ldr     \rd, [\rx, # S3C2410_U    
 39 ARM_BE8(rev \rd, \rd)                             
 40                 tst     \rd, #S3C2440_UFSTAT_T    
 41         .endm                                     
 42                                                   
 43 #ifndef fifo_full                                 
 44 #define fifo_full fifo_full_s3c2440               
 45 #endif                                            
 46                                                   
 47         .macro  senduart,rd,rx                    
 48                 strb    \rd, [\rx, # S3C2410_U    
 49         .endm                                     
 50                                                   
 51         .macro  busyuart, rd, rx                  
 52                 ldr     \rd, [\rx, # S3C2410_U    
 53 ARM_BE8(rev \rd, \rd)                             
 54                 tst     \rd, #S3C2410_UFCON_FI    
 55                 beq     1001f                     
 56                 @ FIFO enabled...                 
 57 1003:                                             
 58                 fifo_full \rd, \rx                
 59                 bne     1003b                     
 60                 b       1002f                     
 61                                                   
 62 1001:                                             
 63                 @ busy waiting for non fifo       
 64                 ldr     \rd, [\rx, # S3C2410_U    
 65 ARM_BE8(rev \rd, \rd)                             
 66                 tst     \rd, #S3C2410_UTRSTAT_    
 67                 beq     1001b                     
 68                                                   
 69 1002:           @ exit busyuart                   
 70         .endm                                     
 71                                                   
 72         .macro  waituartcts,rd,rx                 
 73         .endm                                     
 74                                                   
 75         .macro  waituarttxrdy,rd,rx               
 76                 ldr     \rd, [\rx, # S3C2410_U    
 77 ARM_BE8(rev \rd, \rd)                             
 78                 tst     \rd, #S3C2410_UFCON_FI    
 79                 beq     1001f                     
 80                 @ FIFO enabled...                 
 81 1003:                                             
 82                 fifo_level \rd, \rx               
 83                 teq     \rd, #0                   
 84                 bne     1003b                     
 85                 b       1002f                     
 86 1001:                                             
 87                 @ idle waiting for non fifo       
 88                 ldr     \rd, [\rx, # S3C2410_U    
 89 ARM_BE8(rev \rd, \rd)                             
 90                 tst     \rd, #S3C2410_UTRSTAT_    
 91                 beq     1001b                     
 92                                                   
 93 1002:           @ exit busyuart                   
 94         .endm                                     
                                                      

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