/u-boot/tools/ |
A D | imagetool.c | 14 struct image_type_params **curr; in imagetool_get_type() local 20 for (curr = start; curr != end; curr++) { in imagetool_get_type() 21 if ((*curr)->check_image_type) { in imagetool_get_type() 22 if (!(*curr)->check_image_type(type)) in imagetool_get_type() 23 return *curr; in imagetool_get_type() 36 struct image_type_params **curr; in imagetool_verify_print_header() local 42 for (curr = start; curr != end; curr++) { in imagetool_verify_print_header() 43 if ((*curr)->verify_header) { in imagetool_verify_print_header() 52 if ((*curr)->print_header) { in imagetool_verify_print_header() 54 (*curr)->print_header(ptr); in imagetool_verify_print_header() [all …]
|
A D | ifwitool.c | 905 if (curr) in find_entry_by_type() 906 return curr; in find_entry_by_type() 1375 if (!curr || curr->size == 0) in bpdt_entries_init_pack_order() 1382 curr_offset = curr->offset + curr->size; in bpdt_entries_init_pack_order() 1385 type, curr_offset, curr->offset, curr->size, in bpdt_entries_init_pack_order() 1400 if (!curr || curr->size == 0) in bpdt_entries_init_pack_order() 1408 curr_end = ALIGN(curr->offset + curr->size, 4 * KiB); in bpdt_entries_init_pack_order() 1409 curr->size = curr_end - curr->offset; in bpdt_entries_init_pack_order() 1415 type, curr_offset, curr->offset, curr->size, in bpdt_entries_init_pack_order() 1429 curr->size = curr_offset - curr->offset; in bpdt_entries_init_pack_order() [all …]
|
/u-boot/drivers/video/rockchip/ |
A D | rk_hdmi.c | 46 .cpce = 0x00b3, .gmp = 0x0000, .curr = 0x0018, 49 .cpce = 0x0072, .gmp = 0x0001, .curr = 0x0028, 52 .cpce = 0x013e, .gmp = 0x0003, .curr = 0x0038, 55 .cpce = 0x0072, .gmp = 0x0001, .curr = 0x0028, 58 .cpce = 0x0051, .gmp = 0x0002, .curr = 0x0038, 61 .cpce = 0x0051, .gmp = 0x0003, .curr = 0x0000, 64 .cpce = 0x0040, .gmp = 0x0003, .curr = 0x0000, 67 .cpce = 0x0040, .gmp = 0x0003, .curr = 0x0000, 70 .cpce = 0x0051, .gmp = 0x0003, .curr = 0x0000,
|
/u-boot/lib/zlib/ |
A D | inftrees.c | 40 unsigned curr; /* number of index bits for current table */ in inflate_table() local 199 curr = root; /* current table index bits */ in inflate_table() 227 fill = 1U << curr; in inflate_table() 262 curr = len - drop; in inflate_table() 263 left = (int)(1 << curr); in inflate_table() 264 while (curr + drop < max) { in inflate_table() 265 left -= count[curr + drop]; in inflate_table() 267 curr++; in inflate_table() 272 used += 1U << curr; in inflate_table() 278 (*table)[low].op = (unsigned char)curr; in inflate_table()
|
/u-boot/cmd/ |
A D | gpt.c | 188 struct disk_part *curr; in del_gpt_info() local 192 free(curr); in del_gpt_info() 238 struct disk_part *curr; in print_gpt_info() local 245 curr->gpt_part_info.blksz); in print_gpt_info() 247 curr->gpt_part_info.blksz); in print_gpt_info() 249 printf("Partition %d:\n", curr->partnum); in print_gpt_info() 252 curr->gpt_part_info.name); in print_gpt_info() 277 struct disk_part *curr; in create_gpt_partitions_list() local 294 curr->gpt_part_info.blksz); in create_gpt_partitions_list() 299 curr->gpt_part_info.blksz); in create_gpt_partitions_list() [all …]
|
/u-boot/drivers/ddr/marvell/a38x/ |
A D | ddr3_training_bist.c | 307 int curr; in interval_proc() local 318 curr = intrvl->lendpnt; in interval_proc() 324 curr++; in interval_proc() 341 curr = intrvl->rmarker; in interval_proc() 348 while ((curr <= lmt) && in interval_proc() 350 curr++; in interval_proc() 365 curr--; in interval_proc() 371 pass_rendpnt = curr; in interval_proc() 375 curr = pass_rendpnt; in interval_proc() 380 while ((curr >= lmt) && in interval_proc() [all …]
|
/u-boot/drivers/net/ |
A D | ag7xxx.c | 463 struct ag7xxx_dma_desc *curr; in ag7xxx_eth_send() local 469 start = (u32)curr; in ag7xxx_eth_send() 470 end = start + sizeof(*curr); in ag7xxx_eth_send() 483 start = (u32)curr; in ag7xxx_eth_send() 484 end = start + sizeof(*curr); in ag7xxx_eth_send() 503 struct ag7xxx_dma_desc *curr; in ag7xxx_eth_recv() local 509 start = (u32)curr; in ag7xxx_eth_recv() 510 end = start + sizeof(*curr); in ag7xxx_eth_recv() 533 struct ag7xxx_dma_desc *curr; in ag7xxx_eth_free_pkt() local 541 start = (u32)curr; in ag7xxx_eth_free_pkt() [all …]
|
A D | bcm-sf2-eth-gmac.c | 407 int index, curr, active; in gmac_check_rx_done() local 424 curr = ((stat0 - offset) & D64_RS0_CD_MASK) / sizeof(dma64dd_t); in gmac_check_rx_done() 428 if (index == curr) in gmac_check_rx_done() 432 debug("expect(0x%x) curr(0x%x) active(0x%x)\n", index, curr, active); in gmac_check_rx_done()
|
/u-boot/fs/jffs2/ |
A D | compr_rubin.c | 49 register char *curr = (char *)page_out; in rubin_do_decompress() local 71 while (curr < end) { in rubin_do_decompress() 108 *(curr++) = result; in rubin_do_decompress()
|
/u-boot/lib/ |
A D | smbios-parser.c | 40 static const struct smbios_header *next_header(const struct smbios_header *curr) in next_header() argument 42 u8 *pos = ((u8 *)curr) + curr->length; in next_header()
|
A D | sha512.c | 297 unsigned char *curr; in sha384_csum_wd() local 304 curr = (unsigned char *)input; in sha384_csum_wd() 306 while (curr < end) { in sha384_csum_wd() 307 chunk = end - curr; in sha384_csum_wd() 310 sha384_update(&ctx, curr, chunk); in sha384_csum_wd() 311 curr += chunk; in sha384_csum_wd() 361 unsigned char *curr; in sha512_csum_wd() local 368 curr = (unsigned char *)input; in sha512_csum_wd() 370 while (curr < end) { in sha512_csum_wd() 371 chunk = end - curr; in sha512_csum_wd() [all …]
|
A D | crc32.c | 239 const unsigned char *end, *curr; in crc32_wd() local 242 curr = buf; in crc32_wd() 244 while (curr < end) { in crc32_wd() 245 chunk = end - curr; in crc32_wd() 248 crc = crc32(crc, curr, chunk); in crc32_wd() 249 curr += chunk; in crc32_wd()
|
A D | md5.c | 292 unsigned char *end, *curr; in md5_wd() local 299 curr = input; in md5_wd() 301 while (curr < end) { in md5_wd() 302 chunk = end - curr; in md5_wd() 305 MD5Update(&context, curr, chunk); in md5_wd() 306 curr += chunk; in md5_wd()
|
A D | sha1.c | 320 const unsigned char *end, *curr; in sha1_csum_wd() local 327 curr = input; in sha1_csum_wd() 329 while (curr < end) { in sha1_csum_wd() 330 chunk = end - curr; in sha1_csum_wd() 333 sha1_update (&ctx, curr, chunk); in sha1_csum_wd() 334 curr += chunk; in sha1_csum_wd()
|
A D | sha256.c | 269 unsigned char *curr; in sha256_csum_wd() local 276 curr = (unsigned char *)input; in sha256_csum_wd() 278 while (curr < end) { in sha256_csum_wd() 279 chunk = end - curr; in sha256_csum_wd() 282 sha256_update(&ctx, curr, chunk); in sha256_csum_wd() 283 curr += chunk; in sha256_csum_wd()
|
/u-boot/scripts/kconfig/ |
A D | symbol.c | 16 .curr = { "y", yes }, 20 .curr = { "m", mod }, 24 .curr = { "n", no }, 28 .curr = { "", no }, 295 sym->curr.tri = no; in sym_calc_choice() 342 oldval = sym->curr; in sym_calc_value() 352 newval = symbol_no.curr; in sym_calc_value() 356 sym->curr.tri = no; in sym_calc_value() 367 sym->curr = newval; in sym_calc_value() 431 sym->curr = newval; in sym_calc_value() [all …]
|
A D | lkc.h | 131 return sym->curr.tri; in sym_get_tristate_value() 137 return (struct symbol *)sym->curr.val; in sym_get_choice_value()
|
/u-boot/fs/yaffs2/ |
A D | yaffs_allocator.c | 103 struct yaffs_tnode *curr; in yaffs_create_tnodes() local 127 curr = (struct yaffs_tnode *)&mem[i * dev->tnode_size]; in yaffs_create_tnodes() 129 curr->internal[0] = next; in yaffs_create_tnodes() 132 curr = (struct yaffs_tnode *)&mem[(n_tnodes - 1) * dev->tnode_size]; in yaffs_create_tnodes() 133 curr->internal[0] = allocator->free_tnodes; in yaffs_create_tnodes()
|
/u-boot/drivers/i2c/ |
A D | octeon_i2c.c | 447 unsigned int curr = 0; in twsi_write_data() local 487 while (curr < length) { in twsi_write_data() 488 val = buffer[curr++] | in twsi_write_data() 545 unsigned int curr = 0; in twsi_read_data() local 583 while (curr < length) { in twsi_read_data() 585 ((curr < length - 1) ? TWSI_CTL_AAK : 0)); in twsi_read_data() 594 buffer[curr++] = (u8)val; in twsi_read_data()
|
A D | ocores_i2c.c | 455 u32 curr, wr; in oc_setreg_grlib() local 461 curr = in_be32(i2c->base + (rreg << i2c->reg_shift)); in oc_setreg_grlib() 463 wr = (curr & 0xff00) | value; in oc_setreg_grlib() 465 wr = (((u32)value) << 8) | (curr & 0xff); in oc_setreg_grlib()
|
/u-boot/lib/bzip2/ |
A D | bzlib_decompress.c | 171 Int32 curr; in BZ2_decompress() local 225 curr = s->save_curr; in BZ2_decompress() 361 GET_BITS(BZ_X_CODING_1, curr, 5); in BZ2_decompress() 364 if (curr < 1 || curr > 20) RETURN(BZ_DATA_ERROR); in BZ2_decompress() 368 if (uc == 0) curr++; else curr--; in BZ2_decompress() 370 s->len[t][i] = curr; in BZ2_decompress() 657 s->save_curr = curr; in BZ2_decompress()
|
A D | bzlib_compress.c | 573 Int32 curr = s->len[t][0]; in sendMTFValues() local 574 bsW ( s, 5, curr ); in sendMTFValues() 576 while (curr < s->len[t][i]) { bsW(s,2,2); curr++; /* 10 */ }; in sendMTFValues() 577 while (curr > s->len[t][i]) { bsW(s,2,3); curr--; /* 11 */ }; in sendMTFValues()
|
/u-boot/lib/zstd/ |
A D | zstd_opt.h | 229 const U32 curr = (U32)(ip - base); in ZSTD_insertBtAndGetAllMatches() local 242 const U32 btLow = btMask >= curr ? 0 : curr - btMask; in ZSTD_insertBtAndGetAllMatches() 244 U32 *smallerPtr = bt + 2 * (curr & btMask); in ZSTD_insertBtAndGetAllMatches() 245 U32 *largerPtr = bt + 2 * (curr & btMask) + 1; in ZSTD_insertBtAndGetAllMatches() 246 U32 matchEndIdx = curr + 8; in ZSTD_insertBtAndGetAllMatches() 283 hashTable[h] = curr; /* Update Hash Table */ in ZSTD_insertBtAndGetAllMatches() 341 zc->nextToUpdate = (matchEndIdx > curr + 8) ? matchEndIdx - 8 : curr + 1; in ZSTD_insertBtAndGetAllMatches() 730 U32 curr = (U32)(ip - base); in ZSTD_compressBlock_opt_extDict_generic() local 740 const U32 repIndex = (U32)(curr - repCur); in ZSTD_compressBlock_opt_extDict_generic() 743 if ((repCur > 0 && repCur <= (S32)curr) && in ZSTD_compressBlock_opt_extDict_generic() [all …]
|
A D | huf_decompress.c | 103 U32 const curr = nextRankStart; in HUF_readDTableX2_wksp() local 105 rankVal[n] = curr; in HUF_readDTableX2_wksp() 511 U32 curr = nextRankStart; in HUF_readDTableX4_wksp() local 513 rankStart[w] = curr; in HUF_readDTableX4_wksp() 539 U32 curr = nextRankVal; in HUF_readDTableX4_wksp() local 541 rankVal0[w] = curr; in HUF_readDTableX4_wksp()
|
/u-boot/arch/mips/lib/ |
A D | cache_init.S | 38 .macro cache_loop curr, end, line_sz, op 39 10: cache \op, 0(\curr) 40 PTR_ADDU \curr, \curr, \line_sz 41 bne \curr, \end, 10b
|