| /u-boot/include/ |
| A D | remoteproc.h | 75 int (*load)(struct udevice *dev, ulong addr, ulong size); 161 int rproc_load(int id, ulong addr, ulong size); 215 int rproc_elf32_sanity_check(ulong addr, ulong size); 227 int rproc_elf64_sanity_check(ulong addr, ulong size); 266 ulong rproc_elf_get_boot_addr(struct udevice *dev, ulong addr); 286 ulong fw_size, ulong *rsc_addr, ulong *rsc_size); 305 ulong fw_size, ulong *rsc_addr, ulong *rsc_size); 324 ulong fw_size, ulong *rsc_addr, ulong *rsc_size); 353 ulong fw_size, ulong *rsc_addr, in rproc_elf32_load_rsc_table() 357 ulong fw_size, ulong *rsc_addr, in rproc_elf64_load_rsc_table() [all …]
|
| A D | iotrace.h | 13 typedef ulong iovalue_t; 70 void iotrace_writel(ulong value, void *ptr); 72 void iotrace_writew(ulong value, void *ptr); 74 void iotrace_writeb(ulong value, void *ptr); 97 void iotrace_set_region(ulong start, ulong size); 110 void iotrace_get_region(ulong *start, ulong *size); 142 void iotrace_set_buffer(ulong start, ulong size); 154 void iotrace_get_buffer(ulong *start, ulong *size, ulong *needed_size, ulong *offset, ulong *count);
|
| A D | image.h | 629 uint8_t arch, ulong *rd_start, ulong *rd_end); 657 ulong *setup_start, ulong *setup_len); 682 int arch, ulong *datap, ulong *lenp); 717 enum fit_load_op load_op, ulong *datap, ulong *lenp); 769 ulong *initrd_start, ulong *initrd_end); 899 ulong *data, ulong *len); 975 int bootz_setup(ulong image, ulong *start, ulong *end); 986 int booti_setup(ulong image, ulong *relocated_addr, ulong *size, 1527 ulong *os_data, ulong *os_len); 1529 ulong *rd_data, ulong *rd_len); [all …]
|
| A D | init.h | 31 void board_init_f(ulong dummy); 224 extern ulong monitor_flash_len; 236 ulong board_init_f_alloc_reserve(ulong top); 245 void board_init_f_init_reserve(ulong base); 263 void board_init_r(struct global_data *id, ulong dest_addr) 290 ulong board_get_usable_ram_top(ulong total_size); 321 void relocate_code(ulong addr_moni); 323 void relocate_code(ulong start_addr_sp, struct global_data *new_gd, 324 ulong relocaddr) 329 void bdinfo_print_num_l(const char *name, ulong value);
|
| /u-boot/arch/m68k/include/asm/ |
| A D | ptrace.h | 13 ulong d0; 14 ulong d1; 15 ulong d2; 16 ulong d3; 17 ulong d4; 18 ulong d5; 19 ulong d6; 20 ulong d7; 21 ulong a0; 22 ulong a1; [all …]
|
| A D | immap_5272.h | 94 ulong dma_dmr; 97 ulong dma_dbcr; 98 ulong dma_dsar; 99 ulong dma_ddar; 214 ulong usb_asr; 215 ulong usb_drr1; 216 ulong usb_drr2; 275 ulong usb_ep0dr; 276 ulong usb_ep1dr; 277 ulong usb_ep2dr; [all …]
|
| /u-boot/post/lib_powerpc/ |
| A D | b.c | 29 extern void cpu_post_exec_11 (ulong *code, ulong *res, ulong op1); 30 extern void cpu_post_exec_31 (ulong *code, ulong *ctr, ulong *lr, ulong *jump, 31 ulong cr); 33 static int cpu_post_test_bc (ulong cmd, ulong bo, ulong bi, in cpu_post_test_bc() 34 int pjump, int decr, int link, ulong pctr, ulong cr) in cpu_post_test_bc() 39 ulong jump; in cpu_post_test_bc() 86 ulong code[] = in cpu_post_test_b() 95 ulong res; in cpu_post_test_b() 118 ulong res; in cpu_post_test_b() 132 ulong cc, cd; in cpu_post_test_b() [all …]
|
| A D | cr.c | 38 extern void cpu_post_exec_11 (ulong *code, ulong *res, ulong op1); 39 extern void cpu_post_exec_21x (ulong *code, ulong *op1, ulong *op2, ulong op3); 50 ulong cr; 65 ulong cr; 66 ulong cs; 67 ulong cd; 238 ulong res; in cpu_post_test_cr() 260 ulong res; in cpu_post_test_cr() 261 ulong xer; in cpu_post_test_cr() 286 ulong res; in cpu_post_test_cr() [all …]
|
| A D | string.c | 25 extern void cpu_post_exec_02 (ulong *code, ulong op1, ulong op2); 26 extern void cpu_post_exec_04 (ulong *code, ulong op1, ulong op2, ulong op3, 27 ulong op4); 40 ulong code[] = in cpu_post_test_string() 53 cpu_post_exec_02(code, (ulong)src, (ulong)dst); in cpu_post_test_string() 62 ulong code[] = in cpu_post_test_string() 75 cpu_post_exec_04(code, (ulong)src, (ulong)dst, 0, sizeof(src)); in cpu_post_test_string()
|
| A D | load.c | 33 extern void cpu_post_exec_22w (ulong *code, ulong *op1, ulong op2, ulong *op3); 34 extern void cpu_post_exec_21w (ulong *code, ulong *op1, ulong *op2); 38 ulong cmd; 42 ulong offset; 171 ulong base0 = (ulong) (data + 8); in cpu_post_test_load() 172 ulong base = base0; in cpu_post_test_load() 173 ulong value; in cpu_post_test_load() 177 ulong code[] = in cpu_post_test_load() 187 ulong code[] = in cpu_post_test_load() 221 ret = *(ulong *)(base0 + test->offset) == value ? in cpu_post_test_load()
|
| A D | store.c | 33 extern void cpu_post_exec_12w (ulong *code, ulong *op1, ulong op2, ulong op3); 34 extern void cpu_post_exec_11w (ulong *code, ulong *op1, ulong op2); 38 ulong cmd; 42 ulong offset; 43 ulong value; 156 ulong base0 = (ulong) (data + 8); in cpu_post_test_store() 157 ulong base = base0; in cpu_post_test_store() 161 ulong code[] = in cpu_post_test_store() 171 ulong code[] = in cpu_post_test_store() 201 ret = *(ulong *)(base0 + test->offset) == test->value ? in cpu_post_test_store()
|
| A D | cmp.c | 28 extern void cpu_post_exec_12 (ulong *code, ulong *res, ulong op1, ulong op2); 32 ulong cmd; 33 ulong op1; 34 ulong op2; 35 ulong cr; 36 ulong res; 99 ulong res; in cpu_post_test_cmp()
|
| /u-boot/drivers/bootcount/ |
| A D | bootcount_ram.c | 15 const ulong patterns[] = { 0x00000000, 21 const ulong OFFS_PATTERN = 3; 22 const ulong REPEAT_PATTERN = 1000; 24 void bootcount_store(ulong a) in bootcount_store() 26 ulong *save_addr; in bootcount_store() 27 ulong size = 0; in bootcount_store() 41 flush_dcache_range((ulong)&save_addr[0], in bootcount_store() 46 ulong bootcount_load(void) in bootcount_load() 48 ulong *save_addr; in bootcount_load() 49 ulong size = 0; in bootcount_load() [all …]
|
| /u-boot/arch/powerpc/lib/ |
| A D | bootm.c | 40 static ulong get_sp (void); 50 void (*kernel)(struct bd_info *, ulong r4, ulong r5, ulong r6, in boot_jump_linux() 51 ulong r7, ulong r8, ulong r9); in boot_jump_linux() 56 kernel = (void (*)(struct bd_info *, ulong, ulong, ulong, in boot_jump_linux() 57 ulong, ulong, ulong))images->ep; in boot_jump_linux() 59 (ulong)kernel); in boot_jump_linux() 122 ulong size, sp, bootmap_base; in arch_lmb_reserve() 266 static ulong get_sp (void) in get_sp() 268 ulong sp; in get_sp() 341 ((void (*)(void *, ulong, ulong, ulong, in boot_jump_vxworks() [all …]
|
| /u-boot/post/drivers/ |
| A D | memory.c | 240 static int memory_post_addrline(ulong *testaddr, ulong *base, ulong size) in memory_post_addrline() 242 ulong *target; in memory_post_addrline() 243 ulong *end; in memory_post_addrline() 245 ulong xor; in memory_post_addrline() 248 end = (ulong *)((ulong)base + size); /* pointer arith! */ in memory_post_addrline() 251 target = (ulong *)((ulong)testaddr ^ xor); in memory_post_addrline() 277 ulong *mem = (ulong *) start; in memory_post_test1() 307 ulong *mem = (ulong *) start; in memory_post_test2() 337 ulong *mem = (ulong *) start; in memory_post_test3() 367 ulong *mem = (ulong *) start; in memory_post_test4() [all …]
|
| /u-boot/common/ |
| A D | iotrace.c | 31 ulong start; 32 ulong size; 33 ulong needed_size; 34 ulong offset; 35 ulong region_start; 36 ulong region_size; 55 if ((ulong)ptr < iotrace.region_start || in add_record() 141 void iotrace_set_region(ulong start, ulong size) in iotrace_set_region() 153 void iotrace_get_region(ulong *start, ulong *size) in iotrace_get_region() 169 void iotrace_set_buffer(ulong start, ulong size) in iotrace_set_buffer() [all …]
|
| /u-boot/arch/m68k/lib/ |
| A D | bootm.c | 30 static ulong get_sp (void); 35 ulong sp; in arch_lmb_reserve() 59 void (*kernel) (struct bd_info *, ulong, ulong, ulong, ulong); in do_bootm_linux() 83 kernel = (void (*)(struct bd_info *, ulong, ulong, ulong, ulong))images->ep; in do_bootm_linux() 86 (ulong) kernel); in do_bootm_linux() 106 static ulong get_sp (void) in get_sp() 108 ulong sp; in get_sp()
|
| /u-boot/env/ |
| A D | flash.c | 59 static ulong __maybe_unused end_addr = 80 ulong addr_default = (ulong)&default_environment[0]; in env_flash_init() 81 ulong addr1 = (ulong)&(flash_addr->data); in env_flash_init() 82 ulong addr2 = (ulong)&(flash_addr_new->data); in env_flash_init() 128 ulong up_data = 0; in env_flash_save() 173 (ulong)&(flash_addr_new->data), in env_flash_save() 199 ulong ltmp = end_addr; in env_flash_save() 247 ulong up_data = 0; in env_flash_save() 263 (ulong)saved_data); in env_flash_save() 317 ulong ltmp = end_addr; in env_flash_load() [all …]
|
| /u-boot/arch/arm/include/asm/mach-imx/ |
| A D | module_fuse.h | 93 static inline u32 uart_fused(ulong base_addr) in uart_fused() 98 static inline u32 usb_fused(ulong base_addr) in usb_fused() 103 static inline u32 qspi_fused(ulong base_addr) in qspi_fused() 108 static inline u32 i2c_fused(ulong base_addr) in i2c_fused() 119 u32 esdhc_fused(ulong base_addr); 120 u32 ecspi_fused(ulong base_addr); 121 u32 uart_fused(ulong base_addr); 122 u32 usb_fused(ulong base_addr); 123 u32 qspi_fused(ulong base_addr); 124 u32 i2c_fused(ulong base_addr); [all …]
|
| /u-boot/drivers/fpga/ |
| A D | versalpl.c | 16 static ulong versal_align_dma_buffer(ulong *buf, u32 len) in versal_align_dma_buffer() 18 ulong *new_buf; in versal_align_dma_buffer() 20 if ((ulong)buf != ALIGN((ulong)buf, ARCH_DMA_MINALIGN)) { in versal_align_dma_buffer() 21 new_buf = (ulong *)ALIGN((ulong)buf, ARCH_DMA_MINALIGN); in versal_align_dma_buffer() 26 return (ulong)buf; in versal_align_dma_buffer() 32 ulong bin_buf; in versal_load() 37 bin_buf = versal_align_dma_buffer((ulong *)buf, bsize); in versal_load()
|
| /u-boot/drivers/clk/aspeed/ |
| A D | clk_ast2500.c | 56 static ulong ast2500_get_mpll_rate(ulong clkin, u32 mpll_reg) in ast2500_get_mpll_rate() 71 static ulong ast2500_get_hpll_rate(ulong clkin, u32 hpll_reg) in ast2500_get_hpll_rate() 105 ulong uart_clkin; in ast2500_get_uart_clk_rate() 123 ulong rate; in ast2500_clk_get_rate() 183 ulong input_rate; 184 ulong rate; 221 static ulong ast2500_calc_clock_config(ulong input_rate, ulong requested_rate, in ast2500_calc_clock_config() 269 static ulong ast2500_configure_ddr(struct ast2500_scu *scu, ulong rate) in ast2500_configure_ddr() 388 ulong new_rate; in ast2500_configure_d2pll() 428 static ulong ast2500_clk_set_rate(struct clk *clk, ulong rate) in ast2500_clk_set_rate() [all …]
|
| /u-boot/arch/microblaze/lib/ |
| A D | bootm.c | 27 static ulong get_sp(void) in get_sp() 29 ulong ret; in get_sp() 37 ulong sp, bank_end; in arch_lmb_reserve() 68 void (*thekernel)(char *cmdline, ulong rd, ulong dt); in boot_jump_linux() 69 ulong dt = (ulong)images->ft_addr; in boot_jump_linux() 70 ulong rd_start = images->initrd_start; in boot_jump_linux() 71 ulong cmdline = images->cmdline_start; in boot_jump_linux() 74 thekernel = (void (*)(char *, ulong, ulong))images->ep; in boot_jump_linux() 77 (ulong)thekernel); in boot_jump_linux() 116 images->cmdline_start = (ulong)env_get("bootargs"); in do_bootm_linux()
|
| /u-boot/common/spl/ |
| A D | spl_opensbi.c | 49 ulong uboot_entry; in spl_invoke_opensbi() 50 void (*opensbi_entry)(ulong hartid, ulong dtb, ulong info); in spl_invoke_opensbi() 77 opensbi_entry = (void (*)(ulong, ulong, ulong))spl_image->entry_point; in spl_invoke_opensbi() 91 ret = smp_call_function((ulong)spl_image->entry_point, in spl_invoke_opensbi() 92 (ulong)spl_image->fdt_addr, in spl_invoke_opensbi() 93 (ulong)&opensbi_info, 1); in spl_invoke_opensbi() 97 opensbi_entry(gd->arch.boot_hart, (ulong)spl_image->fdt_addr, in spl_invoke_opensbi() 98 (ulong)&opensbi_info); in spl_invoke_opensbi()
|
| /u-boot/arch/riscv/include/asm/ |
| A D | smp.h | 32 ulong addr; 33 ulong arg0; 34 ulong arg1; 46 void handle_ipi(ulong hart); 59 int smp_call_function(ulong addr, ulong arg0, ulong arg1, int wait);
|
| /u-boot/board/armltd/integrator/ |
| A D | timer.c | 45 static ulong timestamp; /* U-Boot ticks since startup */ 47 #define READ_TIMER (*(volatile ulong *)(CONFIG_SYS_TIMERBASE+4)) 58 *(volatile ulong *)(CONFIG_SYS_TIMERBASE + 0) = TIMER_LOAD_VAL; in timer_init() 69 *(volatile ulong *)(CONFIG_SYS_TIMERBASE + 8) = 0x000000C2; in timer_init() 78 *(volatile ulong *)(CONFIG_SYS_TIMERBASE + 8) = 0x00000088; in timer_init() 101 static ulong get_timer_masked (void) in get_timer_masked() 122 ulong get_timer (ulong base_ticks) in get_timer() 130 ulong tmo, tmp; in __udelay() 157 ulong get_tbclk(void) in get_tbclk()
|