Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 1009) sorted by relevance

12345678910>>...41

/u-boot/arch/arm/mach-rockchip/
A Dmake_fit_atf.py63 file.write('\t\t};\n')
64 file.write('\n')
78 file.write('\t\t};\n')
79 file.write('\n')
92 file.write('\n')
101 file.write(',')
109 file.write(';\n')
111 file.write('\t\t};\n')
112 file.write('\n')
123 file.write('\t};\n')
[all …]
/u-boot/drivers/misc/
A Dqfw.c38 struct fw_file *file; in bios_linker_allocate() local
48 file = qemu_fwcfg_find_file(entry->alloc.file); in bios_linker_allocate()
49 if (!file) { in bios_linker_allocate()
136 file = qemu_fwcfg_find_file(entry->cksum.file); in bios_linker_add_checksum()
137 if (!file || !file->addr) in bios_linker_add_checksum()
166 if (!file) { in write_acpi_tables()
317 file = malloc(sizeof(*file)); in qemu_fwcfg_read_firmware_list()
318 if (!file) { in qemu_fwcfg_read_firmware_list()
324 file->addr = 0; in qemu_fwcfg_read_firmware_list()
333 free(file); in qemu_fwcfg_read_firmware_list()
[all …]
/u-boot/scripts/kconfig/
A Dutil.c14 struct file *file_lookup(const char *name) in file_lookup()
16 struct file *file; in file_lookup() local
18 for (file = file_list; file; file = file->next) { in file_lookup()
19 if (!strcmp(name, file->name)) { in file_lookup()
20 return file; in file_lookup()
24 file = xmalloc(sizeof(*file)); in file_lookup()
25 memset(file, 0, sizeof(*file)); in file_lookup()
26 file->name = xstrdup(name); in file_lookup()
27 file->next = file_list; in file_lookup()
28 file_list = file; in file_lookup()
[all …]
/u-boot/common/
A Dconsole.c172 switch (file) { in console_setfile()
187 switch (file) { in console_setfile()
239 cd_count[file] = 1; in console_devices_set()
258 if (i == file) in console_needs_start_stop()
378 return stdio_devices[file]->getc(stdio_devices[file]); in console_getc()
388 return stdio_devices[file]->tstc(stdio_devices[file]); in console_tstc()
393 stdio_devices[file]->putc(stdio_devices[file], c); in console_putc()
399 stdio_devices[file]->puts(stdio_devices[file], s); in console_puts_select()
404 stdio_devices[file]->puts(stdio_devices[file], s); in console_puts()
467 int fgetc(int file) in fgetc() argument
[all …]
/u-boot/test/image/
A Dtest-imagetools.sh33 local file
35 for file in ${DATAFILES}; do
36 rm -f ${file} ${SRCDIR}/${file}
58 local file
61 for file in ${DATAFILES}; do
62 head -c $RANDOM /dev/urandom >${SRCDIR}/${file}
191 local file
198 for file in ${DATAFILES}; do
199 assert_equal ${file} ${SRCDIR}/${file}
210 for file in ${DATAFILES}; do
[all …]
/u-boot/cmd/
A Dcbfs.c50 const struct cbfs_cachenode *file; in do_cbfs_fsload() local
67 file = file_cbfs_find(argv[2]); in do_cbfs_fsload()
68 if (!file) { in do_cbfs_fsload()
76 printf("reading %s\n", file_cbfs_name(file)); in do_cbfs_fsload()
78 size = file_cbfs_read(file, (void *)offset, count); in do_cbfs_fsload()
100 if (!file) { in do_cbfs_ls()
107 while (file) { in do_cbfs_ls()
108 int type = file_cbfs_type(file); in do_cbfs_ls()
110 const char *filename = file_cbfs_name(file); in do_cbfs_ls()
112 printf(" %8d", file_cbfs_size(file)); in do_cbfs_ls()
[all …]
/u-boot/scripts/
A Dkernel-doc558 my $file = shift;
595 my $file = shift;
1199 my $file = shift;
1377 my $file = shift;
1586 my $file = shift;
1861 my $file = shift;
1992 my $file;
1998 $file = $orig_file;
2002 $file = $source_map{$file};
2005 return $file;
[all …]
A Dcheckstack.pl113 my ($func, $file, $lastslash);
119 elsif ($line =~ m/(.*):\s*file format/) {
120 $file = $1;
121 $file =~ s/\.ko//;
122 $lastslash = rindex($file, "/");
124 $file = substr($file, $lastslash + 1);
143 my $intro = "$addr $func [$file]:";
160 my $intro = "$addr $func [$file]:";
/u-boot/board/synopsys/hsdk/
A Dheaderize-hsdk.py24 with open(filename, "rb") as file:
25 ba = bytearray(file.read())
85 with open(headerised_filename, "wb") as file:
86 file.write(arc_id.to_bytes(2, byteorder='little'))
87 file.write(uboot_img_size.to_bytes(4, byteorder='little'))
88 file.write(check_sum.to_bytes(1, byteorder='little'))
90 file.write(magic1.to_bytes(5, byteorder='big'))
91 file.write(jump_address.to_bytes(4, byteorder='little'))
95 file.write(0xFF.to_bytes(1, byteorder='little'))
96 file.write(flash_address.to_bytes(4, byteorder='little'))
[all …]
/u-boot/doc/
A DREADME.asn113 1) define data structure in a text file (*.asn1)
15 3) generate bytecode as a C file (*.asn1.[ch]) from *.asn1 file
21 asn1_compiler [-v] [-d] <grammar-file> <c-file> <hdr-file>
23 <grammar-file>: ASN1 input file
24 <c-file>: generated C file
25 <hdr-file>: generated include file
/u-boot/tools/
A Dfile2include.c27 FILE *file; in main() local
38 file = fopen(argv[1], "r"); in main()
39 if (!file) { in main()
44 ret = fseek(file, 0, SEEK_END); in main()
49 count = ftell(file); in main()
54 rewind(file); in main()
61 count = fread(buf, 1, count, file); in main()
97 ret = fclose(file); in main()
A Dmrvl_uart.sh18 file=$2
44 if [[ -z "$port" || -z "$file" ]]
68 if [ -f "$file" ]
70 echo -e "Loading flash image file \"$file\""
72 echo "File $file does not exist!"
111 sx -vv $file > $port < $port
A Dimx_cntr_image.sh8 file=$1
10 blobs=`awk '/^APPEND/ {print $2} /^IMAGE/ || /^DATA/ {print $3}' $file`
26 sed -in "s;$f;$tmp;" $file
/u-boot/fs/ubifs/
A Dubifs.c290 static int ubifs_printdir(struct file *file, void *dirent) in ubifs_printdir() argument
301 if (file->f_pos > UBIFS_S_KEY_HASH_MASK || file->f_pos == 2) in ubifs_printdir()
377 file->f_pos = 2; in ubifs_printdir()
389 struct file *file; in ubifs_finddir() local
394 file = kzalloc(sizeof(struct file), 0); in ubifs_finddir()
461 free(file); in ubifs_finddir()
577 struct file *file; in ubifs_ls() local
591 file = kzalloc(sizeof(struct file), 0); in ubifs_ls()
605 file->f_pos = 1; in ubifs_ls()
610 if (file) in ubifs_ls()
[all …]
/u-boot/board/synopsys/axs10x/
A Dheaderize-axs.py27 with open(filename, "rb") as file:
28 ba = bytearray(file.read())
105 with open(headerised_filename, "wb") as file:
106 file.write(arc_id.to_bytes(2, byteorder='little'))
107 file.write(uboot_img_size.to_bytes(4, byteorder='little'))
108 file.write(check_sum.to_bytes(1, byteorder='little'))
109 file.write(image_copy_adr.to_bytes(4, byteorder='little'))
110 file.write(magic1.to_bytes(5, byteorder='big'))
112 for byte in magic2: file.write(byte.to_bytes(36, byteorder='big'))
114 file.write(0x00.to_bytes(1, byteorder='little'))
[all …]
/u-boot/common/spl/
A Dspl_ext.c74 __maybe_unused char *file; in spl_load_image_ext_os() local
91 file = env_get("falcon_args_file"); in spl_load_image_ext_os()
92 if (file) { in spl_load_image_ext_os()
93 err = ext4fs_open(file, &filelen); in spl_load_image_ext_os()
101 file, err); in spl_load_image_ext_os()
104 file = env_get("falcon_image_file"); in spl_load_image_ext_os()
105 if (file) { in spl_load_image_ext_os()
107 partition, file); in spl_load_image_ext_os()
A Dspl_fat.c120 __maybe_unused char *file; in spl_load_image_fat_os() local
127 file = env_get("falcon_args_file"); in spl_load_image_fat_os()
128 if (file) { in spl_load_image_fat_os()
129 err = file_fat_read(file, (void *)CONFIG_SYS_SPL_ARGS_ADDR, 0); in spl_load_image_fat_os()
132 file, err); in spl_load_image_fat_os()
135 file = env_get("falcon_image_file"); in spl_load_image_fat_os()
136 if (file) { in spl_load_image_fat_os()
138 partition, file); in spl_load_image_fat_os()
/u-boot/include/
A Diomux.h27 #define for_each_console_dev(i, file, dev) \ argument
28 for (i = 0, dev = console_devices[file][i]; \
29 i < cd_count[file]; \
30 i++, dev = console_devices[file][i])
A Dstdio.h53 int __printf(2, 3) fprintf(int file, const char *fmt, ...);
54 void fputs(int file, const char *s);
55 void fputc(int file, const char c);
56 int ftstc(int file);
57 int fgetc(int file);
/u-boot/
A DKbuild8 generic-offsets-file := include/generated/generic-asm-offsets.h
10 always := $(generic-offsets-file)
13 $(obj)/$(generic-offsets-file): $(obj)/lib/asm-offsets.s FORCE
20 offsets-file := include/generated/asm-offsets.h
23 always += $(offsets-file)
28 $(obj)/$(offsets-file): $(obj)/arch/$(ARCH)/lib/asm-offsets.s FORCE
/u-boot/lib/efi_selftest/
A Ddtbdump.c328 ret = file->getinfo(file, &efi_file_info_guid, &buffer_size, NULL); in do_load()
338 ret = file->getinfo(file, &efi_file_info_guid, &buffer_size, info); in do_load()
357 ret = file->read(file, &buffer_size, dtb); in do_load()
380 ret = file->setpos(file, 0); in do_load()
385 ret = file->read(file, &buffer_size, dtb); in do_load()
406 if (file) { in do_load()
407 ret2 = file->close(file); in do_load()
429 struct efi_file_handle *root, *file; in do_save() local
459 file->close(file); in do_save()
476 ret = file->write(file, &dtb_size, dtb); in do_save()
[all …]
A Defi_selftest_block_device.c306 struct efi_file_handle *root, *file; in execute() local
410 ret = root->open(root, &file, L"hello.txt", EFI_FILE_MODE_READ, in execute()
416 ret = file->setpos(file, 1); in execute()
422 ret = file->read(file, &buf_size, buf); in execute()
436 ret = file->getpos(file, &pos); in execute()
446 ret = file->close(file); in execute()
463 ret = file->write(file, &buf_size, buf); in execute()
468 ret = file->getpos(file, &pos); in execute()
478 ret = file->close(file); in execute()
493 ret = file->read(file, &buf_size, buf); in execute()
[all …]
/u-boot/lib/efi_loader/
A Defi_load_initrd.c52 static loff_t get_file_size(const char *dev, const char *part, const char *file, in get_file_size() argument
64 ret = fs_size(file, &sz); in get_file_size()
99 char *dev, *part, *file; in efi_load_file2_initrd() local
141 file = strsep(&pos, " "); in efi_load_file2_initrd()
142 if (!file) in efi_load_file2_initrd()
145 file_sz = get_file_size(dev, part, file, &status); in efi_load_file2_initrd()
159 ret = fs_read(file, map_to_sysmem(buffer), 0, *buffer_size, in efi_load_file2_initrd()
/u-boot/fs/btrfs/
A Dbtrfs.c162 int btrfs_exists(const char *file) in btrfs_exists() argument
173 file, &root, &ino, &type, 40); in btrfs_exists()
182 int btrfs_size(const char *file, loff_t *size) in btrfs_size() argument
194 file, &root, &ino, &type, 40); in btrfs_size()
196 printf("Cannot lookup file %s\n", file); in btrfs_size()
200 printf("Not a regular file: %s\n", file); in btrfs_size()
238 file, &root, &ino, &type, 40); in btrfs_read()
240 error("Cannot lookup file %s", file); in btrfs_read()
245 error("Not a regular file: %s", file); in btrfs_read()
250 ret = btrfs_size(file, &real_size); in btrfs_read()
[all …]
/u-boot/scripts/dtc/
A Dsrcpos.h76 struct srcfile_state *file; member
88 (Current).file = YYRHSLOC(Rhs, N).file; \
94 (Current).file = YYRHSLOC (Rhs, 0).file; \

Completed in 32 milliseconds

12345678910>>...41