Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
bitrev.c File Reference
#include <linux/types.h>
#include <linux/module.h>
#include <linux/bitrev.h>

Go to the source code of this file.

Functions

 MODULE_AUTHOR ("Akinobu Mita <[email protected]>")
 
 MODULE_DESCRIPTION ("Bit ordering reversal functions")
 
 MODULE_LICENSE ("GPL")
 
 EXPORT_SYMBOL_GPL (byte_rev_table)
 
u16 bitrev16 (u16 x)
 
 EXPORT_SYMBOL (bitrev16)
 
u32 bitrev32 (u32 x)
 
 EXPORT_SYMBOL (bitrev32)
 

Variables

const u8 byte_rev_table [256]
 

Function Documentation

u16 bitrev16 ( u16  x)

Definition at line 45 of file bitrev.c.

u32 bitrev32 ( u32  x)

bitrev32 - reverse the order of bits in a u32 value : value to be bit-reversed

Definition at line 55 of file bitrev.c.

EXPORT_SYMBOL ( bitrev16  )
EXPORT_SYMBOL ( bitrev32  )
EXPORT_SYMBOL_GPL ( byte_rev_table  )
MODULE_AUTHOR ( "Akinobu Mita <[email protected]>"  )
MODULE_DESCRIPTION ( "Bit ordering reversal functions"  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

const u8 byte_rev_table[256]

Definition at line 9 of file bitrev.c.