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

Go to the source code of this file.

Functions

 EXPORT_SYMBOL (crc7_syndrome_table)
 
u8 crc7 (u8 crc, const u8 *buffer, size_t len)
 
 EXPORT_SYMBOL (crc7)
 
 MODULE_DESCRIPTION ("CRC7 calculations")
 
 MODULE_LICENSE ("GPL")
 

Variables

const u8 crc7_syndrome_table [256]
 

Function Documentation

u8 crc7 ( u8  crc,
const u8 buffer,
size_t  len 
)

crc7 - update the CRC7 for the data buffer : previous CRC7 value : data pointer : number of bytes in the buffer Context: any

Returns the updated CRC7 value.

Definition at line 59 of file crc7.c.

EXPORT_SYMBOL ( crc7_syndrome_table  )
EXPORT_SYMBOL ( crc7  )
MODULE_DESCRIPTION ( "CRC7 calculations"  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

const u8 crc7_syndrome_table[256]

Definition at line 14 of file crc7.c.