Home
last modified time | relevance | path

Searched refs:CRC (Results 1 – 25 of 98) sorted by relevance

1234

/linux/Documentation/staging/
H A Dcrc32.rst2 Brief tutorial on CRC computation
5 A CRC is a long-division remainder. You add the CRC to the message,
6 and the whole thing (message+CRC) is a multiple of the given
7 CRC polynomial. To check the CRC, you can either check that the
8 CRC matches the recomputed value, *or* you can check that the
9 remainder computed on the message+CRC is 0. This latter approach
11 protocols put the end-of-frame flag after the CRC.
21 To produce a 32-bit CRC, the divisor is actually a 33-bit CRC polynomial.
23 CRC is written in hex with the most significant bit omitted. (If you're
26 Note that a CRC is computed over a string of *bits*, so you have
[all …]
/linux/lib/crc/
H A DKconfig3 # Kconfig for the kernel's cyclic redundancy check (CRC) library code
32 The CRC-CCITT library functions. Select this if your module uses any
38 The CRC-ITU-T library functions. Select this if your module uses
44 The CRC-T10DIF library functions. Select this if your module uses
89 bool "Enable optimized CRC implementations" if EXPERT
94 architecture-optimized implementations of any CRC variants that are
95 enabled. CRC checksumming performance may get much slower.
101 tristate "KUnit tests for CRC functions" if !KUNIT_ALL_TESTS
110 Unit tests for the CRC library functions.
116 bool "Benchmark for the CRC functions"
[all …]
/linux/Documentation/driver-api/soundwire/
H A Dbra_cadence.rst19 (5) Padding shall be inserted as needed so that the Header CRC,
20 Header response, Footer CRC, Footer response are always in
36 + | | | pad | WR HDR CRC |
41 + 0 | 1 | | pad | WR Data CRC |
46 + 0 | 1 | | pad | RD HDR CRC |
64 + | | | pad | RD Data CRC |
H A Dbra.rst84 (1) A CRC on the 7-byte header. This CRC helps the Peripheral Device
88 (2) A CRC on the data block (header excluded). This CRC is
99 (2) Nak (CRC failure)
117 + C | HEADER CRC |
128 + | DATA CRC |
211 computation of CRC and handling of responses is handled in helpers and
/linux/Documentation/driver-api/surface_aggregator/
H A Dssh.rst74 Each frame structure is followed by a CRC over this structure. The CRC over
77 its own CRC (over all payload bytes). If the payload is not present (i.e.
78 the frame has ``LEN=0``), the CRC of the payload is still present and will
80 equals the number of bytes between the CRC of the frame and the CRC of the
98 CRC) and, if specified in the frame (i.e. ``LEN > 0``), payload bytes,
99 followed finally, regardless if the payload is present, the payload CRC. The
141 |DATA_NSQ|-type frame, followed by its CRC, payload, and payload CRC. In
147 error, e.g. an invalid CRC, the receiving party responds with a message
165 tx: -- SYN FRAME(D) CRC(F) PAYLOAD CRC(P) -----------------------------
166 rx: ------------------------------------- SYN FRAME(A) CRC(F) CRC(P) --
[all …]
/linux/lib/crc/x86/
H A Dcrc32c-3way.S49 ## ISCSI CRC 32 Implementation with crc32 and pclmulqdq Instruction
52 # regular CRC code that does not interleave the CRC instructions.
115 ## 3) CRC each of three lanes:
H A Dcrc-pclmul-template.S242 .set CRC, %edi define
244 .set CRC, %rdi define
254 .set CRC, %eax define
286 _cond_vex movd, CRC, %xmm0
288 _cond_vex movq, CRC, %xmm0
/linux/Documentation/translations/zh_CN/block/
H A Ddata-integrity.rst53 此外,SCSI 与 SATA 规范要求的16位 CRC 校验在软件中计算代价较高。基准测试发
56 时会转换为16位 CRC,读取时则相反。这允许 Linux 或应用程序以极低的开销生成
59 IP 校验在检测位错误方面比 CRC 弱,但关键在于数据缓冲区与完整性元数据缓冲区
/linux/drivers/soc/samsung/
H A DKconfig53 bool "S3C2410 PM Suspend Memory CRC"
66 int "S3C2410 PM Suspend CRC Chunksize (KiB)"
70 Set the chunksize in Kilobytes of the CRC for checking memory
72 the CRC data block will take more memory, but will identify any
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-pcache.rst21 == 2`) and protected with CRC+sequence numbers.
47 * ``false`` – skip CRC (faster)
131 and are themselves crash-safe (CRC).
148 CRC verification
153 validate the CRC before copying to the caller.
/linux/drivers/net/ethernet/amd/
H A Dnmclan_cs.c1287 static void updateCRC(int *CRC, int bit) in updateCRC() argument
1301 CRC[j] = CRC[j-1]; in updateCRC()
1302 CRC[0] = 0; in updateCRC()
1305 if (bit ^ CRC[32]) in updateCRC()
1307 CRC[j] ^= poly[j]; in updateCRC()
1321 int CRC[33]={1}; /* CRC register, 1 word/bit + extra control bit */ in BuildLAF() local
1326 CRC[32]=0; in BuildLAF()
1330 updateCRC(CRC, (adr[byte] >> i) & 1); in BuildLAF()
1334 hashcode = (hashcode << 1) + CRC[i]; in BuildLAF()
/linux/Documentation/translations/zh_CN/core-api/
H A Dkernel-api.rst121 Linux中的CRC和数学函数
131 CRC函数
134 *译注:CRC,Cyclic Redundancy Check,循环冗余校验*
/linux/Documentation/networking/device_drivers/ethernet/altera/
H A Daltera_tse.rst164 received. This count does not include any error packets such as CRC errors,
169 an integral number of bytes in length and do not pass the CRC test as the frame
174 integral number of bytes in length and do not pass the CRC test as the frame is
280 octets, and had either a bad CRC with an integral number of octets (CRC Error)
281 or a bad CRC with a non-integral number of octets (Alignment Error).
285 in length and had either a bad CRC with an integral number of octets (CRC
286 error) or a bad CRC with a non-integral number of octets (Alignment Error).
/linux/Documentation/w1/slaves/
H A Dw1_ds28e04.rst20 Support is provided through the sysfs files "eeprom" and "pio". CRC checking
31 to the EEPROM of the DS28E04. If CRC checking mode is enabled only
H A Dw1_ds2438.rst43 Internally when this file is read, the additional CRC byte is also obtained
51 Internally when this file is read, the additional CRC byte is also obtained
/linux/Documentation/translations/zh_CN/filesystems/
H A Dubifs.rst77 no_chk_data_crc (*) 跳过数据节点的 CRC 校验以提高读取性能。 仅在闪存
80 chk_data_crc 强制校验数据节点的 CRC
/linux/Documentation/filesystems/xfs/
H A Dxfs-self-describing-metadata.rst87 hence a 32 bit CRC is more than sufficient to detect multi-bit errors in
176 whether CRC validating is necessary. If it is, the CRC32c is calculated and
184 modification made to the object, After this, we calculate the CRC and insert it
196 __be32 crc; /* CRC, not logged */
240 The code ensures that the CRC is only checked if the filesystem has CRCs enabled
241 by checking the superblock of the feature bit, and then if the CRC verifies OK
327 update the LSN field (when it was last modified) and calculate the CRC on the
333 Inodes and dquots are special snowflakes. They have per-object CRC and
336 verification and CRC calculations. The per-buffer verifiers simply perform basic
338 there are magic numbers in all the expected spots. All further CRC and
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-zynqmp-fpga12 BIT(0) 0: No CRC error
13 1: CRC error
H A Dsysfs-class-fpga-manager53 * reconfig CRC error - CRC error detected by
H A Dsysfs-devices-platform-kunpeng_hccs20 crc_err_cnt: (RO) total CRC err count for all ports on this
44 crc_err_cnt: (RO) total CRC err count for all ports on this
80 crc_err_cnt: (RO) CRC err count on this port.
H A Ddebugfs-dwc-pcie23 2) b16_crc_dllp - 16b CRC error injection of ACK/NAK DLLP
24 3) b16_crc_upd_fc - 16b CRC error injection of Update-FC DLLP
107 11) Margin CRC and Parity Error
/linux/Documentation/driver-api/pldmfw/
H A Dfile-format.rst29 | Package Header CRC |
192 Package Header CRC
195 Following the component information is a short 4-byte CRC calculated over
/linux/Documentation/hwmon/
H A Dsht15.rst57 * If a CRC validation fails, a soft reset command is sent, which resets
65 set it to true to enable CRC validation of the readings (default to false).
/linux/drivers/char/xilinx_hwicap/
H A Dxilinx_hwicap.c118 .CRC = 0,
143 .CRC = 0,
168 .CRC = 0,
193 .CRC = 0,
/linux/Documentation/kbuild/
H A Dmodules.rst392 as a simple ABI consistency check. A CRC value of the full prototype
394 CRC values contained in the kernel are compared with similar values in
407 corresponding CRC value is also stored.
411 <CRC> <Symbol> <Module> <Export Type> <Namespace>
418 For a kernel build without CONFIG_MODVERSIONS enabled, the CRC
424 2) It lists the CRC if CONFIG_MODVERSIONS is enabled.
437 CRC stored in the __versions section of the importing module. This

1234