/linux-6.3-rc2/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) 199 u32 __pure __weak __crc32c_le(u32 crc, unsigned char const *p, size_t len) 242 static u32 __attribute_const__ crc32_generic_shift(u32 crc, size_t len, 272 u32 __attribute_const__ crc32_le_shift(u32 crc, size_t len) 277 u32 __attribute_const__ __crc32c_le_shift(u32 crc, size_t len) 293 static inline u32 __pure crc32_be_generic(u32 crc, unsigned char const *p, 334 u32 __pure __weak 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 | crc64.c | 51 u64 __pure crc64_be(u64 crc, const void *p, size_t len) in crc64_be() 73 u64 __pure crc64_rocksoft_generic(u64 crc, const void *p, size_t len) in crc64_rocksoft_generic()
|
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 | gen_crc64table.c | 27 uint64_t i, j, c, crc; in generate_reflected_crc64_table() local 45 uint64_t i, j, c, crc; in generate_crc64_table() local
|
/linux-6.3-rc2/arch/mips/crypto/ |
A D | crc32-mips.c | 46 #define __CRC32(crc, value, op, SZ, TYPE) \ argument 58 #define _CRC32_crc32b(crc, value) __CRC32(crc, value, crc32b, 0, 0) argument 59 #define _CRC32_crc32h(crc, value) __CRC32(crc, value, crc32h, 1, 0) argument 60 #define _CRC32_crc32w(crc, value) __CRC32(crc, value, crc32w, 2, 0) argument 61 #define _CRC32_crc32d(crc, value) __CRC32(crc, value, crc32d, 3, 0) argument 67 #define _CRC32(crc, value, size, op) \ argument 70 #define CRC32(crc, value, size) \ argument 73 #define CRC32C(crc, value, size) \ argument 78 u32 crc = crc_; local 118 u32 crc = crc_; local [all …]
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/crypto/ |
A D | crc64_rocksoft_generic.c | 10 u64 *crc = shash_desc_ctx(desc); in chksum_init() local 20 u64 *crc = shash_desc_ctx(desc); in chksum_update() local 29 u64 *crc = shash_desc_ctx(desc); in chksum_final() local 35 static int __chksum_finup(u64 crc, const u8 *data, unsigned int len, u8 *out) in __chksum_finup() 45 u64 *crc = shash_desc_ctx(desc); in chksum_finup() local
|
/linux-6.3-rc2/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 411 struct stm32_crc *crc = dev_get_drvdata(dev); in stm32_crc_suspend() local 425 struct stm32_crc *crc = dev_get_drvdata(dev); in stm32_crc_resume() local 439 struct stm32_crc *crc = dev_get_drvdata(dev); in stm32_crc_runtime_suspend() local 448 struct stm32_crc *crc = dev_get_drvdata(dev); in stm32_crc_runtime_resume() local
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/gpu/drm/nouveau/dispnv50/ |
A D | crc.c | 132 struct nv50_crc *crc = &head->crc; in nv50_crc_get_entries() local 155 struct nv50_crc *crc = &head->crc; in nv50_crc_handle_vblank() local 247 struct nv50_crc *crc = &head->crc; in nv50_crc_atomic_stop_reporting() local 279 struct nv50_crc *crc = &head->crc; in nv50_crc_atomic_init_notifier_contexts() local 303 struct nv50_crc *crc = &head->crc; in nv50_crc_atomic_release_notifier_contexts() local 326 struct nv50_crc *crc = &head->crc; in nv50_crc_atomic_start_reporting() local 453 struct nv50_crc *crc = &head->crc; in nv50_crc_atomic_set() local 544 struct nv50_crc *crc = &head->crc; in nv50_crc_set_source() local 630 struct nv50_crc *crc = &head->crc; in nv50_crc_debugfs_flip_threshold_get() local 660 struct nv50_crc *crc = &head->crc; in nv50_crc_debugfs_flip_threshold_set() local [all …]
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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
|