/u-boot/common/ |
H A D | s_record.c | 18 unsigned char chksum; /* buffer for checksum */ local 20 chksum = 0; 42 chksum += *count; 95 chksum += v; 105 chksum += v; 117 chksum += v; 125 chksum += v; 139 chksum += v; 148 if ((unsigned char)v != (unsigned char)~chksum) {
|
H A D | bloblist.c | 346 u8 chksum; local 348 chksum = table_compute_checksum(hdr, hdr->used_size); 349 chksum += hdr->chksum; 351 return chksum; 371 hdr->chksum = 0; 380 u32 chksum; local 394 chksum = bloblist_calc_chksum(hdr); 395 if (hdr->chksum != chksum) { [all...] |
/u-boot/board/gateworks/gw_ventana/ |
H A D | eeprom.c | 214 int chksum; local 236 for (chksum = 0, i = 0; i < sizeof(*info)-2; i++) 237 chksum += buf[i]; 238 if ((info->chksum[0] != chksum>>8) || 239 (info->chksum[1] != (chksum&0xff))) { 376 int chksum; local 380 for (chksum = 0, i = 0; i < sizeof(*info)-2; i++) 381 chksum [all...] |
H A D | eeprom.h | 37 u8 chksum[2]; /* 0x4E */ member in struct:ventana_board_info
|
/u-boot/board/gateworks/venice/ |
H A D | eeprom.h | 24 u8 chksum[2]; /* 0x4E */ member in struct:venice_board_info
|
H A D | eeprom.c | 81 int chksum; local 109 for (chksum = 0, i = 0; i < (int)sizeof(*info) - 2; i++) 110 chksum += buf[i]; 111 if ((info->chksum[0] != chksum >> 8) || 112 (info->chksum[1] != (chksum & 0xff))) {
|
/u-boot/arch/x86/cpu/tangier/ |
H A D | sdram.c | 30 char chksum = 0; local 41 chksum += *pos++; 43 if (chksum) 47 return chksum ? -EILSEQ : 0;
|
/u-boot/net/ |
H A D | cdp.c | 110 ushort chksum; local 209 chksum = cdp_compute_csum((uchar *)net_tx_packet + len, 211 if (chksum == 0) 212 chksum = 0xFFFF; 213 *cp = htons(chksum);
|
/u-boot/board/broadcom/bcmns3/ |
H A D | ns3.c | 84 u8 chksum = 0; local 87 chksum += p[i]; 89 return chksum;
|
/u-boot/disk/ |
H A D | part_iso.c | 54 unsigned short chksum; local 112 chksum=0; 115 chksum += le16_to_cpu(chksumbuf[i]); 116 if(chksum!=0) {
|
/u-boot/include/ |
H A D | bloblist.h | 177 * @chksum: checksum for the entire bloblist allocated area. Since any of the 196 u8 chksum; member in struct:bloblist_hdr
|
/u-boot/arch/arm/mach-sunxi/ |
H A D | board.c | 383 uint32_t spl_size, emmc_checksum, chksum = 0; local 428 chksum += buffer[count]; 431 emmc_checksum, chksum); 433 return emmc_checksum == chksum;
|
/u-boot/test/ |
H A D | test-main.c | 122 uint chksum; local 124 chksum = crc8(0, gd->fdt_blob, fdt_totalsize(gd->fdt_blob)); 125 if (chksum != uts->fdt_chksum) {
|
H A D | bloblist.c | 217 hdr->chksum++; 219 hdr->chksum--;
|
/u-boot/fs/fat/ |
H A D | fat.c | 967 u8 chksum, alias_checksum = ((dir_slot *)dent)->alias_checksum; local 999 chksum = mkcksum(&dent->nameext); 1002 if (chksum != alias_checksum) { 1003 debug("** chksum=%x, alias_checksum=%x, l_name=%s, s_name=%8s.%3s\n", 1004 chksum, alias_checksum, itr->l_name, dent->nameext.name,
|
/u-boot/drivers/usb/mtu3/ |
H A D | mtu3.h | 205 * @chksum: This is used to validate the contents of this GPD; 222 __u8 chksum; member in struct:qmu_gpd
|
/u-boot/arch/arm/mach-imx/ |
H A D | cmd_nandbcb.c | 418 u32 chksum = 0; local 423 chksum += bp[i]; 425 return ~chksum;
|