/linux/lib/ |
A D | crc32.c | 146 static inline u32 __pure crc32_le_generic(u32 crc, unsigned char const *p, 186 u32 __pure __weak crc32_le(u32 crc, unsigned char const *p, size_t len) 190 u32 __pure __weak __crc32c_le(u32 crc, unsigned char const *p, size_t len) 195 u32 __pure __weak crc32_le(u32 crc, unsigned char const *p, size_t len) 200 u32 __pure __weak __crc32c_le(u32 crc, unsigned char const *p, size_t len) 243 static u32 __attribute_const__ crc32_generic_shift(u32 crc, size_t len, 273 u32 __attribute_const__ crc32_le_shift(u32 crc, size_t len) 278 u32 __attribute_const__ __crc32c_le_shift(u32 crc, size_t len) 294 static inline u32 __pure crc32_be_generic(u32 crc, unsigned char const *p, 335 u32 __pure crc32_be(u32 crc, unsigned char const *p, size_t len) [all …]
|
A D | crc-ccitt.c | 99 u16 crc_ccitt(u16 crc, u8 const *buffer, size_t len) in crc_ccitt() 114 u16 crc_ccitt_false(u16 crc, u8 const *buffer, size_t len) in crc_ccitt_false()
|
A D | crc32test.c | 552 u32 crc; /* random starting crc */ member 674 static u32 crc; in crc32c_test() local 754 static u32 crc; in crc32_test() local
|
A D | crc-t10dif.c | 63 __u16 crc_t10dif_update(__u16 crc, const unsigned char *buffer, size_t len) in crc_t10dif_update() 67 __u16 crc; in crc_t10dif_update() member
|
/linux/arch/arm/crypto/ |
A D | crc32-ce-glue.c | 66 u32 *crc = shash_desc_ctx(desc); in crc32_init() local 75 u32 *crc = shash_desc_ctx(desc); in crc32_update() local 84 u32 *crc = shash_desc_ctx(desc); in crc32c_update() local 92 u32 *crc = shash_desc_ctx(desc); in crc32_final() local 100 u32 *crc = shash_desc_ctx(desc); in crc32c_final() local 109 u32 *crc = shash_desc_ctx(desc); in crc32_pmull_update() local 143 u32 *crc = shash_desc_ctx(desc); in crc32c_pmull_update() local
|
A D | crct10dif-ce-glue.c | 26 u16 *crc = shash_desc_ctx(desc); in crct10dif_init() local 35 u16 *crc = shash_desc_ctx(desc); in crct10dif_update() local 50 u16 *crc = shash_desc_ctx(desc); in crct10dif_final() local
|
/linux/drivers/gpu/drm/ |
A D | drm_debugfs_crc.c | 125 struct drm_crtc_crc *crc = &crtc->crc; in crc_control_write() local 178 static int crtc_crc_data_count(struct drm_crtc_crc *crc) in crtc_crc_data_count() 184 static void crtc_crc_cleanup(struct drm_crtc_crc *crc) in crtc_crc_cleanup() 198 struct drm_crtc_crc *crc = &crtc->crc; in crtc_crc_open() local 261 struct drm_crtc_crc *crc = &crtc->crc; in crtc_crc_release() local 288 struct drm_crtc_crc *crc = &crtc->crc; in crtc_crc_read() local 347 struct drm_crtc_crc *crc = &crtc->crc; in crtc_crc_poll() local 396 struct drm_crtc_crc *crc = &crtc->crc; in drm_crtc_add_crc_entry() local
|
/linux/drivers/net/can/spi/mcp251xfd/ |
A D | mcp251xfd-crc16.c | 58 static inline u16 mcp251xfd_crc16_byte(u16 crc, const u8 data) in mcp251xfd_crc16_byte() 65 static u16 mcp251xfd_crc16(u16 crc, u8 const *buffer, size_t len) in mcp251xfd_crc16() 75 u16 crc = 0xffff; in mcp251xfd_crc16_compute() local 83 u16 crc; in mcp251xfd_crc16_compute2() local
|
/linux/drivers/crypto/stm32/ |
A D | stm32-crc32.c | 104 struct stm32_crc *crc; in stm32_crc_get_next_crc() local 119 struct stm32_crc *crc; in stm32_crc_init() local 152 struct stm32_crc *crc; in burst_update() local 319 struct stm32_crc *crc; in stm32_crc_probe() local 384 struct stm32_crc *crc = platform_get_drvdata(pdev); in stm32_crc_remove() local 409 struct stm32_crc *crc = dev_get_drvdata(dev); in stm32_crc_suspend() local 423 struct stm32_crc *crc = dev_get_drvdata(dev); in stm32_crc_resume() local 437 struct stm32_crc *crc = dev_get_drvdata(dev); in stm32_crc_runtime_suspend() local 446 struct stm32_crc *crc = dev_get_drvdata(dev); in stm32_crc_runtime_resume() local
|
/linux/fs/xfs/libxfs/ |
A D | xfs_cksum.h | 17 uint32_t crc; in xfs_start_cksum_safe() local 52 xfs_end_cksum(uint32_t crc) in xfs_end_cksum() 66 uint32_t crc = xfs_start_cksum_update(buffer, length, cksum_offset); in xfs_update_cksum() local 77 uint32_t crc = xfs_start_cksum_safe(buffer, length, cksum_offset); in xfs_verify_cksum() local
|
/linux/arch/arm64/crypto/ |
A D | crct10dif-ce-glue.c | 28 u16 *crc = shash_desc_ctx(desc); in crct10dif_init() local 37 u16 *crc = shash_desc_ctx(desc); in crct10dif_update_pmull_p8() local 62 u16 *crc = shash_desc_ctx(desc); in crct10dif_update_pmull_p64() local 86 u16 *crc = shash_desc_ctx(desc); in crct10dif_final() local
|
/linux/drivers/gpu/drm/nouveau/dispnv50/ |
A D | crc.c | 128 struct nv50_crc *crc = &head->crc; in nv50_crc_get_entries() local 151 struct nv50_crc *crc = &head->crc; in nv50_crc_handle_vblank() local 243 struct nv50_crc *crc = &head->crc; in nv50_crc_atomic_stop_reporting() local 275 struct nv50_crc *crc = &head->crc; in nv50_crc_atomic_init_notifier_contexts() local 299 struct nv50_crc *crc = &head->crc; in nv50_crc_atomic_release_notifier_contexts() local 322 struct nv50_crc *crc = &head->crc; in nv50_crc_atomic_start_reporting() local 465 struct nv50_crc *crc = &head->crc; in nv50_crc_atomic_set() local 549 struct nv50_crc *crc = &head->crc; in nv50_crc_set_source() local 635 struct nv50_crc *crc = &head->crc; in nv50_crc_debugfs_flip_threshold_get() local 665 struct nv50_crc *crc = &head->crc; in nv50_crc_debugfs_flip_threshold_set() local [all …]
|
/linux/arch/mips/crypto/ |
A D | crc32-mips.c | 53 #define _CRC32(crc, value, size, type) \ argument 64 #define CRC32(crc, value, size) \ argument 67 #define CRC32C(crc, value, size) \ argument 72 u32 crc = crc_; local 112 u32 crc = crc_; local 157 u32 crc; member 220 static int __chksum_finup(u32 crc, const u8 *data, unsigned int len, u8 *out) 226 static int __chksumc_finup(u32 crc, const u8 *data, unsigned int len, u8 *out)
|
/linux/arch/powerpc/crypto/ |
A D | crct10dif-vpmsum_glue.c | 31 u32 crc = crci; in crct10dif_vpmsum() local 66 u16 *crc = shash_desc_ctx(desc); in crct10dif_vpmsum_init() local 75 u16 *crc = shash_desc_ctx(desc); in crct10dif_vpmsum_update() local
|
/linux/tools/power/acpi/tools/acpidbg/ |
A D | acpidbg.c | 123 static int acpi_aml_read(int fd, struct circ_buf *crc) in acpi_aml_read() 138 static int acpi_aml_read_batch_cmd(int unused, struct circ_buf *crc) in acpi_aml_read_batch_cmd() 159 static int acpi_aml_read_batch_log(int fd, struct circ_buf *crc) in acpi_aml_read_batch_log() 223 static int acpi_aml_write(int fd, struct circ_buf *crc) in acpi_aml_write() 238 static int acpi_aml_write_batch_log(int fd, struct circ_buf *crc) in acpi_aml_write_batch_log() 255 static int acpi_aml_write_batch_cmd(int fd, struct circ_buf *crc) in acpi_aml_write_batch_cmd()
|
/linux/include/linux/ |
A D | crc-ccitt.h | 13 static inline u16 crc_ccitt_byte(u16 crc, const u8 c) in crc_ccitt_byte() 18 static inline u16 crc_ccitt_false_byte(u16 crc, const u8 c) in crc_ccitt_false_byte()
|
/linux/tools/firewire/ |
A D | nosy-dump.h | 95 uint32_t crc; member 101 uint32_t crc; member 108 uint32_t crc; member 115 uint32_t crc; member 123 uint32_t crc; member 130 uint32_t crc; member 137 uint32_t crc; member 143 uint32_t crc; member 153 uint32_t crc; member
|
/linux/arch/s390/crypto/ |
A D | crc32-vx.c | 31 u32 crc; member 159 static int __crc32le_vx_finup(u32 *crc, const u8 *data, unsigned int len, in __crc32le_vx_finup() 166 static int __crc32be_vx_finup(u32 *crc, const u8 *data, unsigned int len, in __crc32be_vx_finup() 173 static int __crc32c_vx_finup(u32 *crc, const u8 *data, unsigned int len, in __crc32c_vx_finup()
|
/linux/drivers/ipack/ |
A D | ipack.c | 265 static u16 ipack_crc_byte(u16 crc, u8 c) in ipack_crc_byte() 282 u16 crc; in ipack_calc_crc1() local 297 u16 crc; in ipack_calc_crc2() local 312 u8 crc; in ipack_parse_id1() local 329 u16 flags, crc; in ipack_parse_id2() local
|
/linux/drivers/mtd/ubi/ |
A D | io.c | 698 uint32_t crc, magic, hdr_crc; in ubi_io_read_ec_hdr() local 807 uint32_t crc; in ubi_io_write_ec_hdr() local 970 uint32_t crc, magic, hdr_crc; in ubi_io_read_vid_hdr() local 1055 uint32_t crc; in ubi_io_write_vid_hdr() local 1156 uint32_t crc, hdr_crc; in self_check_peb_ec_hdr() local 1241 uint32_t crc, hdr_crc; in self_check_peb_vid_hdr() local
|
/linux/drivers/net/hamradio/ |
A D | mkiss.c | 119 unsigned short crc = 0xffff; in calc_crc_flex() local 129 unsigned short crc = 0xffff; in check_crc_flex() local 145 unsigned short crc = 0x0000; in check_crc_16() local 200 static int kiss_esc_crc(unsigned char *s, unsigned char *d, unsigned short crc, in kiss_esc_crc() 482 unsigned short crc; in ax_encaps() local
|
/linux/fs/ocfs2/ |
A D | blockcheck.c | 352 u32 crc; in ocfs2_block_check_compute() local 385 u32 crc, ecc; in ocfs2_block_check_validate() local 445 u32 crc, ecc; in ocfs2_block_check_compute_bhs() local 492 u32 crc, ecc, fix; in ocfs2_block_check_validate_bhs() local
|
/linux/drivers/nfc/nxp-nci/ |
A D | firmware.c | 76 u16 crc = 0xffff; in nxp_nci_fw_crc() local 91 u16 header, crc; in nxp_nci_fw_send_chunk() local 280 u16 crc, frame_crc; in nxp_nci_fw_check_crc() local
|
/linux/drivers/infiniband/sw/rxe/ |
A D | rxe_icrc.c | 43 static __be32 rxe_crc32(struct rxe_dev *rxe, __be32 crc, void *next, size_t len) in rxe_crc32() 79 __be32 crc; in rxe_icrc_hdr() local
|
/linux/drivers/net/usb/ |
A D | cdc_eem.c | 94 u32 crc = 0; in eem_tx_fixup() local 256 u32 crc, crc2; in eem_rx_fixup() local
|