Searched refs:buf2 (Results 1 - 19 of 19) sorted by relevance

/u-boot/arch/m68k/cpu/mcf523x/
H A Dcpu.c50 char buf1[32], buf2[32]; local
56 strmhz(buf2, gd->bus_clk));
/u-boot/arch/m68k/cpu/mcf5445x/
H A Dcpu.c85 char buf1[32], buf2[32], buf3[32]; local
91 strmhz(buf2, gd->bus_clk),
96 strmhz(buf2, gd->arch.inp_clk),
101 strmhz(buf2, gd->arch.vco_clk));
/u-boot/lib/efi_selftest/
H A Defi_selftest_util.c105 int efi_st_strcmp_16_8(const u16 *buf1, const unsigned char *buf2) argument
107 for (; *buf1 || *buf2; ++buf1, ++buf2) {
108 if (*buf1 != *buf2)
109 return *buf1 - *buf2;
/u-boot/arch/m68k/cpu/mcf532x/
H A Dcpu.c90 char buf1[32], buf2[32]; local
96 strmhz(buf2, gd->bus_clk));
/u-boot/test/lib/
H A Dstring.c137 u8 buf2[BUFLEN]; local
146 init_buffer(buf2, 0);
147 ptr = memcpy(buf2 + offset2, buf1 + offset1,
149 ut_asserteq_ptr(buf2 + offset2, (u8 *)ptr);
150 if (test_memmove(uts, buf2, MASK, offset1,
H A Dstrlcat.c15 char buf1[BUF_SIZE], buf2[BUF_SIZE]; variable
36 s2 = buf2 + align2;
/u-boot/env/
H A Dfat.c118 ALLOC_CACHE_ALIGN_BUFFER(char, buf2, CONFIG_ENV_SIZE);
155 err2 = file_fat_read(CONFIG_ENV_FAT_FILE_REDUND, buf2, CONFIG_ENV_SIZE);
159 return env_import_redund(buf1, err1, buf2, err2, H_EXTERNAL);
H A Dcommon.c448 const char *buf2, int buf2_read_fail)
454 tmp_env2 = (env_t *)buf2;
496 const char *buf2, int buf2_read_fail,
502 ret = env_check_redund(buf1, buf1_read_fail, buf2, buf2_read_fail);
515 ep = (env_t *)buf2;
447 env_check_redund(const char *buf1, int buf1_read_fail, const char *buf2, int buf2_read_fail) argument
495 env_import_redund(const char *buf1, int buf1_read_fail, const char *buf2, int buf2_read_fail, int flags) argument
/u-boot/include/
H A Denv.h327 * @buf2: Second environment (struct environemnt_s *)
328 * @buf2_read_fail: 0 if buf2 is valid, non-zero if invalid
335 const char *buf2, int buf2_read_fail);
342 * @buf2: Second environment (struct environemnt_s *)
343 * @buf2_read_fail: 0 if buf2 is valid, non-zero if invalid
348 const char *buf2, int buf2_read_fail,
H A Defi_selftest.h130 * @buf2: char string
133 int efi_st_strcmp_16_8(const u16 *buf1, const unsigned char *buf2);
/u-boot/lib/efi_loader/
H A Dboothart.c104 * @buf2: second string
107 static int strcomp(const char *buf1, const char *buf2) argument
109 for (; *buf1 || *buf2; ++buf1, ++buf2) {
110 if (*buf1 != *buf2)
111 return *buf1 - *buf2;
/u-boot/tools/gdb/
H A Dremote.c636 char *buf2 = alloca (PBUFSIZ); local
649 p = buf2;
671 fputstrn_unfiltered (buf2, p - buf2, 0, gdb_stdlog);
675 if (SERIAL_WRITE (remote_desc, buf2, p - buf2))
/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dcpu.c58 char buf1[32], buf2[32]; local
207 strmhz(buf2, sysinfo.freq_ddrbus));
212 strmhz(buf2, sysinfo.freq_ddrbus));
219 strmhz(buf2, sysinfo.freq_ddrbus));
225 strmhz(buf2, sysinfo.freq_ddrbus));
231 strmhz(buf2, sysinfo.freq_ddrbus));
/u-boot/drivers/mtd/ubi/
H A Dcrc32.c486 unsigned char buf2[SIZE + 4]; local
495 random_garbage(buf2, i);
497 buf3[j] = buf1[j] ^ buf2[j];
500 crc2 = test_step(INIT2, buf2, i);
501 /* Now check that CRC(buf1 ^ buf2) = CRC(buf1) ^ CRC(buf2) */
/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dcpu.c239 char buf1[32], buf2[32]; local
278 strmhz(buf1, gd->mem_clk/2), strmhz(buf2, gd->mem_clk));
/u-boot/arch/m68k/cpu/mcf52x2/
H A Dcpu.c45 char buf1[32], buf2[32]; local
50 strmhz(buf2, gd->bus_clk));
/u-boot/cmd/
H A Dmem.c248 const void *buf1, *buf2, *base; local
272 buf2 = map_sysmem(addr2, bytes);
276 word2 = *(u32 *)buf2;
279 word2 = *(ulong *)buf2;
282 word2 = *(u16 *)buf2;
285 word2 = *(u8 *)buf2;
297 buf2 += size;
304 unmap_sysmem(buf2);
/u-boot/fs/ubifs/
H A Drecovery.c233 void *buf1 = NULL, *buf2 = NULL, *cor1 = NULL, *cor2 = NULL; local
244 err = get_master_node(c, UBIFS_MST_LNUM + 1, &buf2, &mst2, &cor2);
259 offs2 = (void *)mst2 - buf2;
297 offs2 = (void *)mst2 - buf2;
352 vfree(buf2);
369 vfree(buf2);
/u-boot/test/dm/
H A Dofnode.c1482 struct abuf buf, buf2; local
1492 ut_assertok(oftree_to_fdt(check, &buf2));
1493 ut_assert(abuf_size(&buf2) > SZ_16K);
1494 ut_asserteq(abuf_size(&buf), abuf_size(&buf2));
1495 ut_asserteq_mem(abuf_data(&buf), abuf_data(&buf2), abuf_size(&buf));

Completed in 146 milliseconds