/linux-6.1.9/drivers/input/touchscreen/ |
D | goodix.c | 523 u8 check_sum = 0; in goodix_check_cfg_8() local 526 check_sum += cfg[i]; in goodix_check_cfg_8() 527 check_sum = (~check_sum) + 1; in goodix_check_cfg_8() 528 if (check_sum != cfg[raw_cfg_len]) { in goodix_check_cfg_8() 546 u8 check_sum = 0; in goodix_calc_cfg_checksum_8() local 549 check_sum += ts->config[i]; in goodix_calc_cfg_checksum_8() 550 check_sum = (~check_sum) + 1; in goodix_calc_cfg_checksum_8() 552 ts->config[raw_cfg_len] = check_sum; in goodix_calc_cfg_checksum_8() 560 u16 check_sum = 0; in goodix_check_cfg_16() local 563 check_sum += get_unaligned_be16(&cfg[i]); in goodix_check_cfg_16() [all …]
|
/linux-6.1.9/drivers/hid/ |
D | hid-alps.c | 169 u16 check_sum; in t4_read_write_register() local 190 check_sum = t4_calc_check_sum(input, 1, 8); in t4_read_write_register() 191 input[9] = (u8)check_sum; in t4_read_write_register() 192 input[10] = (u8)(check_sum >> 8); in t4_read_write_register() 233 check_sum = t4_calc_check_sum(readbuf, 6, 7); in t4_read_write_register() 234 if (*(u16 *)&readbuf[13] != check_sum) { in t4_read_write_register() 236 *(u16 *)&readbuf[13], check_sum); in t4_read_write_register() 256 u8 check_sum; in u1_read_write_register() local 276 check_sum = U1_FEATURE_REPORT_LEN_ALL; in u1_read_write_register() 278 check_sum += input[i]; in u1_read_write_register() [all …]
|
/linux-6.1.9/drivers/crypto/qat/qat_common/ |
D | icp_qat_uclo.h | 425 unsigned int check_sum; member 501 unsigned int check_sum; member
|
D | qat_uclo.c | 1038 unsigned int check_sum = 0; in qat_uclo_map_suof_file_hdr() local 1047 check_sum = qat_uclo_calc_str_checksum((char *)&suof_ptr->min_ver, in qat_uclo_map_suof_file_hdr() 1049 if (check_sum != suof_ptr->check_sum) { in qat_uclo_map_suof_file_hdr() 1053 suof_handle->check_sum = suof_ptr->check_sum; in qat_uclo_map_suof_file_hdr()
|
/linux-6.1.9/drivers/net/wwan/t7xx/ |
D | t7xx_hif_dpmaif.h | 53 unsigned int check_sum; member
|
D | t7xx_hif_dpmaif_rx.c | 653 skb_info->check_sum = FIELD_GET(MSG_PIT_CHECKSUM, header); in t7xx_dpmaif_parse_msg_pit() 755 skb->ip_summed = skb_info->check_sum == DPMAIF_CS_RESULT_PASS ? CHECKSUM_UNNECESSARY : in t7xx_dpmaif_rx_skb()
|
/linux-6.1.9/include/linux/ |
D | f2fs_fs.h | 231 __le32 check_sum; /* CRC32 for orphan inode block */ member 455 __le32 check_sum; /* summary checksum */ member
|
/linux-6.1.9/drivers/net/wireless/rsi/ |
D | rsi_hal.h | 158 __le32 check_sum; member
|
D | rsi_91x_hal.c | 656 bl_hdr->check_sum = in bl_write_header()
|
/linux-6.1.9/drivers/crypto/hisilicon/sec2/ |
D | sec_crypto.h | 402 struct bd3_check_sum check_sum; member
|
/linux-6.1.9/drivers/platform/x86/intel/ifs/ |
D | load.c | 16 u32 check_sum; member
|
/linux-6.1.9/drivers/input/misc/ |
D | ims-pcu.c | 94 u8 check_sum; member 456 pcu->check_sum += data; in ims_pcu_process_data() 469 pcu->check_sum = 0; in ims_pcu_process_data() 481 } else if (pcu->check_sum != 0) { in ims_pcu_process_data() 496 pcu->check_sum += data; in ims_pcu_process_data()
|
/linux-6.1.9/drivers/scsi/qla2xxx/ |
D | qla_sup.c | 2627 uint32_t check_sum = 0; in qla28xx_extract_sfub_and_verify() local 2638 check_sum += le32_to_cpu(p[i]); in qla28xx_extract_sfub_and_verify() 2640 check_sum = (~check_sum) + 1; in qla28xx_extract_sfub_and_verify() 2642 if (check_sum != le32_to_cpu(p[i])) { in qla28xx_extract_sfub_and_verify() 2645 check_sum, le32_to_cpu(p[i])); in qla28xx_extract_sfub_and_verify()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 2710 uint8_t *check_sum = NULL; in set_avi_info_frame() local 2943 check_sum = &hdmi_info.packet_raw_data.sb[0]; in set_avi_info_frame() 2945 …*check_sum = HDMI_INFOFRAME_TYPE_AVI + hdmi_info.bits.header.length + hdmi_info.bits.header.versio… in set_avi_info_frame() 2948 *check_sum += hdmi_info.packet_raw_data.sb[byte_index]; in set_avi_info_frame() 2951 *check_sum = (uint8_t) (0x100 - *check_sum); in set_avi_info_frame()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 146 title->check_sum = mini_cqe->checksum; in mlx5e_decompress_cqe() 1048 csum_unfold((__force __sum16)cqe->check_sum)); in mlx5e_lro_update_hdr() 1065 csum_unfold((__force __sum16)cqe->check_sum)); in mlx5e_lro_update_hdr() 1374 skb->csum = csum_unfold((__force __sum16)cqe->check_sum); in mlx5e_handle_csum() 2331 skb->csum = csum_unfold((__force __sum16)cqe->check_sum); in mlx5i_complete_rx_cqe()
|
/linux-6.1.9/drivers/media/usb/dvb-usb-v2/ |
D | lmedm04.c | 587 static u8 check_sum(u8 *p, u8 len) in check_sum() function 631 data[wlen-1] = check_sum(fw_data, dlen+1); in lme2510_download_firmware()
|
/linux-6.1.9/drivers/media/common/siano/ |
D | smscoreapi.h | 666 u32 check_sum; member
|
/linux-6.1.9/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 2116 goto check_sum; in atl1c_tso_csum() 2141 goto check_sum; in atl1c_tso_csum() 2159 check_sum: in atl1c_tso_csum()
|
/linux-6.1.9/fs/ntfs3/ |
D | ntfs.h | 227 __le32 check_sum; // 0x50: Simple additive checksum of all member
|
/linux-6.1.9/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 1652 goto check_sum; in atl1e_tso_csum() 1674 check_sum: in atl1e_tso_csum()
|
/linux-6.1.9/block/ |
D | sed-opal.c | 322 static bool check_sum(const void *data) in check_sum() function 489 single_user = check_sum(body->features); in opal_discovery0_end()
|
/linux-6.1.9/include/linux/mlx5/ |
D | device.h | 814 __be16 check_sum; member
|
/linux-6.1.9/drivers/scsi/ |
D | advansys.c | 973 ushort check_sum; /* 21 EEP check sum */ member 1046 ushort check_sum; /* 21 EEP check sum */ member 1148 ushort check_sum; /* 21 EEP check sum */ member 9971 if (AdvGet3550EEPConfig(iop_base, &eep_config) != eep_config.check_sum) { in AdvInitFrom3550EEP() 10124 eep_config.check_sum) { in AdvInitFrom38C0800EEP() 10323 eep_config.check_sum) { in AdvInitFrom38C1600EEP()
|
/linux-6.1.9/drivers/net/ethernet/microchip/ |
D | lan743x_main.c | 1867 bool check_sum) in lan743x_tx_frame_start() argument 1907 if (check_sum) in lan743x_tx_frame_start()
|
/linux-6.1.9/sound/pci/hda/ |
D | patch_realtek.c | 62 unsigned char check_sum; member 720 spec->cdefine.check_sum = (ass >> 16) & 0xf; in alc_auto_parse_customize_define() 734 codec_dbg(codec, "SKU: check_sum=0x%08x\n", spec->cdefine.check_sum); in alc_auto_parse_customize_define()
|