Home
last modified time | relevance | path

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

12345678910>>...32

/rk3399_rockchip-uboot/arch/arm/mach-rockchip/
H A Dmake_fit_atf.py62 def append_atf_node(file, atf_index, phy_addr): argument
67 print >> file, '\t\tatf@%d {' % atf_index
68 print >> file, '\t\t\tdescription = \"ARM Trusted Firmware\";'
69 print >> file, '\t\t\tdata = /incbin/("%s");' % data
70 print >> file, '\t\t\ttype = "firmware";'
71 print >> file, '\t\t\tarch = "arm64";'
72 print >> file, '\t\t\tos = "arm-trusted-firmware";'
73 print >> file, '\t\t\tcompression = "none";'
74 print >> file, '\t\t\tload = <0x%08x>;' % phy_addr
76 print >> file, '\t\t\tentry = <0x%08x>;' % phy_addr
[all …]
/rk3399_rockchip-uboot/scripts/kconfig/
H A Dutil.c14 struct file *file_lookup(const char *name) in file_lookup()
16 struct file *file; in file_lookup() local
19 for (file = file_list; file; file = file->next) { in file_lookup()
20 if (!strcmp(name, file->name)) { in file_lookup()
22 return file; in file_lookup()
26 file = xmalloc(sizeof(*file)); in file_lookup()
27 memset(file, 0, sizeof(*file)); in file_lookup()
28 file->name = file_name; in file_lookup()
29 file->next = file_list; in file_lookup()
30 file_list = file; in file_lookup()
[all …]
H A Dkxgettext.c65 const char *file; member
69 static struct file_line *file_line__new(const char *file, int lineno) in file_line__new() argument
76 self->file = file; in file_line__new()
93 const char *file, int lineno) in message__new() argument
100 self->files = file_line__new(file, lineno); in message__new()
133 static int message__add_file_line(struct message *self, const char *file, in message__add_file_line() argument
137 struct file_line *fl = file_line__new(file, lineno); in message__add_file_line()
149 static int message__add(const char *msg, char *option, const char *file, in message__add() argument
158 rc = message__add_file_line(m, file, lineno); in message__add()
160 m = message__new(escaped, option, file, lineno); in message__add()
[all …]
/rk3399_rockchip-uboot/drivers/misc/
H 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()
50 printf("error: can't find file %s\n", entry->alloc.file); in bios_linker_allocate()
54 size = be32_to_cpu(file->cfg.size); in bios_linker_allocate()
76 file->cfg.name, size, entry->alloc.zone, align, aligned_addr); in bios_linker_allocate()
78 qemu_fwcfg_read_entry(be16_to_cpu(file->cfg.select), in bios_linker_allocate()
80 file->addr = aligned_addr; in bios_linker_allocate()
132 struct fw_file *file; in bios_linker_add_checksum() local
136 file = qemu_fwcfg_find_file(entry->cksum.file); in bios_linker_add_checksum()
[all …]
/rk3399_rockchip-uboot/common/
H A Dconsole.c112 static int console_setfile(int file, struct stdio_dev * dev) in console_setfile() argument
119 switch (file) { in console_setfile()
132 stdio_devices[file] = dev; in console_setfile()
138 switch (file) { in console_setfile()
193 static int console_getc(int file) in console_getc() argument
203 static int console_tstc(int file) in console_tstc() argument
209 for (i = 0; i < cd_count[file]; i++) { in console_tstc()
210 dev = console_devices[file][i]; in console_tstc()
225 static void console_putc(int file, const char c) in console_putc() argument
230 for (i = 0; i < cd_count[file]; i++) { in console_putc()
[all …]
/rk3399_rockchip-uboot/test/image/
H A Dtest-imagetools.sh34 local file
36 for file in ${DATAFILES}; do
37 rm -f ${file} ${SRCDIR}/${file}
59 local file
62 for file in ${DATAFILES}; do
63 head -c $RANDOM /dev/urandom >${SRCDIR}/${file}
105 echo -e "\nExtracting multi-file image contents..."
192 local file
199 for file in ${DATAFILES}; do
200 assert_equal ${file} ${SRCDIR}/${file}
[all …]
/rk3399_rockchip-uboot/cmd/
H A Dcbfs.c51 const struct cbfs_cachenode *file; in do_cbfs_fsload() local
68 file = file_cbfs_find(argv[2]); in do_cbfs_fsload()
69 if (!file) { in do_cbfs_fsload()
77 printf("reading %s\n", file_cbfs_name(file)); in do_cbfs_fsload()
79 size = file_cbfs_read(file, (void *)offset, count); in do_cbfs_fsload()
98 const struct cbfs_cachenode *file = file_cbfs_get_first(); in do_cbfs_ls() local
101 if (!file) { in do_cbfs_ls()
108 while (file) { in do_cbfs_ls()
109 int type = file_cbfs_type(file); in do_cbfs_ls()
111 const char *filename = file_cbfs_name(file); in do_cbfs_ls()
[all …]
/rk3399_rockchip-uboot/tools/easylogo/
H A Deasylogo.c151 FILE *file; in image_load_tga() local
157 if ((file = fopen (filename, "rb")) == NULL) in image_load_tga()
160 fread (&header, sizeof (header), 1, file); in image_load_tga()
196 fread (image->data, image->size, 1, file); in image_load_tga()
232 fclose (file); in image_load_tga()
318 FILE *file = fopen (filename, "w"); in image_save_header() local
323 if (file == NULL) in image_save_header()
327 fprintf (file, in image_save_header()
329 fprintf (file, in image_save_header()
332 fprintf (file, in image_save_header()
[all …]
/rk3399_rockchip-uboot/fs/ubifs/
H A Dubifs.c301 static int ubifs_printdir(struct file *file, void *dirent) in ubifs_printdir() argument
307 struct inode *dir = file->f_path.dentry->d_inode; in ubifs_printdir()
310 dbg_gen("dir ino %lu, f_pos %#llx", dir->i_ino, file->f_pos); in ubifs_printdir()
312 if (file->f_pos > UBIFS_S_KEY_HASH_MASK || file->f_pos == 2) in ubifs_printdir()
319 if (file->f_pos == 1) { in ubifs_printdir()
329 file->f_pos = key_hash_flash(c, &dent->key); in ubifs_printdir()
330 file->private_data = dent; in ubifs_printdir()
333 dent = file->private_data; in ubifs_printdir()
340 dent_key_init_hash(c, &key, dir->i_ino, file->f_pos); in ubifs_printdir()
347 file->f_pos = key_hash_flash(c, &dent->key); in ubifs_printdir()
[all …]
/rk3399_rockchip-uboot/scripts/
H A Dkernel-doc405 my $file = shift;
426 print STDERR "Error(${file}:$.): duplicate section name '$name'\n";
438 my $file = shift;
450 dump_section($file, $name, $contents);
1724 my ($prototype, $file) = @_;
1735 my $file = shift;
1758 create_parameterlist($members, ';', $file);
1759 check_sections($file, $declaration_name, "struct", $sectcheck, $struct_actual, $nested);
1775 print STDERR "Error(${file}:$.): Cannot parse struct or union!\n";
1782 my $file = shift;
[all …]
H 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]:";
H A Dfill_scrapyard.py44 def get_last_modify_commit(file, line_num): argument
60 '%d,%d' % (line_num, line_num), file])
64 sys.exit('%s: line %d: ' % (file, line_num) +
68 sys.exit('%s: line %d: locally modified\n' % (file, line_num) +
123 self.file = os.fdopen(fd, 'w')
160 tmpfile.file.write(line)
H A Dget_maintainer.pl314 my ($file) = @_;
316 open (my $maint, '<', "$file")
317 or die "$P: Can't open MAINTAINERS file '$file': $!\n";
347 my ($file) = $_;
348 return if ($file !~ m@/MAINTAINERS$@);
349 $file = $File::Find::name;
350 return if (! -f $file);
351 push(@mfiles, $file);
362 foreach my $file (@files) {
363 push(@mfiles, "${lk_path}MAINTAINERS/$file") if ($file !~ /^\./);
[all …]
/rk3399_rockchip-uboot/tools/rockchip/
H A Dboot_merger.c161 static bool parseChip(FILE *file) in parseChip() argument
163 if (SCANF_EAT(file) != 0) { in parseChip()
166 if (fscanf(file, OPT_NAME "=%s", gOpts.chip) != 1) { in parseChip()
173 static bool parseVersion(FILE *file) in parseVersion() argument
175 if (SCANF_EAT(file) != 0) { in parseVersion()
178 if (fscanf(file, OPT_MAJOR "=%d", &gOpts.major) != 1) in parseVersion()
180 if (SCANF_EAT(file) != 0) { in parseVersion()
183 if (fscanf(file, OPT_MINOR "=%d", &gOpts.minor) != 1) in parseVersion()
189 static bool parse471(FILE *file) in parse471() argument
194 if (SCANF_EAT(file) != 0) { in parse471()
[all …]
H A Dtrust_merger.c121 static bool parseVersion(FILE *file) in parseVersion() argument
125 if (SCANF_EAT(file) != 0) { in parseVersion()
128 if (fscanf(file, OPT_MAJOR "=%d", &d) != 1) in parseVersion()
131 if (SCANF_EAT(file) != 0) { in parseVersion()
134 if (fscanf(file, OPT_MINOR "=%d", &d) != 1) in parseVersion()
141 static bool parseBL3x(FILE *file, int bl3x_id) in parseBL3x() argument
155 if (SCANF_EAT(file) != 0) { in parseBL3x()
158 if (fscanf(file, OPT_SEC "=%d", &sec) != 1) { in parseBL3x()
176 if (SCANF_EAT(file) != 0) { in parseBL3x()
180 if (fscanf(file, OPT_PATH "=%s", buf) != 1) { in parseBL3x()
[all …]
H A Dbmp2gray16.c156 FILE *file; in get_logo_resolution() local
163 file = fopen(in_path, "rb"); in get_logo_resolution()
164 if (!file) { in get_logo_resolution()
169 if (size != fread(&bmp_hdr, 1, size, file)) { in get_logo_resolution()
185 fclose(file); in get_logo_resolution()
204 FILE *file; in convert_one_image() local
215 file = fopen(in_path, "rb"); in convert_one_image()
216 if (!file) { in convert_one_image()
221 fseek(file, 0, SEEK_END); in convert_one_image()
222 size = ftell(file); in convert_one_image()
[all …]
/rk3399_rockchip-uboot/common/spl/
H A Dspl_ext.c75 __maybe_unused char *file; in spl_load_image_ext_os() local
92 file = env_get("falcon_args_file"); in spl_load_image_ext_os()
93 if (file) { in spl_load_image_ext_os()
94 err = ext4fs_open(file, &filelen); in spl_load_image_ext_os()
102 file, err); in spl_load_image_ext_os()
105 file = env_get("falcon_image_file"); in spl_load_image_ext_os()
106 if (file) { in spl_load_image_ext_os()
108 partition, file); in spl_load_image_ext_os()
H A Dspl_fat.c115 __maybe_unused char *file; local
122 file = env_get("falcon_args_file");
123 if (file) {
124 err = file_fat_read(file, (void *)CONFIG_SYS_SPL_ARGS_ADDR, 0);
127 file, err);
130 file = env_get("falcon_image_file");
131 if (file) {
133 partition, file);
/rk3399_rockchip-uboot/include/
H A Dstdio.h58 int __printf(2, 3) fprintf(int file, const char *fmt, ...);
59 void fputs(int file, const char *s);
60 void fputc(int file, const char c);
61 int ftstc(int file);
62 int fgetc(int file);
H A Dcbfs.h99 void file_cbfs_get_next(const struct cbfs_cachenode **file);
135 const char *file_cbfs_name(const struct cbfs_cachenode *file);
144 u32 file_cbfs_size(const struct cbfs_cachenode *file);
153 u32 file_cbfs_type(const struct cbfs_cachenode *file);
165 long file_cbfs_read(const struct cbfs_cachenode *file, void *buffer,
/rk3399_rockchip-uboot/
H A DKbuild3 # This file takes care of the following:
16 # Use filechk to avoid rebuilds when a header changes, but the resulting file
25 echo " * This file was generated by Kbuild"; \
36 generic-offsets-file := include/generated/generic-asm-offsets.h
38 always := $(generic-offsets-file)
46 $(obj)/$(generic-offsets-file): lib/asm-offsets.s FORCE
54 offsets-file := include/generated/asm-offsets.h
57 always += $(offsets-file)
67 $(obj)/$(offsets-file): arch/$(ARCH)/lib/asm-offsets.s FORCE
/rk3399_rockchip-uboot/fs/cbfs/
H A Dcbfs.c222 void file_cbfs_get_next(const struct cbfs_cachenode **file) in file_cbfs_get_next() argument
226 file = NULL; in file_cbfs_get_next()
230 if (*file) in file_cbfs_get_next()
231 *file = (*file)->next; in file_cbfs_get_next()
293 const char *file_cbfs_name(const struct cbfs_cachenode *file) in file_cbfs_name() argument
296 return file->name; in file_cbfs_name()
299 u32 file_cbfs_size(const struct cbfs_cachenode *file) in file_cbfs_size() argument
302 return file->data_length; in file_cbfs_size()
305 u32 file_cbfs_type(const struct cbfs_cachenode *file) in file_cbfs_type() argument
308 return file->type; in file_cbfs_type()
[all …]
/rk3399_rockchip-uboot/scripts/dtc/
H A Dsrcpos.h76 struct srcfile_state *file; member
88 (Current).file = YYRHSLOC(Rhs, N).file; \
94 (Current).file = YYRHSLOC (Rhs, 0).file; \
/rk3399_rockchip-uboot/doc/
H A DREADME.mpc85xx-sd-spi-boot6 SD/SPI images to a binary file for writing later.
8 When booting from an SD card/MMC, boot_format puts the configuration file and
32 For building SD images by writing directly to a file system on SD media:
36 Where $config is the included config.dat file for your platform and $device
39 For build binary images directly a local file:
41 $ boot_format $config u-boot.bin -spi $file
43 Where $file is the target file. Also keep in mind the u-boot.bin file needs
H A DREADME.ext449 ext4load- load binary file from a Ext4 file system
51 ext4size - determine a file's size
52 ext4write- create a file in ext4 formatted partition
62 3. To read and load a file from an ext4-formatted partition to RAM, run:
69 4. To write a file to an ext4-formatted partition.
71 a) First load a file to RAM at a particular address for example 0x30007fc0.
77 (here 6183120 is the size of the file to be written)
78 Note: Absolute path is required for the file to be written

12345678910>>...32