checksum 30 arch/alpha/include/asm/gct.h u32 checksum; checksum 98 arch/alpha/lib/csum_partial_copy.c long len, unsigned long checksum, checksum 107 arch/alpha/lib/csum_partial_copy.c checksum += carry; checksum 109 arch/alpha/lib/csum_partial_copy.c checksum += word; checksum 111 arch/alpha/lib/csum_partial_copy.c carry = checksum < word; checksum 116 arch/alpha/lib/csum_partial_copy.c checksum += carry; checksum 122 arch/alpha/lib/csum_partial_copy.c checksum += word; checksum 124 arch/alpha/lib/csum_partial_copy.c carry = checksum < word; checksum 126 arch/alpha/lib/csum_partial_copy.c checksum += carry; checksum 129 arch/alpha/lib/csum_partial_copy.c return checksum; checksum 140 arch/alpha/lib/csum_partial_copy.c long len, unsigned long checksum, checksum 158 arch/alpha/lib/csum_partial_copy.c checksum += carry; checksum 161 arch/alpha/lib/csum_partial_copy.c checksum += word; checksum 164 arch/alpha/lib/csum_partial_copy.c carry = checksum < word; checksum 167 arch/alpha/lib/csum_partial_copy.c checksum += carry; checksum 177 arch/alpha/lib/csum_partial_copy.c checksum += word; checksum 179 arch/alpha/lib/csum_partial_copy.c carry = checksum < word; checksum 181 arch/alpha/lib/csum_partial_copy.c checksum += carry; checksum 184 arch/alpha/lib/csum_partial_copy.c return checksum; checksum 194 arch/alpha/lib/csum_partial_copy.c long len, unsigned long checksum, checksum 208 arch/alpha/lib/csum_partial_copy.c checksum += carry; checksum 211 arch/alpha/lib/csum_partial_copy.c checksum += word; checksum 213 arch/alpha/lib/csum_partial_copy.c carry = checksum < word; checksum 218 arch/alpha/lib/csum_partial_copy.c checksum += carry; checksum 222 arch/alpha/lib/csum_partial_copy.c checksum += word; checksum 225 arch/alpha/lib/csum_partial_copy.c carry = checksum < word; checksum 239 arch/alpha/lib/csum_partial_copy.c checksum += carry; checksum 241 arch/alpha/lib/csum_partial_copy.c return checksum; checksum 252 arch/alpha/lib/csum_partial_copy.c long len, unsigned long checksum, checksum 270 arch/alpha/lib/csum_partial_copy.c checksum += carry; checksum 277 arch/alpha/lib/csum_partial_copy.c checksum += word; checksum 279 arch/alpha/lib/csum_partial_copy.c carry = checksum < word; checksum 284 arch/alpha/lib/csum_partial_copy.c checksum += carry; checksum 295 arch/alpha/lib/csum_partial_copy.c checksum += word; checksum 297 arch/alpha/lib/csum_partial_copy.c carry = checksum < word; checksum 305 arch/alpha/lib/csum_partial_copy.c checksum += carry; checksum 316 arch/alpha/lib/csum_partial_copy.c checksum += word; checksum 318 arch/alpha/lib/csum_partial_copy.c carry = checksum < word; checksum 321 arch/alpha/lib/csum_partial_copy.c checksum += carry; checksum 324 arch/alpha/lib/csum_partial_copy.c return checksum; checksum 331 arch/alpha/lib/csum_partial_copy.c unsigned long checksum = (__force u32) sum; checksum 343 arch/alpha/lib/csum_partial_copy.c checksum = csum_partial_cfu_aligned( checksum 346 arch/alpha/lib/csum_partial_copy.c len-8, checksum, errp); checksum 348 arch/alpha/lib/csum_partial_copy.c checksum = csum_partial_cfu_dest_aligned( checksum 351 arch/alpha/lib/csum_partial_copy.c soff, len-8, checksum, errp); checksum 356 arch/alpha/lib/csum_partial_copy.c checksum = csum_partial_cfu_src_aligned( checksum 359 arch/alpha/lib/csum_partial_copy.c doff, len-8, checksum, checksum 362 arch/alpha/lib/csum_partial_copy.c checksum = csum_partial_cfu_unaligned( checksum 365 arch/alpha/lib/csum_partial_copy.c soff, doff, len-8, checksum, checksum 368 arch/alpha/lib/csum_partial_copy.c checksum = from64to16 (checksum); checksum 370 arch/alpha/lib/csum_partial_copy.c return (__force __wsum)checksum; checksum 377 arch/alpha/lib/csum_partial_copy.c __wsum checksum; checksum 380 arch/alpha/lib/csum_partial_copy.c checksum = csum_partial_copy_from_user((__force const void __user *)src, checksum 383 arch/alpha/lib/csum_partial_copy.c return checksum; checksum 225 arch/arm/mach-orion5x/kurobox_pro-setup.c unsigned char checksum = 0; checksum 233 arch/arm/mach-orion5x/kurobox_pro-setup.c checksum -= data[i]; checksum 240 arch/arm/mach-orion5x/kurobox_pro-setup.c kurobox_pro_miconwrite(&checksum, 1); checksum 200 arch/arm/mach-orion5x/terastation_pro2-setup.c unsigned char checksum = 0; checksum 208 arch/arm/mach-orion5x/terastation_pro2-setup.c checksum -= data[i]; checksum 215 arch/arm/mach-orion5x/terastation_pro2-setup.c tsp2_miconwrite(&checksum, 1); checksum 26 arch/arm/mach-pxa/pm.c unsigned long sleep_save_checksum = 0, checksum = 0; checksum 49 arch/arm/mach-pxa/pm.c checksum += sleep_save[i]; checksum 52 arch/arm/mach-pxa/pm.c if (checksum != sleep_save_checksum) { checksum 136 arch/ia64/include/asm/sal.h u8 checksum; checksum 907 arch/ia64/include/asm/sal.h u8 checksum; checksum 438 arch/ia64/kernel/efi.c u8 checksum; checksum 445 arch/ia64/kernel/efi.c checksum = palo_checksum((u8 *)palo, palo->length); checksum 446 arch/ia64/kernel/efi.c if (checksum) { checksum 181 arch/m68k/atari/nvram.c int checksum; checksum 186 arch/m68k/atari/nvram.c checksum = __nvram_check_checksum(); checksum 189 arch/m68k/atari/nvram.c seq_printf(seq, "Checksum status : %svalid\n", checksum ? "" : "not "); checksum 549 arch/parisc/include/uapi/asm/pdc.h unsigned int checksum:16; checksum 1060 arch/parisc/kernel/drivers.c DO(checksum); checksum 35 arch/powerpc/kernel/nvram_64.c unsigned char checksum; checksum 717 arch/powerpc/kernel/nvram_64.c tmp_part->header.checksum, tmp_part->header.length, checksum 798 arch/powerpc/kernel/nvram_64.c part->header.checksum = nvram_checksum(&part->header); checksum 815 arch/powerpc/kernel/nvram_64.c prev->header.checksum = nvram_checksum(&prev->header); checksum 903 arch/powerpc/kernel/nvram_64.c new_part->header.checksum = nvram_checksum(&new_part->header); checksum 917 arch/powerpc/kernel/nvram_64.c free_part->header.checksum = nvram_checksum(&free_part->header); checksum 1021 arch/powerpc/kernel/nvram_64.c if (c_sum != phead.checksum) { checksum 1024 arch/powerpc/kernel/nvram_64.c phead.checksum, c_sum); checksum 37 arch/um/drivers/vector_transports.c bool checksum; checksum 27 arch/unicore32/kernel/pm.c unsigned long sleep_save_checksum = 0, checksum = 0; checksum 50 arch/unicore32/kernel/pm.c checksum += sleep_save[i]; checksum 53 arch/unicore32/kernel/pm.c if (checksum != sleep_save_checksum) { checksum 27 arch/x86/include/asm/mpspec_def.h unsigned char checksum; /* Checksum (makes sum 0) */ checksum 41 arch/x86/include/asm/mpspec_def.h char checksum; checksum 161 arch/x86/include/asm/mpspec_def.h char checksum; checksum 89 arch/x86/include/asm/pci_x86.h u8 checksum; /* Modulo 256 checksum must give 0 */ checksum 811 arch/x86/kernel/mpparse.c mpc->checksum = 0; checksum 812 arch/x86/kernel/mpparse.c mpc->checksum -= mpf_checksum((unsigned char *)mpc, mpc->length); checksum 905 arch/x86/kernel/mpparse.c mpc->checksum = 0; checksum 907 arch/x86/kernel/mpparse.c mpc->checksum = 0xff; checksum 940 arch/x86/kernel/mpparse.c mpf->checksum = 0; checksum 941 arch/x86/kernel/mpparse.c mpf->checksum -= mpf_checksum((unsigned char *)mpf, 16); checksum 69 arch/x86/pci/pcbios.c unsigned char checksum; /* All bytes must add up to zero */ checksum 421 block/partitions/acorn.c unsigned char checksum = 0x2a; checksum 432 block/partitions/acorn.c checksum += data[i]; checksum 434 block/partitions/acorn.c return checksum == data[511]; checksum 34 block/partitions/atari.h u16 checksum; /* checksum for bootable disks */ checksum 158 drivers/acpi/acpica/amlresrc.h AML_RESOURCE_SMALL_HEADER_COMMON u8 checksum; checksum 154 drivers/acpi/acpica/tbprint.c u8 checksum; checksum 168 drivers/acpi/acpica/tbprint.c checksum = acpi_tb_checksum(ACPI_CAST_PTR(u8, table), length); checksum 172 drivers/acpi/acpica/tbprint.c if (checksum) { checksum 176 drivers/acpi/acpica/tbprint.c table->signature, table->checksum, checksum 177 drivers/acpi/acpica/tbprint.c (u8)(table->checksum - checksum))); checksum 86 drivers/acpi/acpica/tbutils.c acpi_gbl_original_dsdt_header.checksum != acpi_gbl_DSDT->checksum) { checksum 101 drivers/acpi/acpica/tbutils.c acpi_gbl_original_dsdt_header.checksum = checksum 102 drivers/acpi/acpica/tbutils.c acpi_gbl_DSDT->checksum; checksum 857 drivers/block/amiflop.c csum = checksum((ulong *)&hdr, checksum 881 drivers/block/amiflop.c csum = checksum((ulong *)(unit[drive].trackbuf + hdr.sect*512), 512); checksum 947 drivers/block/amiflop.c hdr.hdrchk = checksum((ulong *)&hdr, checksum 949 drivers/block/amiflop.c hdr.datachk = checksum((ulong *)(unit[disk].trackbuf+cnt*512), 512); checksum 418 drivers/char/nvram.c int checksum; checksum 422 drivers/char/nvram.c checksum = __nvram_check_checksum(); checksum 425 drivers/char/nvram.c seq_printf(seq, "Checksum status: %svalid\n", checksum ? "" : "not "); checksum 26 drivers/char/tpm/tpm-sysfs.c u8 checksum[20]; checksum 443 drivers/crypto/inside-secure/safexcel.h u8 checksum:1; checksum 211 drivers/crypto/qat/qat_common/icp_qat_uclo.h unsigned int checksum; checksum 260 drivers/crypto/qat/qat_common/icp_qat_uclo.h unsigned int checksum; checksum 535 drivers/crypto/qat/qat_common/qat_uclo.c if (file_chunk->checksum != qat_uclo_calc_str_checksum( checksum 542 drivers/crypto/qat/qat_common/qat_uclo.c obj_hdr->checksum = file_chunk->checksum; checksum 120 drivers/firmware/efi/rci2-table.c if (checksum() != 0) { checksum 135 drivers/fsi/fsi-occ.c u16 checksum = 0; checksum 174 drivers/fsi/fsi-occ.c checksum += cmd[i]; checksum 176 drivers/fsi/fsi-occ.c cmd[data_length + 4] = checksum >> 8; checksum 177 drivers/fsi/fsi-occ.c cmd[data_length + 5] = checksum & 0xFF; checksum 221 drivers/fsi/fsi-occ.c u16 checksum; checksum 224 drivers/fsi/fsi-occ.c checksum = resp->seq_no; checksum 225 drivers/fsi/fsi-occ.c checksum += resp->cmd_type; checksum 226 drivers/fsi/fsi-occ.c checksum += resp->return_status; checksum 227 drivers/fsi/fsi-occ.c checksum += (data_length >> 8) + (data_length & 0xFF); checksum 230 drivers/fsi/fsi-occ.c checksum += resp->data[i]; checksum 232 drivers/fsi/fsi-occ.c if (checksum != checksum_resp) checksum 156 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c uint16_t checksum = 0; checksum 160 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c checksum += data[i]; checksum 162 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c return checksum; checksum 179 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c uint16_t checksum; checksum 203 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c checksum = bhdr->binary_checksum; checksum 206 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c size, checksum)) { checksum 214 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c checksum = le16_to_cpu(info->checksum); checksum 224 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c ihdr->size, checksum)) { checksum 232 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c checksum = le16_to_cpu(info->checksum); checksum 236 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c ghdr->size, checksum)) { checksum 66 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c pp[4] = cpu_to_le32(hdr->checksum); checksum 78 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c hdr->checksum = le32_to_cpu(pp[4]); checksum 276 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c for (i = 0; i < sizeof(control->tbl_hdr) - sizeof(control->tbl_hdr.checksum); i++) checksum 322 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c control->tbl_hdr.checksum = 256 - (control->tbl_byte_sum % 256); checksum 331 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c if (control->tbl_hdr.checksum + (control->tbl_byte_sum % 256) != 256) { checksum 332 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c DRM_WARN("Checksum mismatch, checksum: %u ", control->tbl_hdr.checksum); checksum 42 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h uint32_t checksum; checksum 333 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c uint32_t checksum = 0; checksum 345 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c AMDGPU_FW_VRAM_PF2VF_READ(adev, checksum, &checksum); checksum 352 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c adev->virt.fw_reserve.checksum_key, checksum); checksum 353 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c if (checkval == checksum) { checksum 373 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c AMDGPU_FW_VRAM_VF2PF_WRITE(adev, checksum, checksum 116 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h unsigned int checksum; checksum 123 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h uint32_t checksum; checksum 186 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h unsigned int checksum; checksum 192 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h uint32_t checksum; checksum 55 drivers/gpu/drm/amd/amdkfd/kfd_crat.h uint8_t checksum; checksum 304 drivers/gpu/drm/amd/amdkfd/kfd_crat.h uint8_t checksum; checksum 2358 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->ext_disp_conn_info.checksum = checksum 2495 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->ext_disp_conn_info.checksum = checksum 1450 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c info->ext_disp_conn_info.checksum = checksum 1451 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c info_v11->extdispconninfo.checksum; checksum 314 drivers/gpu/drm/amd/display/include/grph_object_ctrl_defs.h uint8_t checksum; checksum 653 drivers/gpu/drm/amd/display/modules/freesync/freesync.c unsigned char checksum = 0; checksum 655 drivers/gpu/drm/amd/display/modules/freesync/freesync.c checksum += infopacket->hb0; checksum 656 drivers/gpu/drm/amd/display/modules/freesync/freesync.c checksum += infopacket->hb1; checksum 657 drivers/gpu/drm/amd/display/modules/freesync/freesync.c checksum += infopacket->hb2; checksum 658 drivers/gpu/drm/amd/display/modules/freesync/freesync.c checksum += infopacket->hb3; checksum 661 drivers/gpu/drm/amd/display/modules/freesync/freesync.c checksum += infopacket->sb[idx]; checksum 664 drivers/gpu/drm/amd/display/modules/freesync/freesync.c infopacket->sb[0] = (unsigned char)(0x100 - checksum); checksum 986 drivers/gpu/drm/amd/include/atomfirmware.h uint8_t checksum; // a simple Checksum of the sum of whole structure equal to 0x0. checksum 3140 drivers/gpu/drm/amd/include/atomfirmware.h uint8_t checksum; checksum 47 drivers/gpu/drm/amd/include/discovery.h uint16_t checksum; /* Byte sum of the table */ checksum 739 drivers/gpu/drm/bridge/sil-sii8620.c d->hdr.checksum -= sii8620_checksum(d, size); checksum 120 drivers/gpu/drm/gma500/mid_bios.c u8 checksum; checksum 125 drivers/gpu/drm/gma500/mid_bios.c u8 checksum; checksum 4640 drivers/gpu/drm/i915/display/intel_dp.c block->checksum) <= 0) checksum 306 drivers/gpu/drm/mediatek/mtk_hdmi.c u8 checksum; checksum 315 drivers/gpu/drm/mediatek/mtk_hdmi.c checksum = *buffer; checksum 321 drivers/gpu/drm/mediatek/mtk_hdmi.c frame_type, frame_ver, frame_len, checksum); checksum 349 drivers/gpu/drm/mediatek/mtk_hdmi.c mtk_hdmi_write(hdmi, GRL_IFM_PORT, checksum); checksum 82 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c char checksum; checksum 147 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c checksum = 0; checksum 149 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c checksum += pedid[i]; checksum 151 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c if (checksum != 0) { checksum 618 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c u8 sum = 0, checksum = 0; checksum 662 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c checksum = 0x100 - sum; checksum 664 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c HDMI_CORE_AV_AUDIO_CHSUM, checksum); checksum 131 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c char checksum = 0; checksum 180 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c checksum += pedid[cur_addr]; checksum 59 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c u32 checksum; checksum 218 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c u32 checksum, i; checksum 250 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c checksum = ~crc32(~0, (u8 *)&lcd->eeprom, 252); checksum 251 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c if (checksum != lcd->eeprom.checksum) { checksum 558 drivers/gpu/drm/tiny/gm12u320.c .checksum = 0x13, checksum 64 drivers/gpu/drm/vboxvideo/hgsmi_defs.h u32 checksum; checksum 37 drivers/gpu/drm/vboxvideo/vbox_hgsmi.c u32 checksum; checksum 39 drivers/gpu/drm/vboxvideo/vbox_hgsmi.c checksum = hgsmi_hash_process(0, (u8 *)&offset, sizeof(offset)); checksum 40 drivers/gpu/drm/vboxvideo/vbox_hgsmi.c checksum = hgsmi_hash_process(checksum, (u8 *)header, sizeof(*header)); checksum 42 drivers/gpu/drm/vboxvideo/vbox_hgsmi.c checksum = hgsmi_hash_process(checksum, (u8 *)tail, 4); checksum 44 drivers/gpu/drm/vboxvideo/vbox_hgsmi.c return hgsmi_hash_end(checksum); checksum 69 drivers/gpu/drm/vboxvideo/vbox_hgsmi.c t->checksum = hgsmi_checksum(offset, h, t); checksum 97 drivers/hid/hid-roccat-kone.c uint16_t checksum = 0; checksum 102 drivers/hid/hid-roccat-kone.c checksum += *address; checksum 103 drivers/hid/hid-roccat-kone.c settings->checksum = cpu_to_le16(checksum); checksum 126 drivers/hid/hid-roccat-kone.h uint16_t checksum; /* \brief holds checksum of struct */ checksum 143 drivers/hid/hid-roccat-kone.h uint16_t checksum; checksum 45 drivers/hid/hid-roccat-pyra.h uint16_t checksum; /* byte sum */ checksum 127 drivers/hwmon/occ/common.c u16 checksum = occ->poll_cmd_data + occ->seq_no + 1; checksum 137 drivers/hwmon/occ/common.c cmd[5] = checksum >> 8; /* checksum msb */ checksum 138 drivers/hwmon/occ/common.c cmd[6] = checksum & 0xFF; /* checksum lsb */ checksum 179 drivers/hwmon/occ/common.c u16 checksum = 0x24; checksum 189 drivers/hwmon/occ/common.c checksum += cmd[4] + cmd[5]; checksum 190 drivers/hwmon/occ/common.c cmd[6] = checksum >> 8; checksum 191 drivers/hwmon/occ/common.c cmd[7] = checksum & 0xFF; checksum 25 drivers/hwmon/occ/common.h __be16 checksum; checksum 196 drivers/iio/chemical/pms7003.c u16 checksum = (PMS7003_MAGIC >> 8) + (u8)(PMS7003_MAGIC & 0xff) + checksum 201 drivers/iio/chemical/pms7003.c checksum += frame->data[i]; checksum 203 drivers/iio/chemical/pms7003.c return checksum; checksum 209 drivers/iio/chemical/pms7003.c u16 checksum = get_unaligned_be16(frame->data + offset); checksum 211 drivers/iio/chemical/pms7003.c return checksum == pms7003_calc_checksum(frame); checksum 126 drivers/iio/humidity/dht11.c unsigned char temp_int, temp_dec, hum_int, hum_dec, checksum; checksum 144 drivers/iio/humidity/dht11.c checksum = dht11_decode_byte(&bits[32]); checksum 146 drivers/iio/humidity/dht11.c if (((hum_int + hum_dec + temp_int + temp_dec) & 0xff) != checksum) { checksum 58 drivers/infiniband/hw/hfi1/platform.c u64 checksum = 0, temp_scratch = 0; checksum 78 drivers/infiniband/hw/hfi1/platform.c checksum += version; checksum 82 drivers/infiniband/hw/hfi1/platform.c checksum += (temp_scratch & 0xFFFF); checksum 87 drivers/infiniband/hw/hfi1/platform.c while (checksum >> 16) checksum 88 drivers/infiniband/hw/hfi1/platform.c checksum = (checksum & CHECKSUM_MASK) + (checksum >> 16); checksum 94 drivers/infiniband/hw/hfi1/platform.c if (checksum + temp_scratch == 0xFFFF) checksum 571 drivers/infiniband/hw/mlx4/cq.c static int mlx4_ib_ipoib_csum_ok(__be16 status, __be16 checksum) checksum 582 drivers/infiniband/hw/mlx4/cq.c checksum == cpu_to_be16(0xffff); checksum 858 drivers/infiniband/hw/mlx4/cq.c cqe->checksum) ? IB_WC_IP_CSUM_OK : 0; checksum 491 drivers/infiniband/hw/mthca/mthca_cq.c u16 checksum; checksum 636 drivers/infiniband/hw/mthca/mthca_cq.c checksum = (be32_to_cpu(cqe->rqpn) >> 24) | checksum 638 drivers/infiniband/hw/mthca/mthca_cq.c entry->wc_flags |= (cqe->sl_ipok & 1 && checksum == 0xffff) ? checksum 77 drivers/input/mouse/elan_i2c.h const u8 *page, u16 checksum, int idx); checksum 434 drivers/input/mouse/elan_i2c_core.c const u8 *page, u16 checksum, int idx) checksum 441 drivers/input/mouse/elan_i2c_core.c page, checksum, idx); checksum 471 drivers/input/mouse/elan_i2c_core.c u16 checksum = 0; checksum 475 drivers/input/mouse/elan_i2c_core.c checksum += ((page[j + 1] << 8) | page[j]); checksum 477 drivers/input/mouse/elan_i2c_core.c error = elan_write_fw_block(data, page, checksum, i); checksum 483 drivers/input/mouse/elan_i2c_core.c sw_checksum += checksum; checksum 576 drivers/input/mouse/elan_i2c_i2c.c const u8 *page, u16 checksum, int idx) checksum 588 drivers/input/mouse/elan_i2c_i2c.c put_unaligned_le16(checksum, &page_store[ETP_FW_PAGE_SIZE + 2]); checksum 418 drivers/input/mouse/elan_i2c_smbus.c const u8 *page, u16 checksum, int idx) checksum 257 drivers/input/rmi4/rmi_f34.c le32_to_cpu(syn_fw->checksum), checksum 188 drivers/input/rmi4/rmi_f34.h __le32 checksum; checksum 207 drivers/input/rmi4/rmi_f34.h unsigned int checksum; checksum 240 drivers/input/rmi4/rmi_f34.h __le32 checksum; checksum 1086 drivers/input/rmi4/rmi_f34v7.c f34->v7.img.checksum = le32_to_cpu(header->checksum); checksum 1089 drivers/input/rmi4/rmi_f34v7.c __func__, f34->v7.img.checksum); checksum 827 drivers/input/touchscreen/elants_i2c.c u8 checksum = 0; checksum 831 drivers/input/touchscreen/elants_i2c.c checksum += buf[i]; checksum 833 drivers/input/touchscreen/elants_i2c.c return checksum; checksum 838 drivers/input/touchscreen/elants_i2c.c u8 checksum = elants_i2c_calculate_checksum(buf); checksum 840 drivers/input/touchscreen/elants_i2c.c if (unlikely(buf[FW_POS_CHECKSUM] != checksum)) checksum 844 drivers/input/touchscreen/elants_i2c.c checksum, buf[FW_POS_CHECKSUM]); checksum 537 drivers/input/touchscreen/raydium_i2c_ts.c size_t length, u16 checksum) checksum 543 drivers/input/touchscreen/raydium_i2c_ts.c put_unaligned_le16(checksum, &checksum_cmd[5]); checksum 612 drivers/input/touchscreen/raydium_i2c_ts.c u16 checksum = 0; checksum 616 drivers/input/touchscreen/raydium_i2c_ts.c checksum += buf[i]; checksum 618 drivers/input/touchscreen/raydium_i2c_ts.c return checksum; checksum 632 drivers/input/touchscreen/wdt87xx_i2c.c u16 checksum = 0; checksum 636 drivers/input/touchscreen/wdt87xx_i2c.c checksum = misr(checksum, data[i]); checksum 638 drivers/input/touchscreen/wdt87xx_i2c.c return checksum; checksum 641 drivers/input/touchscreen/wdt87xx_i2c.c static int wdt87xx_get_checksum(struct i2c_client *client, u16 *checksum, checksum 682 drivers/input/touchscreen/wdt87xx_i2c.c *checksum = get_unaligned_le16(&pkt_buf[CMD_DATA_OFFSET]); checksum 541 drivers/iommu/amd_iommu_init.c u8 checksum = 0, *p = (u8 *)table; checksum 544 drivers/iommu/amd_iommu_init.c checksum += p[i]; checksum 545 drivers/iommu/amd_iommu_init.c if (checksum != 0) { checksum 722 drivers/md/raid5-cache.c block->checksum = cpu_to_le32(crc); checksum 838 drivers/md/raid5-cache.c payload->checksum[0] = cpu_to_le32(checksum1); checksum 840 drivers/md/raid5-cache.c payload->checksum[1] = cpu_to_le32(checksum2); checksum 1746 drivers/md/raid5-cache.c stored_crc = le32_to_cpu(mb->checksum); checksum 1747 drivers/md/raid5-cache.c mb->checksum = 0; checksum 1794 drivers/md/raid5-cache.c mb->checksum = cpu_to_le32(crc32c_le(log->uuid_checksum, checksum 1827 drivers/md/raid5-cache.c le32_to_cpu(payload->checksum[0]); checksum 1846 drivers/md/raid5-cache.c le32_to_cpu(payload->checksum[0]); checksum 1854 drivers/md/raid5-cache.c le32_to_cpu(payload->checksum[1]); checksum 1991 drivers/md/raid5-cache.c u32 checksum; checksum 1995 drivers/md/raid5-cache.c checksum = crc32c_le(log->uuid_checksum, addr, PAGE_SIZE); checksum 1997 drivers/md/raid5-cache.c return (le32_to_cpu(log_checksum) == checksum) ? 0 : -EINVAL; checksum 2028 drivers/md/raid5-cache.c payload->checksum[0]) < 0) checksum 2033 drivers/md/raid5-cache.c payload->checksum[0]) < 0) checksum 2040 drivers/md/raid5-cache.c payload->checksum[1]) < 0) checksum 2397 drivers/md/raid5-cache.c payload->checksum[0] = cpu_to_le32( checksum 2411 drivers/md/raid5-cache.c mb->checksum = cpu_to_le32(crc32c_le(log->uuid_checksum, checksum 2986 drivers/md/raid5-cache.c stored_crc = le32_to_cpu(mb->checksum); checksum 2987 drivers/md/raid5-cache.c mb->checksum = 0; checksum 339 drivers/md/raid5-ppl.c e->checksum = cpu_to_le32(~0); checksum 348 drivers/md/raid5-ppl.c e->checksum = cpu_to_le32(crc32c_le(le32_to_cpu(e->checksum), checksum 454 drivers/md/raid5-ppl.c e->checksum = cpu_to_le32(~le32_to_cpu(e->checksum)); checksum 458 drivers/md/raid5-ppl.c pplhdr->checksum = cpu_to_le32(~crc32c_le(~0, pplhdr, PPL_HEADER_SIZE)); checksum 999 drivers/md/raid5-ppl.c crc_stored = le32_to_cpu(e->checksum); checksum 1066 drivers/md/raid5-ppl.c pplhdr->checksum = cpu_to_le32(~crc32c_le(~0, pplhdr, PAGE_SIZE)); checksum 1118 drivers/md/raid5-ppl.c crc_stored = le32_to_cpu(pplhdr->checksum); checksum 1119 drivers/md/raid5-ppl.c pplhdr->checksum = 0; checksum 1031 drivers/media/dvb-frontends/af9013.c u16 checksum = 0; checksum 1063 drivers/media/dvb-frontends/af9013.c checksum += firmware->data[i]; checksum 1065 drivers/media/dvb-frontends/af9013.c buf[0] = (checksum >> 8) & 0xff; checksum 1066 drivers/media/dvb-frontends/af9013.c buf[1] = (checksum >> 0) & 0xff; checksum 3931 drivers/media/pci/bt8xx/bttv-cards.c u8 checksum = 0; checksum 3933 drivers/media/pci/bt8xx/bttv-cards.c checksum += ee[i]; checksum 3934 drivers/media/pci/bt8xx/bttv-cards.c if (checksum != ee[21]) checksum 3944 drivers/media/pci/bt8xx/bttv-cards.c u16 checksum = (__force u16)ip_compute_csum(ee + i, 16); checksum 3946 drivers/media/pci/bt8xx/bttv-cards.c if ((checksum & 0xff) + (checksum >> 8) == 0xff) checksum 894 drivers/media/pci/cx23885/cx23885-417.c u32 checksum = 0; checksum 948 drivers/media/pci/cx23885/cx23885-417.c checksum += ~value; checksum 965 drivers/media/pci/cx23885/cx23885-417.c checksum -= ~value; checksum 967 drivers/media/pci/cx23885/cx23885-417.c if (checksum) { checksum 446 drivers/media/pci/cx88/cx88-blackbird.c u32 checksum = 0; checksum 490 drivers/media/pci/cx88/cx88-blackbird.c checksum += ~value; checksum 498 drivers/media/pci/cx88/cx88-blackbird.c checksum -= ~value; checksum 501 drivers/media/pci/cx88/cx88-blackbird.c if (checksum) { checksum 140 drivers/media/pci/tw5864/tw5864-core.c cur_frame->checksum = tw_readl(TW5864_VLC_CRC_REG); checksum 1378 drivers/media/pci/tw5864/tw5864-video.c if (frame->checksum != checksum 136 drivers/media/pci/tw5864/tw5864.h u32 checksum; checksum 179 drivers/media/platform/vivid/vivid-vbi-gen.c u8 checksum, i; checksum 194 drivers/media/platform/vivid/vivid-vbi-gen.c for (checksum = i = 0; i <= 8; i++) checksum 195 drivers/media/platform/vivid/vivid-vbi-gen.c checksum += packet[i] & 0x7f; checksum 196 drivers/media/platform/vivid/vivid-vbi-gen.c packet[9] = calc_parity(0x100 - checksum); checksum 197 drivers/media/platform/vivid/vivid-vbi-gen.c checksum = 0; checksum 206 drivers/media/platform/vivid/vivid-vbi-gen.c for (checksum = 0, i = 10; i <= 14; i++) checksum 207 drivers/media/platform/vivid/vivid-vbi-gen.c checksum += packet[i] & 0x7f; checksum 208 drivers/media/platform/vivid/vivid-vbi-gen.c packet[15] = calc_parity(0x100 - checksum); checksum 224 drivers/media/usb/cpia2/cpia2_usb.c u16 checksum, iso_checksum; checksum 269 drivers/media/usb/cpia2/cpia2_usb.c checksum = 0; checksum 271 drivers/media/usb/cpia2/cpia2_usb.c checksum += cdata[j]; checksum 273 drivers/media/usb/cpia2/cpia2_usb.c if(checksum != iso_checksum) { checksum 275 drivers/media/usb/cpia2/cpia2_usb.c i, n, (int)checksum, (int)iso_checksum); checksum 295 drivers/media/usb/dvb-usb-v2/af9015.c u16 checksum; checksum 300 drivers/media/usb/dvb-usb-v2/af9015.c for (i = 0, checksum = 0; i < firmware->size; i++) checksum 301 drivers/media/usb/dvb-usb-v2/af9015.c checksum += firmware->data[i]; checksum 304 drivers/media/usb/dvb-usb-v2/af9015.c state->firmware_checksum = checksum; checksum 19 drivers/media/usb/dvb-usb-v2/af9035.c u16 checksum = 0; checksum 23 drivers/media/usb/dvb-usb-v2/af9035.c checksum += buf[i] << 8; checksum 25 drivers/media/usb/dvb-usb-v2/af9035.c checksum += buf[i]; checksum 27 drivers/media/usb/dvb-usb-v2/af9035.c checksum = ~checksum; checksum 29 drivers/media/usb/dvb-usb-v2/af9035.c return checksum; checksum 41 drivers/media/usb/dvb-usb-v2/af9035.c u16 checksum, tmp_checksum; checksum 64 drivers/media/usb/dvb-usb-v2/af9035.c checksum = af9035_checksum(state->buf, state->buf[0] - 1); checksum 65 drivers/media/usb/dvb-usb-v2/af9035.c state->buf[state->buf[0] - 1] = (checksum >> 8); checksum 66 drivers/media/usb/dvb-usb-v2/af9035.c state->buf[state->buf[0] - 0] = (checksum & 0xff); checksum 82 drivers/media/usb/dvb-usb-v2/af9035.c checksum = af9035_checksum(state->buf, rlen - 2); checksum 84 drivers/media/usb/dvb-usb-v2/af9035.c if (tmp_checksum != checksum) { checksum 86 drivers/media/usb/dvb-usb-v2/af9035.c req->cmd, tmp_checksum, checksum); checksum 556 drivers/media/usb/dvb-usb/af9005.c u16 checksum; checksum 568 drivers/media/usb/dvb-usb/af9005.c checksum = buf[4] + buf[5]; checksum 569 drivers/media/usb/dvb-usb/af9005.c buf[6] = (u8) ((checksum >> 8) & 0xff); checksum 570 drivers/media/usb/dvb-usb/af9005.c buf[7] = (u8) (checksum & 0xff); checksum 577 drivers/media/usb/dvb-usb/af9005.c checksum = buf[4] + buf[5]; checksum 578 drivers/media/usb/dvb-usb/af9005.c buf[6] = (u8) ((checksum >> 8) & 0xff); checksum 579 drivers/media/usb/dvb-usb/af9005.c buf[7] = (u8) (checksum & 0xff); checksum 590 drivers/media/usb/dvb-usb/af9005.c checksum = 0; checksum 592 drivers/media/usb/dvb-usb/af9005.c checksum += buf[i]; checksum 593 drivers/media/usb/dvb-usb/af9005.c buf[10] = (u8) ((checksum >> 8) & 0xff); checksum 594 drivers/media/usb/dvb-usb/af9005.c buf[11] = (u8) (checksum & 0xff); checksum 622 drivers/media/usb/dvb-usb/af9005.c checksum = 0; checksum 642 drivers/media/usb/dvb-usb/af9005.c checksum += buf[i]; checksum 643 drivers/media/usb/dvb-usb/af9005.c if (buf[7] * 256 + buf[8] != checksum) { checksum 667 drivers/media/usb/dvb-usb/af9005.c checksum += buf[i]; checksum 668 drivers/media/usb/dvb-usb/af9005.c if (buf[7] * 256 + buf[8] != checksum) { checksum 696 drivers/media/usb/dvb-usb/af9005.c checksum += buf[i]; checksum 697 drivers/media/usb/dvb-usb/af9005.c if (buf[7] * 256 + buf[8] != checksum) { checksum 522 drivers/memory/brcmstb_dpfe.c u32 checksum) checksum 547 drivers/memory/brcmstb_dpfe.c return (sum == checksum) ? 0 : -1; checksum 36 drivers/mfd/ipaq-micro.c u8 checksum; checksum 42 drivers/mfd/ipaq-micro.c checksum = ((msg->id & 0x0f) << 4) | (msg->tx_len & 0x0f); checksum 43 drivers/mfd/ipaq-micro.c tx->buf[bp++] = checksum; checksum 47 drivers/mfd/ipaq-micro.c checksum += msg->tx_data[i]; checksum 50 drivers/mfd/ipaq-micro.c tx->buf[bp++] = checksum; checksum 168 drivers/mfd/rave-sp.c const struct rave_sp_checksum *checksum; checksum 284 drivers/mfd/rave-sp.c const size_t checksum_length = sp->variant->checksum->length; checksum 296 drivers/mfd/rave-sp.c sp->variant->checksum->subroutine(data, data_size, crc); checksum 441 drivers/mfd/rave-sp.c const size_t checksum_length = sp->variant->checksum->length; checksum 460 drivers/mfd/rave-sp.c sp->variant->checksum->subroutine(data, payload_length, checksum 731 drivers/mfd/rave-sp.c .checksum = &rave_sp_checksum_ccitt, checksum 739 drivers/mfd/rave-sp.c .checksum = &rave_sp_checksum_8b2c, checksum 747 drivers/mfd/rave-sp.c .checksum = &rave_sp_checksum_ccitt, checksum 693 drivers/misc/kgdbts.c unsigned char checksum = 0; checksum 700 drivers/misc/kgdbts.c checksum += ch; checksum 704 drivers/misc/kgdbts.c get_buf[count + 2] = hex_asc_hi(checksum); checksum 705 drivers/misc/kgdbts.c get_buf[count + 3] = hex_asc_lo(checksum); checksum 1808 drivers/mmc/host/vub300.c u8 checksum = 0x00; checksum 1809 drivers/mmc/host/vub300.c cmd->resp[1] = checksum << 24; checksum 1830 drivers/mmc/host/vub300.c u8 checksum = 0x00; checksum 1831 drivers/mmc/host/vub300.c cmd->resp[1] = checksum << 24; checksum 1872 drivers/mmc/host/vub300.c u8 checksum = 0x00; checksum 1878 drivers/mmc/host/vub300.c cmd->resp[1] = checksum << 24; checksum 35 drivers/mtd/parsers/afs.c u32 checksum; /* Just this structure */ checksum 48 drivers/mtd/parsers/afs.c u32 checksum; /* Image checksum (inc. this struct) */ checksum 26 drivers/mtd/parsers/ar7part.c unsigned int checksum; checksum 63 drivers/mtd/parsers/ar7part.c if (header.checksum == LOADER_MAGIC1) checksum 65 drivers/mtd/parsers/ar7part.c if (header.checksum == LOADER_MAGIC2) checksum 77 drivers/mtd/parsers/ar7part.c switch (header.checksum) { checksum 96 drivers/mtd/parsers/ar7part.c printk(KERN_WARNING "Unknown magic: %08x\n", header.checksum); checksum 101 drivers/mtd/parsers/ar7part.c if (header.checksum != SQUASHFS_MAGIC) { checksum 97 drivers/net/can/softing/softing_fw.c uint16_t checksum[2]; checksum 123 drivers/net/can/softing/softing_fw.c checksum[0] = le16_to_cpup((void *)end); checksum 124 drivers/net/can/softing/softing_fw.c for (checksum[1] = 0; mem < end; ++mem) checksum 125 drivers/net/can/softing/softing_fw.c checksum[1] += *mem; checksum 126 drivers/net/can/softing/softing_fw.c if (checksum[0] != checksum[1]) checksum 160 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c __le16 checksum; checksum 95 drivers/net/can/usb/mcba_usb.c u8 checksum; checksum 582 drivers/net/ethernet/3com/3c515.c unsigned int eeprom[0x40], checksum = 0; /* EEPROM contents */ checksum 645 drivers/net/ethernet/3com/3c515.c checksum ^= eeprom[i]; checksum 649 drivers/net/ethernet/3com/3c515.c checksum = (checksum ^ (checksum >> 8)) & 0xff; checksum 650 drivers/net/ethernet/3com/3c515.c if (checksum != 0x00) checksum 651 drivers/net/ethernet/3com/3c515.c pr_cont(" ***INVALID CHECKSUM %4.4x*** ", checksum); checksum 1093 drivers/net/ethernet/3com/3c59x.c unsigned int eeprom[0x40], checksum = 0; /* EEPROM contents */ checksum 1277 drivers/net/ethernet/3com/3c59x.c checksum ^= eeprom[i]; checksum 1278 drivers/net/ethernet/3com/3c59x.c checksum = (checksum ^ (checksum >> 8)) & 0xff; checksum 1279 drivers/net/ethernet/3com/3c59x.c if (checksum != 0x00) { /* Grrr, needless incompatible change 3Com. */ checksum 1281 drivers/net/ethernet/3com/3c59x.c checksum ^= eeprom[i++]; checksum 1282 drivers/net/ethernet/3com/3c59x.c checksum = (checksum ^ (checksum >> 8)) & 0xff; checksum 1284 drivers/net/ethernet/3com/3c59x.c if ((checksum != 0x00) && !(vci->drv_flags & IS_TORNADO)) checksum 1285 drivers/net/ethernet/3com/3c59x.c pr_cont(" ***INVALID CHECKSUM %4.4x*** ", checksum); checksum 525 drivers/net/ethernet/3com/typhoon.h u16 checksum; checksum 206 drivers/net/ethernet/8390/smc-ultra.c int checksum = 0; checksum 230 drivers/net/ethernet/8390/smc-ultra.c checksum += inb(ioaddr + 8 + i); checksum 231 drivers/net/ethernet/8390/smc-ultra.c if ((checksum & 0xff) != 0xFF) { checksum 168 drivers/net/ethernet/8390/wd.c int checksum = 0; checksum 176 drivers/net/ethernet/8390/wd.c checksum += inb(ioaddr + 8 + i); checksum 179 drivers/net/ethernet/8390/wd.c || (checksum & 0xff) != 0xFF) checksum 458 drivers/net/ethernet/alacritech/slic.h __le32 checksum; checksum 199 drivers/net/ethernet/apple/macmace.c unsigned char checksum = 0; checksum 231 drivers/net/ethernet/apple/macmace.c checksum ^= v; checksum 235 drivers/net/ethernet/apple/macmace.c checksum ^= bitrev8(addr[j<<4]); checksum 238 drivers/net/ethernet/apple/macmace.c if (checksum != 0xFF) { checksum 7703 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h __le32 checksum; checksum 108 drivers/net/ethernet/cisco/enic/cq_enet_desc.h u8 *vlan_stripped, u16 *vlan_tci, u16 *checksum, u8 *fcoe_sof, checksum 163 drivers/net/ethernet/cisco/enic/cq_enet_desc.h *checksum = 0; checksum 169 drivers/net/ethernet/cisco/enic/cq_enet_desc.h *checksum = le16_to_cpu(desc->checksum_fcoe); checksum 1342 drivers/net/ethernet/cisco/enic/enic_main.c u16 q_number, completed_index, bytes_written, vlan_tci, checksum; checksum 1355 drivers/net/ethernet/cisco/enic/enic_main.c &packet_error, &vlan_stripped, &vlan_tci, &checksum, checksum 79 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c u8 *val, checksum = 0; checksum 84 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c checksum ^= val[idx]; checksum 86 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c return checksum; checksum 178 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c u8 checksum = 0; checksum 182 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c checksum ^= ((val >> idx) & 0xF); checksum 184 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c return (checksum & 0xF); checksum 765 drivers/net/ethernet/intel/e100.c u16 addr, addr_len = 8, checksum = 0; checksum 774 drivers/net/ethernet/intel/e100.c checksum += le16_to_cpu(nic->eeprom[addr]); checksum 779 drivers/net/ethernet/intel/e100.c if (cpu_to_le16(0xBABA - checksum) != nic->eeprom[nic->eeprom_wc - 1]) { checksum 791 drivers/net/ethernet/intel/e100.c u16 addr, addr_len = 8, checksum = 0; checksum 806 drivers/net/ethernet/intel/e100.c checksum += le16_to_cpu(nic->eeprom[addr]); checksum 807 drivers/net/ethernet/intel/e100.c nic->eeprom[nic->eeprom_wc - 1] = cpu_to_le16(0xBABA - checksum); checksum 793 drivers/net/ethernet/intel/e1000/e1000_ethtool.c u16 checksum = 0; checksum 803 drivers/net/ethernet/intel/e1000/e1000_ethtool.c checksum += temp; checksum 807 drivers/net/ethernet/intel/e1000/e1000_ethtool.c if ((checksum != (u16)EEPROM_SUM) && !(*data)) checksum 3968 drivers/net/ethernet/intel/e1000/e1000_hw.c u16 checksum = 0; checksum 3976 drivers/net/ethernet/intel/e1000/e1000_hw.c checksum += eeprom_data; checksum 3985 drivers/net/ethernet/intel/e1000/e1000_hw.c if (checksum == (u16)EEPROM_SUM) checksum 4002 drivers/net/ethernet/intel/e1000/e1000_hw.c u16 checksum = 0; checksum 4010 drivers/net/ethernet/intel/e1000/e1000_hw.c checksum += eeprom_data; checksum 4012 drivers/net/ethernet/intel/e1000/e1000_hw.c checksum = (u16)EEPROM_SUM - checksum; checksum 4013 drivers/net/ethernet/intel/e1000/e1000_hw.c if (e1000_write_eeprom(hw, EEPROM_CHECKSUM_REG, 1, &checksum) < 0) { checksum 312 drivers/net/ethernet/intel/e1000/e1000_hw.h u8 checksum; checksum 329 drivers/net/ethernet/intel/e1000/e1000_hw.h u8 checksum; checksum 342 drivers/net/ethernet/intel/e1000/e1000_hw.h u8 checksum; checksum 2110 drivers/net/ethernet/intel/e1000/e1000_hw.h u8 checksum; checksum 951 drivers/net/ethernet/intel/e1000e/ethtool.c u16 checksum = 0; checksum 961 drivers/net/ethernet/intel/e1000e/ethtool.c checksum += temp; checksum 965 drivers/net/ethernet/intel/e1000e/ethtool.c if ((checksum != (u16)NVM_SUM) && !(*data)) checksum 415 drivers/net/ethernet/intel/e1000e/hw.h u8 checksum; checksum 423 drivers/net/ethernet/intel/e1000e/hw.h u8 checksum; checksum 435 drivers/net/ethernet/intel/e1000e/hw.h u8 checksum; checksum 123 drivers/net/ethernet/intel/e1000e/manage.c hdr_csum = hdr->checksum; checksum 124 drivers/net/ethernet/intel/e1000e/manage.c hdr->checksum = 0; checksum 157 drivers/net/ethernet/intel/e1000e/manage.c hdr->checksum = e1000_calculate_checksum((u8 *)hdr, length); checksum 259 drivers/net/ethernet/intel/e1000e/manage.c hdr.checksum = 0; checksum 268 drivers/net/ethernet/intel/e1000e/manage.c sizeof(hdr), &(hdr.checksum)); checksum 549 drivers/net/ethernet/intel/e1000e/nvm.c u16 checksum = 0; checksum 558 drivers/net/ethernet/intel/e1000e/nvm.c checksum += nvm_data; checksum 561 drivers/net/ethernet/intel/e1000e/nvm.c if (checksum != (u16)NVM_SUM) { checksum 580 drivers/net/ethernet/intel/e1000e/nvm.c u16 checksum = 0; checksum 589 drivers/net/ethernet/intel/e1000e/nvm.c checksum += nvm_data; checksum 591 drivers/net/ethernet/intel/e1000e/nvm.c checksum = (u16)NVM_SUM - checksum; checksum 592 drivers/net/ethernet/intel/e1000e/nvm.c ret_val = e1000_write_nvm(hw, NVM_CHECKSUM_REG, 1, &checksum); checksum 595 drivers/net/ethernet/intel/i40e/i40e_nvm.c u16 *checksum) checksum 660 drivers/net/ethernet/intel/i40e/i40e_nvm.c *checksum = (u16)I40E_SR_SW_CHECKSUM_BASE - checksum_local; checksum 678 drivers/net/ethernet/intel/i40e/i40e_nvm.c u16 checksum; checksum 681 drivers/net/ethernet/intel/i40e/i40e_nvm.c ret_code = i40e_calc_nvm_checksum(hw, &checksum); checksum 682 drivers/net/ethernet/intel/i40e/i40e_nvm.c le_sum = cpu_to_le16(checksum); checksum 699 drivers/net/ethernet/intel/i40e/i40e_nvm.c u16 *checksum) checksum 726 drivers/net/ethernet/intel/i40e/i40e_nvm.c if (checksum) checksum 727 drivers/net/ethernet/intel/i40e/i40e_nvm.c *checksum = checksum_local; checksum 326 drivers/net/ethernet/intel/i40e/i40e_prototype.h u16 *checksum); checksum 1179 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h __le16 checksum; /* Used only by response */ checksum 345 drivers/net/ethernet/intel/ice/ice_nvm.c if (le16_to_cpu(cmd->checksum) != ICE_AQC_NVM_CHECKSUM_CORRECT) checksum 2365 drivers/net/ethernet/intel/igb/e1000_82575.c u16 checksum = 0; checksum 2374 drivers/net/ethernet/intel/igb/e1000_82575.c checksum += nvm_data; checksum 2377 drivers/net/ethernet/intel/igb/e1000_82575.c if (checksum != (u16) NVM_SUM) { checksum 2400 drivers/net/ethernet/intel/igb/e1000_82575.c u16 checksum = 0; checksum 2409 drivers/net/ethernet/intel/igb/e1000_82575.c checksum += nvm_data; checksum 2411 drivers/net/ethernet/intel/igb/e1000_82575.c checksum = (u16) NVM_SUM - checksum; checksum 2413 drivers/net/ethernet/intel/igb/e1000_82575.c &checksum); checksum 258 drivers/net/ethernet/intel/igb/e1000_hw.h u8 checksum; checksum 266 drivers/net/ethernet/intel/igb/e1000_hw.h u8 checksum; checksum 278 drivers/net/ethernet/intel/igb/e1000_hw.h u8 checksum; checksum 575 drivers/net/ethernet/intel/igb/e1000_i210.c u16 checksum = 0; checksum 601 drivers/net/ethernet/intel/igb/e1000_i210.c checksum += nvm_data; checksum 603 drivers/net/ethernet/intel/igb/e1000_i210.c checksum = (u16) NVM_SUM - checksum; checksum 605 drivers/net/ethernet/intel/igb/e1000_i210.c &checksum); checksum 627 drivers/net/ethernet/intel/igb/e1000_nvm.c u16 checksum = 0; checksum 636 drivers/net/ethernet/intel/igb/e1000_nvm.c checksum += nvm_data; checksum 639 drivers/net/ethernet/intel/igb/e1000_nvm.c if (checksum != (u16) NVM_SUM) { checksum 660 drivers/net/ethernet/intel/igb/e1000_nvm.c u16 checksum = 0; checksum 669 drivers/net/ethernet/intel/igb/e1000_nvm.c checksum += nvm_data; checksum 671 drivers/net/ethernet/intel/igb/e1000_nvm.c checksum = (u16) NVM_SUM - checksum; checksum 672 drivers/net/ethernet/intel/igb/e1000_nvm.c ret_val = hw->nvm.ops.write(hw, NVM_CHECKSUM_REG, 1, &checksum); checksum 5801 drivers/net/ethernet/intel/igb/igb_main.c case offsetof(struct sctphdr, checksum): checksum 2099 drivers/net/ethernet/intel/igbvf/netdev.c case offsetof(struct sctphdr, checksum): checksum 399 drivers/net/ethernet/intel/igc/igc_i225.c u16 checksum = 0; checksum 429 drivers/net/ethernet/intel/igc/igc_i225.c checksum += nvm_data; checksum 431 drivers/net/ethernet/intel/igc/igc_i225.c checksum = (u16)NVM_SUM - checksum; checksum 433 drivers/net/ethernet/intel/igc/igc_i225.c &checksum); checksum 864 drivers/net/ethernet/intel/igc/igc_main.c case offsetof(struct sctphdr, checksum): checksum 163 drivers/net/ethernet/intel/igc/igc_nvm.c u16 checksum = 0; checksum 173 drivers/net/ethernet/intel/igc/igc_nvm.c checksum += nvm_data; checksum 176 drivers/net/ethernet/intel/igc/igc_nvm.c if (checksum != (u16)NVM_SUM) { checksum 196 drivers/net/ethernet/intel/igc/igc_nvm.c u16 checksum = 0; checksum 206 drivers/net/ethernet/intel/igc/igc_nvm.c checksum += nvm_data; checksum 208 drivers/net/ethernet/intel/igc/igc_nvm.c checksum = (u16)NVM_SUM - checksum; checksum 209 drivers/net/ethernet/intel/igc/igc_nvm.c ret_val = hw->nvm.ops.write(hw, NVM_CHECKSUM_REG, 1, &checksum); checksum 307 drivers/net/ethernet/intel/ixgb/ixgb_ee.c u16 checksum = 0; checksum 311 drivers/net/ethernet/intel/ixgb/ixgb_ee.c checksum += ixgb_read_eeprom(hw, i); checksum 313 drivers/net/ethernet/intel/ixgb/ixgb_ee.c if (checksum == (u16) EEPROM_SUM) checksum 330 drivers/net/ethernet/intel/ixgb/ixgb_ee.c u16 checksum = 0; checksum 334 drivers/net/ethernet/intel/ixgb/ixgb_ee.c checksum += ixgb_read_eeprom(hw, i); checksum 336 drivers/net/ethernet/intel/ixgb/ixgb_ee.c checksum = (u16) EEPROM_SUM - checksum; checksum 338 drivers/net/ethernet/intel/ixgb/ixgb_ee.c ixgb_write_eeprom(hw, EEPROM_CHECKSUM_REG, checksum); checksum 443 drivers/net/ethernet/intel/ixgb/ixgb_ee.c u16 checksum = 0; checksum 454 drivers/net/ethernet/intel/ixgb/ixgb_ee.c checksum += ee_data; checksum 458 drivers/net/ethernet/intel/ixgb/ixgb_ee.c if (checksum != (u16) EEPROM_SUM) { checksum 67 drivers/net/ethernet/intel/ixgb/ixgb_ee.h __le16 checksum; checksum 1700 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u16 checksum = 0; checksum 1711 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c checksum += word; checksum 1738 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c checksum += word; checksum 1742 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c checksum = (u16)IXGBE_EEPROM_SUM - checksum; checksum 1744 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c return (s32)checksum; checksum 1759 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u16 checksum; checksum 1767 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c status = hw->eeprom.ops.read(hw, 0, &checksum); checksum 1777 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c checksum = (u16)(status & 0xffff); checksum 1788 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (read_checksum != checksum) checksum 1793 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c *checksum_val = checksum; checksum 1805 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u16 checksum; checksum 1812 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c status = hw->eeprom.ops.read(hw, 0, &checksum); checksum 1822 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c checksum = (u16)(status & 0xffff); checksum 1824 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c status = hw->eeprom.ops.write(hw, IXGBE_EEPROM_CHECKSUM, checksum); checksum 3771 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c fw_cmd.hdr.checksum = 0; checksum 3774 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c fw_cmd.hdr.checksum = ixgbe_calculate_checksum((u8 *)&fw_cmd, checksum 8079 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c case offsetof(struct sctphdr, checksum): checksum 2735 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h u8 checksum; checksum 2742 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h u8 checksum; checksum 2749 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h u8 checksum; checksum 310 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c u16 checksum = 0; checksum 329 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c checksum += word; checksum 366 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c checksum += word; checksum 370 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c checksum = (u16)IXGBE_EEPROM_SUM - checksum; checksum 372 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c return (s32)checksum; checksum 387 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c u16 checksum; checksum 394 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c status = hw->eeprom.ops.read(hw, 0, &checksum); checksum 407 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c checksum = (u16)(status & 0xffff); checksum 420 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c if (read_checksum != checksum) { checksum 427 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c *checksum_val = checksum; checksum 446 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c u16 checksum; checksum 452 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c status = hw->eeprom.ops.read(hw, 0, &checksum); checksum 465 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c checksum = (u16)(status & 0xffff); checksum 470 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c status = ixgbe_write_eewr_generic(hw, IXGBE_EEPROM_CHECKSUM, checksum); checksum 445 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c hic.cmd.hdr.checksum = FW_DEFAULT_CHECKSUM; checksum 741 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c token_cmd.hdr.checksum = FW_DEFAULT_CHECKSUM; checksum 770 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c token_cmd.hdr.checksum = FW_DEFAULT_CHECKSUM; checksum 800 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c write_cmd.hdr.checksum = FW_DEFAULT_CHECKSUM; checksum 830 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c hic.cmd.hdr.checksum = FW_DEFAULT_CHECKSUM; checksum 878 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.hdr.req.checksum = FW_DEFAULT_CHECKSUM; checksum 998 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c u16 checksum = 0; checksum 1024 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c checksum += local_buffer[i]; checksum 1053 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c status = ixgbe_checksum_ptr_x550(hw, pointer, size, &checksum, checksum 1059 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c checksum = (u16)IXGBE_EEPROM_SUM - checksum; checksum 1061 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c return (s32)checksum; checksum 1090 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.hdr.req.checksum = FW_DEFAULT_CHECKSUM; checksum 1123 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c u16 checksum; checksum 1130 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c status = hw->eeprom.ops.read(hw, 0, &checksum); checksum 1140 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c checksum = (u16)(status & 0xffff); checksum 1150 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c if (read_checksum != checksum) { checksum 1157 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c *checksum_val = checksum; checksum 1178 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.hdr.req.checksum = FW_DEFAULT_CHECKSUM; checksum 1225 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c buffer.req.checksum = FW_DEFAULT_CHECKSUM; checksum 1287 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c fw_cmd.hdr.checksum = FW_DEFAULT_CHECKSUM; checksum 1315 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c u16 checksum = 0; checksum 1321 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c status = ixgbe_read_ee_hostif_X550(hw, 0, &checksum); checksum 1331 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c checksum = (u16)(status & 0xffff); checksum 1334 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c checksum); checksum 2788 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c fw_cmd.hdr.checksum = 0; checksum 2790 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c fw_cmd.hdr.checksum = ixgbe_calculate_checksum((u8 *)&fw_cmd, checksum 3863 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c case offsetof(struct sctphdr, checksum): checksum 643 drivers/net/ethernet/mellanox/mlx4/en_rx.c hw_checksum = csum_unfold((__force __sum16)cqe->checksum); checksum 843 drivers/net/ethernet/mellanox/mlx4/en_rx.c cqe->checksum == cpu_to_be16(0xffff)) { checksum 120 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c title->check_sum = mini_cqe->checksum; checksum 409 drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5_ifc_dr.h u8 checksum[0x10]; checksum 446 drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5_ifc_dr.h u8 checksum[0x10]; checksum 511 drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5_ifc_dr.h u8 checksum[0x10]; checksum 1467 drivers/net/ethernet/myricom/myri10ge/myri10ge.c __wsum checksum; checksum 1472 drivers/net/ethernet/myricom/myri10ge/myri10ge.c checksum = csum_unfold(rx_done->entry[idx].checksum); checksum 1473 drivers/net/ethernet/myricom/myri10ge/myri10ge.c rx_ok = myri10ge_rx_done(ss, length, checksum); checksum 16 drivers/net/ethernet/myricom/myri10ge/myri10ge_mcp.h __sum16 checksum; checksum 1312 drivers/net/ethernet/qlogic/netxen/netxen_nic.h u32 checksum; checksum 522 drivers/net/ethernet/qlogic/qla3xxx.c u16 checksum = 0; checksum 540 drivers/net/ethernet/qlogic/qla3xxx.c checksum += *pEEPROMData; checksum 545 drivers/net/ethernet/qlogic/qla3xxx.c if (checksum != 0) { checksum 547 drivers/net/ethernet/qlogic/qla3xxx.c checksum); checksum 553 drivers/net/ethernet/qlogic/qla3xxx.c return checksum; checksum 2086 drivers/net/ethernet/qlogic/qla3xxx.c u16 checksum = le16_to_cpu(ib_ip_rsp_ptr->checksum); checksum 2087 drivers/net/ethernet/qlogic/qla3xxx.c if (checksum & checksum 2093 drivers/net/ethernet/qlogic/qla3xxx.c ((checksum & IB_IP_IOCB_RSP_3032_TCP) ? checksum 2094 drivers/net/ethernet/qlogic/qla3xxx.c "TCP" : "UDP"), checksum); checksum 2095 drivers/net/ethernet/qlogic/qla3xxx.c } else if ((checksum & IB_IP_IOCB_RSP_3032_TCP) || checksum 2096 drivers/net/ethernet/qlogic/qla3xxx.c (checksum & IB_IP_IOCB_RSP_3032_UDP && checksum 2097 drivers/net/ethernet/qlogic/qla3xxx.c !(checksum & IB_IP_IOCB_RSP_3032_NUC))) { checksum 167 drivers/net/ethernet/qlogic/qla3xxx.h __le16 checksum; checksum 917 drivers/net/ethernet/qlogic/qla3xxx.h u16 checksum; checksum 247 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h u16 checksum; checksum 415 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h u32 checksum; checksum 432 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h u32 checksum; checksum 54 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c u16 checksum; checksum 62 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c u16 checksum; checksum 53 drivers/net/ethernet/realtek/r8169_firmware.c u8 checksum = 0; checksum 59 drivers/net/ethernet/realtek/r8169_firmware.c checksum += fw->data[i]; checksum 60 drivers/net/ethernet/realtek/r8169_firmware.c if (checksum != 0) checksum 260 drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.c struct sxgbe_extra_stats *x, int *checksum) checksum 264 drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.c *checksum = CHECKSUM_UNNECESSARY; checksum 284 drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.c *checksum = CHECKSUM_NONE; checksum 288 drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.c *checksum = CHECKSUM_NONE; checksum 272 drivers/net/ethernet/samsung/sxgbe/sxgbe_desc.h struct sxgbe_extra_stats *x, int *checksum); checksum 1482 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c int checksum; checksum 1505 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c &checksum); checksum 1511 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c checksum = CHECKSUM_NONE; checksum 1525 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c skb->ip_summed = checksum; checksum 1526 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c if (checksum == CHECKSUM_NONE) checksum 323 drivers/net/ethernet/tehuti/tehuti.h #define TXD_W1_VAL(bc, checksum, vtag, lgsnd, vlan_id) \ checksum 324 drivers/net/ethernet/tehuti/tehuti.h ((bc) | ((checksum)<<5) | ((vtag)<<8) | \ checksum 798 drivers/net/hamradio/6pack.c unsigned char checksum = 0, buf[400]; checksum 809 drivers/net/hamradio/6pack.c checksum += buf[count]; checksum 810 drivers/net/hamradio/6pack.c buf[length] = (unsigned char) 0xff - checksum; checksum 906 drivers/net/hamradio/6pack.c unsigned char checksum = 0, rest = 0; checksum 930 drivers/net/hamradio/6pack.c checksum += sp->cooked_buf[i]; checksum 931 drivers/net/hamradio/6pack.c if (checksum != SIXP_CHKSUM) { checksum 932 drivers/net/hamradio/6pack.c printk(KERN_DEBUG "6pack: bad checksum %2.2x\n", checksum); checksum 198 drivers/net/plip/plip.c unsigned char checksum; checksum 640 drivers/net/plip/plip.c rcv->checksum = 0; checksum 651 drivers/net/plip/plip.c rcv->checksum += lbuf[--rcv->byte]; checksum 660 drivers/net/plip/plip.c if (rcv->data != rcv->checksum) { checksum 825 drivers/net/plip/plip.c snd->checksum = 0; checksum 835 drivers/net/plip/plip.c snd->checksum += lbuf[--snd->byte]; checksum 842 drivers/net/plip/plip.c &snd->nibble, snd->checksum)) checksum 1974 drivers/net/usb/r8152.c u8 checksum = CHECKSUM_NONE; checksum 1985 drivers/net/usb/r8152.c checksum = CHECKSUM_NONE; checksum 1987 drivers/net/usb/r8152.c checksum = CHECKSUM_UNNECESSARY; checksum 1989 drivers/net/usb/r8152.c checksum = CHECKSUM_UNNECESSARY; checksum 1992 drivers/net/usb/r8152.c checksum = CHECKSUM_UNNECESSARY; checksum 1994 drivers/net/usb/r8152.c checksum = CHECKSUM_UNNECESSARY; checksum 1998 drivers/net/usb/r8152.c return checksum; checksum 192 drivers/net/wimax/i2400m/fw.c u32 checksum = 0; checksum 195 drivers/net/wimax/i2400m/fw.c checksum += cpu_to_le32(*checksum_ptr++); checksum 196 drivers/net/wimax/i2400m/fw.c checksum += cmd->command + cmd->target_addr + cmd->data_size; checksum 197 drivers/net/wimax/i2400m/fw.c cmd->block_checksum = cpu_to_le32(checksum); checksum 533 drivers/net/wireless/admtek/adm8211.h __le16 checksum; /* 0x7E */ checksum 2933 drivers/net/wireless/ath/ath10k/pci.c u16 checksum = 0; checksum 2940 drivers/net/wireless/ath/ath10k/pci.c checksum ^= le16_to_cpu(cal_words[i]); checksum 2942 drivers/net/wireless/ath/ath10k/pci.c return checksum == 0xffff; checksum 3133 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c int it, checksum = 0; checksum 3136 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c checksum += data[it]; checksum 3137 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c checksum &= 0xffff; checksum 3140 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c return checksum; checksum 3277 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c u16 checksum, mchecksum; checksum 3362 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c checksum = ar9300_comp_cksum(&word[COMP_HDR_LEN], length); checksum 3365 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c checksum, mchecksum); checksum 3366 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c if (checksum == mchecksum) { checksum 30 drivers/net/wireless/ath/ath9k/ar9003_mac.c int checksum = 0; checksum 41 drivers/net/wireless/ath/ath9k/ar9003_mac.c checksum += val; checksum 44 drivers/net/wireless/ath/ath9k/ar9003_mac.c checksum += i->link; checksum 47 drivers/net/wireless/ath/ath9k/ar9003_mac.c checksum += i->buf_addr[0]; checksum 49 drivers/net/wireless/ath/ath9k/ar9003_mac.c checksum += i->buf_addr[1]; checksum 51 drivers/net/wireless/ath/ath9k/ar9003_mac.c checksum += i->buf_addr[2]; checksum 53 drivers/net/wireless/ath/ath9k/ar9003_mac.c checksum += i->buf_addr[3]; checksum 56 drivers/net/wireless/ath/ath9k/ar9003_mac.c checksum += (val = (i->buf_len[0] << AR_BufLen_S) & AR_BufLen); checksum 58 drivers/net/wireless/ath/ath9k/ar9003_mac.c checksum += (val = (i->buf_len[1] << AR_BufLen_S) & AR_BufLen); checksum 60 drivers/net/wireless/ath/ath9k/ar9003_mac.c checksum += (val = (i->buf_len[2] << AR_BufLen_S) & AR_BufLen); checksum 62 drivers/net/wireless/ath/ath9k/ar9003_mac.c checksum += (val = (i->buf_len[3] << AR_BufLen_S) & AR_BufLen); checksum 65 drivers/net/wireless/ath/ath9k/ar9003_mac.c checksum = (u16) (((checksum & 0xffff) + (checksum >> 16)) & 0xffff); checksum 66 drivers/net/wireless/ath/ath9k/ar9003_mac.c WRITE_ONCE(ads->ctl10, checksum); checksum 162 drivers/net/wireless/ath/ath9k/ar9003_mac.c int checksum; checksum 164 drivers/net/wireless/ath/ath9k/ar9003_mac.c checksum = ads->info + ads->link checksum 170 drivers/net/wireless/ath/ath9k/ar9003_mac.c return ((checksum & 0xffff) + (checksum >> 16)) & AR_TxPtrChkSum; checksum 285 drivers/net/wireless/ath/ath9k/eeprom.h __le16 checksum; checksum 315 drivers/net/wireless/ath/ath9k/eeprom.h __le16 checksum; checksum 455 drivers/net/wireless/ath/ath9k/eeprom.h __le16 checksum; checksum 147 drivers/net/wireless/ath/ath9k/eeprom_4k.c PR_EEP("Checksum", le16_to_cpu(pBase->checksum)); checksum 208 drivers/net/wireless/ath/ath9k/eeprom_4k.c EEPROM_FIELD_SWAB16(eep->baseEepHeader.checksum); checksum 143 drivers/net/wireless/ath/ath9k/eeprom_9287.c PR_EEP("Checksum", le16_to_cpu(pBase->checksum)); checksum 206 drivers/net/wireless/ath/ath9k/eeprom_9287.c EEPROM_FIELD_SWAB16(eep->baseEepHeader.checksum); checksum 225 drivers/net/wireless/ath/ath9k/eeprom_def.c PR_EEP("Checksum", le16_to_cpu(pBase->checksum)); checksum 289 drivers/net/wireless/ath/ath9k/eeprom_def.c EEPROM_FIELD_SWAB16(eep->baseEepHeader.checksum); checksum 128 drivers/net/wireless/ath/carl9170/eeprom.h __le16 checksum; checksum 1337 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c u16 len, checksum; checksum 1345 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c checksum = get_unaligned_le16(header + sizeof(u16)); checksum 1347 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c if (!(len | checksum)) { checksum 1351 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c if ((u16)(~(len ^ checksum))) { checksum 19 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c __be16 checksum; checksum 457 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c u16 checksum = 0; checksum 463 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c checksum = checksum ^ le16_to_cpu(*(ptr + index)); checksum 464 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c set_tx_desc_tx_desc_checksum(txdesc, checksum); checksum 195 drivers/net/wireless/ti/wl18xx/debugfs.c header.checksum = 0; checksum 2051 drivers/net/wireless/ti/wl18xx/main.c module_param_named(checksum, checksum_param, bool, 0400); checksum 2052 drivers/net/wireless/ti/wl18xx/main.c MODULE_PARM_DESC(checksum, "Enable TCP checksum: boolean (defaults to false)"); checksum 1127 drivers/net/wireless/ti/wlcore/conf.h __le32 checksum; checksum 253 drivers/nfc/pn533/pn533.c u8 checksum; checksum 263 drivers/nfc/pn533/pn533.c checksum = pn533_std_checksum(stdf->datalen); checksum 264 drivers/nfc/pn533/pn533.c if (checksum != stdf->datalen_checksum) checksum 267 drivers/nfc/pn533/pn533.c checksum = pn533_std_data_checksum(stdf->data, stdf->datalen); checksum 268 drivers/nfc/pn533/pn533.c if (checksum != PN533_STD_FRAME_CHECKSUM(stdf)) checksum 276 drivers/nfc/pn533/pn533.c checksum = pn533_ext_checksum(be16_to_cpu(eif->datalen)); checksum 277 drivers/nfc/pn533/pn533.c if (checksum != eif->datalen_checksum) checksum 281 drivers/nfc/pn533/pn533.c checksum = pn533_std_data_checksum(eif->data, checksum 283 drivers/nfc/pn533/pn533.c if (checksum != PN533_EXT_FRAME_CHECKSUM(eif)) checksum 573 drivers/nfc/port100.c u8 checksum; checksum 580 drivers/nfc/port100.c checksum = port100_checksum(le16_to_cpu(frame->datalen)); checksum 581 drivers/nfc/port100.c if (checksum != frame->datalen_checksum) checksum 584 drivers/nfc/port100.c checksum = port100_data_checksum(frame->data, checksum 586 drivers/nfc/port100.c if (checksum != PORT100_FRAME_CHECKSUM(frame)) checksum 85 drivers/nfc/s3fwrn5/nci.c u32 checksum; checksum 95 drivers/nfc/s3fwrn5/nci.c checksum = 0; checksum 97 drivers/nfc/s3fwrn5/nci.c checksum += *((u32 *)(fw->data+i)); checksum 140 drivers/nfc/s3fwrn5/nci.c stop_rfreg.checksum = checksum & 0xffff; checksum 54 drivers/nfc/s3fwrn5/nci.h __u16 checksum; checksum 1013 drivers/nvdimm/btt.c super->checksum = cpu_to_le64(sum); checksum 115 drivers/nvdimm/btt.h __le64 checksum; checksum 248 drivers/nvdimm/btt_devs.c u64 checksum; checksum 257 drivers/nvdimm/btt_devs.c checksum = le64_to_cpu(super->checksum); checksum 258 drivers/nvdimm/btt_devs.c super->checksum = 0; checksum 259 drivers/nvdimm/btt_devs.c if (checksum != nd_sb_checksum((struct nd_gen_sb *) super)) checksum 261 drivers/nvdimm/btt_devs.c super->checksum = cpu_to_le64(checksum); checksum 243 drivers/nvdimm/claim.c sum_save = nd_gen_sb->checksum; checksum 244 drivers/nvdimm/claim.c nd_gen_sb->checksum = 0; checksum 246 drivers/nvdimm/claim.c nd_gen_sb->checksum = sum_save; checksum 151 drivers/nvdimm/label.c sum_save = __le64_to_cpu(nsindex[i]->checksum); checksum 152 drivers/nvdimm/label.c nsindex[i]->checksum = __cpu_to_le64(0); checksum 154 drivers/nvdimm/label.c nsindex[i]->checksum = __cpu_to_le64(sum_save); checksum 357 drivers/nvdimm/label.c if (namespace_label_has(ndd, checksum)) { checksum 360 drivers/nvdimm/label.c sum_save = __le64_to_cpu(nd_label->checksum); checksum 361 drivers/nvdimm/label.c nd_label->checksum = __cpu_to_le64(0); checksum 363 drivers/nvdimm/label.c nd_label->checksum = __cpu_to_le64(sum_save); checksum 643 drivers/nvdimm/label.c u64 checksum; checksum 674 drivers/nvdimm/label.c nsindex->checksum = __cpu_to_le64(0); checksum 684 drivers/nvdimm/label.c checksum = nd_fletcher64(nsindex, sizeof_namespace_index(ndd), 1); checksum 685 drivers/nvdimm/label.c nsindex->checksum = __cpu_to_le64(checksum); checksum 816 drivers/nvdimm/label.c if (namespace_label_has(ndd, checksum)) { checksum 819 drivers/nvdimm/label.c nd_label->checksum = __cpu_to_le64(0); checksum 821 drivers/nvdimm/label.c nd_label->checksum = __cpu_to_le64(sum); checksum 1045 drivers/nvdimm/label.c if (namespace_label_has(ndd, checksum)) { checksum 1048 drivers/nvdimm/label.c nd_label->checksum = __cpu_to_le64(0); checksum 1051 drivers/nvdimm/label.c nd_label->checksum = __cpu_to_le64(sum); checksum 64 drivers/nvdimm/label.h __le64 checksum; checksum 102 drivers/nvdimm/label.h __le64 checksum; checksum 263 drivers/nvdimm/nd.h __le64 checksum; checksum 36 drivers/nvdimm/pfn.h __le64 checksum; checksum 447 drivers/nvdimm/pfn_devs.c u64 checksum, offset; checksum 467 drivers/nvdimm/pfn_devs.c checksum = le64_to_cpu(pfn_sb->checksum); checksum 468 drivers/nvdimm/pfn_devs.c pfn_sb->checksum = 0; checksum 469 drivers/nvdimm/pfn_devs.c if (checksum != nd_sb_checksum((struct nd_gen_sb *) pfn_sb)) checksum 471 drivers/nvdimm/pfn_devs.c pfn_sb->checksum = cpu_to_le64(checksum); checksum 718 drivers/nvdimm/pfn_devs.c u64 checksum; checksum 796 drivers/nvdimm/pfn_devs.c checksum = nd_sb_checksum((struct nd_gen_sb *) pfn_sb); checksum 797 drivers/nvdimm/pfn_devs.c pfn_sb->checksum = cpu_to_le64(checksum); checksum 61 drivers/pci/endpoint/functions/pci-epf-test.c u32 checksum; checksum 175 drivers/pci/endpoint/functions/pci-epf-test.c if (crc32 != reg->checksum) checksum 225 drivers/pci/endpoint/functions/pci-epf-test.c reg->checksum = crc32_le(~0, buf, reg->size); checksum 1299 drivers/pcmcia/cistpl.c ret = parse_checksum(tuple, &parse->checksum); checksum 468 drivers/pcmcia/rsrc_nonstatic.c return do_mem_probe(s, m->base, m->num, readable, checksum); checksum 505 drivers/pcmcia/rsrc_nonstatic.c checksum); checksum 516 drivers/pcmcia/rsrc_nonstatic.c readable, checksum); checksum 544 drivers/pcmcia/rsrc_nonstatic.c ok += do_mem_probe(s, mm.base, mm.num, readable, checksum); checksum 495 drivers/platform/chrome/cros_ec_ishtp.c out_msg->ec_request.checksum, checksum 516 drivers/platform/chrome/cros_ec_ishtp.c in_msg->ec_response.checksum, checksum 192 drivers/platform/chrome/cros_ec_lpc.c response.checksum); checksum 231 drivers/platform/chrome/cros_ec_lpc.c args.checksum = sum; checksum 270 drivers/platform/chrome/cros_ec_lpc.c if (args.checksum != sum) { checksum 273 drivers/platform/chrome/cros_ec_lpc.c args.checksum, sum); checksum 32 drivers/platform/chrome/cros_ec_proto.c request->checksum = 0; checksum 46 drivers/platform/chrome/cros_ec_proto.c request->checksum = -csum; checksum 77 drivers/platform/chrome/wilco_ec/mailbox.c u8 checksum = 0; checksum 81 drivers/platform/chrome/wilco_ec/mailbox.c checksum += data_bytes[i]; checksum 83 drivers/platform/chrome/wilco_ec/mailbox.c return checksum; checksum 101 drivers/platform/chrome/wilco_ec/mailbox.c rq->checksum = wilco_ec_checksum(rq, sizeof(*rq)); checksum 102 drivers/platform/chrome/wilco_ec/mailbox.c rq->checksum += wilco_ec_checksum(msg->request_data, msg->request_size); checksum 103 drivers/platform/chrome/wilco_ec/mailbox.c rq->checksum = -rq->checksum; checksum 120 drivers/platform/chrome/wilco_ec/mailbox.c u8 checksum; checksum 152 drivers/platform/chrome/wilco_ec/mailbox.c checksum = cros_ec_lpc_io_bytes_mec(MEC_IO_READ, 0, checksum 155 drivers/platform/chrome/wilco_ec/mailbox.c if (checksum) { checksum 156 drivers/platform/chrome/wilco_ec/mailbox.c dev_dbg(ec->dev, "bad packet checksum 0x%02x\n", rs->checksum); checksum 900 drivers/platform/x86/asus-laptop.c snprintf(buf, 16, "%d", asus->dsdt_info->checksum); checksum 513 drivers/platform/x86/dcdbas.c if (checksum(addr, eps->length) != 0) checksum 102 drivers/platform/x86/dcdbas.h u8 checksum; checksum 282 drivers/pnp/isapnp/core.c unsigned char checksum = 0x6a; checksum 302 drivers/pnp/isapnp/core.c checksum = checksum 303 drivers/pnp/isapnp/core.c ((((checksum ^ (checksum >> 1)) & 0x01) ^ bit) << 7) checksum 304 drivers/pnp/isapnp/core.c | (checksum >> 1); checksum 315 drivers/pnp/isapnp/core.c if (checksum != 0x00 && checksum == chksum) { checksum 338 drivers/pnp/isapnp/core.c checksum = 0x6a; checksum 755 drivers/pnp/isapnp/core.c unsigned char checksum = 0x6a, bit, b; checksum 763 drivers/pnp/isapnp/core.c checksum = checksum 764 drivers/pnp/isapnp/core.c ((((checksum ^ (checksum >> 1)) & 0x01) ^ bit) << 7) checksum 765 drivers/pnp/isapnp/core.c | (checksum >> 1); checksum 768 drivers/pnp/isapnp/core.c return checksum; checksum 777 drivers/pnp/isapnp/core.c unsigned char header[9], checksum; checksum 787 drivers/pnp/isapnp/core.c checksum = isapnp_checksum(header); checksum 804 drivers/pnp/isapnp/core.c card->checksum = isapnp_checksum_value; checksum 135 drivers/pnp/pnpbios/pnpbios.h u8 checksum; /* all bytes must add up to 0 */ checksum 45 drivers/s390/char/zcore.c u32 checksum; checksum 278 drivers/s390/char/zcore.c ipib_info.checksum) { checksum 891 drivers/scsi/aic7xxx/aic79xx.h uint16_t checksum; /* word 31 */ checksum 924 drivers/scsi/aic7xxx/aic79xx.h uint8_t checksum; checksum 10090 drivers/scsi/aic7xxx/aic79xx_core.c uint32_t checksum; checksum 10095 drivers/scsi/aic7xxx/aic79xx_core.c checksum = 0; checksum 10097 drivers/scsi/aic7xxx/aic79xx_core.c checksum = checksum + vpdarray[i]; checksum 10098 drivers/scsi/aic7xxx/aic79xx_core.c if (checksum == 0 checksum 10099 drivers/scsi/aic7xxx/aic79xx_core.c || (-checksum & 0xFF) != vpd->vpd_checksum) checksum 10102 drivers/scsi/aic7xxx/aic79xx_core.c checksum = 0; checksum 10103 drivers/scsi/aic7xxx/aic79xx_core.c maxaddr = offsetof(struct vpd_config, checksum); checksum 10106 drivers/scsi/aic7xxx/aic79xx_core.c checksum = checksum + vpdarray[i]; checksum 10107 drivers/scsi/aic7xxx/aic79xx_core.c if (checksum == 0 checksum 10108 drivers/scsi/aic7xxx/aic79xx_core.c || (-checksum & 0xFF) != vpd->checksum) checksum 10118 drivers/scsi/aic7xxx/aic79xx_core.c uint32_t checksum; checksum 10122 drivers/scsi/aic7xxx/aic79xx_core.c checksum = 0; checksum 10126 drivers/scsi/aic7xxx/aic79xx_core.c checksum = checksum + scarray[i]; checksum 10127 drivers/scsi/aic7xxx/aic79xx_core.c if (checksum == 0 checksum 10128 drivers/scsi/aic7xxx/aic79xx_core.c || (checksum & 0xFFFF) != sc->checksum) { checksum 847 drivers/scsi/aic7xxx/aic7xxx.h uint16_t checksum; /* word 31 */ checksum 303 drivers/scsi/aic7xxx/aic7xxx_93cx6.c uint32_t checksum; checksum 307 drivers/scsi/aic7xxx/aic7xxx_93cx6.c checksum = 0; checksum 311 drivers/scsi/aic7xxx/aic7xxx_93cx6.c checksum = checksum + scarray[i]; checksum 312 drivers/scsi/aic7xxx/aic7xxx_93cx6.c if (checksum == 0 checksum 313 drivers/scsi/aic7xxx/aic7xxx_93cx6.c || (checksum & 0xFFFF) != sc->checksum) { checksum 403 drivers/scsi/aic94xx/aic94xx_init.c if ((csum & 0x0000ffff) != hdr_ptr->checksum) { checksum 83 drivers/scsi/aic94xx/aic94xx_sds.h u32 checksum; /*Entire file checksum with this field zero */ checksum 1089 drivers/scsi/esas2r/atvda.h u8 checksum; checksum 367 drivers/scsi/esas2r/esas2r.h u8 checksum; checksum 439 drivers/scsi/esas2r/esas2r.h u16 checksum; checksum 480 drivers/scsi/esas2r/esas2r.h u16 checksum; checksum 500 drivers/scsi/esas2r/esas2r.h u8 checksum; checksum 528 drivers/scsi/esas2r/esas2r.h u8 checksum; checksum 271 drivers/scsi/esas2r/esas2r_flash.c pi->checksum = pi->checksum - checksum 818 drivers/scsi/esas2r/esas2r_flash.c if (fi->checksum != calc_fi_checksum(fc)) { checksum 904 drivers/scsi/esas2r/esas2r_flash.c fsc->checksum, checksum 1296 drivers/scsi/esas2r/esas2r_flash.c n->checksum = n->checksum - esas2r_nvramcalc_cksum(n); checksum 1447 drivers/scsi/esas2r/esas2r_flash.c fi->checksum = calc_fi_checksum(fc); checksum 367 drivers/scsi/esas2r/esas2r_vda.c vrq->checksum = cksum; checksum 97 drivers/scsi/fnic/cq_enet_desc.h u8 *vlan_stripped, u16 *vlan, u16 *checksum, u8 *fcoe_sof, checksum 145 drivers/scsi/fnic/cq_enet_desc.h *checksum = 0; checksum 151 drivers/scsi/fnic/cq_enet_desc.h *checksum = le16_to_cpu(desc->checksum_fcoe); checksum 847 drivers/scsi/fnic/fnic_fcs.c u16 q_number, completed_index, bytes_written = 0, vlan, checksum; checksum 881 drivers/scsi/fnic/fnic_fcs.c &vlan_stripped, &vlan, &checksum, checksum 6422 drivers/scsi/ips.c uint8_t checksum; checksum 6441 drivers/scsi/ips.c checksum = 0xff; checksum 6448 drivers/scsi/ips.c checksum = (uint8_t) checksum + inb(ha->io_addr + IPS_REG_FLDP); checksum 6451 drivers/scsi/ips.c if (checksum != 0) checksum 6471 drivers/scsi/ips.c uint8_t checksum; checksum 6490 drivers/scsi/ips.c checksum = 0xff; checksum 6497 drivers/scsi/ips.c checksum = checksum 6498 drivers/scsi/ips.c (uint8_t) checksum + readb(ha->mem_ptr + IPS_REG_FLDP); checksum 6501 drivers/scsi/ips.c if (checksum != 0) checksum 167 drivers/scsi/isci/probe_roms.h u8 checksum; checksum 858 drivers/scsi/mvumi.c hs_header->checksum = mvumi_calculate_checksum(hs_header, checksum 866 drivers/scsi/mvumi.c hs_header->checksum = mvumi_calculate_checksum(hs_header, checksum 893 drivers/scsi/mvumi.c hs_header->checksum = mvumi_calculate_checksum(hs_header, checksum 1045 drivers/scsi/mvumi.c if (page_checksum != hs_header->checksum) { checksum 372 drivers/scsi/mvumi.h u8 checksum; checksum 399 drivers/scsi/mvumi.h u8 checksum; checksum 419 drivers/scsi/mvumi.h u8 checksum; checksum 436 drivers/scsi/mvumi.h u8 checksum; checksum 448 drivers/scsi/mvumi.h u8 checksum; checksum 1771 drivers/scsi/qla2xxx/qla_def.h uint8_t checksum; checksum 4536 drivers/scsi/qla2xxx/qla_def.h uint32_t checksum; checksum 309 drivers/scsi/qla2xxx/qla_fw.h uint32_t checksum; checksum 1436 drivers/scsi/qla2xxx/qla_fw.h uint16_t checksum; checksum 1470 drivers/scsi/qla2xxx/qla_fw.h uint16_t checksum; checksum 1476 drivers/scsi/qla2xxx/qla_fw.h uint16_t checksum; checksum 1551 drivers/scsi/qla2xxx/qla_fw.h uint16_t checksum; checksum 1900 drivers/scsi/qla2xxx/qla_fw.h uint32_t checksum; checksum 2068 drivers/scsi/qla2xxx/qla_fw.h uint16_t checksum; /* config data bytes checksum */ checksum 7348 drivers/scsi/qla2xxx/qla_init.c le32_to_cpu(image_status->checksum), checksum 225 drivers/scsi/qla2xxx/qla_nx2.h uint16_t checksum; checksum 557 drivers/scsi/qla2xxx/qla_nx2.h uint32_t checksum; checksum 694 drivers/scsi/qla2xxx/qla_sup.c le16_to_cpu(flt->checksum)); checksum 705 drivers/scsi/qla2xxx/qla_sup.c le16_to_cpu(flt->checksum)); checksum 1124 drivers/scsi/qla2xxx/qla_sup.c le16_to_cpu(hdr.checksum)); checksum 1146 drivers/scsi/qla2xxx/qla_sup.c le16_to_cpu(hdr.checksum)); checksum 185 drivers/scsi/qla4xxx/ql4_83xx.h __le16 checksum; checksum 299 drivers/scsi/qla4xxx/ql4_fw.h uint16_t checksum; checksum 333 drivers/scsi/qla4xxx/ql4_fw.h uint16_t checksum; checksum 339 drivers/scsi/qla4xxx/ql4_fw.h uint16_t checksum; checksum 1430 drivers/scsi/qla4xxx/ql4_fw.h uint32_t checksum; checksum 183 drivers/scsi/qla4xxx/ql4_nvram.c uint16_t checksum = 0; checksum 189 drivers/scsi/qla4xxx/ql4_nvram.c checksum += rd_nvram_word(ha, index); checksum 192 drivers/scsi/qla4xxx/ql4_nvram.c if (checksum == 0) checksum 185 drivers/scsi/qla4xxx/ql4_nvram.h u16 checksum; /* x1FE */ checksum 248 drivers/scsi/qla4xxx/ql4_nvram.h u16 checksum; /* x7FE */ checksum 3752 drivers/scsi/qla4xxx/ql4_nx.c le16_to_cpu(flt->checksum))); checksum 518 drivers/scsi/sym53c8xx_2/sym_nvram.c if (csum != nvram->checksum) checksum 42 drivers/scsi/sym53c8xx_2/sym_nvram.h u_short checksum; checksum 213 drivers/scsi/wd719x.h u8 checksum; checksum 137 drivers/sfi/sfi_core.c u8 checksum = 0; checksum 148 drivers/sfi/sfi_core.c checksum += *puchar++; checksum 150 drivers/sfi/sfi_core.c if (checksum) { checksum 152 drivers/sfi/sfi_core.c table->csum, table->csum - checksum); checksum 69 drivers/soc/qcom/cmd-db.c __le32 checksum; checksum 1561 drivers/soc/tegra/pmc.c u32 value, checksum; checksum 1612 drivers/soc/tegra/pmc.c checksum = reg_addr + reg_data + (value & 0xff) + ((value >> 8) & 0xff) checksum 1614 drivers/soc/tegra/pmc.c checksum &= 0xff; checksum 1615 drivers/soc/tegra/pmc.c checksum = 0x100 - checksum; checksum 1617 drivers/soc/tegra/pmc.c value |= checksum << PMC_SCRATCH55_CHECKSUM_SHIFT; checksum 435 drivers/staging/exfat/exfat.h u8 checksum; checksum 445 drivers/staging/exfat/exfat.h u8 checksum[2]; checksum 494 drivers/staging/exfat/exfat.h u8 checksum[4]; checksum 713 drivers/staging/exfat/exfat_core.c u32 checksum = 0; checksum 733 drivers/staging/exfat/exfat_core.c checksum = ((checksum & 1) ? 0x80000000 : 0) + checksum 734 drivers/staging/exfat/exfat_core.c (checksum >> 1) + *(((u8 *)tmp_bh->b_data) + checksum 736 drivers/staging/exfat/exfat_core.c checksum = ((checksum & 1) ? 0x80000000 : 0) + checksum 737 drivers/staging/exfat/exfat_core.c (checksum >> 1) + *(((u8 *)tmp_bh->b_data) + checksum 771 drivers/staging/exfat/exfat_core.c if (index >= 0xFFFF && utbl_checksum == checksum) { checksum 880 drivers/staging/exfat/exfat_core.c GET32_A(ep->checksum)) != FFS_SUCCESS) checksum 1407 drivers/staging/exfat/exfat_core.c ep->checksum = chksum; checksum 1553 drivers/staging/exfat/exfat_core.c SET16_A(file_ep->checksum, chksum); checksum 1575 drivers/staging/exfat/exfat_core.c SET16_A(((struct file_dentry_t *)ep)->checksum, chksum); checksum 2404 drivers/staging/exfat/exfat_core.c TYPE_EXTEND) && (ext_ep->checksum == chksum)) { checksum 36 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c u16 checksum = 0; checksum 42 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c checksum = checksum ^ le16_to_cpu(*(__le16 *)(usptr + index)); checksum 43 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c ptxdesc->txdw7 |= cpu_to_le32(0x0000ffff & checksum); checksum 2963 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u16 checksum = 0; checksum 2975 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c checksum |= le16_to_cpu(*(__le16 *)(usPtr + index)); checksum 2978 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c ptxdesc->txdw7 |= cpu_to_le32(checksum & 0x0000ffff); checksum 161 drivers/staging/rtl8723bs/include/rtl8723b_xmit.h u32 checksum:16; checksum 105 drivers/staging/wilc1000/wilc_wlan_cfg.c u8 checksum = 0; checksum 116 drivers/staging/wilc1000/wilc_wlan_cfg.c checksum += frame[offset + i + 4]; checksum 119 drivers/staging/wilc1000/wilc_wlan_cfg.c frame[offset + size + 4] = checksum; checksum 80 drivers/staging/wlan-ng/prism2fw.c u8 checksum; checksum 1576 drivers/target/iscsi/iscsi_target.c u32 checksum, iov_count = 0, padding = 0, rx_got = 0, rx_size = 0; checksum 1601 drivers/target/iscsi/iscsi_target.c iov[iov_count].iov_base = &checksum; checksum 1622 drivers/target/iscsi/iscsi_target.c if (checksum != data_crc) { checksum 1627 drivers/target/iscsi/iscsi_target.c hdr->datasn, checksum, data_crc); checksum 1631 drivers/target/iscsi/iscsi_target.c " %u bytes of Data Out\n", checksum, checksum 1845 drivers/target/iscsi/iscsi_target.c u32 checksum, data_crc, padding = 0; checksum 1867 drivers/target/iscsi/iscsi_target.c iov[niov].iov_base = &checksum; checksum 1884 drivers/target/iscsi/iscsi_target.c if (checksum != data_crc) { checksum 1887 drivers/target/iscsi/iscsi_target.c checksum, data_crc); checksum 1908 drivers/target/iscsi/iscsi_target.c checksum, payload_length); checksum 2252 drivers/target/iscsi/iscsi_target.c u32 checksum = 0, data_crc = 0; checksum 2273 drivers/target/iscsi/iscsi_target.c iov[niov].iov_base = &checksum; checksum 2288 drivers/target/iscsi/iscsi_target.c if (checksum != data_crc) { checksum 2291 drivers/target/iscsi/iscsi_target.c " 0x%08x\n", checksum, data_crc); checksum 2311 drivers/target/iscsi/iscsi_target.c checksum, payload_length); checksum 2586 drivers/target/iscsi/iscsi_target.c u32 checksum, iov_count = 0, padding = 0; checksum 2626 drivers/target/iscsi/iscsi_target.c iov[iov_count].iov_base = &checksum; checksum 2648 drivers/target/iscsi/iscsi_target.c if (checksum != data_crc) { checksum 2650 drivers/target/iscsi/iscsi_target.c " does not match computed 0x%08x\n", checksum, checksum 2669 drivers/target/iscsi/iscsi_target.c " %u bytes of Immediate Data\n", checksum, checksum 3943 drivers/target/iscsi/iscsi_target.c u32 checksum = 0, digest = 0; checksum 3980 drivers/target/iscsi/iscsi_target.c &checksum); checksum 3982 drivers/target/iscsi/iscsi_target.c if (digest != checksum) { checksum 3985 drivers/target/iscsi/iscsi_target.c digest, checksum); checksum 3994 drivers/target/iscsi/iscsi_target.c " 0x%08x\n", checksum); checksum 527 drivers/tty/moxa.c unsigned long key, loadbuf, loadlen, checksum, checksum_ok; checksum 541 drivers/tty/moxa.c checksum = C218check_sum; checksum 549 drivers/tty/moxa.c checksum = C320check_sum; checksum 579 drivers/tty/moxa.c writew(usum, baseAddr + checksum); checksum 88 drivers/usb/serial/io_ti.c u8 checksum; checksum 965 drivers/usb/serial/io_ti.c u8 checksum = 0; checksum 985 drivers/usb/serial/io_ti.c checksum += fw->data[pos]; checksum 987 drivers/usb/serial/io_ti.c if (checksum != fw_hdr->checksum) { checksum 989 drivers/usb/serial/io_ti.c fw_hdr->checksum, checksum); checksum 83 drivers/video/fbdev/omap2/omapfb/dss/hdmi4_core.c char checksum; checksum 148 drivers/video/fbdev/omap2/omapfb/dss/hdmi4_core.c checksum = 0; checksum 150 drivers/video/fbdev/omap2/omapfb/dss/hdmi4_core.c checksum += pedid[i]; checksum 152 drivers/video/fbdev/omap2/omapfb/dss/hdmi4_core.c if (checksum != 0) { checksum 622 drivers/video/fbdev/omap2/omapfb/dss/hdmi4_core.c u8 sum = 0, checksum = 0; checksum 666 drivers/video/fbdev/omap2/omapfb/dss/hdmi4_core.c checksum = 0x100 - sum; checksum 668 drivers/video/fbdev/omap2/omapfb/dss/hdmi4_core.c HDMI_CORE_AV_AUDIO_CHSUM, checksum); checksum 132 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c char checksum = 0; checksum 181 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c checksum += pedid[cur_addr]; checksum 223 drivers/watchdog/ziirave_wdt.c u8 i, checksum = 0, packet[ZIIRAVE_FIRM_PKT_TOTAL_SIZE]; checksum 253 drivers/watchdog/ziirave_wdt.c checksum += packet[i]; checksum 254 drivers/watchdog/ziirave_wdt.c packet[ZIIRAVE_FIRM_PKT_TOTAL_SIZE - 1] = checksum; checksum 361 fs/affs/amigaffs.c u32 checksum; checksum 366 fs/affs/amigaffs.c for (checksum = 0; cnt > 0; ptr++, cnt--) checksum 367 fs/affs/amigaffs.c checksum += be32_to_cpu(*ptr); checksum 368 fs/affs/amigaffs.c *checksumptr = cpu_to_be32(-checksum); checksum 56 fs/affs/amigaffs.h __be32 checksum; checksum 82 fs/affs/amigaffs.h __be32 checksum; checksum 110 fs/affs/amigaffs.h __be32 checksum; checksum 121 fs/affs/amigaffs.h __be32 checksum; checksum 207 fs/ecryptfs/keystore.c u16 checksum = 0; checksum 272 fs/ecryptfs/keystore.c checksum += session_key->decrypted_key[i]; checksum 273 fs/ecryptfs/keystore.c if (expected_checksum != checksum) { checksum 276 fs/ecryptfs/keystore.c "[%x]\n", expected_checksum, checksum); checksum 292 fs/ecryptfs/keystore.c size_t checksum = 0; checksum 337 fs/ecryptfs/keystore.c checksum += crypt_stat->key[j]; checksum 338 fs/ecryptfs/keystore.c message[i++] = (checksum / 256) % 256; checksum 339 fs/ecryptfs/keystore.c message[i++] = (checksum % 256); checksum 24 fs/erofs/erofs_fs.h __le32 checksum; /* crc32c(super_block) */ checksum 307 fs/jbd2/commit.c __u32 checksum; checksum 310 fs/jbd2/commit.c checksum = crc32_be(crc32_sum, checksum 314 fs/jbd2/commit.c return checksum; checksum 79 fs/ntfs/layout.h le32 checksum; /* Boot sector checksum. */ checksum 579 fs/ntfs/super.c if ((void*)b < (void*)&b->checksum && b->checksum && !silent) { checksum 583 fs/ntfs/super.c for (i = 0, u = (le32*)b; u < (le32*)(&b->checksum); ++u) checksum 585 fs/ntfs/super.c if (le32_to_cpu(b->checksum) != i) checksum 204 fs/udf/misc.c u8 checksum; checksum 228 fs/udf/misc.c checksum = udf_tag_checksum(tag_p); checksum 229 fs/udf/misc.c if (checksum != tag_p->tagChecksum) { checksum 231 fs/udf/misc.c block, checksum, tag_p->tagChecksum); checksum 290 fs/udf/misc.c u8 checksum = 0; checksum 294 fs/udf/misc.c checksum += data[i]; checksum 295 fs/udf/misc.c return checksum; checksum 210 include/acpi/acrestyp.h u8 checksum; checksum 72 include/acpi/actbl.h u8 checksum; /* To make sum of entire table == 0 */ checksum 107 include/acpi/actbl.h u8 checksum; /* ACPI 1.0 checksum */ checksum 121 include/acpi/actbl.h u8 checksum; checksum 319 include/drm/bridge/mhl.h u8 checksum; checksum 322 include/drm/drm_edid.h u8 checksum; checksum 33 include/linux/ipmi-fru.h uint8_t checksum; /* sum modulo 256 must be 0 */ checksum 307 include/linux/ipv6.h __u32 checksum; /* perform checksum */ checksum 1231 include/linux/jbd2.h JBD2_FEATURE_COMPAT_FUNCS(checksum, CHECKSUM) checksum 58 include/linux/mlx4/cq.h __be16 checksum; checksum 83 include/linux/mlx4/cq.h __be16 checksum; checksum 785 include/linux/mlx5/device.h __be16 checksum; checksum 148 include/linux/pe.h uint16_t checksum; /* word checksum */ checksum 583 include/linux/platform_data/cros_ec_commands.h uint8_t checksum; checksum 750 include/linux/platform_data/cros_ec_commands.h uint8_t checksum; checksum 770 include/linux/platform_data/cros_ec_commands.h uint8_t checksum; checksum 58 include/linux/platform_data/wilco-ec.h u8 checksum; checksum 76 include/linux/platform_data/wilco-ec.h u8 checksum; checksum 216 include/linux/pnp.h unsigned char checksum; /* if zero - checksum passed */ checksum 49 include/linux/sctp.h __le32 checksum; checksum 55 include/net/sctp/checksum.h __le32 old = sh->checksum; checksum 58 include/net/sctp/checksum.h sh->checksum = 0; checksum 61 include/net/sctp/checksum.h sh->checksum = old; checksum 535 include/pcmcia/cistpl.h cistpl_checksum_t checksum; checksum 90 include/uapi/linux/cycx_cfm.h unsigned short checksum; checksum 170 include/uapi/linux/edd.h __u8 checksum; checksum 72 include/uapi/linux/icmp.h __sum16 checksum; checksum 365 include/uapi/linux/raid/md_p.h __le32 checksum[]; checksum 393 include/uapi/linux/raid/md_p.h __le32 checksum; checksum 412 include/uapi/linux/raid/md_p.h __le32 checksum; /* checksum of partial parity data for this checksum 429 include/uapi/linux/raid/md_p.h __le32 checksum; /* checksum of the header (~crc32c) */ checksum 29 include/uapi/linux/romfs_fs.h __be32 checksum; checksum 39 include/uapi/linux/romfs_fs.h __be32 checksum; checksum 93 kernel/debug/gdbstub.c unsigned char checksum; checksum 107 kernel/debug/gdbstub.c checksum = 0; checksum 119 kernel/debug/gdbstub.c checksum = checksum + ch; checksum 128 kernel/debug/gdbstub.c if (checksum != xmitcsum) checksum 138 kernel/debug/gdbstub.c } while (checksum != xmitcsum); checksum 147 kernel/debug/gdbstub.c unsigned char checksum; checksum 156 kernel/debug/gdbstub.c checksum = 0; checksum 161 kernel/debug/gdbstub.c checksum += ch; checksum 166 kernel/debug/gdbstub.c dbg_io_ops->write_char(hex_asc_hi(checksum)); checksum 167 kernel/debug/gdbstub.c dbg_io_ops->write_char(hex_asc_lo(checksum)); checksum 1117 kernel/debug/gdbstub.c unsigned char checksum, ch, buffer[3]; checksum 1132 kernel/debug/gdbstub.c checksum = 0; checksum 1136 kernel/debug/gdbstub.c checksum += ch; checksum 1141 kernel/debug/gdbstub.c dbg_io_ops->write_char(hex_asc_hi(checksum)); checksum 1142 kernel/debug/gdbstub.c dbg_io_ops->write_char(hex_asc_lo(checksum)); checksum 63 kernel/gcov/clang.c u32 checksum; checksum 72 kernel/gcov/clang.c u32 checksum; checksum 109 kernel/gcov/clang.c u32 checksum) checksum 113 kernel/gcov/clang.c current_info->checksum = checksum; checksum 127 kernel/gcov/clang.c info->checksum = func_checksum; checksum 257 kernel/gcov/clang.c if (info1->checksum != info2->checksum) checksum 263 kernel/gcov/clang.c if (fn_ptr1->checksum != fn_ptr2->checksum) checksum 459 kernel/gcov/clang.c pos += store_gcov_u32(buffer, pos, info->checksum); checksum 471 kernel/gcov/clang.c pos += store_gcov_u32(buffer, pos, fi_ptr->checksum); checksum 40 kernel/gcov/gcc_3_4.c unsigned int checksum; checksum 556 kernel/gcov/gcc_3_4.c rc = seq_write_gcov_u32(seq, get_func(iter)->checksum); checksum 2795 lib/zstd/compress.c U32 const checksum = (U32)xxh64_digest(&cctx->xxhState); checksum 2798 lib/zstd/compress.c ZSTD_writeLE32(op, checksum); checksum 2965 lib/zstd/compress.c U32 checksum; checksum 3086 lib/zstd/compress.c zcs->checksum = params.fParams.checksumFlag > 0; checksum 3270 lib/zstd/compress.c return remainingToFlush + ZSTD_BLOCKHEADERSIZE /* final empty block */ + (zcs->checksum * 4); checksum 155 mm/kmemleak.c u32 checksum; checksum 368 mm/kmemleak.c pr_notice(" checksum = %u\n", object->checksum); checksum 597 mm/kmemleak.c object->checksum = 0; checksum 1169 mm/kmemleak.c u32 old_csum = object->checksum; checksum 1172 mm/kmemleak.c object->checksum = crc32(0, (void *)object->pointer, object->size); checksum 1175 mm/kmemleak.c return object->checksum != old_csum; checksum 1025 mm/ksm.c u32 checksum; checksum 1027 mm/ksm.c checksum = xxhash(addr, PAGE_SIZE, 0); checksum 1029 mm/ksm.c return checksum; checksum 2042 mm/ksm.c unsigned int checksum; checksum 2100 mm/ksm.c checksum = calc_checksum(page); checksum 2101 mm/ksm.c if (rmap_item->oldchecksum != checksum) { checksum 2102 mm/ksm.c rmap_item->oldchecksum = checksum; checksum 2110 mm/ksm.c if (ksm_use_zero_pages && (checksum == zero_checksum)) { checksum 155 net/bridge/netfilter/nft_reject_bridge.c icmph->checksum = csum_fold(csum); checksum 2897 net/core/dev.c offset = start + offsetof(struct sctphdr, checksum); checksum 388 net/ipv4/icmp.c icmph->checksum = csum_fold(csum); checksum 426 net/ipv4/icmp.c icmp_param->data.icmph.checksum = 0; checksum 708 net/ipv4/icmp.c icmp_param.data.icmph.checksum = 0; checksum 643 net/ipv4/ping.c pfh->icmph.checksum = csum_fold(pfh->wcheck); checksum 815 net/ipv4/ping.c pfh.icmph.checksum = 0; checksum 131 net/ipv6/ping.c pfh.icmph.checksum = 0; checksum 392 net/ipv6/raw.c if ((raw6_sk(sk)->checksum || rcu_access_pointer(sk->sk_filter)) && checksum 427 net/ipv6/raw.c if (!rp->checksum) checksum 550 net/ipv6/raw.c if (!rp->checksum) checksum 1051 net/ipv6/raw.c rp->checksum = 0; checksum 1053 net/ipv6/raw.c rp->checksum = 1; checksum 1130 net/ipv6/raw.c if (rp->checksum == 0) checksum 1265 net/ipv6/raw.c rp->checksum = 1; checksum 1269 net/ipv6/raw.c rp->checksum = 1; checksum 22 net/ncsi/ncsi-aen.c u32 checksum; checksum 38 net/ncsi/ncsi-aen.c checksum = ncsi_calculate_checksum((unsigned char *)h, checksum 40 net/ncsi/ncsi-aen.c if (*pchecksum != htonl(checksum)) checksum 23 net/ncsi/ncsi-cmd.c u32 checksum = 0; checksum 27 net/ncsi/ncsi-cmd.c checksum += (((u32)data[i] << 8) | data[i + 1]); checksum 29 net/ncsi/ncsi-cmd.c checksum = (~checksum + 1); checksum 30 net/ncsi/ncsi-cmd.c return checksum; checksum 39 net/ncsi/ncsi-cmd.c u32 checksum; checksum 54 net/ncsi/ncsi-cmd.c checksum = ncsi_calculate_checksum((unsigned char *)h, checksum 58 net/ncsi/ncsi-cmd.c *pchecksum = htonl(checksum); checksum 39 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 45 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 54 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 63 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 71 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 81 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 90 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 102 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 111 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 121 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 129 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 137 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 146 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 187 net/ncsi/ncsi-pkt.h __be32 checksum; checksum 201 net/ncsi/ncsi-pkt.h __be32 checksum; checksum 219 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 240 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 287 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 300 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 315 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 322 net/ncsi/ncsi-pkt.h __be32 checksum; checksum 329 net/ncsi/ncsi-pkt.h __be32 checksum; checksum 337 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 344 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 352 net/ncsi/ncsi-pkt.h __be32 checksum; /* Checksum */ checksum 26 net/ncsi/ncsi-rsp.c u32 checksum; checksum 63 net/ncsi/ncsi-rsp.c checksum = ncsi_calculate_checksum((unsigned char *)h, checksum 66 net/ncsi/ncsi-rsp.c if (*pchecksum != htonl(checksum)) { checksum 69 net/ncsi/ncsi-rsp.c *pchecksum, htonl(checksum)); checksum 799 net/netfilter/ipvs/ip_vs_core.c icmph->checksum = 0; checksum 800 net/netfilter/ipvs/ip_vs_core.c icmph->checksum = ip_vs_checksum_complete(skb, icmp_offset); checksum 86 net/netfilter/ipvs/ip_vs_proto_sctp.c sctph->checksum = sctp_compute_cksum(skb, sctphoff); checksum 200 net/netfilter/ipvs/ip_vs_proto_sctp.c cmp = sh->checksum; checksum 344 net/netfilter/nf_conntrack_proto_sctp.c if (sh->checksum != sctp_compute_cksum(skb, dataoff)) { checksum 132 net/netfilter/nf_nat_proto.c hdr->checksum = sctp_compute_cksum(skb, hdroff); checksum 247 net/netfilter/nf_nat_proto.c inet_proto_csum_replace2(&hdr->checksum, skb, checksum 608 net/netfilter/nf_nat_proto.c inside->icmp.checksum = 0; checksum 609 net/netfilter/nf_nat_proto.c inside->icmp.checksum = checksum 723 net/openvswitch/actions.c old_csum = sh->checksum; checksum 732 net/openvswitch/actions.c sh->checksum = old_csum ^ old_correct_csum ^ new_csum; checksum 175 net/rxrpc/protocol.h __be32 checksum; /* checksum */ checksum 37 net/rxrpc/rxkad.c __be32 checksum; /* decrypted data checksum */ checksum 237 net/rxrpc/rxkad.c rxkhdr.checksum = 0; checksum 774 net/rxrpc/rxkad.c response->encrypted.checksum = htonl(csum); checksum 1165 net/rxrpc/rxkad.c csum = response->encrypted.checksum; checksum 1166 net/rxrpc/rxkad.c response->encrypted.checksum = 0; checksum 1169 net/rxrpc/rxkad.c if (response->encrypted.checksum != csum) checksum 158 net/sched/act_csum.c icmph->checksum = 0; checksum 160 net/sched/act_csum.c icmph->checksum = csum_fold(skb->csum); checksum 379 net/sched/act_csum.c sctph->checksum = sctp_compute_cksum(skb, checksum 244 net/sched/act_nat.c inet_proto_csum_replace4(&icmph->checksum, skb, addr, new_addr, checksum 71 net/sctp/input.c __le32 cmp = sh->checksum; checksum 76 net/sctp/offload.c sh->checksum = sctp_gso_make_checksum(skb); checksum 528 net/sctp/output.c sh->checksum = sctp_compute_cksum(head, 0); checksum 534 net/sctp/output.c head->csum_offset = offsetof(struct sctphdr, checksum); checksum 585 net/sctp/output.c sh->checksum = 0; checksum 686 net/sunrpc/auth_gss/svcauth_gss.c struct xdr_netobj checksum; checksum 702 net/sunrpc/auth_gss/svcauth_gss.c if (svc_safe_getnetobj(argv, &checksum)) checksum 707 net/sunrpc/auth_gss/svcauth_gss.c if (gss_verify_mic(ctx_id, &rpchdr, &checksum) != GSS_S_COMPLETE) { checksum 96 samples/bpf/xdp_adjust_tail_kern.c icmp_hdr->checksum = 0; checksum 98 samples/bpf/xdp_adjust_tail_kern.c icmp_hdr->checksum = csum; checksum 35 sound/pci/asihpi/hpidspcd.h u32 checksum; checksum 203 sound/pci/hda/patch_hdmi.c u8 checksum; checksum 619 sound/pci/hda/patch_hdmi.c hdmi_ai->checksum = 0; checksum 624 sound/pci/hda/patch_hdmi.c hdmi_ai->checksum = -sum; checksum 22 sound/pci/oxygen/xonar_hdmi.c u8 checksum; checksum 30 sound/pci/oxygen/xonar_hdmi.c checksum = 0xfb + 0xef + command + count; checksum 32 sound/pci/oxygen/xonar_hdmi.c checksum += params[i]; checksum 33 sound/pci/oxygen/xonar_hdmi.c oxygen_write_uart(chip, checksum); checksum 41 sound/soc/codecs/wmfw.h __le32 checksum; checksum 596 sound/x86/intel_hdmi_audio.c u8 checksum = 0; checksum 616 sound/x86/intel_hdmi_audio.c checksum += (info_frame >> (i * 8)) & 0xff; checksum 618 sound/x86/intel_hdmi_audio.c checksum += (frame2.regval >> (i * 8)) & 0xff; checksum 620 sound/x86/intel_hdmi_audio.c checksum += (frame3.regval >> (i * 8)) & 0xff; checksum 622 sound/x86/intel_hdmi_audio.c frame2.regx.chksum = -(checksum); checksum 445 tools/testing/selftests/bpf/progs/test_xdp_noinline.c icmp_hdr->checksum += 0x0007; checksum 144 tools/testing/selftests/bpf/progs/xdping_kern.c icmph->checksum = 0; checksum 145 tools/testing/selftests/bpf/progs/xdping_kern.c icmph->checksum = ipv4_csum(icmph, ICMP_ECHO_LEN); checksum 178 tools/testing/selftests/bpf/progs/xdping_kern.c icmph->checksum = 0; checksum 179 tools/testing/selftests/bpf/progs/xdping_kern.c icmph->checksum = ipv4_csum(icmph, ICMP_ECHO_LEN);