Home
last modified time | relevance | path

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

/u-boot/lib/efi_selftest/
A Defi_selftest_util.c105 int efi_st_strcmp_16_8(const u16 *buf1, const char *buf2) in efi_st_strcmp_16_8() argument
107 for (; *buf1 || *buf2; ++buf1, ++buf2) { in efi_st_strcmp_16_8()
108 if (*buf1 != *buf2) in efi_st_strcmp_16_8()
109 return *buf1 - *buf2; in efi_st_strcmp_16_8()
/u-boot/arch/powerpc/cpu/mpc85xx/
A Dcpu.c54 char buf1[32], buf2[32]; in checkcpu() local
180 strmhz(buf1, sysinfo.freq_processor[core])); in checkcpu()
188 strmhz(buf1, sysinfo.freq_processor_dsp[dsp_core])); in checkcpu()
199 strmhz(buf1, sysinfo.freq_ddrbus/2), in checkcpu()
204 strmhz(buf1, sysinfo.freq_ddrbus/2), in checkcpu()
211 strmhz(buf1, sysinfo.freq_ddrbus/2), in checkcpu()
217 strmhz(buf1, sysinfo.freq_ddrbus/2), in checkcpu()
223 strmhz(buf1, sysinfo.freq_ddrbus/2), in checkcpu()
252 printf("CPRI:%-4s MHz", strmhz(buf1, sysinfo.freq_cpri)); in checkcpu()
260 strmhz(buf1, sysinfo.freq_maple_etvpe)); in checkcpu()
[all …]
/u-boot/arch/m68k/cpu/mcf5445x/
A Dcpu.c86 char buf1[32], buf2[32], buf3[32]; in print_cpuinfo() local
91 strmhz(buf1, gd->cpu_clk), in print_cpuinfo()
96 strmhz(buf1, gd->pci_clk), in print_cpuinfo()
101 strmhz(buf1, gd->arch.inp_clk), in print_cpuinfo()
/u-boot/arch/m68k/cpu/mcf5227x/
A Dcpu.c52 char buf1[32], buf2[32], buf3[32]; in print_cpuinfo() local
57 strmhz(buf1, gd->cpu_clk), in print_cpuinfo()
61 strmhz(buf1, gd->arch.inp_clk), in print_cpuinfo()
/u-boot/arch/powerpc/cpu/mpc86xx/
A Dcpu.c41 char buf1[32], buf2[32]; in checkcpu() local
80 printf(" CPU:%-4s MHz, ", strmhz(buf1, sysinfo.freq_processor)); in checkcpu()
81 printf("MPX:%-4s MHz\n", strmhz(buf1, sysinfo.freq_systembus)); in checkcpu()
83 strmhz(buf1, sysinfo.freq_systembus / 2), in checkcpu()
87 printf("LBC:%-4s MHz\n", strmhz(buf1, sysinfo.freq_localbus)); in checkcpu()
/u-boot/env/
A Dcommon.c145 int env_check_redund(const char *buf1, int buf1_read_fail, in env_check_redund() argument
151 tmp_env1 = (env_t *)buf1; in env_check_redund()
199 int env_import_redund(const char *buf1, int buf1_read_fail, in env_import_redund() argument
206 ret = env_check_redund(buf1, buf1_read_fail, buf2, buf2_read_fail); in env_import_redund()
212 return env_import((char *)buf1, 1, flags); in env_import_redund()
221 ep = (env_t *)buf1; in env_import_redund()
/u-boot/arch/m68k/cpu/mcf523x/
A Dcpu.c52 char buf1[32], buf2[32]; in print_cpuinfo() local
57 strmhz(buf1, gd->cpu_clk), in print_cpuinfo()
/u-boot/test/lib/
A Dstring.c134 u8 buf1[BUFLEN]; in lib_memcpy() local
139 init_buffer(buf1, MASK); in lib_memcpy()
145 ptr = memcpy(buf2 + offset2, buf1 + offset1, in lib_memcpy()
/u-boot/arch/m68k/cpu/mcf547x_8x/
A Dcpu.c88 char buf1[32], buf2[32]; in print_cpuinfo() local
92 strmhz(buf1, gd->cpu_clk), in print_cpuinfo()
/u-boot/arch/m68k/cpu/mcf532x/
A Dcpu.c92 char buf1[32], buf2[32]; in print_cpuinfo() local
97 strmhz(buf1, gd->cpu_clk), in print_cpuinfo()
/u-boot/arch/arm/cpu/armv7/ls102xa/
A Dcpu.c237 char buf1[32], buf2[32]; in print_cpuinfo() local
273 printf("\n CPU0(ARMV7):%-4s MHz, ", strmhz(buf1, gd->cpu_clk)); in print_cpuinfo()
274 printf("\n Bus:%-4s MHz, ", strmhz(buf1, gd->bus_clk)); in print_cpuinfo()
276 strmhz(buf1, gd->mem_clk/2), strmhz(buf2, gd->mem_clk)); in print_cpuinfo()
/u-boot/include/
A Denv.h336 int env_check_redund(const char *buf1, int buf1_read_fail,
349 int env_import_redund(const char *buf1, int buf1_read_fail,
A Defi_selftest.h128 int efi_st_strcmp_16_8(const u16 *buf1, const char *buf2);
/u-boot/drivers/mtd/ubi/
A Dcrc32.c485 unsigned char buf1[SIZE + 4]; in main() local
494 random_garbage(buf1, i); in main()
497 buf3[j] = buf1[j] ^ buf2[j]; in main()
499 crc1 = test_step(INIT1, buf1, i); in main()
A Dio.c1329 void *buf1; in self_check_write() local
1335 buf1 = __vmalloc(len, GFP_NOFS, PAGE_KERNEL); in self_check_write()
1336 if (!buf1) { in self_check_write()
1341 err = mtd_read(ubi->mtd, addr, len, &read, buf1); in self_check_write()
1347 uint8_t c1 = ((uint8_t *)buf1)[i]; in self_check_write()
1366 buf1 + i, dump_len, 1); in self_check_write()
1373 vfree(buf1); in self_check_write()
1377 vfree(buf1); in self_check_write()
/u-boot/cmd/
A Dmem.c247 const void *buf1, *buf2, *base; in do_mem_cmp() local
270 base = buf1 = map_sysmem(addr1, bytes); in do_mem_cmp()
274 word1 = *(u32 *)buf1; in do_mem_cmp()
277 word1 = *(ulong *)buf1; in do_mem_cmp()
280 word1 = *(u16 *)buf1; in do_mem_cmp()
283 word1 = *(u8 *)buf1; in do_mem_cmp()
287 ulong offset = buf1 - base; in do_mem_cmp()
295 buf1 += size; in do_mem_cmp()
302 unmap_sysmem(buf1); in do_mem_cmp()
/u-boot/drivers/bios_emulator/x86emu/
A Ddebug.c186 char buf1[64]; in print_encoded_bytes() local
188 sprintf(buf1 + 2 * i, "%02x", fetch_data_byte_abs(s, o + i)); in print_encoded_bytes()
190 printk("%-20s", buf1); in print_encoded_bytes()
/u-boot/arch/m68k/cpu/mcf52x2/
A Dcpu.c47 char buf1[32], buf2[32]; in print_cpuinfo() local
51 strmhz(buf1, gd->cpu_clk), in print_cpuinfo()
/u-boot/fs/ubifs/
A Drecovery.c233 void *buf1 = NULL, *buf2 = NULL, *cor1 = NULL, *cor2 = NULL; in ubifs_recover_master_node() local
240 err = get_master_node(c, UBIFS_MST_LNUM, &buf1, &mst1, &cor1); in ubifs_recover_master_node()
249 offs1 = (void *)mst1 - buf1; in ubifs_recover_master_node()
353 vfree(buf1); in ubifs_recover_master_node()
370 vfree(buf1); in ubifs_recover_master_node()
/u-boot/board/gateworks/gw_ventana/
A Dgw_ventana.c829 char buf1[32]; in misc_init_r() local
830 sprintf(buf1, "dio%d:mode=gpio;", i); in misc_init_r()
831 if (strlen(buf) + strlen(buf1) < sizeof(buf)) in misc_init_r()
832 strcat(buf, buf1); in misc_init_r()
/u-boot/drivers/video/
A Dmx3fb.c509 void *buf0, void *buf1) in ipu_ch_param_set_buffer() argument
512 params->pp.eba1 = (u32)buf1; in ipu_ch_param_set_buffer()

Completed in 32 milliseconds