/linux-4.4.14/arch/alpha/lib/ |
D | csum_partial_copy.c | 103 long len, unsigned long checksum, in csum_partial_cfu_aligned() argument 112 checksum += carry; in csum_partial_cfu_aligned() 114 checksum += word; in csum_partial_cfu_aligned() 116 carry = checksum < word; in csum_partial_cfu_aligned() 121 checksum += carry; in csum_partial_cfu_aligned() 127 checksum += word; in csum_partial_cfu_aligned() 129 carry = checksum < word; in csum_partial_cfu_aligned() 131 checksum += carry; in csum_partial_cfu_aligned() 134 return checksum; in csum_partial_cfu_aligned() 145 long len, unsigned long checksum, in csum_partial_cfu_dest_aligned() argument [all …]
|
D | Makefile | 20 checksum.o \
|
/linux-4.4.14/arch/cris/arch-v10/lib/ |
D | checksum.S | 13 ;; r12 - checksum 16 ;; we also do _NOT_ want to compute a checksum over more than the 31 ;; do a movem checksum 59 ;; fold the carry into the checksum, to avoid having to loop the carry 79 ;; fold 32-bit checksum into a 16-bit checksum, to avoid carries below. 86 lsrq 16,$r13 ; r13 = checksum >> 16 87 and.d $r9,$r12 ; checksum = checksum & 0xffff 88 add.d $r13,$r12 ; checksum += r13 95 ;; checksum the rest of the words 114 ;; copy and checksum the last byte
|
D | checksumcopy.S | 17 ;; r13 - checksum 20 ;; we also do _NOT_ want to compute a checksum over more than the 35 ;; do a movem copy and checksum 65 ;; fold the carry into the checksum, to avoid having to loop the carry 85 ;; fold 32-bit checksum into a 16-bit checksum, to avoid carries below 89 lsrq 16,$r9 ; r0 = checksum >> 16 90 and.d 0xffff,$r13 ; checksum = checksum & 0xffff 91 add.d $r9,$r13 ; checksum += r0 98 ;; copy and checksum the rest of the words 120 ;; copy and checksum the last byte
|
D | Makefile | 5 lib-y = checksum.o checksumcopy.o string.o usercopy.o memset.o csumcpfruser.o
|
D | csumcpfruser.S | 50 ;; checksum for the readable bytes.
|
/linux-4.4.14/arch/cris/arch-v32/lib/ |
D | checksumcopy.S | 18 ;; r13 - checksum 29 ;; do a movem copy and checksum 60 ;; fold 32-bit checksum into a 16-bit checksum, to avoid carries below 63 lsrq 16,$r9 ; r0 = checksum >> 16 64 and.d 0xffff,$r13 ; checksum = checksum & 0xffff 68 add.d $r9,$r13 ; checksum += r0 70 ;; copy and checksum the rest of the words 86 ;; copy and checksum the last byte
|
D | checksum.S | 14 ;; r12 - checksum 25 ;; do a movem checksum 61 lsrq 16,$r13 ; r13 = checksum >> 16 62 and.d $r9,$r12 ; checksum = checksum & 0xffff 67 add.d $r13,$r12 ; checksum += r13 69 ;; checksum the rest of the words 83 ;; copy and checksum the last byte
|
D | Makefile | 5 lib-y = checksum.o checksumcopy.o string.o usercopy.o memset.o \
|
D | csumcpfruser.S | 52 ;; checksum for the readable bytes.
|
/linux-4.4.14/arch/cris/arch-v10/kernel/ |
D | kgdb.c | 477 unsigned char checksum; in getpacket() local 485 checksum = 0; in getpacket() 493 checksum = checksum + ch; in getpacket() 502 if (checksum != xmitcsum) { in getpacket() 520 } while (checksum != xmitcsum); in getpacket() 528 int checksum; in putpacket() local 535 checksum = 0; in putpacket() 539 checksum += *src; in putpacket() 547 checksum += '*'; in putpacket() 550 checksum += encode; in putpacket() [all …]
|
/linux-4.4.14/drivers/acpi/acpica/ |
D | tbprint.c | 188 u8 checksum; in acpi_tb_verify_checksum() local 202 checksum = acpi_tb_checksum(ACPI_CAST_PTR(u8, table), length); in acpi_tb_verify_checksum() 206 if (checksum) { in acpi_tb_verify_checksum() 210 table->signature, table->checksum, in acpi_tb_verify_checksum() 211 (u8)(table->checksum - checksum))); in acpi_tb_verify_checksum()
|
D | tbutils.c | 120 acpi_gbl_original_dsdt_header.checksum != acpi_gbl_DSDT->checksum) { in acpi_tb_check_dsdt_header() 134 acpi_gbl_original_dsdt_header.checksum = in acpi_tb_check_dsdt_header() 135 acpi_gbl_DSDT->checksum; in acpi_tb_check_dsdt_header()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_ee.c | 332 u16 checksum = 0; in ixgb_validate_eeprom_checksum() local 336 checksum += ixgb_read_eeprom(hw, i); in ixgb_validate_eeprom_checksum() 338 if (checksum == (u16) EEPROM_SUM) in ixgb_validate_eeprom_checksum() 355 u16 checksum = 0; in ixgb_update_eeprom_checksum() local 359 checksum += ixgb_read_eeprom(hw, i); in ixgb_update_eeprom_checksum() 361 checksum = (u16) EEPROM_SUM - checksum; in ixgb_update_eeprom_checksum() 363 ixgb_write_eeprom(hw, EEPROM_CHECKSUM_REG, checksum); in ixgb_update_eeprom_checksum() 468 u16 checksum = 0; in ixgb_get_eeprom_data() local 479 checksum += ee_data; in ixgb_get_eeprom_data() 483 if (checksum != (u16) EEPROM_SUM) { in ixgb_get_eeprom_data()
|
D | ixgb_ee.h | 92 __le16 checksum; member
|
/linux-4.4.14/drivers/mtd/ |
D | ar7part.c | 40 unsigned int checksum; member 77 if (header.checksum == LOADER_MAGIC1) in create_mtd_partitions() 79 if (header.checksum == LOADER_MAGIC2) in create_mtd_partitions() 91 switch (header.checksum) { in create_mtd_partitions() 110 printk(KERN_WARNING "Unknown magic: %08x\n", header.checksum); in create_mtd_partitions() 115 if (header.checksum != SQUASHFS_MAGIC) { in create_mtd_partitions()
|
D | afs.c | 42 u32 checksum; /* Just this structure */ member 55 u32 checksum; /* Image checksum (inc. this struct) */ member
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | ar9003_mac.c | 30 int checksum = 0; in ar9003_set_txdesc() local 41 checksum += val; in ar9003_set_txdesc() 44 checksum += i->link; in ar9003_set_txdesc() 47 checksum += i->buf_addr[0]; in ar9003_set_txdesc() 49 checksum += i->buf_addr[1]; in ar9003_set_txdesc() 51 checksum += i->buf_addr[2]; in ar9003_set_txdesc() 53 checksum += i->buf_addr[3]; in ar9003_set_txdesc() 56 checksum += (val = (i->buf_len[0] << AR_BufLen_S) & AR_BufLen); in ar9003_set_txdesc() 58 checksum += (val = (i->buf_len[1] << AR_BufLen_S) & AR_BufLen); in ar9003_set_txdesc() 60 checksum += (val = (i->buf_len[2] << AR_BufLen_S) & AR_BufLen); in ar9003_set_txdesc() [all …]
|
D | eeprom.h | 273 u16 checksum; member 303 u16 checksum; member 443 u16 checksum; member
|
/linux-4.4.14/kernel/debug/ |
D | gdbstub.c | 92 unsigned char checksum; in get_packet() local 106 checksum = 0; in get_packet() 118 checksum = checksum + ch; in get_packet() 127 if (checksum != xmitcsum) in get_packet() 137 } while (checksum != xmitcsum); in get_packet() 146 unsigned char checksum; in put_packet() local 155 checksum = 0; in put_packet() 160 checksum += ch; in put_packet() 165 dbg_io_ops->write_char(hex_asc_hi(checksum)); in put_packet() 166 dbg_io_ops->write_char(hex_asc_lo(checksum)); in put_packet() [all …]
|
/linux-4.4.14/Documentation/networking/ |
D | udplite.txt | 7 is a variable-length checksum. This has advantages for transport of multimedia 9 fed into the codec instead of being discarded due to a failed checksum test. 33 IPPROTO need to be changed; senders additionally set the checksum coverage 52 using partial checksum coverage and so emulate UDP mode (full coverage). 54 To make use of the partial checksum coverage facilities requires setting a 57 * Sender checksum coverage: UDPLITE_SEND_CSCOV 64 sets the checksum coverage length to 20 bytes (12b data + 8b header). 70 * Receiver checksum coverage: UDPLITE_RECV_CSCOV 73 required to enable traffic with partial checksum coverage. Its function is 86 A detailed discussion of UDP-Lite checksum coverage options is in section IV. [all …]
|
D | s2io.txt | 16 such as jumbo frames, MSI/MSI-X, checksum offloads, TSO, UFO and so on. 43 b. Offloads. Supports checksum offload(TCP/UDP/IP) on transmit
|
D | tcp.txt | 96 checksum in the copy. 104 and recompute. We add any new tcp level headers and refinish the checksum
|
D | dccp.txt | 108 partial checksum coverage (RFC 4340, sec. 9.2). The default is that checksums 113 DCCP_SOCKOPT_SEND_CSCOV sets the sender checksum coverage. Values in the 206 because the checksum covers the pseudo-header as per TCP and UDP. Linux NAT
|
/linux-4.4.14/drivers/nfc/s3fwrn5/ |
D | nci.c | 96 u32 checksum; in s3fwrn5_nci_rf_configure() local 106 checksum = 0; in s3fwrn5_nci_rf_configure() 108 checksum += *((u32 *)(fw->data+i)); in s3fwrn5_nci_rf_configure() 151 stop_rfreg.checksum = checksum & 0xffff; in s3fwrn5_nci_rf_configure()
|
D | nci.h | 65 __u16 checksum; member
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_x540.c | 323 u16 checksum = 0; in ixgbe_calc_eeprom_checksum_X540() local 342 checksum += word; in ixgbe_calc_eeprom_checksum_X540() 379 checksum += word; in ixgbe_calc_eeprom_checksum_X540() 383 checksum = (u16)IXGBE_EEPROM_SUM - checksum; in ixgbe_calc_eeprom_checksum_X540() 385 return (s32)checksum; in ixgbe_calc_eeprom_checksum_X540() 400 u16 checksum; in ixgbe_validate_eeprom_checksum_X540() local 407 status = hw->eeprom.ops.read(hw, 0, &checksum); in ixgbe_validate_eeprom_checksum_X540() 420 checksum = (u16)(status & 0xffff); in ixgbe_validate_eeprom_checksum_X540() 433 if (read_checksum != checksum) { in ixgbe_validate_eeprom_checksum_X540() 440 *checksum_val = checksum; in ixgbe_validate_eeprom_checksum_X540() [all …]
|
D | ixgbe_x550.c | 510 buffer.hdr.req.checksum = FW_DEFAULT_CHECKSUM; in ixgbe_read_ee_hostif_data_X550() 562 buffer.hdr.req.checksum = FW_DEFAULT_CHECKSUM; in ixgbe_read_ee_hostif_buffer_X550() 681 u16 checksum = 0; in ixgbe_calc_checksum_X550() local 707 checksum += local_buffer[i]; in ixgbe_calc_checksum_X550() 736 status = ixgbe_checksum_ptr_x550(hw, pointer, size, &checksum, in ixgbe_calc_checksum_X550() 742 checksum = (u16)IXGBE_EEPROM_SUM - checksum; in ixgbe_calc_checksum_X550() 744 return (s32)checksum; in ixgbe_calc_checksum_X550() 789 u16 checksum; in ixgbe_validate_eeprom_checksum_X550() local 796 status = hw->eeprom.ops.read(hw, 0, &checksum); in ixgbe_validate_eeprom_checksum_X550() 806 checksum = (u16)(status & 0xffff); in ixgbe_validate_eeprom_checksum_X550() [all …]
|
D | ixgbe_common.c | 1643 u16 checksum = 0; in ixgbe_calc_eeprom_checksum_generic() local 1654 checksum += word; in ixgbe_calc_eeprom_checksum_generic() 1681 checksum += word; in ixgbe_calc_eeprom_checksum_generic() 1685 checksum = (u16)IXGBE_EEPROM_SUM - checksum; in ixgbe_calc_eeprom_checksum_generic() 1687 return (s32)checksum; in ixgbe_calc_eeprom_checksum_generic() 1702 u16 checksum; in ixgbe_validate_eeprom_checksum_generic() local 1710 status = hw->eeprom.ops.read(hw, 0, &checksum); in ixgbe_validate_eeprom_checksum_generic() 1720 checksum = (u16)(status & 0xffff); in ixgbe_validate_eeprom_checksum_generic() 1731 if (read_checksum != checksum) in ixgbe_validate_eeprom_checksum_generic() 1736 *checksum_val = checksum; in ixgbe_validate_eeprom_checksum_generic() [all …]
|
/linux-4.4.14/include/net/sctp/ |
D | checksum.h | 64 __le32 ret, old = sh->checksum; in sctp_compute_cksum() 70 sh->checksum = 0; in sctp_compute_cksum() 73 sh->checksum = old; in sctp_compute_cksum()
|
/linux-4.4.14/drivers/scsi/aic7xxx/ |
D | aic7xxx_93cx6.c | 309 uint32_t checksum; in ahc_verify_cksum() local 313 checksum = 0; in ahc_verify_cksum() 317 checksum = checksum + scarray[i]; in ahc_verify_cksum() 318 if (checksum == 0 in ahc_verify_cksum() 319 || (checksum & 0xFFFF) != sc->checksum) { in ahc_verify_cksum()
|
/linux-4.4.14/drivers/media/platform/vivid/ |
D | vivid-vbi-gen.c | 191 u8 checksum, i; in vivid_vbi_gen_set_time_of_day() local 206 for (checksum = i = 0; i <= 8; i++) in vivid_vbi_gen_set_time_of_day() 207 checksum += packet[i] & 0x7f; in vivid_vbi_gen_set_time_of_day() 208 packet[9] = calc_parity(0x100 - checksum); in vivid_vbi_gen_set_time_of_day() 209 checksum = 0; in vivid_vbi_gen_set_time_of_day() 218 for (checksum = 0, i = 10; i <= 14; i++) in vivid_vbi_gen_set_time_of_day() 219 checksum += packet[i] & 0x7f; in vivid_vbi_gen_set_time_of_day() 220 packet[15] = calc_parity(0x100 - checksum); in vivid_vbi_gen_set_time_of_day()
|
/linux-4.4.14/drivers/pnp/isapnp/ |
D | core.c | 299 unsigned char checksum = 0x6a; in isapnp_isolate() local 319 checksum = in isapnp_isolate() 320 ((((checksum ^ (checksum >> 1)) & 0x01) ^ bit) << 7) in isapnp_isolate() 321 | (checksum >> 1); in isapnp_isolate() 332 if (checksum != 0x00 && checksum == chksum) { in isapnp_isolate() 355 checksum = 0x6a; in isapnp_isolate() 772 unsigned char checksum = 0x6a, bit, b; in isapnp_checksum() local 780 checksum = in isapnp_checksum() 781 ((((checksum ^ (checksum >> 1)) & 0x01) ^ bit) << 7) in isapnp_checksum() 782 | (checksum >> 1); in isapnp_checksum() [all …]
|
/linux-4.4.14/drivers/media/usb/dvb-usb/ |
D | af9005.c | 568 u16 checksum; in af9005_boot_packet() local 579 checksum = buf[4] + buf[5]; in af9005_boot_packet() 580 buf[6] = (u8) ((checksum >> 8) & 0xff); in af9005_boot_packet() 581 buf[7] = (u8) (checksum & 0xff); in af9005_boot_packet() 588 checksum = buf[4] + buf[5]; in af9005_boot_packet() 589 buf[6] = (u8) ((checksum >> 8) & 0xff); in af9005_boot_packet() 590 buf[7] = (u8) (checksum & 0xff); in af9005_boot_packet() 601 checksum = 0; in af9005_boot_packet() 603 checksum += buf[i]; in af9005_boot_packet() 604 buf[10] = (u8) ((checksum >> 8) & 0xff); in af9005_boot_packet() [all …]
|
/linux-4.4.14/include/linux/ |
D | amigaffs.h | 52 __be32 checksum; member 78 __be32 checksum; member 106 __be32 checksum; member 117 __be32 checksum; member
|
D | ipmi-fru.h | 34 uint8_t checksum; /* sum modulo 256 must be 0 */ member
|
D | netfilter.h | 274 __sum16 (*checksum)(struct sk_buff *skb, unsigned int hook, member 306 csum = afinfo->checksum(skb, hook, dataoff, protocol); in nf_checksum()
|
/linux-4.4.14/sound/pci/oxygen/ |
D | xonar_hdmi.c | 33 u8 checksum; in hdmi_write_command() local 41 checksum = 0xfb + 0xef + command + count; in hdmi_write_command() 43 checksum += params[i]; in hdmi_write_command() 44 oxygen_write_uart(chip, checksum); in hdmi_write_command()
|
/linux-4.4.14/fs/udf/ |
D | misc.c | 206 u8 checksum; in udf_read_tagged() local 230 checksum = udf_tag_checksum(tag_p); in udf_read_tagged() 231 if (checksum != tag_p->tagChecksum) { in udf_read_tagged() 233 block, checksum, tag_p->tagChecksum); in udf_read_tagged() 292 u8 checksum = 0; in udf_tag_checksum() local 296 checksum += data[i]; in udf_tag_checksum() 297 return checksum; in udf_tag_checksum()
|
/linux-4.4.14/drivers/nvdimm/ |
D | btt_devs.c | 228 u64 checksum; in nd_btt_arena_is_valid() local 237 checksum = le64_to_cpu(super->checksum); in nd_btt_arena_is_valid() 238 super->checksum = 0; in nd_btt_arena_is_valid() 239 if (checksum != nd_sb_checksum((struct nd_gen_sb *) super)) in nd_btt_arena_is_valid() 241 super->checksum = cpu_to_le64(checksum); in nd_btt_arena_is_valid()
|
D | pfn_devs.c | 236 u64 checksum, offset; in nd_pfn_validate() local 254 checksum = le64_to_cpu(pfn_sb->checksum); in nd_pfn_validate() 255 pfn_sb->checksum = 0; in nd_pfn_validate() 256 if (checksum != nd_sb_checksum((struct nd_gen_sb *) pfn_sb)) in nd_pfn_validate() 258 pfn_sb->checksum = cpu_to_le64(checksum); in nd_pfn_validate()
|
D | claim.c | 195 sum_save = nd_gen_sb->checksum; in nd_sb_checksum() 196 nd_gen_sb->checksum = 0; in nd_sb_checksum() 198 nd_gen_sb->checksum = sum_save; in nd_sb_checksum()
|
D | label.c | 114 sum_save = __le64_to_cpu(nsindex[i]->checksum); in nd_label_validate() 115 nsindex[i]->checksum = __cpu_to_le64(0); in nd_label_validate() 117 nsindex[i]->checksum = __cpu_to_le64(sum_save); in nd_label_validate() 429 u64 checksum; in nd_label_write_index() local 456 nsindex->checksum = __cpu_to_le64(0); in nd_label_write_index() 466 checksum = nd_fletcher64(nsindex, sizeof_namespace_index(ndd), 1); in nd_label_write_index() 467 nsindex->checksum = __cpu_to_le64(checksum); in nd_label_write_index()
|
D | pfn.h | 33 __le64 checksum; member
|
D | pmem.c | 233 u64 checksum; in nd_pfn_init() local 279 checksum = nd_sb_checksum((struct nd_gen_sb *) pfn_sb); in nd_pfn_init() 280 pfn_sb->checksum = cpu_to_le64(checksum); in nd_pfn_init()
|
D | label.h | 72 __le64 checksum; member
|
D | btt.h | 74 __le64 checksum; member
|
/linux-4.4.14/arch/arm/mach-pxa/ |
D | pm.c | 26 unsigned long sleep_save_checksum = 0, checksum = 0; in pxa_pm_enter() local 49 checksum += sleep_save[i]; in pxa_pm_enter() 52 if (checksum != sleep_save_checksum) { in pxa_pm_enter()
|
/linux-4.4.14/arch/unicore32/kernel/ |
D | pm.c | 30 unsigned long sleep_save_checksum = 0, checksum = 0; in puv3_pm_enter() local 53 checksum += sleep_save[i]; in puv3_pm_enter() 56 if (checksum != sleep_save_checksum) { in puv3_pm_enter()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | mpspec_def.h | 26 unsigned char checksum; /* Checksum (makes sum 0) */ member 40 char checksum; member 152 char checksum; member
|
D | pci_x86.h | 85 u8 checksum; /* Modulo 256 checksum must give 0 */ member
|
/linux-4.4.14/arch/cris/arch-v32/kernel/ |
D | kgdb.c | 709 unsigned char checksum; in getpacket() local 718 checksum = 0; in getpacket() 726 checksum = checksum + ch; in getpacket() 739 if (checksum != xmitcsum) { in getpacket() 756 } while (checksum != xmitcsum); in getpacket() 764 int checksum; in putpacket() local 771 checksum = 0; in putpacket() 775 checksum += *src; in putpacket() 783 checksum += '*'; in putpacket() 786 checksum += encode; in putpacket() [all …]
|
/linux-4.4.14/arch/c6x/lib/ |
D | csum_64plus.S | 161 ; unsigned int checksum = 0; 172 ; checksum += *tosum++; 175 ; checksum += *(unsigned char*) tosum; 177 ; while(checksum >> 16) 178 ; checksum = (checksum & 0xffff) + (checksum >> 16); 180 ; return ~checksum; 185 ; return checksum in A4 289 ; return checksum in A4 411 ; return checksum in A4
|
D | Makefile | 7 lib-y += checksum.o csum_64plus.o memcpy_64plus.o strasgi_64plus.o
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | nvm.c | 567 u16 checksum = 0; in e1000e_validate_nvm_checksum_generic() local 576 checksum += nvm_data; in e1000e_validate_nvm_checksum_generic() 579 if (checksum != (u16)NVM_SUM) { in e1000e_validate_nvm_checksum_generic() 598 u16 checksum = 0; in e1000e_update_nvm_checksum_generic() local 607 checksum += nvm_data; in e1000e_update_nvm_checksum_generic() 609 checksum = (u16)NVM_SUM - checksum; in e1000e_update_nvm_checksum_generic() 610 ret_val = e1000_write_nvm(hw, NVM_CHECKSUM_REG, 1, &checksum); in e1000e_update_nvm_checksum_generic()
|
D | manage.c | 141 hdr_csum = hdr->checksum; in e1000e_enable_tx_pkt_filtering() 142 hdr->checksum = 0; in e1000e_enable_tx_pkt_filtering() 175 hdr->checksum = e1000_calculate_checksum((u8 *)hdr, length); in e1000_mng_write_cmd_header() 277 hdr.checksum = 0; in e1000e_mng_write_dhcp_info() 286 sizeof(hdr), &(hdr.checksum)); in e1000e_mng_write_dhcp_info()
|
D | hw.h | 419 u8 checksum; member 427 u8 checksum; member 439 u8 checksum; member
|
/linux-4.4.14/drivers/platform/chrome/ |
D | cros_ec_lpc.c | 109 response.checksum); in cros_ec_pkt_xfer_lpc() 152 args.checksum = csum & 0xFF; in cros_ec_cmd_xfer_lpc() 156 outb(args.checksum, EC_LPC_ADDR_HOST_ARGS + 3); in cros_ec_cmd_xfer_lpc() 177 args.checksum = inb(EC_LPC_ADDR_HOST_ARGS + 3); in cros_ec_cmd_xfer_lpc() 198 if (args.checksum != (csum & 0xFF)) { in cros_ec_cmd_xfer_lpc() 201 args.checksum, csum & 0xFF); in cros_ec_cmd_xfer_lpc()
|
D | cros_ec_proto.c | 39 request->checksum = 0; in prepare_packet() 53 request->checksum = -csum; in prepare_packet()
|
D | Kconfig | 56 checksum. This is used for userspace access only. The kernel
|
/linux-4.4.14/arch/cris/include/asm/ |
D | axisflashmap.h | 19 __u32 checksum; /* simple longword sum, over entries + end marker */ member 26 __u32 checksum; /* simple longword sum */ member
|
/linux-4.4.14/include/uapi/linux/ |
D | romfs_fs.h | 28 __be32 checksum; member 38 __be32 checksum; member
|
D | cycx_cfm.h | 89 unsigned short checksum; member
|
D | icmp.h | 71 __sum16 checksum; member
|
D | edd.h | 169 __u8 checksum; member
|
/linux-4.4.14/arch/arm/lib/ |
D | csumpartial.S | 72 adcnes sum, sum, td0, put_byte_0 @ update checksum 77 movne r0, r0, ror #8 @ rotate checksum by 8 bits 83 adcnes sum, sum, td0, put_byte_1 @ update checksum 99 adcnes sum, sum, td0 @ update checksum
|
D | csumpartialcopygeneric.S | 41 adcs sum, sum, ip, put_byte_1 @ update checksum 68 adcs sum, sum, ip, put_byte_1 @ update checksum 86 adcs sum, sum, r8, put_byte_0 @ update checksum
|
/linux-4.4.14/arch/powerpc/platforms/ps3/ |
D | gelic_udbg.c | 78 u16 checksum; member 87 u16 checksum; member 232 h_ip->checksum = 0; in gelic_sendbuf() 237 h_ip->checksum = ~(sum + (sum >> 16)); in gelic_sendbuf()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | e1000_nvm.c | 646 u16 checksum = 0; in igb_validate_nvm_checksum() local 655 checksum += nvm_data; in igb_validate_nvm_checksum() 658 if (checksum != (u16) NVM_SUM) { in igb_validate_nvm_checksum() 679 u16 checksum = 0; in igb_update_nvm_checksum() local 688 checksum += nvm_data; in igb_update_nvm_checksum() 690 checksum = (u16) NVM_SUM - checksum; in igb_update_nvm_checksum() 691 ret_val = hw->nvm.ops.write(hw, NVM_CHECKSUM_REG, 1, &checksum); in igb_update_nvm_checksum()
|
D | e1000_i210.c | 595 u16 checksum = 0; in igb_update_nvm_checksum_i210() local 621 checksum += nvm_data; in igb_update_nvm_checksum_i210() 623 checksum = (u16) NVM_SUM - checksum; in igb_update_nvm_checksum_i210() 625 &checksum); in igb_update_nvm_checksum_i210()
|
D | e1000_hw.h | 276 u8 checksum; member 284 u8 checksum; member 296 u8 checksum; member
|
D | e1000_82575.c | 2348 u16 checksum = 0; in igb_validate_nvm_checksum_with_offset() local 2357 checksum += nvm_data; in igb_validate_nvm_checksum_with_offset() 2360 if (checksum != (u16) NVM_SUM) { in igb_validate_nvm_checksum_with_offset() 2383 u16 checksum = 0; in igb_update_nvm_checksum_with_offset() local 2392 checksum += nvm_data; in igb_update_nvm_checksum_with_offset() 2394 checksum = (u16) NVM_SUM - checksum; in igb_update_nvm_checksum_with_offset() 2396 &checksum); in igb_update_nvm_checksum_with_offset()
|
/linux-4.4.14/drivers/scsi/fnic/ |
D | cq_enet_desc.h | 97 u8 *vlan_stripped, u16 *vlan, u16 *checksum, u8 *fcoe_sof, in cq_enet_rq_desc_dec() argument 145 *checksum = 0; in cq_enet_rq_desc_dec() 151 *checksum = le16_to_cpu(desc->checksum_fcoe); in cq_enet_rq_desc_dec()
|
/linux-4.4.14/arch/cris/boot/rescue/ |
D | head_v10.S | 160 ;; we now should go through the checksum-table and check the listed 200 move.d $r8, $r1 ; for its checksum check, skip the ptable 209 bosse: move.d [$r3+], $r5 ; checksum 222 jsr checksum ; checksum the partition 323 ;; Will checksum by simple addition 327 checksum: label
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | gdb-stub.c | 235 unsigned char checksum; in getpacket() local 249 checksum = 0; in getpacket() 264 checksum += ch; in getpacket() 303 if (checksum != xmitcsum) { in getpacket() 309 gdbstub_proto("### GDB Rx '$%s#%02x' ###\n", buffer, checksum); in getpacket() 342 unsigned char checksum; in putpacket() local 353 checksum = 0; in putpacket() 358 checksum += ch; in putpacket() 363 gdbstub_io_tx_char(hex_asc_hi(checksum)); in putpacket() 364 gdbstub_io_tx_char(hex_asc_lo(checksum)); in putpacket() [all …]
|
/linux-4.4.14/drivers/net/ethernet/cisco/enic/ |
D | cq_enet_desc.h | 108 u8 *vlan_stripped, u16 *vlan_tci, u16 *checksum, u8 *fcoe_sof, in cq_enet_rq_desc_dec() argument 163 *checksum = 0; in cq_enet_rq_desc_dec() 169 *checksum = le16_to_cpu(desc->checksum_fcoe); in cq_enet_rq_desc_dec()
|
/linux-4.4.14/drivers/scsi/ |
D | mvumi.h | 388 u8 checksum; member 415 u8 checksum; member 435 u8 checksum; member 452 u8 checksum; member 464 u8 checksum; member
|
D | wd719x.h | 213 u8 checksum; member
|
/linux-4.4.14/drivers/md/ |
D | raid5-cache.c | 246 block->checksum = cpu_to_le32(crc); in r5l_submit_current_io() 346 payload->checksum[0] = cpu_to_le32(checksum1); in r5l_append_payload_meta() 348 payload->checksum[1] = cpu_to_le32(checksum2); in r5l_append_payload_meta() 833 stored_crc = le32_to_cpu(mb->checksum); in r5l_read_meta_block() 834 mb->checksum = 0; in r5l_read_meta_block() 876 le32_to_cpu(payload->checksum[0]); in r5l_recovery_flush_one_stripe() 884 le32_to_cpu(payload->checksum[0]); in r5l_recovery_flush_one_stripe() 894 le32_to_cpu(payload->checksum[1]); in r5l_recovery_flush_one_stripe() 912 u32 checksum; in r5l_recovery_flush_one_stripe() local 917 checksum = crc32c_le(log->uuid_checksum, addr, PAGE_SIZE); in r5l_recovery_flush_one_stripe() [all …]
|
/linux-4.4.14/include/acpi/ |
D | actbl.h | 105 u8 checksum; /* To make sum of entire table == 0 */ member 140 u8 checksum; /* ACPI 1.0 checksum */ member 154 u8 checksum; member
|
/linux-4.4.14/arch/arm/mach-orion5x/ |
D | terastation_pro2-setup.c | 204 unsigned char checksum = 0; in tsp2_miconsend() local 212 checksum -= data[i]; in tsp2_miconsend() 219 tsp2_miconwrite(&checksum, 1); in tsp2_miconsend()
|
D | kurobox_pro-setup.c | 225 unsigned char checksum = 0; in kurobox_pro_miconsend() local 233 checksum -= data[i]; in kurobox_pro_miconsend() 240 kurobox_pro_miconwrite(&checksum, 1); in kurobox_pro_miconsend()
|
/linux-4.4.14/Documentation/input/ |
D | walkera0701.txt | 90 absolute binary value. (10 bits per channel). Next nibble is checksum for 96 checksum for nibbles 12..23. 105 Summary of octal values in nibbles must be same as octal value in checksum 106 nibble (only first 3 bits are used). Binary value for checksum nibble is
|
/linux-4.4.14/include/linux/mlx4/ |
D | cq.h | 58 __be16 checksum; member 83 __be16 checksum; member
|
/linux-4.4.14/drivers/sfi/ |
D | sfi_core.c | 136 u8 checksum = 0; in sfi_verify_table() local 147 checksum += *puchar++; in sfi_verify_table() 149 if (checksum) { in sfi_verify_table() 151 table->csum, table->csum - checksum); in sfi_verify_table()
|
/linux-4.4.14/arch/ia64/hp/sim/boot/ |
D | fw-emu.c | 242 unsigned char checksum = 0; in sys_fw_init() local 331 checksum += *cp; in sys_fw_init() 333 sal_systab->checksum = -checksum; in sys_fw_init()
|
/linux-4.4.14/drivers/char/ |
D | nvram.c | 526 int checksum; in pc_proc_infos() local 530 checksum = __nvram_check_checksum(); in pc_proc_infos() 533 seq_printf(seq, "Checksum status: %svalid\n", checksum ? "" : "not "); in pc_proc_infos() 656 int checksum = nvram_check_checksum(); in atari_proc_infos() local 660 seq_printf(seq, "Checksum status : %svalid\n", checksum ? "" : "not "); in atari_proc_infos()
|
/linux-4.4.14/arch/frv/kernel/ |
D | gdb-stub.c | 269 unsigned char checksum; in gdbstub_recv_packet() local 280 checksum = 0; in gdbstub_recv_packet() 293 checksum += ch; in gdbstub_recv_packet() 330 if (checksum != xmitcsum) { in gdbstub_recv_packet() 336 gdbstub_proto("### GDB Rx '$%s#%02x' ###\n", buffer, checksum); in gdbstub_recv_packet() 364 unsigned char checksum; in gdbstub_send_packet() local 373 checksum = 0; in gdbstub_send_packet() 378 checksum += ch; in gdbstub_send_packet() 383 gdbstub_tx_char(hex_asc_hi(checksum)); in gdbstub_send_packet() 384 gdbstub_tx_char(hex_asc_lo(checksum)); in gdbstub_send_packet() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/net/ |
D | marvell-orion-net.txt | 30 - marvell,tx-checksum-limit: max tx packet size for hardware checksum. 73 marvell,tx-checksum-limit = <1600>;
|
D | marvell-armada-370-neta.txt | 12 - tx-csum-limit: maximum mtu supported by port that allow TX checksum.
|
/linux-4.4.14/drivers/scsi/qla4xxx/ |
D | ql4_nvram.c | 183 uint16_t checksum = 0; in qla4xxx_is_nvram_configuration_valid() local 189 checksum += rd_nvram_word(ha, index); in qla4xxx_is_nvram_configuration_valid() 192 if (checksum == 0) in qla4xxx_is_nvram_configuration_valid()
|
D | ql4_nvram.h | 185 u16 checksum; /* x1FE */ member 248 u16 checksum; /* x7FE */ member
|
D | ql4_fw.h | 299 uint16_t checksum; member 333 uint16_t checksum; member 339 uint16_t checksum; member 1430 uint32_t checksum; member
|
/linux-4.4.14/drivers/mfd/ |
D | ipaq-micro.c | 39 u8 checksum; in ipaq_micro_trigger_tx() local 45 checksum = ((msg->id & 0x0f) << 4) | (msg->tx_len & 0x0f); in ipaq_micro_trigger_tx() 46 tx->buf[bp++] = checksum; in ipaq_micro_trigger_tx() 50 checksum += msg->tx_data[i]; in ipaq_micro_trigger_tx() 53 tx->buf[bp++] = checksum; in ipaq_micro_trigger_tx()
|
/linux-4.4.14/drivers/hid/ |
D | hid-roccat-kone.h | 129 uint16_t checksum; /* \brief holds checksum of struct */ member 146 uint16_t checksum; member
|
D | hid-roccat-pyra.h | 48 uint16_t checksum; /* byte sum */ member
|
D | hid-roccat-kone.c | 100 uint16_t checksum = 0; in kone_set_settings_checksum() local 105 checksum += *address; in kone_set_settings_checksum() 106 settings->checksum = cpu_to_le16(checksum); in kone_set_settings_checksum()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | nvram_64.c | 46 unsigned char checksum; member 892 tmp_part->header.checksum, tmp_part->header.length, in nvram_print_partitions() 973 part->header.checksum = nvram_checksum(&part->header); in nvram_remove_partition() 990 prev->header.checksum = nvram_checksum(&part->header); in nvram_remove_partition() 1076 new_part->header.checksum = nvram_checksum(&new_part->header); in nvram_create_partition() 1090 free_part->header.checksum = nvram_checksum(&free_part->header); in nvram_create_partition() 1194 if (c_sum != phead.checksum) { in nvram_scan_partitions() 1197 phead.checksum, c_sum); in nvram_scan_partitions()
|
/linux-4.4.14/include/linux/platform_data/ |
D | sht15.h | 33 bool checksum; member
|
/linux-4.4.14/arch/hexagon/lib/ |
D | Makefile | 4 obj-y = checksum.o io.o memcpy.o memset.o
|
/linux-4.4.14/arch/x86/kernel/ |
D | mpparse.c | 790 mpc->checksum = 0; in replace_intsrc_all() 791 mpc->checksum -= mpf_checksum((unsigned char *)mpc, mpc->length); in replace_intsrc_all() 873 mpc->checksum = 0; in update_mp_table() 875 mpc->checksum = 0xff; in update_mp_table() 897 mpf->checksum = 0; in update_mp_table() 898 mpf->checksum -= mpf_checksum((unsigned char *)mpf, 16); in update_mp_table()
|
/linux-4.4.14/drivers/iio/humidity/ |
D | dht11.c | 96 unsigned char temp_int, temp_dec, hum_int, hum_dec, checksum; in dht11_decode() local 115 checksum = dht11_decode_byte(&timing[32], threshold); in dht11_decode() 117 if (((hum_int + hum_dec + temp_int + temp_dec) & 0xff) != checksum) in dht11_decode()
|
/linux-4.4.14/drivers/net/hamradio/ |
D | 6pack.c | 833 unsigned char checksum = 0, buf[400]; in encode_sixpack() local 844 checksum += buf[count]; in encode_sixpack() 845 buf[length] = (unsigned char) 0xff - checksum; in encode_sixpack() 948 unsigned char checksum = 0, rest = 0, channel; in decode_std_command() local 973 checksum += sp->cooked_buf[i]; in decode_std_command() 974 if (checksum != SIXP_CHKSUM) { in decode_std_command() 975 printk(KERN_DEBUG "6pack: bad checksum %2.2x\n", checksum); in decode_std_command()
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
D | hdmi4_core.c | 94 char checksum; in hdmi_core_ddc_edid() local 159 checksum = 0; in hdmi_core_ddc_edid() 161 checksum += pedid[i]; in hdmi_core_ddc_edid() 163 if (checksum != 0) { in hdmi_core_ddc_edid() 633 u8 sum = 0, checksum = 0; in hdmi_core_audio_infoframe_cfg() local 677 checksum = 0x100 - sum; in hdmi_core_audio_infoframe_cfg() 679 HDMI_CORE_AV_AUDIO_CHSUM, checksum); in hdmi_core_audio_infoframe_cfg()
|
/linux-4.4.14/arch/m32r/lib/ |
D | Makefile | 5 lib-y := checksum.o ashxdi3.o memset.o memcpy.o \
|
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_desc.c | 263 struct sxgbe_extra_stats *x, int *checksum) in sxgbe_rx_wbstatus() argument 267 *checksum = CHECKSUM_UNNECESSARY; in sxgbe_rx_wbstatus() 287 *checksum = CHECKSUM_NONE; in sxgbe_rx_wbstatus() 291 *checksum = CHECKSUM_NONE; in sxgbe_rx_wbstatus()
|
D | sxgbe_desc.h | 275 struct sxgbe_extra_stats *x, int *checksum);
|
/linux-4.4.14/arch/xtensa/lib/ |
D | Makefile | 5 lib-y += memcopy.o memset.o checksum.o \
|
/linux-4.4.14/arch/score/lib/ |
D | Makefile | 5 lib-y += string.o checksum.o checksum_copy.o
|
/linux-4.4.14/arch/parisc/lib/ |
D | Makefile | 5 lib-y := lusercopy.o bitops.o checksum.o io.o memset.o fixup.o memcpy.o \
|
/linux-4.4.14/block/partitions/ |
D | atari.h | 33 u16 checksum; /* checksum for bootable disks */ member
|
D | acorn.c | 426 unsigned char checksum = 0x2a; in valid_ptec_sector() local 437 checksum += data[i]; in valid_ptec_sector() 439 return checksum == data[511]; in valid_ptec_sector()
|
/linux-4.4.14/arch/mn10300/lib/ |
D | Makefile | 5 lib-y = delay.o usercopy.o checksum.o bitops.o memcpy.o memmove.o memset.o
|
D | do_csum.S | 57 # we want to checksum as much as we can in chunks of 32 bytes 141 # compress the checksum down to 16 bits
|
/linux-4.4.14/drivers/soc/tegra/ |
D | pmc.c | 736 u32 value, checksum; in tegra_pmc_init_tsense_reset() local 787 checksum = reg_addr + reg_data + (value & 0xff) + ((value >> 8) & 0xff) in tegra_pmc_init_tsense_reset() 789 checksum &= 0xff; in tegra_pmc_init_tsense_reset() 790 checksum = 0x100 - checksum; in tegra_pmc_init_tsense_reset() 792 value |= checksum << PMC_SCRATCH55_CHECKSUM_SHIFT; in tegra_pmc_init_tsense_reset()
|
/linux-4.4.14/drivers/net/can/softing/ |
D | softing_fw.c | 108 uint16_t checksum[2]; in fw_parse() local 134 checksum[0] = le16_to_cpup((void *)end); in fw_parse() 135 for (checksum[1] = 0; mem < end; ++mem) in fw_parse() 136 checksum[1] += *mem; in fw_parse() 137 if (checksum[0] != checksum[1]) in fw_parse()
|
/linux-4.4.14/arch/frv/lib/ |
D | Makefile | 7 checksum.o memcpy.o memset.o atomic-ops.o atomic64-ops.o \
|
/linux-4.4.14/arch/m68k/lib/ |
D | Makefile | 14 lib-y += checksum.o
|
/linux-4.4.14/drivers/staging/rtl8723au/hal/ |
D | rtl8723au_xmit.c | 48 u16 checksum = 0; in rtl8192cu_cal_txdesc_chksum() local 54 checksum = checksum ^ le16_to_cpu(*(usPtr + index)); in rtl8192cu_cal_txdesc_chksum() 56 ptxdesc->txdw7 |= cpu_to_le32(0x0000ffff&checksum); in rtl8192cu_cal_txdesc_chksum()
|
/linux-4.4.14/sound/pci/asihpi/ |
D | hpidspcd.h | 46 u32 checksum; member
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_nvm.c | 485 u16 *checksum) in i40e_calc_nvm_checksum() argument 550 *checksum = (u16)I40E_SR_SW_CHECKSUM_BASE - checksum_local; in i40e_calc_nvm_checksum() 568 u16 checksum; in i40e_update_nvm_checksum() local 571 ret_code = i40e_calc_nvm_checksum(hw, &checksum); in i40e_update_nvm_checksum() 573 le_sum = cpu_to_le16(checksum); in i40e_update_nvm_checksum() 590 u16 *checksum) in i40e_validate_nvm_checksum() argument 612 if (checksum) in i40e_validate_nvm_checksum() 613 *checksum = checksum_local; in i40e_validate_nvm_checksum()
|
/linux-4.4.14/arch/metag/lib/ |
D | Makefile | 22 lib-y += checksum.o
|
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/ |
D | af9035.c | 32 u16 checksum = 0; in af9035_checksum() local 36 checksum += buf[i] << 8; in af9035_checksum() 38 checksum += buf[i]; in af9035_checksum() 40 checksum = ~checksum; in af9035_checksum() 42 return checksum; in af9035_checksum() 53 u16 checksum, tmp_checksum; in af9035_ctrl_msg() local 76 checksum = af9035_checksum(state->buf, state->buf[0] - 1); in af9035_ctrl_msg() 77 state->buf[state->buf[0] - 1] = (checksum >> 8); in af9035_ctrl_msg() 78 state->buf[state->buf[0] - 0] = (checksum & 0xff); in af9035_ctrl_msg() 94 checksum = af9035_checksum(state->buf, rlen - 2); in af9035_ctrl_msg() [all …]
|
/linux-4.4.14/arch/tile/lib/ |
D | Makefile | 5 lib-y = cacheflush.o checksum.o cpumask.o delay.o uaccess.o \
|
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_crat.h | 51 uint8_t checksum; member 281 uint8_t checksum; member
|
/linux-4.4.14/drivers/crypto/qat/qat_common/ |
D | icp_qat_uclo.h | 183 unsigned int checksum; member 232 unsigned int checksum; member
|
/linux-4.4.14/fs/affs/ |
D | amigaffs.c | 358 u32 checksum; in affs_fix_checksum() local 363 for (checksum = 0; cnt > 0; ptr++, cnt--) in affs_fix_checksum() 364 checksum += be32_to_cpu(*ptr); in affs_fix_checksum() 365 *checksumptr = cpu_to_be32(-checksum); in affs_fix_checksum()
|
/linux-4.4.14/arch/mn10300/unit-asb2305/ |
D | pci-asb2305.h | 58 u8 checksum; /* Modulo 256 checksum must give zero */ member
|
/linux-4.4.14/Documentation/block/ |
D | data-integrity.txt | 16 checksum for each sector as well as an incrementing counter that 56 Also, the 16-bit CRC checksum mandated by both the SCSI and SATA specs 58 calculating this checksum had a significant impact on system 60 lighter-weight checksum to be used when interfacing with the operating 61 system. Emulex, for instance, supports the TCP/IP checksum instead. 62 The IP checksum received from the OS is converted to the 16-bit CRC 67 The IP checksum is weaker than the CRC in terms of detecting bit
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | gct.h | 29 u32 checksum; member
|
/linux-4.4.14/include/uapi/linux/raid/ |
D | md_p.h | 345 __le32 checksum[]; member 373 __le32 checksum; member
|
/linux-4.4.14/net/ipv6/ |
D | raw.c | 390 if ((raw6_sk(sk)->checksum || rcu_access_pointer(sk->sk_filter)) && in rawv6_rcv_skb() 425 if (!rp->checksum) in rawv6_rcv() 548 if (!rp->checksum) in rawv6_push_pending_frames() 994 rp->checksum = 0; in do_rawv6_setsockopt() 996 rp->checksum = 1; in do_rawv6_setsockopt() 1066 if (rp->checksum == 0) in do_rawv6_getsockopt() 1198 rp->checksum = 1; in rawv6_init_sk() 1202 rp->checksum = 1; in rawv6_init_sk()
|
D | netfilter.c | 199 .checksum = nf_ip6_checksum,
|
/linux-4.4.14/arch/sh/lib/ |
D | Makefile | 6 checksum.o strlen.o div64.o div64-generic.o
|
/linux-4.4.14/arch/mips/include/asm/ |
D | Kbuild | 2 generic-(CONFIG_GENERIC_CSUM) += checksum.h
|
/linux-4.4.14/drivers/net/plip/ |
D | plip.c | 202 unsigned char checksum; member 642 rcv->checksum = 0; in plip_receive_packet() 652 rcv->checksum += lbuf[--rcv->byte]; in plip_receive_packet() 660 if (rcv->data != rcv->checksum) { in plip_receive_packet() 821 snd->checksum = 0; in plip_send_packet() 830 snd->checksum += lbuf[--snd->byte]; in plip_send_packet() 836 &snd->nibble, snd->checksum)) in plip_send_packet()
|
/linux-4.4.14/drivers/target/iscsi/ |
D | iscsi_target.c | 1387 u32 checksum, iov_count = 0, padding = 0, rx_got = 0, rx_size = 0; in iscsit_get_dataout() local 1410 iov[iov_count].iov_base = &checksum; in iscsit_get_dataout() 1430 if (checksum != data_crc) { in iscsit_get_dataout() 1435 hdr->datasn, checksum, data_crc); in iscsit_get_dataout() 1439 " %u bytes of Data Out\n", checksum, in iscsit_get_dataout() 1649 u32 checksum, data_crc, padding = 0; in iscsit_handle_nop_out() local 1673 iov[niov].iov_base = &checksum; in iscsit_handle_nop_out() 1690 if (checksum != data_crc) { in iscsit_handle_nop_out() 1693 checksum, data_crc); in iscsit_handle_nop_out() 1714 checksum, payload_length); in iscsit_handle_nop_out() [all …]
|
/linux-4.4.14/drivers/media/usb/cpia2/ |
D | cpia2_usb.c | 237 u16 checksum, iso_checksum; in cpia2_usb_complete() local 282 checksum = 0; in cpia2_usb_complete() 284 checksum += cdata[j]; in cpia2_usb_complete() 286 if(checksum != iso_checksum) { in cpia2_usb_complete() 288 i, n, (int)checksum, (int)iso_checksum); in cpia2_usb_complete()
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_fw.h | 263 uint32_t checksum; member 1327 uint16_t checksum; member 1361 uint16_t checksum; member 1367 uint16_t checksum; member 1410 uint16_t checksum; member 1749 uint32_t checksum; member 1915 uint16_t checksum; /* config data bytes checksum */ member
|
D | qla_nx2.h | 229 uint16_t checksum; member 578 uint32_t checksum; member
|
/linux-4.4.14/drivers/staging/wilc1000/ |
D | wilc_wlan_cfg.c | 241 u8 checksum = 0; in wilc_wlan_cfg_set_bin() local 255 checksum += buf[i + 4]; in wilc_wlan_cfg_set_bin() 259 buf[size + 4] = checksum; in wilc_wlan_cfg_set_bin()
|
/linux-4.4.14/net/netfilter/ |
D | nf_nat_proto_sctp.c | 52 hdr->checksum = sctp_compute_cksum(skb, hdroff); in sctp_manip_pkt()
|
/linux-4.4.14/drivers/misc/ |
D | kgdbts.c | 699 unsigned char checksum = 0; in fill_get_buf() local 706 checksum += ch; in fill_get_buf() 710 get_buf[count + 2] = hex_asc_hi(checksum); in fill_get_buf() 711 get_buf[count + 3] = hex_asc_lo(checksum); in fill_get_buf()
|
/linux-4.4.14/drivers/net/ethernet/apple/ |
D | macmace.c | 204 unsigned char checksum = 0; in mace_probe() local 236 checksum ^= v; in mace_probe() 240 checksum ^= bitrev8(addr[j<<4]); in mace_probe() 243 if (checksum != 0xFF) { in mace_probe()
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | wdt87xx_i2c.c | 632 u16 checksum = 0; in wdt87xx_calculate_checksum() local 636 checksum = misr(checksum, data[i]); in wdt87xx_calculate_checksum() 638 return checksum; in wdt87xx_calculate_checksum() 641 static int wdt87xx_get_checksum(struct i2c_client *client, u16 *checksum, in wdt87xx_get_checksum() argument 682 *checksum = get_unaligned_le16(&pkt_buf[CMD_DATA_OFFSET]); in wdt87xx_get_checksum()
|
D | elants_i2c.c | 822 u8 checksum = 0; in elants_i2c_calculate_checksum() local 826 checksum += buf[i]; in elants_i2c_calculate_checksum() 828 return checksum; in elants_i2c_calculate_checksum() 833 u8 checksum = elants_i2c_calculate_checksum(buf); in elants_i2c_event() local 835 if (unlikely(buf[FW_POS_CHECKSUM] != checksum)) in elants_i2c_event() 839 checksum, buf[FW_POS_CHECKSUM]); in elants_i2c_event()
|
/linux-4.4.14/drivers/scsi/aic94xx/ |
D | aic94xx_sds.h | 101 u32 checksum; /*Entire file checksum with this field zero */ member
|
/linux-4.4.14/drivers/input/mouse/ |
D | elan_i2c.h | 78 const u8 *page, u16 checksum, int idx);
|
D | elan_i2c_core.c | 333 const u8 *page, u16 checksum, int idx) in elan_write_fw_block() argument 340 page, checksum, idx); in elan_write_fw_block() 370 u16 checksum = 0; in __elan_update_firmware() local 374 checksum += ((page[j + 1] << 8) | page[j]); in __elan_update_firmware() 376 error = elan_write_fw_block(data, page, checksum, i); in __elan_update_firmware() 382 sw_checksum += checksum; in __elan_update_firmware()
|
D | elan_i2c_i2c.c | 513 const u8 *page, u16 checksum, int idx) in elan_i2c_write_fw_block() argument 525 put_unaligned_le16(checksum, &page_store[ETP_FW_PAGE_SIZE + 2]); in elan_i2c_write_fw_block()
|
/linux-4.4.14/drivers/scsi/esas2r/ |
D | esas2r_flash.c | 271 pi->checksum = pi->checksum - in fix_bios() 818 if (fi->checksum != calc_fi_checksum(fc)) { in verify_fi() 904 fsc->checksum, in esas2r_process_fs_ioctl() 1295 n->checksum = n->checksum - esas2r_nvramcalc_cksum(n); in esas2r_nvram_write() 1446 fi->checksum = calc_fi_checksum(fc); in esas2r_fm_api()
|
D | esas2r.h | 367 u8 checksum; member 439 u16 checksum; member 480 u16 checksum; member 500 u8 checksum; member 528 u8 checksum; member
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | nf_nat_proto_icmp.c | 69 inet_proto_csum_replace2(&hdr->checksum, skb, in icmp_manip_pkt()
|
D | nf_nat_l3proto_ipv4.c | 241 inside->icmp.checksum = 0; in nf_nat_icmp_reply_translation() 242 inside->icmp.checksum = in nf_nat_icmp_reply_translation()
|
/linux-4.4.14/drivers/staging/rtl8188eu/hal/ |
D | rtl8188eu_xmit.c | 53 u16 checksum = 0; in rtl8188eu_cal_txdesc_chksum() local 59 checksum = checksum ^ le16_to_cpu(*(__le16 *)(usptr + index)); in rtl8188eu_cal_txdesc_chksum() 60 ptxdesc->txdw7 |= cpu_to_le32(0x0000ffff & checksum); in rtl8188eu_cal_txdesc_chksum()
|
/linux-4.4.14/drivers/scsi/isci/ |
D | probe_roms.h | 167 u8 checksum; member
|
/linux-4.4.14/drivers/net/ethernet/8390/ |
D | smc-ultra.c | 207 int checksum = 0; in ultra_probe1() local 231 checksum += inb(ioaddr + 8 + i); in ultra_probe1() 232 if ((checksum & 0xff) != 0xFF) { in ultra_probe1()
|
D | wd.c | 169 int checksum = 0; in wd_probe1() local 177 checksum += inb(ioaddr + 8 + i); in wd_probe1() 180 || (checksum & 0xff) != 0xFF) in wd_probe1()
|
/linux-4.4.14/net/rxrpc/ |
D | rxkad.c | 44 __be32 checksum; /* decrypted data checksum */ member 221 rxkhdr.checksum = 0; in rxkad_secure_packet_encrypt() 688 response->encrypted.checksum = htonl(csum); in rxkad_calc_response_checksum() 1067 csum = response.encrypted.checksum; in rxkad_verify_response() 1068 response.encrypted.checksum = 0; in rxkad_verify_response() 1070 if (response.encrypted.checksum != csum) in rxkad_verify_response()
|
/linux-4.4.14/drivers/net/ethernet/3com/ |
D | 3c515.c | 583 unsigned int eeprom[0x40], checksum = 0; /* EEPROM contents */ in corkscrew_setup() local 644 checksum ^= eeprom[i]; in corkscrew_setup() 648 checksum = (checksum ^ (checksum >> 8)) & 0xff; in corkscrew_setup() 649 if (checksum != 0x00) in corkscrew_setup() 650 pr_cont(" ***INVALID CHECKSUM %4.4x*** ", checksum); in corkscrew_setup()
|
D | 3c59x.c | 1102 unsigned int eeprom[0x40], checksum = 0; /* EEPROM contents */ in vortex_probe1() local 1286 checksum ^= eeprom[i]; in vortex_probe1() 1287 checksum = (checksum ^ (checksum >> 8)) & 0xff; in vortex_probe1() 1288 if (checksum != 0x00) { /* Grrr, needless incompatible change 3Com. */ in vortex_probe1() 1290 checksum ^= eeprom[i++]; in vortex_probe1() 1291 checksum = (checksum ^ (checksum >> 8)) & 0xff; in vortex_probe1() 1293 if ((checksum != 0x00) && !(vci->drv_flags & IS_TORNADO)) in vortex_probe1() 1294 pr_cont(" ***INVALID CHECKSUM %4.4x*** ", checksum); in vortex_probe1()
|
/linux-4.4.14/include/rxrpc/ |
D | packet.h | 159 __be32 checksum; /* checksum */ member
|
/linux-4.4.14/Documentation/ia64/ |
D | README | 37 include the library routines (IP checksum, etc.). Less
|
/linux-4.4.14/arch/ia64/lib/ |
D | Makefile | 9 checksum.o clear_page.o csum_partial_copy.o \
|
/linux-4.4.14/Documentation/nfc/ |
D | nfc-pn544.txt | 27 checksum. Firmware update messages have the length in the second (MSB)
|
/linux-4.4.14/kernel/gcov/ |
D | gcc_3_4.c | 39 unsigned int checksum; member 545 rc = seq_write_gcov_u32(seq, get_func(iter)->checksum); in gcov_iter_write()
|
/linux-4.4.14/drivers/gpu/drm/gma500/ |
D | mid_bios.c | 129 u8 checksum; member 134 u8 checksum; member
|
/linux-4.4.14/net/sctp/ |
D | output.c | 442 sh->checksum = 0; in sctp_packet_transmit() 539 sh->checksum = sctp_compute_cksum(nskb, 0); in sctp_packet_transmit() 544 nskb->csum_offset = offsetof(struct sctphdr, checksum); in sctp_packet_transmit()
|
/linux-4.4.14/Documentation/filesystems/ |
D | romfs.txt | 65 12 | checksum | The checksum of the FIRST 512 BYTES. 79 is the checksum of the first 512 bytes (or the number of bytes 98 12 | checksum | Covering the meta data, including the file
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | trx.c | 485 u16 checksum = 0; in _rtl_tx_desc_checksum() local 491 checksum = checksum ^ (*(ptr + index)); in _rtl_tx_desc_checksum() 492 SET_TX_DESC_TX_DESC_CHECKSUM(txdesc, checksum); in _rtl_tx_desc_checksum()
|
/linux-4.4.14/mm/ |
D | kmemleak.c | 164 u32 checksum; member 392 pr_notice(" checksum = %u\n", object->checksum); in dump_object_info() 563 object->checksum = 0; in create_object() 1129 u32 old_csum = object->checksum; in update_checksum() 1135 object->checksum = crc32(0, (void *)object->pointer, object->size); in update_checksum() 1138 return object->checksum != old_csum; in update_checksum()
|
D | ksm.c | 831 u32 checksum; in calc_checksum() local 833 checksum = jhash2(addr, PAGE_SIZE / 4, 17); in calc_checksum() 835 return checksum; in calc_checksum() 1440 unsigned int checksum; in cmp_and_merge_page() local 1487 checksum = calc_checksum(page); in cmp_and_merge_page() 1488 if (rmap_item->oldchecksum != checksum) { in cmp_and_merge_page() 1489 rmap_item->oldchecksum = checksum; in cmp_and_merge_page()
|
/linux-4.4.14/sound/soc/codecs/ |
D | wmfw.h | 39 __le32 checksum; member
|
/linux-4.4.14/drivers/pnp/pnpbios/ |
D | pnpbios.h | 148 u8 checksum; /* all bytes must add up to 0 */ member
|
/linux-4.4.14/drivers/gpu/drm/udl/ |
D | udl_connector.c | 74 edid->checksum += edid->extensions; in udl_get_modes()
|
/linux-4.4.14/Documentation/hwmon/ |
D | htu21 | 45 Different resolutions, the on-chip heater, using the CRC checksum and reading
|
D | sht21 | 48 Different resolutions, the on-chip heater, using the CRC checksum and reading
|
D | sht15 | 57 * checksum:
|
/linux-4.4.14/drivers/net/ethernet/tehuti/ |
D | tehuti.h | 324 #define TXD_W1_VAL(bc, checksum, vtag, lgsnd, vlan_id) \ argument 325 ((bc) | ((checksum)<<5) | ((vtag)<<8) | \
|
/linux-4.4.14/Documentation/infiniband/ |
D | ipoib.txt | 56 TCP/IP checksum and/or Large Send (LSO) offloading capability to the 61 checksum offload capable devices.
|
/linux-4.4.14/drivers/pcmcia/ |
D | rsrc_nonstatic.c | 297 static int checksum(struct pcmcia_socket *s, struct resource *res, in checksum() function 471 return do_mem_probe(s, m->base, m->num, readable, checksum); in inv_probe() 508 checksum); in validate_mem() 519 readable, checksum); in validate_mem() 547 ok += do_mem_probe(s, mm.base, mm.num, readable, checksum); in validate_mem()
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | Kbuild | 5 generic-y += checksum.h
|
/linux-4.4.14/drivers/scsi/sym53c8xx_2/ |
D | sym_nvram.h | 55 u_short checksum; member
|
/linux-4.4.14/drivers/net/ethernet/myricom/myri10ge/ |
D | myri10ge_mcp.h | 15 __sum16 checksum; member
|
/linux-4.4.14/Documentation/EDID/ |
D | edid.S | 272 checksum: .byte CRC /* Sum of all bytes must be 0 */ label
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
D | eeprom.h | 128 __le16 checksum; member
|
/linux-4.4.14/fs/ecryptfs/ |
D | keystore.c | 220 u16 checksum = 0; in parse_tag_65_packet() local 285 checksum += session_key->decrypted_key[i]; in parse_tag_65_packet() 286 if (expected_checksum != checksum) { in parse_tag_65_packet() 289 "[%x]\n", expected_checksum, checksum); in parse_tag_65_packet() 305 size_t checksum = 0; in write_tag_66_packet() local 350 checksum += crypt_stat->key[j]; in write_tag_66_packet() 351 message[i++] = (checksum / 256) % 256; in write_tag_66_packet() 352 message[i++] = (checksum % 256); in write_tag_66_packet()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/ |
D | qla3xxx.c | 524 u16 checksum = 0; in ql_get_nvram_params() local 542 checksum += *pEEPROMData; in ql_get_nvram_params() 547 if (checksum != 0) { in ql_get_nvram_params() 549 checksum); in ql_get_nvram_params() 555 return checksum; in ql_get_nvram_params() 2081 u16 checksum = le16_to_cpu(ib_ip_rsp_ptr->checksum); in ql_process_macip_rx_intr() local 2082 if (checksum & in ql_process_macip_rx_intr() 2088 ((checksum & IB_IP_IOCB_RSP_3032_TCP) ? in ql_process_macip_rx_intr() 2089 "TCP" : "UDP"), checksum); in ql_process_macip_rx_intr() 2090 } else if ((checksum & IB_IP_IOCB_RSP_3032_TCP) || in ql_process_macip_rx_intr() [all …]
|
/linux-4.4.14/drivers/nfc/ |
D | port100.c | 553 u8 checksum; in port100_rx_frame_is_valid() local 560 checksum = port100_checksum(le16_to_cpu(frame->datalen)); in port100_rx_frame_is_valid() 561 if (checksum != frame->datalen_checksum) in port100_rx_frame_is_valid() 564 checksum = port100_data_checksum(frame->data, in port100_rx_frame_is_valid() 566 if (checksum != PORT100_FRAME_CHECKSUM(frame)) in port100_rx_frame_is_valid()
|
D | pn533.c | 608 u8 checksum; in pn533_std_rx_frame_is_valid() local 618 checksum = pn533_std_checksum(stdf->datalen); in pn533_std_rx_frame_is_valid() 619 if (checksum != stdf->datalen_checksum) in pn533_std_rx_frame_is_valid() 622 checksum = pn533_std_data_checksum(stdf->data, stdf->datalen); in pn533_std_rx_frame_is_valid() 623 if (checksum != PN533_STD_FRAME_CHECKSUM(stdf)) in pn533_std_rx_frame_is_valid() 631 checksum = pn533_ext_checksum(be16_to_cpu(eif->datalen)); in pn533_std_rx_frame_is_valid() 632 if (checksum != eif->datalen_checksum) in pn533_std_rx_frame_is_valid() 636 checksum = pn533_std_data_checksum(eif->data, in pn533_std_rx_frame_is_valid() 638 if (checksum != PN533_EXT_FRAME_CHECKSUM(eif)) in pn533_std_rx_frame_is_valid()
|
/linux-4.4.14/lib/ |
D | Kconfig | 127 Calculate checksum 8 bytes at a time with a clever slicing algorithm. 138 Calculate checksum 4 bytes at a time with a clever slicing algorithm. 147 Calculate checksum a byte at a time using Sarwate's algorithm. This 155 Calculate checksum one bit at a time. This is VERY slow, but has
|
/linux-4.4.14/arch/openrisc/include/asm/ |
D | Kbuild | 11 generic-y += checksum.h
|
/linux-4.4.14/arch/h8300/include/asm/ |
D | Kbuild | 6 generic-y += checksum.h
|
/linux-4.4.14/drivers/staging/rtl8723au/include/ |
D | rtl8723a_xmit.h | 163 u32 checksum:16; /* TxBuffSize(PCIe)/CheckSum(USB) */ member
|
/linux-4.4.14/net/sched/ |
D | act_csum.c | 125 icmph->checksum = 0; in tcf_csum_ipv4_icmp() 127 icmph->checksum = csum_fold(skb->csum); in tcf_csum_ipv4_icmp()
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | kirkwood.dtsi | 318 marvell,tx-checksum-limit = <1600>; 349 marvell,tx-checksum-limit = <1600>;
|
/linux-4.4.14/drivers/net/wimax/i2400m/ |
D | fw.c | 192 u32 checksum = 0; in i2400m_bm_cmd_prepare() local 195 checksum += cpu_to_le32(*checksum_ptr++); in i2400m_bm_cmd_prepare() 196 checksum += cmd->command + cmd->target_addr + cmd->data_size; in i2400m_bm_cmd_prepare() 197 cmd->block_checksum = cpu_to_le32(checksum); in i2400m_bm_cmd_prepare()
|
/linux-4.4.14/Documentation/scsi/ |
D | arcmsr_spec.txt | 113 ** command code, data and checksum byte 125 ** (E) last byte : checksum byte (sum of 1st byte until last data byte) 554 ** (low byte 1st, excludes length and checksum byte) 573 ** (E) Checksum : checksum of length and status or data byte
|
/linux-4.4.14/drivers/media/pci/cx88/ |
D | cx88-blackbird.c | 430 u32 checksum = 0; in blackbird_load_firmware() local 472 checksum += ~value; in blackbird_load_firmware() 480 checksum -= ~value; in blackbird_load_firmware() 483 if (checksum) { in blackbird_load_firmware()
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | pdc.h | 122 unsigned int checksum:16;
|