![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef _LINUX_CRC7_H 0003 #define _LINUX_CRC7_H 0004 #include <linux/types.h> 0005 0006 extern const u8 crc7_be_syndrome_table[256]; 0007 0008 static inline u8 crc7_be_byte(u8 crc, u8 data) 0009 { 0010 return crc7_be_syndrome_table[crc ^ data]; 0011 } 0012 0013 extern u8 crc7_be(u8 crc, const u8 *buffer, size_t len); 0014 0015 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |