| Linux kernel & device driver programming |
| [ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] |
1 #ifndef _LINUX_BITREV_H 1 #ifndef _LINUX_BITREV_H
2 #define _LINUX_BITREV_H 2 #define _LINUX_BITREV_H
3 3
4 #include <linux/types.h> 4 #include <linux/types.h>
5 5
6 extern u8 const byte_rev_table[256]; 6 extern u8 const byte_rev_table[256];
7 7
8 static inline u8 bitrev8(u8 byte) 8 static inline u8 bitrev8(u8 byte)
9 { 9 {
10 return byte_rev_table[byte]; 10 return byte_rev_table[byte];
11 } 11 }
12 12
>> 13 extern u16 bitrev16(u16 in);
13 extern u32 bitrev32(u32 in); 14 extern u32 bitrev32(u32 in);
14 15
15 #endif /* _LINUX_BITREV_H */ 16 #endif /* _LINUX_BITREV_H */
16 17
| This page was automatically generated by the LXR engine. |