Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/rk3399_rockchip-uboot/scripts/dtc/
H A Dtreesource.c37 yyin = current_srcfile->f; in dt_from_source()
49 static void write_prefix(FILE *f, int level) in write_prefix() argument
54 fputc('\t', f); in write_prefix()
64 static void write_propval_string(FILE *f, struct data val) in write_propval_string() argument
74 fprintf(f, "%s: ", m->ref); in write_propval_string()
77 fprintf(f, "\""); in write_propval_string()
84 fprintf(f, "\\a"); in write_propval_string()
87 fprintf(f, "\\b"); in write_propval_string()
90 fprintf(f, "\\t"); in write_propval_string()
93 fprintf(f, "\\n"); in write_propval_string()
[all …]
H A Dflattree.c117 static void emit_label(FILE *f, const char *prefix, const char *label) in emit_label() argument
119 fprintf(f, "\t.globl\t%s_%s\n", prefix, label); in emit_label()
120 fprintf(f, "%s_%s:\n", prefix, label); in emit_label()
121 fprintf(f, "_%s_%s:\n", prefix, label); in emit_label()
124 static void emit_offset_label(FILE *f, const char *label, int offset) in emit_offset_label() argument
126 fprintf(f, "\t.globl\t%s\n", label); in emit_offset_label()
127 fprintf(f, "%s\t= . + %d\n", label, offset); in emit_offset_label()
130 #define ASM_EMIT_BELONG(f, fmt, ...) \ argument
132 fprintf((f), "\t.byte\t((" fmt ") >> 24) & 0xff\n", __VA_ARGS__); \
133 fprintf((f), "\t.byte\t((" fmt ") >> 16) & 0xff\n", __VA_ARGS__); \
[all …]
H A Dupdate-dtc-source.sh57 for f in $DTC_SOURCE; do
58 cp ${DTC_UPSTREAM_PATH}/${f} ${f}
59 git add ${f}
61 for f in $DTC_GENERATED; do
62 cp ${DTC_UPSTREAM_PATH}/$f ${f}_shipped
63 git add ${f}_shipped
65 for f in $LIBFDT_SOURCE; do
66 cp ${DTC_UPSTREAM_PATH}/libfdt/${f} libfdt/${f}
67 git add libfdt/${f}
/rk3399_rockchip-uboot/lib/optee_clientApi/
H A Dtabinary_to_cfile.py30 f = open(args.TA, 'r')
31 TAdata = f.read()
32 f.close
34 f = open(args.out, 'w')
36 f.write("#include <stdint.h>\n");
37 f.write("#include <stddef.h>\n\n");
42 f.write("const uint8_t " + args.prefix + "_data[] = {\n")
45 f.write("0x" + '{0:02x}'.format(x) + ",")
48 f.write("\n");
50 f.write(" ");
[all …]
H A Dtabinary_to_img.py36 for f in files:
37 print(f)
48 for f in files:
49 fta = open(f, 'rb')
52 ta_name = os.path.basename(f)
68 for f in files:
69 fta = open(f, 'rb')
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/
H A Dresource_img.c103 static void resource_dump(struct resource_file *f) in resource_dump() argument
105 printf("%s\n", f->name); in resource_dump()
106 printf(" blk_start: 0x%08lx\n", f->blk_start); in resource_dump()
107 printf(" blk_offset: 0x%08lx\n", f->blk_offset); in resource_dump()
108 printf(" size: 0x%08x\n", f->size); in resource_dump()
109 printf(" in_ram: %d\n", f->in_ram); in resource_dump()
110 printf(" hash_size: %d\n\n", f->hash_size); in resource_dump()
118 struct resource_file *f; in resource_add_file() local
124 f = list_entry(node, struct resource_file, link); in resource_add_file()
125 if (!strcmp(f->name, name)) { in resource_add_file()
[all …]
/rk3399_rockchip-uboot/arch/arm/lib/
H A Dmemcpy.S70 blt 8f
73 bne 9f
75 bne 10f
79 blt 5f
84 CALGN( bcs 2f )
85 CALGN( adr r4, 6f )
92 PLD( blt 4f )
97 4: ldr8w r1, r3, r4, r5, r6, r7, r8, ip, lr, abort=20f
99 str8w r0, r3, r4, r5, r6, r7, r8, ip, lr, abort=20f
110 b 7f
[all …]
H A Drelocate_64.S81 switch_el x1, 3f, 2f, 1f
84 b 0f
86 b 0f
88 0: tbz w0, #2, 5f /* skip flushing cache if disabled */
89 tbz w0, #12, 4f /* skip invalidating i-cache if disabled */
/rk3399_rockchip-uboot/scripts/
H A Dunpack_bootimg82 lines.append(f'boot magic: {self.boot_magic}')
85 lines.append(f'kernel_size: {self.kernel_size}')
87 f'kernel load address: {self.kernel_load_address:#010x}')
88 lines.append(f'ramdisk size: {self.ramdisk_size}')
90 f'ramdisk load address: {self.ramdisk_load_address:#010x}')
91 lines.append(f'second bootloader size: {self.second_size}')
93 f'second bootloader load address: '
94 f'{self.second_load_address:#010x}')
96 f'kernel tags load address: {self.tags_load_address:#010x}')
97 lines.append(f'page size: {self.page_size}')
[all …]
H A Dcleanpatch95 foreach $f ( @files ) {
96 print STDERR "$name: $f\n";
98 if (! -f $f) {
99 print STDERR "$f: not a file\n";
103 if (!open(FILE, '+<', $f)) {
104 print STDERR "$name: Cannot open file: $f: $!\n";
123 print STDERR "$name: $f: binary file\n";
168 "$f:$lineno: adds line exceeds $max_width ",
181 print STDERR "$name: $f: malformed patch\n";
187 print STDERR "$name: $f: malformed patch\n";
[all …]
/rk3399_rockchip-uboot/arch/sandbox/include/asm/
H A Dgetopt.h38 #define _SANDBOX_CMDLINE_OPT(f, s, ha, h) \ argument
39 static struct sandbox_cmdline_option sandbox_cmdline_option_##f = { \
40 .flag = #f, \
44 .callback = sandbox_cmdline_cb_##f, \
49 *sandbox_cmdline_option_##f##_ptr = \
50 &sandbox_cmdline_option_##f
65 #define SANDBOX_CMDLINE_OPT(f, ha, h) _SANDBOX_CMDLINE_OPT(f, 0, ha, h) argument
70 #define SANDBOX_CMDLINE_OPT_SHORT(f, s, ha, h) _SANDBOX_CMDLINE_OPT(f, s, ha, h) argument
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/
H A Dstart.S99 switch_el x1, 3f, 2f, 1f
109 b 0f
113 b 0f
128 switch_el x2, 3f, 2f, 1f
135 b 0f
148 b 0f
162 switch_el x1, 3f, 1f, 1f
242 switch_el x1, 3f, 2f, 1f
245 b 0f
248 b 0f
[all …]
H A Dcache.S51 tbz w1, #0, 1f
53 b 2f
226 switch_el x4, 3f, 2f, 1f
228 b 0f
230 b 0f
237 switch_el x4, 3f, 2f, 1f
239 b 0f
241 b 0f
252 switch_el x4, 3f, 2f, 1f
254 b 0f
[all …]
H A Dtransition.S15 switch_el x6, 1f, 0f, 0f
18 b.eq 2f
38 switch_el x6, 0f, 1f, 0f
H A Dtlb.S20 switch_el x9, 3f, 2f, 1f
24 b 0f
28 b 0f
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Dcomposite.c180 struct usb_function *f; in config_buf() local
204 list_for_each_entry(f, &config->functions, list) { in config_buf()
207 descriptors = f->ss_descriptors; in config_buf()
210 descriptors = f->hs_descriptors; in config_buf()
213 descriptors = f->descriptors; in config_buf()
319 struct usb_function *f; in reset_config() local
323 list_for_each_entry(f, &cdev->config->functions, list) { in reset_config()
324 if (f->disable) in reset_config()
325 f->disable(f); in reset_config()
327 bitmap_zero(f->endpoints, 32); in reset_config()
[all …]
/rk3399_rockchip-uboot/examples/standalone/
H A Dstubs.c18 #define EXPORT_FUNC(f, a, x, ...) \ argument
31 #define EXPORT_FUNC(f, a, x, ...) \ argument
46 #define EXPORT_FUNC(f, a, x, ...) \ argument
59 #define EXPORT_FUNC(f, a, x, ...) \ argument
76 #define EXPORT_FUNC(f, a, x, ...) \ argument
92 #define EXPORT_FUNC(f, a, x, ...) \ argument
105 #define EXPORT_FUNC(f, a, x, ...) \ argument
121 #define EXPORT_FUNC(f, a, x, ...) \ argument
136 #define EXPORT_FUNC(f, a, x, ...) \ argument
148 #define EXPORT_FUNC(f, a, x, ...) \ argument
[all …]
/rk3399_rockchip-uboot/test/py/
H A Dmultiplexed_log.py219 self.f = open(fn, 'wt')
229 self.f.write('''\
307 self.f.write('''\
312 self.f.close()
351 self.f.write('</pre>\n')
352 self.f.write('<div class="stream-trailer block-trailer">End stream: ' +
354 self.f.write('</div>\n')
355 self.f.write('</div>\n')
372 self.f.write('<div class="' + note_type + '">\n')
374 self.f.write('<a href="#%s">\n' % anchor)
[all …]
/rk3399_rockchip-uboot/test/py/tests/
H A Dtest_net.py144 f = u_boot_console.config.env.get('env__net_tftp_readable_file', None)
145 if not f:
148 addr = f.get('addr', None)
152 fn = f['fn']
155 sz = f.get('size', None)
160 expected_crc = f.get('crc32', None)
184 f = u_boot_console.config.env.get('env__net_nfs_readable_file', None)
185 if not f:
188 addr = f.get('addr', None)
192 fn = f['fn']
[all …]
/rk3399_rockchip-uboot/tools/
H A Dgenboardscfg.py44 def try_remove(f): argument
47 os.remove(f)
55 for f in ('README', 'Licenses'):
56 if not os.path.exists(f):
95 with open(output) as f:
96 for line in f:
161 with os.fdopen(fd, 'w') as f:
165 f.write(line)
167 f.write(line[colon + 1:])
343 for f in glob.glob(rest):
[all …]
H A Drelocate-rela.c65 FILE *f; in main() local
77 f = fopen(argv[1], "r+b"); in main()
78 if (!f) { in main()
107 if (fseek(f, pos, SEEK_SET) < 0) { in main()
113 if (fread(&rela, sizeof(rela), 1, f) != 1) { in main()
138 if (fseek(f, addr, SEEK_SET) < 0) { in main()
144 if (fwrite(&rela.r_addend, sizeof(rela.r_addend), 1, f) != 1) { in main()
151 if (fclose(f) < 0) { in main()
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dlowlevel.S43 b.ne 1f
46 b.eq 1f
50 tbnz w2, #GIC_ADDR_BIT, 1f
75 switch_el x1, 1f, 100f, 100f /* skip if not in EL3 */
96 b.eq 1f
185 branch_if_slave x0, 1f
199 branch_if_master x0, x1, 2f
207 switch_el x1, 1f, 100f, 100f /* skip if not in EL3 */
228 b.eq 1f
277 switch_el x1, 1f, 100f, 100f /* skip if not in EL3 */
[all …]
/rk3399_rockchip-uboot/arch/nios2/include/asm/bitops/
H A Datomic.h22 #define _atomic_spin_lock_irqsave(l,f) do { \ argument
24 local_irq_save(f); \
28 #define _atomic_spin_unlock_irqrestore(l,f) do { \ argument
31 local_irq_restore(f); \
36 # define _atomic_spin_lock_irqsave(l,f) do { local_irq_save(f); } while (0) argument
37 # define _atomic_spin_unlock_irqrestore(l,f) do { local_irq_restore(f); } while (0) argument
/rk3399_rockchip-uboot/drivers/net/
H A Dxilinx_ll_temac.h244 #define MC_CLKDIV(f, m) ((f / (2 * m)) - 1) argument
245 #define MC_CLKDIV_25(f) MC_CLKDIV(f, 2500000) argument
246 #define MC_CLKDIV_20(f) MC_CLKDIV(f, 2000000) argument
247 #define MC_CLKDIV_15(f) MC_CLKDIV(f, 1500000) argument
248 #define MC_CLKDIV_10(f) MC_CLKDIV(f, 1000000) argument
/rk3399_rockchip-uboot/arch/mips/cpu/
H A Dcm_init.S18 bgez t0, 2f
20 bgez t0, 2f
25 beqz t0, 2f
33 beq t0, t1, 2f

12345678910>>...12