Searched refs:buf1 (Results 1 - 21 of 21) sorted by relevance

/u-boot/arch/m68k/cpu/mcf523x/
H A Dcpu.c50 char buf1[32], buf2[32]; local
55 strmhz(buf1, gd->cpu_clk),
/u-boot/arch/m68k/cpu/mcf5445x/
H A Dcpu.c85 char buf1[32], buf2[32], buf3[32]; local
90 strmhz(buf1, gd->cpu_clk),
95 strmhz(buf1, gd->pci_clk),
100 strmhz(buf1, gd->arch.inp_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/powerpc/cpu/mpc85xx/
H A Dcpu.c58 char buf1[32], buf2[32]; local
187 strmhz(buf1, sysinfo.freq_processor[core]));
195 strmhz(buf1, sysinfo.freq_processor_dsp[dsp_core]));
199 printf("\n CCB:%-4s MHz,", strmhz(buf1, sysinfo.freq_systembus));
206 strmhz(buf1, sysinfo.freq_ddrbus/2),
211 strmhz(buf1, sysinfo.freq_ddrbus/2),
218 strmhz(buf1, sysinfo.freq_ddrbus/2),
224 strmhz(buf1, sysinfo.freq_ddrbus/2),
230 strmhz(buf1, sysinfo.freq_ddrbus/2),
238 printf("LBC:%-4s MHz\n", strmhz(buf1, sysinf
[all...]
/u-boot/env/
H A Dfat.c116 ALLOC_CACHE_ALIGN_BUFFER(char, buf1, CONFIG_ENV_SIZE);
153 err1 = file_fat_read(CONFIG_ENV_FAT_FILE, buf1, CONFIG_ENV_SIZE);
159 return env_import_redund(buf1, err1, buf2, err2, H_EXTERNAL);
171 return env_import(buf1, 1, H_EXTERNAL);
H A Dcommon.c447 int env_check_redund(const char *buf1, int buf1_read_fail, argument
453 tmp_env1 = (env_t *)buf1;
495 int env_import_redund(const char *buf1, int buf1_read_fail, argument
502 ret = env_check_redund(buf1, buf1_read_fail, buf2, buf2_read_fail);
513 ep = (env_t *)buf1;
/u-boot/arch/m68k/cpu/mcf532x/
H A Dcpu.c90 char buf1[32], buf2[32]; local
95 strmhz(buf1, gd->cpu_clk),
/u-boot/include/
H A Denv.h325 * @buf1: First environment (struct environemnt_s *)
326 * @buf1_read_fail: 0 if buf1 is valid, non-zero if invalid
334 int env_check_redund(const char *buf1, int buf1_read_fail,
340 * @buf1: First environment (struct environemnt_s *)
341 * @buf1_read_fail: 0 if buf1 is valid, non-zero if invalid
347 int env_import_redund(const char *buf1, int buf1_read_fail,
H A Defi_selftest.h129 * @buf1: u16 string
133 int efi_st_strcmp_16_8(const u16 *buf1, const unsigned char *buf2);
/u-boot/lib/efi_loader/
H A Dboothart.c103 * @buf1: first 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/test/lib/
H A Dstring.c136 u8 buf1[BUFLEN]; local
141 init_buffer(buf1, MASK);
147 ptr = memcpy(buf2 + offset2, buf1 + offset1,
H A Dstrlcat.c15 char buf1[BUF_SIZE], buf2[BUF_SIZE]; variable
35 s1 = buf1 + align1;
/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dcpu.c239 char buf1[32], buf2[32]; local
275 printf("\n CPU0(ARMV7):%-4s MHz, ", strmhz(buf1, gd->cpu_clk));
276 printf("\n Bus:%-4s MHz, ", strmhz(buf1, gd->bus_clk));
278 strmhz(buf1, gd->mem_clk/2), strmhz(buf2, gd->mem_clk));
/u-boot/drivers/mtd/ubi/
H A Dcrc32.c485 unsigned char buf1[SIZE + 4]; local
494 random_garbage(buf1, i);
497 buf3[j] = buf1[j] ^ buf2[j];
499 crc1 = test_step(INIT1, buf1, i);
501 /* Now check that CRC(buf1 ^ buf2) = CRC(buf1) ^ CRC(buf2) */
H A Dio.c1316 void *buf1; local
1322 buf1 = __vmalloc(len, GFP_NOFS, PAGE_KERNEL);
1323 if (!buf1) {
1328 err = mtd_read(ubi->mtd, addr, len, &read, buf1);
1334 uint8_t c1 = ((uint8_t *)buf1)[i];
1353 buf1 + i, dump_len, 1);
1360 vfree(buf1);
1364 vfree(buf1);
/u-boot/drivers/bios_emulator/x86emu/
H A Ddebug.c187 char buf1[64]; local
189 sprintf(buf1 + 2 * i, "%02x", fetch_data_byte_abs(s, o + i));
191 printk("%-20s", buf1);
/u-boot/cmd/
H A Dmem.c248 const void *buf1, *buf2, *base; local
271 base = buf1 = map_sysmem(addr1, bytes);
275 word1 = *(u32 *)buf1;
278 word1 = *(ulong *)buf1;
281 word1 = *(u16 *)buf1;
284 word1 = *(u8 *)buf1;
288 ulong offset = buf1 - base;
296 buf1 += size;
303 unmap_sysmem(buf1);
/u-boot/arch/m68k/cpu/mcf52x2/
H A Dcpu.c45 char buf1[32], buf2[32]; local
49 strmhz(buf1, gd->cpu_clk),
/u-boot/tools/env/
H A Dfw_env.c1419 void *buf1 = NULL; local
1471 buf1 = calloc(1, CUR_ENVSIZE);
1472 if (buf1 == NULL) {
1479 redundant1 = buf1;
1481 if (flash_io(O_RDONLY, buf1, CUR_ENVSIZE)) {
1570 environment.image = buf1;
1580 free(buf1);
1590 free(buf1);
/u-boot/fs/ubifs/
H A Drecovery.c233 void *buf1 = NULL, *buf2 = NULL, *cor1 = NULL, *cor2 = NULL; local
240 err = get_master_node(c, UBIFS_MST_LNUM, &buf1, &mst1, &cor1);
249 offs1 = (void *)mst1 - buf1;
353 vfree(buf1);
370 vfree(buf1);
/u-boot/board/gateworks/gw_ventana/
H A Dgw_ventana.c727 char buf1[32]; local
728 sprintf(buf1, "dio%d:mode=gpio;", i);
729 if (strlen(buf) + strlen(buf1) < sizeof(buf))
730 strcat(buf, buf1);

Completed in 109 milliseconds