Searched refs:fp (Results 1 - 25 of 50) sorted by relevance

12

/u-boot/arch/m68k/lib/
H A Dtraps.c22 static void show_frame(struct pt_regs *fp) argument
24 printf ("Vector Number: %d Format: %02x Fault Status: %01x\n\n", (fp->vector & 0x3fc) >> 2,
25 fp->format, (fp->vector & 0x3) | ((fp->vector & 0xc00) >> 8));
26 printf ("PC: %08lx SR: %08lx SP: %08lx\n", fp->pc, (long) fp->sr, (long) fp);
28 fp->d0, fp
37 exc_handler(struct pt_regs *fp) argument
[all...]
H A Dinterrupts.c87 void int_handler (struct pt_regs *fp) argument
91 vec = (fp->vector >> 2) & 0xff;
/u-boot/tools/
H A Dbmp_logo.c38 void skip_bytes (FILE *fp, int n) argument
41 fgetc (fp);
45 int error (char * msg, FILE *fp) argument
49 fclose (fp);
79 FILE *fp; local
100 fp = fopen(argv[2], "rb");
101 if (!fp) {
106 if (fgetc (fp) != 'B' || fgetc (fp) != 'M')
107 error ("Input file is not a bitmap", fp);
[all...]
H A Dmkenvimage.c86 int fp, ep; local
190 for (fp = 0, ep = 0 ; fp < filesize && ep < envsize - 1; fp++) {
191 if (filebuf[fp] == '\n') {
192 if (fp == 0 || filebuf[fp-1] == '\n') {
197 } else if (filebuf[fp-1] == '\\') {
210 } else if ((fp == 0 || filebuf[fp
[all...]
H A Dzynqmpimage.c343 static uint32_t fsize(FILE *fp) argument
347 origin = ftell(fp);
350 fclose(fp);
354 ret = fseek(fp, 0L, SEEK_END);
357 fclose(fp);
361 size = ftell(fp);
364 fclose(fp);
369 ret = fseek(fp, origin, SEEK_SET);
372 fclose(fp);
406 FILE *fp; local
[all...]
H A Dzynqimage.c233 FILE *fp; local
240 fp = fopen(filename, "r");
241 if (!fp) {
246 err = fstat(fileno(fp), &path_stat);
248 fclose(fp);
253 fclose(fp);
258 r = fscanf(fp, "%x %x", &reginit.address, &reginit.data);
263 r = fscanf(fp, "%*[^\n]\n"); /* Skip to next line */
265 fclose(fp);
H A Dsunxi_toc0.c724 FILE *fp; local
727 fp = fopen(root_key_file, "rb");
728 if (fp) {
730 root_key = PEM_read_RSAPrivateKey(fp, NULL, NULL, NULL);
732 root_key = PEM_read_RSAPublicKey(fp, NULL, NULL, NULL);
733 fclose(fp);
812 FILE *fp; local
815 fp = fopen(key_item_file, "rb");
816 if (fp) {
820 if (!key_item || fread(key_item, key_item_len, 1, fp) !
[all...]
H A Dmxsimage.c446 FILE *fp; local
453 fp = fopen(filename, "r");
454 if (!fp)
457 ret = fseek(fp, 0, SEEK_END);
461 real_size = ftell(fp);
465 ret = fseek(fp, 0, SEEK_SET);
474 size = fread(data, 1, real_size, fp);
481 fclose(fp);
487 fclose(fp);
1592 FILE *fp; local
1647 sb_verify_image_header(struct sb_image_ctx *ictx, FILE *fp, long fsize) argument
1805 sb_verify_command(struct sb_image_ctx *ictx, struct sb_cmd_ctx *cctx, FILE *fp, unsigned long *tsize) argument
1900 sb_verify_commands(struct sb_image_ctx *ictx, struct sb_section_ctx *sctx, FILE *fp) argument
1939 sb_verify_sections_cmds(struct sb_image_ctx *ictx, FILE *fp) argument
2020 sb_verify_image_end(struct sb_image_ctx *ictx, FILE *fp, off_t filesz) argument
2066 FILE *fp; local
[all...]
/u-boot/include/
H A Dslre.h98 void slre_dump(const struct slre *r, FILE *fp);
/u-boot/arch/arc/include/asm/
H A Dptrace.h17 long fp; member in struct:pt_regs
/u-boot/test/py/tests/
H A Dvboot_forge.py221 def read_fdt(fp):
225 header = HeaderV17.unpack_from(fp.read(HeaderV17.size))
229 fp.seek(header.off_dt_struct)
230 structs = fp.read(header.size_dt_struct)
231 fp.seek(header.off_dt_strings)
232 strings = fp.read(header.size_dt_strings)
297 def write_fdt(root, strblock, fp):
305 fp.write(header.pack())
307 header.off_mem_rsvmap = fp.tell()
308 fp
[all...]
/u-boot/lib/
H A Dslre.c98 print_character_set(FILE *fp, const unsigned char *p, int len) argument
104 (void) fputc(',', fp);
108 (void) fprintf(fp, "\\x%02x", p[i]);
110 (void) fprintf(fp, "%s", opcodes[p[i]].name);
112 (void) fputc(p[i], fp);
114 (void) fprintf(fp, "\\x%02x", p[i]);
120 slre_dump(const struct slre *r, FILE *fp) argument
127 (void) fprintf(fp, "%3d %s ", pc, opcodes[op].name);
132 (void) fprintf(fp, "%d ", r->code[pc + 1]);
136 (void) fprintf(fp, "
673 FILE *fp; local
[all...]
/u-boot/arch/mips/include/asm/
H A Dregdef.h54 #define fp $30 /* frame pointer */ macro
55 #define s8 $30 /* same like fp! */
97 #define fp $30 /* frame pointer */ macro
/u-boot/arch/arm/include/asm/arch-omap3/
H A Ddss.h217 #define DSS_HFP(fp) (((fp) - 1) << 8)
220 #define DSS_VFP(fp) ((fp) << 8)
223 #define PANEL_TIMING_H(bp, fp, sw) (DSS_HBP(bp) | DSS_HFP(fp) | DSS_HSW(sw))
224 #define PANEL_TIMING_V(bp, fp, sw) (DSS_VBP(bp) | DSS_VFP(fp) | DSS_VSW(sw))
/u-boot/scripts/dtc/
H A Dsrcpos.c68 * @param fp Set to NULL if file did not open
71 static char *try_open(const char *dirname, const char *fname, FILE **fp) argument
80 *fp = fopen(fullname, "rb");
81 if (!*fp) {
95 * @param fp Returns pointer to opened FILE, or NULL on failure
98 static char *fopen_any_on_path(const char *fname, FILE **fp) argument
105 assert(fp);
108 fullname = try_open(cur_dir, fname, fp);
111 for (node = search_path_head; !*fp && node; node = node->next)
112 fullname = try_open(node->dirname, fname, fp);
[all...]
H A Dutil.c426 FILE *fp = errmsg ? stderr : stdout; local
432 fprintf(fp,
454 fprintf(fp, " ");
456 fprintf(fp, " -%c, ", long_opts[i].val);
460 fprintf(fp, "--%-*s", optlen, long_opts[i].name);
462 fprintf(fp, "--%s %s%*s", long_opts[i].name, a_arg,
466 fprintf(fp, "%s\n", opts_help[i]);
470 fprintf(fp, "\nError: %s\n", errmsg);
/u-boot/arch/riscv/lib/
H A Dinterrupts.c65 uintptr_t *fp = (uintptr_t *)regs->s0; local
74 while (fp != NULL && fp != (uintptr_t *)gd) {
75 ra = fp[-1];
77 count, (ulong)fp, ra);
85 fp = (uintptr_t *)fp[-2];
/u-boot/scripts/kconfig/
H A Dconfdata.c521 kconfig_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) argument
531 fprintf(fp, "# %s%s is not set\n",
540 fprintf(fp, "%s%s=%s\n", CONFIG_, sym->name, value);
544 kconfig_print_comment(FILE *fp, const char *value, void *arg) argument
551 fprintf(fp, "#");
553 fprintf(fp, " ");
554 xfwrite(p, l, 1, fp);
557 fprintf(fp, "\n");
575 header_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) argument
590 fprintf(fp, "#defin
616 header_print_comment(FILE *fp, const char *value, void *arg) argument
649 tristate_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) argument
662 conf_write_symbol(FILE *fp, struct symbol *sym, struct conf_printer *printer, void *printer_arg) argument
686 conf_write_heading(FILE *fp, struct conf_printer *printer, void *printer_arg) argument
[all...]
/u-boot/post/lib_powerpc/fpu/
H A DMakefile7 acc1.o compare-fp-1.o fpu.o mul-subnormal-single-1.o darwin-ldouble.o
/u-boot/arch/mips/mach-mtmips/mt7620/
H A Dlowlevel_init.S33 move fp, sp
/u-boot/lib/efi_loader/
H A Defi_device_path.c899 struct efi_device_path_file_path *fp; local
918 fp = pos;
919 fp->dp.type = DEVICE_PATH_TYPE_MEDIA_DEVICE;
920 fp->dp.sub_type = DEVICE_PATH_SUB_TYPE_FILE_PATH;
921 fp->dp.length = (u16)fpsize;
922 path_to_uefi(fp->str, path);
1013 struct efi_device_path *p, *dp, *fp = NULL; local
1026 fp = efi_dp_dup(p);
1027 if (!fp)
1035 *file_path = fp;
1147 struct efi_device_path *fp = lo->file_path; local
[all...]
/u-boot/arch/arm/include/asm/
H A Dprocessor.h96 return t->save ? t->save->fp : 0;
/u-boot/arch/arm/include/asm/proc-armv/
H A Dprocessor.h34 unsigned long fp; member in struct:context_save_struct
/u-boot/cmd/
H A Dflash.c51 flash_info_t *fp; local
65 fp = &flash_info[bank - 1];
66 if (fp->flash_id == FLASH_UNKNOWN)
75 if (ep == str || *ep != '\0' || first >= fp->sector_count)
81 last < first || last >= fp->sector_count)
87 *pinfo = fp;
/u-boot/tools/env/
H A Dfw_env.c746 FILE *fp; local
764 fp = stdin;
766 fp = fopen(fname, "r");
767 if (fp == NULL) {
774 while ((len = getline(&line, &linesize, fp)) != -1) {
842 fclose(fp);
1736 FILE *fp; local
1748 fp = fopen(comp, "r");
1749 if (!fp) {
1753 if (fstat(fileno(fp),
1873 FILE *fp; local
[all...]

Completed in 172 milliseconds

12