/u-boot/test/ |
H A D | bootm.c | 20 BUF_SIZE = 1024, enumerator in enum:__anon475 28 char buf[BUF_SIZE]; 31 ut_assertok(bootm_process_cmdline(buf, BUF_SIZE, true)); 35 ut_assertok(bootm_process_cmdline(buf, BUF_SIZE, true)); 45 char buf[BUF_SIZE]; 52 memset(buf, 'a', BUF_SIZE); 53 ut_asserteq(-ENOSPC, bootm_process_cmdline(buf, BUF_SIZE, true)); 56 memset(buf, '\0', BUF_SIZE); 57 memset(buf, 'a', BUF_SIZE / 2); 58 ut_asserteq(-ENOSPC, bootm_process_cmdline(buf, BUF_SIZE, tru [all...] |
H A D | print_ut.c | 18 #define BUF_SIZE 0x100 macro 177 buf = map_sysmem(0, BUF_SIZE); 178 memset(buf, '\0', BUF_SIZE); 257 buf = map_sysmem(0, BUF_SIZE); 258 memset(buf, '\0', BUF_SIZE); 263 linebuf = map_sysmem(0x400, BUF_SIZE); 264 memset(linebuf, '\xff', BUF_SIZE); 286 buf = map_sysmem(0, BUF_SIZE); 287 memset(buf, '\0', BUF_SIZE);
|
/u-boot/test/cmd/ |
H A D | setexpr.c | 16 #define BUF_SIZE 0x100 macro 26 buf = map_sysmem(0, BUF_SIZE); 27 memset(buf, '\xff', BUF_SIZE); 74 buf = map_sysmem(0, BUF_SIZE); 75 memset(buf, '\xff', BUF_SIZE); 116 buf = map_sysmem(0, BUF_SIZE); 117 memset(buf, '\xff', BUF_SIZE); 159 buf = map_sysmem(0, BUF_SIZE); 203 buf = map_sysmem(0, BUF_SIZE); 221 buf = map_sysmem(0, BUF_SIZE); [all...] |
H A D | mem_search.c | 15 #define BUF_SIZE 0x100 macro 25 buf = map_sysmem(0, BUF_SIZE + 1); 26 memset(buf, '\0', BUF_SIZE); 54 buf = map_sysmem(0, BUF_SIZE + 2); 55 memset(buf, '\0', BUF_SIZE); 57 buf[BUF_SIZE / 2] = 0x1234; 79 buf = map_sysmem(0, BUF_SIZE + 4); 80 memset(buf, '\0', BUF_SIZE); 82 buf[BUF_SIZE / 4] = 0x12345678; 116 buf = map_sysmem(0, BUF_SIZE); [all...] |
H A D | loadm.c | 21 #define BUF_SIZE 0x100 macro 51 buf = map_sysmem(0, BUF_SIZE); 52 memset(buf, '\0', BUF_SIZE); 53 memset(buf, 0xaa, BUF_SIZE / 2);
|
H A D | mem_copy.c | 12 #define BUF_SIZE 256 macro 25 u8 shadow[BUF_SIZE]; 29 buf = map_sysmem(addr, BUF_SIZE); 32 for (i = 0; i < BUF_SIZE; ++i) 40 ut_assert(d < BUF_SIZE); 41 ut_assert(d + bytes <= BUF_SIZE); 42 ut_assert(s < BUF_SIZE); 43 ut_assert(s + bytes <= BUF_SIZE); 50 ut_asserteq(0, memcmp(buf, shadow, BUF_SIZE));
|
/u-boot/common/spl/ |
H A D | spl_ymodem.c | 20 #define BUF_SIZE 1024 macro 48 res = xyzModem_stream_read(buf, BUF_SIZE, &err); 57 if (info->image_read % BUF_SIZE) 58 buf_offset = (info->image_read % BUF_SIZE); 60 buf_offset = BUF_SIZE; 72 res = xyzModem_stream_read(buf, BUF_SIZE, &err); 98 char buf[BUF_SIZE]; 109 res = xyzModem_stream_read(buf, BUF_SIZE, &err); 122 while ((res = xyzModem_stream_read(buf, BUF_SIZE, &err)) > 0) { 140 info.image_read = BUF_SIZE; [all...] |
/u-boot/test/dm/ |
H A D | mux-cmd.c | 17 #define BUF_SIZE 256 macro 22 char str[BUF_SIZE], *tok; 43 console_record_readline(str, BUF_SIZE); 68 console_record_readline(str, BUF_SIZE); 119 char cmd[BUF_SIZE]; 135 snprintf(cmd, BUF_SIZE, "mux select a-mux-controller %x %x", i, 153 char cmd[BUF_SIZE]; 170 snprintf(cmd, BUF_SIZE, "mux deselect a-mux-controller %d", i);
|
H A D | acpi.c | 25 #define BUF_SIZE 4096 macro 267 buf = malloc(BUF_SIZE); 346 buf = memalign(64, BUF_SIZE); 389 buf = memalign(16, BUF_SIZE); 432 buf = memalign(16, BUF_SIZE); 512 buf = malloc(BUF_SIZE); 543 buf = malloc(BUF_SIZE); 575 buf = malloc(BUF_SIZE); 631 buf = memalign(16, BUF_SIZE); 696 buf = memalign(16, BUF_SIZE); [all...] |
/u-boot/test/lib/ |
H A D | strlcat.c | 14 #define BUF_SIZE 4096 macro 15 char buf1[BUF_SIZE], buf2[BUF_SIZE]; 24 if (align1 + len1 >= BUF_SIZE) 26 if (align1 + n > BUF_SIZE) 30 if (align2 + len1 + len2 >= BUF_SIZE) 32 if (align2 + len1 + n > BUF_SIZE)
|
/u-boot/tools/ |
H A D | update_octeon_header.c | 25 #define BUF_SIZE (16 * 1024) macro 150 uint8_t buf[BUF_SIZE]; 343 len = read(fd, buf, BUF_SIZE); 372 while ((len = read(fd, buf, BUF_SIZE)) > 0) {
|
/u-boot/include/ |
H A D | rkmtd.h | 22 #define BUF_SIZE 512 * 512 macro
|
/u-boot/scripts/kconfig/lxdialog/ |
H A D | dialog.h | 42 #define BUF_SIZE (10*1024) macro
|
/u-boot/drivers/block/ |
H A D | rkmtd.c | 313 memset(plat->check, 0, BUF_SIZE); 423 memset(plat->idb, 0, BUF_SIZE); 478 memset(plat->idb, 0, BUF_SIZE); 487 memset(plat->idb, 0, BUF_SIZE); 698 plat->idb = devm_kzalloc(plat->dev, BUF_SIZE, GFP_KERNEL); 702 plat->check = devm_kzalloc(plat->dev, BUF_SIZE, GFP_KERNEL); 932 memset(plat->idb, 0, BUF_SIZE);
|