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

TOMOYO Linux Cross Reference
Linux/include/asm-generic/video.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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/asm-generic/video.h (Version linux-6.11.5) and /include/asm-i386/video.h (Version linux-4.11.12)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 
  2                                                   
  3 #ifndef __ASM_GENERIC_VIDEO_H_                    
  4 #define __ASM_GENERIC_VIDEO_H_                    
  5                                                   
  6 /*                                                
  7  * Only include this header file from your arc    
  8  */                                               
  9                                                   
 10 #include <linux/io.h>                             
 11 #include <linux/mm_types.h>                       
 12 #include <linux/pgtable.h>                        
 13 #include <linux/types.h>                          
 14                                                   
 15 struct device;                                    
 16                                                   
 17 #ifndef pgprot_framebuffer                        
 18 #define pgprot_framebuffer pgprot_framebuffer     
 19 static inline pgprot_t pgprot_framebuffer(pgpr    
 20                                           unsi    
 21                                           unsi    
 22 {                                                 
 23         return pgprot_writecombine(prot);         
 24 }                                                 
 25 #endif                                            
 26                                                   
 27 #ifndef video_is_primary_device                   
 28 #define video_is_primary_device video_is_prima    
 29 static inline bool video_is_primary_device(str    
 30 {                                                 
 31         return false;                             
 32 }                                                 
 33 #endif                                            
 34                                                   
 35 /*                                                
 36  * I/O helpers for the framebuffer. Prefer the    
 37  * regular counterparts. The regular I/O funct    
 38  * access and swap bytes to/from little-endian    
 39  * required for framebuffers. Instead, the hel    
 40  * raw framebuffer data. Independent operation    
 41  * improved performance.                          
 42  */                                               
 43                                                   
 44 #ifndef fb_readb                                  
 45 static inline u8 fb_readb(const volatile void     
 46 {                                                 
 47         return __raw_readb(addr);                 
 48 }                                                 
 49 #define fb_readb fb_readb                         
 50 #endif                                            
 51                                                   
 52 #ifndef fb_readw                                  
 53 static inline u16 fb_readw(const volatile void    
 54 {                                                 
 55         return __raw_readw(addr);                 
 56 }                                                 
 57 #define fb_readw fb_readw                         
 58 #endif                                            
 59                                                   
 60 #ifndef fb_readl                                  
 61 static inline u32 fb_readl(const volatile void    
 62 {                                                 
 63         return __raw_readl(addr);                 
 64 }                                                 
 65 #define fb_readl fb_readl                         
 66 #endif                                            
 67                                                   
 68 #ifndef fb_readq                                  
 69 #if defined(__raw_readq)                          
 70 static inline u64 fb_readq(const volatile void    
 71 {                                                 
 72         return __raw_readq(addr);                 
 73 }                                                 
 74 #define fb_readq fb_readq                         
 75 #endif                                            
 76 #endif                                            
 77                                                   
 78 #ifndef fb_writeb                                 
 79 static inline void fb_writeb(u8 b, volatile vo    
 80 {                                                 
 81         __raw_writeb(b, addr);                    
 82 }                                                 
 83 #define fb_writeb fb_writeb                       
 84 #endif                                            
 85                                                   
 86 #ifndef fb_writew                                 
 87 static inline void fb_writew(u16 b, volatile v    
 88 {                                                 
 89         __raw_writew(b, addr);                    
 90 }                                                 
 91 #define fb_writew fb_writew                       
 92 #endif                                            
 93                                                   
 94 #ifndef fb_writel                                 
 95 static inline void fb_writel(u32 b, volatile v    
 96 {                                                 
 97         __raw_writel(b, addr);                    
 98 }                                                 
 99 #define fb_writel fb_writel                       
100 #endif                                            
101                                                   
102 #ifndef fb_writeq                                 
103 #if defined(__raw_writeq)                         
104 static inline void fb_writeq(u64 b, volatile v    
105 {                                                 
106         __raw_writeq(b, addr);                    
107 }                                                 
108 #define fb_writeq fb_writeq                       
109 #endif                                            
110 #endif                                            
111                                                   
112 #ifndef fb_memcpy_fromio                          
113 static inline void fb_memcpy_fromio(void *to,     
114 {                                                 
115         memcpy_fromio(to, from, n);               
116 }                                                 
117 #define fb_memcpy_fromio fb_memcpy_fromio         
118 #endif                                            
119                                                   
120 #ifndef fb_memcpy_toio                            
121 static inline void fb_memcpy_toio(volatile voi    
122 {                                                 
123         memcpy_toio(to, from, n);                 
124 }                                                 
125 #define fb_memcpy_toio fb_memcpy_toio             
126 #endif                                            
127                                                   
128 #ifndef fb_memset                                 
129 static inline void fb_memset_io(volatile void     
130 {                                                 
131         memset_io(addr, c, n);                    
132 }                                                 
133 #define fb_memset fb_memset_io                    
134 #endif                                            
135                                                   
136 #endif /* __ASM_GENERIC_VIDEO_H_ */               
137                                                   

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