Home
last modified time | relevance | path

Searched refs:CRC_LE_BITS (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/lib/
H A Dcrc32defs.h5 # define CRC_LE_BITS 64 macro
9 # define CRC_LE_BITS 32 macro
13 # define CRC_LE_BITS 8 macro
17 # define CRC_LE_BITS 1 macro
28 #ifndef CRC_LE_BITS
30 # define CRC_LE_BITS 64 macro
32 # define CRC_LE_BITS 32 macro
47 #if CRC_LE_BITS > 64 || CRC_LE_BITS < 1 || CRC_LE_BITS == 16 || \
48 CRC_LE_BITS & CRC_LE_BITS-1
H A Dcrc32.c36 #if CRC_LE_BITS > 8
54 #if CRC_LE_BITS > 8 || CRC_BE_BITS > 8
79 # if CRC_LE_BITS != 32
91 # if CRC_LE_BITS == 32
107 # if CRC_LE_BITS == 32
150 #if CRC_LE_BITS == 1
157 # elif CRC_LE_BITS == 2
165 # elif CRC_LE_BITS == 4
171 # elif CRC_LE_BITS == 8
185 #if CRC_LE_BITS == 1
H A Dgen_crc32table.c10 #if CRC_LE_BITS > 8
11 # define LE_TABLE_ROWS (CRC_LE_BITS/8)
15 # define LE_TABLE_SIZE (1 << CRC_LE_BITS)
112 if (CRC_LE_BITS > 1) { in main()
131 if (CRC_LE_BITS > 1) { in main()
H A Dcrc32test.c697 pr_info("crc32c: CRC_LE_BITS = %d\n", CRC_LE_BITS); in crc32c_test()
785 CRC_LE_BITS, CRC_BE_BITS); in crc32_test()
/openbmc/u-boot/drivers/mtd/ubi/
H A Dcrc32defs.h11 #ifndef CRC_LE_BITS
12 # define CRC_LE_BITS 8 macro
22 #if CRC_LE_BITS > 8 || CRC_LE_BITS < 1 || CRC_LE_BITS & CRC_LE_BITS-1
23 # error CRC_LE_BITS must be a power of 2 between 1 and 8
H A Dcrc32.c39 #define CRC_LE_BITS 8 macro
41 #if CRC_LE_BITS == 8
63 #if CRC_LE_BITS == 1
83 # if CRC_LE_BITS == 8 in crc32_le()
130 # elif CRC_LE_BITS == 4 in crc32_le()
137 # elif CRC_LE_BITS == 2 in crc32_le()