/openbmc/u-boot/arch/m68k/include/asm/ |
H A D | immap_5272.h | 94 ulong dma_dmr; 97 ulong dma_dbcr; 98 ulong dma_dsar; 99 ulong dma_ddar; 126 ulong plic_p0b1rr; 127 ulong plic_p1b1rr; 128 ulong plic_p2b1rr; 129 ulong plic_p3b1rr; 130 ulong plic_p0b2rr; 131 ulong plic_p1b2rr; [all …]
|
H 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 …]
|
/openbmc/u-boot/post/lib_powerpc/ |
H A D | cr.c | 37 extern void cpu_post_exec_11 (ulong *code, ulong *res, ulong op1); 38 extern void cpu_post_exec_21x (ulong *code, ulong *op1, ulong *op2, ulong op3); 40 static ulong cpu_post_cr_table1[] = 48 ulong xer; 49 ulong cr; 64 ulong cr; 65 ulong cs; 66 ulong cd; 67 ulong res; 86 ulong cmd; [all …]
|
H A D | b.c | 28 extern void cpu_post_exec_11 (ulong *code, ulong *res, ulong op1); 29 extern void cpu_post_exec_31 (ulong *code, ulong *ctr, ulong *lr, ulong *jump, 30 ulong cr); 32 static int cpu_post_test_bc (ulong cmd, ulong bo, ulong bi, in cpu_post_test_bc() 33 int pjump, int decr, int link, ulong pctr, ulong cr) in cpu_post_test_bc() 36 ulong lr = 0; in cpu_post_test_bc() 37 ulong ctr = pctr; in cpu_post_test_bc() 38 ulong jump; in cpu_post_test_bc() 69 ret = lr == (ulong) code + 24 ? 0 : -1; in cpu_post_test_bc() 85 ulong code[] = in cpu_post_test_b() [all …]
|
H A D | string.c | 24 extern void cpu_post_exec_02 (ulong *code, ulong op1, ulong op2); 25 extern void cpu_post_exec_04 (ulong *code, ulong op1, ulong op2, ulong op3, 26 ulong op4); 39 ulong code[] = in cpu_post_test_string() 52 cpu_post_exec_02(code, (ulong)src, (ulong)dst); in cpu_post_test_string() 61 ulong code[] = in cpu_post_test_string() 74 cpu_post_exec_04(code, (ulong)src, (ulong)dst, 0, sizeof(src)); in cpu_post_test_string()
|
H A D | store.c | 32 extern void cpu_post_exec_12w (ulong *code, ulong *op1, ulong op2, ulong op3); 33 extern void cpu_post_exec_11w (ulong *code, ulong *op1, ulong op2); 37 ulong cmd; 41 ulong offset; 42 ulong value; 155 ulong base0 = (ulong) (data + 8); in cpu_post_test_store() 156 ulong base = base0; in cpu_post_test_store() 160 ulong code[] = in cpu_post_test_store() 170 ulong code[] = in cpu_post_test_store() 200 ret = *(ulong *)(base0 + test->offset) == test->value ? in cpu_post_test_store()
|
H A D | load.c | 32 extern void cpu_post_exec_22w (ulong *code, ulong *op1, ulong op2, ulong *op3); 33 extern void cpu_post_exec_21w (ulong *code, ulong *op1, ulong *op2); 37 ulong cmd; 41 ulong offset; 170 ulong base0 = (ulong) (data + 8); in cpu_post_test_load() 171 ulong base = base0; in cpu_post_test_load() 172 ulong value; in cpu_post_test_load() 176 ulong code[] = in cpu_post_test_load() 186 ulong code[] = in cpu_post_test_load() 220 ret = *(ulong *)(base0 + test->offset) == value ? in cpu_post_test_load()
|
/openbmc/u-boot/arch/powerpc/lib/ |
H A D | bootm.c | 34 static ulong get_sp (void); 44 void (*kernel)(bd_t *, ulong r4, ulong r5, ulong r6, in boot_jump_linux() 45 ulong r7, ulong r8, ulong r9); in boot_jump_linux() 50 kernel = (void (*)(bd_t *, ulong, ulong, ulong, in boot_jump_linux() 51 ulong, ulong, ulong))images->ep; in boot_jump_linux() 53 (ulong)kernel); in boot_jump_linux() 98 ulong cmd_start = images->cmdline_start; in boot_jump_linux() 99 ulong cmd_end = images->cmdline_end; in boot_jump_linux() 100 ulong initrd_start = images->initrd_start; in boot_jump_linux() 101 ulong initrd_end = images->initrd_end; in boot_jump_linux() [all …]
|
/openbmc/u-boot/post/drivers/ |
H A D | memory.c | 238 static int memory_post_addrline(ulong *testaddr, ulong *base, ulong size) in memory_post_addrline() 240 ulong *target; in memory_post_addrline() 241 ulong *end; in memory_post_addrline() 242 ulong readback; in memory_post_addrline() 243 ulong xor; in memory_post_addrline() 246 end = (ulong *)((ulong)base + size); /* pointer arith! */ in memory_post_addrline() 248 for(xor = sizeof(ulong); xor > 0; xor <<= 1) { in memory_post_addrline() 249 target = (ulong *)((ulong)testaddr ^ xor); in memory_post_addrline() 275 ulong *mem = (ulong *) start; in memory_post_test1() 276 ulong readback; in memory_post_test1() [all …]
|
/openbmc/u-boot/include/ |
H A D | image.h | 353 ulong start, end; /* start/end of blob */ 354 ulong image_start, image_len; /* start of image within blob, len of image */ 355 ulong load; /* load addr for the image */ 372 ulong legacy_hdr_valid; 396 ulong ep; /* entry point of OS */ 398 ulong rd_start, rd_end;/* ramdisk start/end */ 401 ulong ft_len; /* length of flat device tree */ 403 ulong initrd_start; 404 ulong initrd_end; 405 ulong cmdline_start; [all …]
|
H A D | common.h | 117 ulong board_get_usable_ram_top(ulong total_size); 133 int source (ulong addr, const char *fit_uname); 135 extern ulong load_addr; /* Default Load Address */ 136 extern ulong save_addr; /* Default Save Address */ 137 extern ulong save_size; /* Default Save Size */ 188 ulong env_get_ulong(const char *name, int base, ulong default_val); 200 ulong env_get_hex(const char *varname, ulong default_val); 227 int env_set_ulong(const char *varname, ulong value); 236 int env_set_hex(const char *varname, ulong value); 247 return env_set_hex(varname, (ulong)addr); in env_set_addr() [all …]
|
H A D | iotrace.h | 13 typedef ulong iovalue_t; 71 void iotrace_writel(ulong value, const void *ptr); 73 void iotrace_writew(ulong value, const void *ptr); 75 void iotrace_writeb(ulong value, const void *ptr); 98 void iotrace_set_region(ulong start, ulong size); 111 void iotrace_get_region(ulong *start, ulong *size); 143 void iotrace_set_buffer(ulong start, ulong size); 155 void iotrace_get_buffer(ulong *start, ulong *size, ulong *needed_size, ulong *offset, ulong *count);
|
H A D | flash.h | 19 ulong size; /* total bank size in bytes */ 21 ulong flash_id; /* combined device & manufacturer code */ 22 ulong start[CONFIG_SYS_MAX_FLASH_SECT]; /* virtual sector start address */ 28 ulong erase_blk_tout; /* maximum block erase timeout */ 29 ulong write_tout; /* maximum write timeout */ 30 ulong buffer_write_tout; /* maximum buffer write timeout */ 42 ulong addr_unlock1; /* unlock address 1 for AMD flash roms */ 43 ulong addr_unlock2; /* unlock address 2 for AMD flash roms */ 90 extern int flash_sect_erase (ulong addr_first, ulong addr_last); 91 extern int flash_sect_protect (int flag, ulong addr_first, ulong addr_last); [all …]
|
/openbmc/u-boot/env/ |
H A D | flash.c | 59 static ulong __maybe_unused end_addr = 67 static ulong __maybe_unused end_addr_new = 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() 126 ulong up_data = 0; in env_flash_save() 129 debug("Protect off %08lX ... %08lX\n", (ulong)flash_addr, end_addr); in env_flash_save() 131 if (flash_sect_protect(0, (ulong)flash_addr, end_addr)) in env_flash_save() 135 (ulong)flash_addr_new, end_addr_new); in env_flash_save() 137 if (flash_sect_protect(0, (ulong)flash_addr_new, end_addr_new)) in env_flash_save() [all …]
|
/openbmc/u-boot/common/ |
H A D | iotrace.c | 27 ulong start; 28 ulong size; 29 ulong needed_size; 30 ulong offset; 31 ulong region_start; 32 ulong region_size; 37 static void add_record(int flags, const void *ptr, ulong value) in add_record() 51 if ((ulong)ptr < iotrace.region_start || in add_record() 52 (ulong)ptr > iotrace.region_start + iotrace.region_size) in add_record() 89 void iotrace_writel(ulong value, const void *ptr) in iotrace_writel() [all …]
|
H A D | update.c | 44 extern ulong tftp_timeout_ms; 46 extern ulong load_addr; 51 static int update_load(char *filename, ulong msec_max, int cnt_max, ulong addr) in update_load() 54 ulong saved_timeout_msecs; in update_load() 100 static int update_flash_protect(int prot, ulong addr_first, ulong addr_last) in update_flash_protect() 103 ulong s; in update_flash_protect() 173 static int update_flash(ulong addr_source, ulong addr_first, ulong size) in update_flash() 176 ulong addr_last = addr_first + size - 1; in update_flash() 215 static int update_fit_getparams(const void *fit, int noffset, ulong *addr, in update_fit_getparams() 216 ulong *fladdr, ulong *size) in update_fit_getparams() [all …]
|
/openbmc/linux/mm/damon/ |
H A D | modules-common.h | 12 ulong, 0600); \ 13 module_param_named(aggr_interval, attrs.aggr_interval, ulong, \ 15 module_param_named(min_nr_regions, attrs.min_nr_regions, ulong, \ 17 module_param_named(max_nr_regions, attrs.max_nr_regions, ulong, \ 21 module_param_named(quota_ms, quota.ms, ulong, 0600); \ 23 quota.reset_interval, ulong, 0600); 27 module_param_named(quota_sz, quota.sz, ulong, 0600); 30 module_param_named(wmarks_interval, wmarks.interval, ulong, \ 32 module_param_named(wmarks_high, wmarks.high, ulong, 0600); \ 33 module_param_named(wmarks_mid, wmarks.mid, ulong, 0600); \ [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | kvm_host.h | 378 ulong eaddr; 380 ulong raddr; 395 int (*slbfee)(struct kvm_vcpu *vcpu, gva_t eaddr, ulong *ret_slb); 399 void (*mtsrin)(struct kvm_vcpu *vcpu, u32 srnum, ulong value); 403 void (*tlbie)(struct kvm_vcpu *vcpu, ulong addr, bool large); 404 int (*esid_to_vsid)(struct kvm_vcpu *vcpu, ulong esid, u64 *vsid); 513 ulong host_stack; 535 ulong evr[32]; 536 ulong spefscr; 537 ulong host_spefscr; [all …]
|
H A D | kvm_book3s_asm.h | 84 ulong host_r1; 85 ulong host_r2; 86 ulong host_msr; 87 ulong vmhandler; 88 ulong scratch0; 89 ulong scratch1; 90 ulong scratch2; 125 ulong gpr[14]; 127 ulong xer; 128 ulong ctr; [all …]
|
/openbmc/u-boot/drivers/bootcount/ |
H A D | bootcount_ram.c | 12 const ulong patterns[] = { 0x00000000, 17 const ulong NBR_OF_PATTERNS = sizeof(patterns) / sizeof(*patterns); 18 const ulong OFFS_PATTERN = 3; 19 const ulong REPEAT_PATTERN = 1000; 21 void bootcount_store(ulong a) in bootcount_store() 23 ulong *save_addr; in bootcount_store() 24 ulong size = 0; in bootcount_store() 29 save_addr = (ulong *)(size - BOOTCOUNT_ADDR); in bootcount_store() 38 flush_dcache_range((ulong)&save_addr[0], in bootcount_store() 39 (((ulong)&save_addr[REPEAT_PATTERN + OFFS_PATTERN] & in bootcount_store() [all …]
|
/openbmc/u-boot/drivers/clk/aspeed/ |
H A D | clk_ast2500.c | 67 const ulong num = (mpll_reg & SCU_MPLL_NUM_MASK) >> SCU_MPLL_NUM_SHIFT; in ast2500_get_mpll_rate() 68 const ulong denum = (mpll_reg & SCU_MPLL_DENUM_MASK) in ast2500_get_mpll_rate() 70 const ulong post_div = (mpll_reg & SCU_MPLL_POST_MASK) in ast2500_get_mpll_rate() 86 const ulong num = (hpll_reg & SCU_HPLL_NUM_MASK) >> SCU_HPLL_NUM_SHIFT; in ast2500_get_hpll_rate() 87 const ulong denum = (hpll_reg & SCU_HPLL_DENUM_MASK) in ast2500_get_hpll_rate() 89 const ulong post_div = (hpll_reg & SCU_HPLL_POST_MASK) in ast2500_get_hpll_rate() 105 const ulong num = (dpll_reg & 0xff); in ast2500_get_dpll_rate() 106 const ulong denum = (dpll_reg >> 8) & 0x1f; in ast2500_get_dpll_rate() 107 const ulong post_div = (dpll_reg >> 13) & 0x3f; in ast2500_get_dpll_rate() 108 const ulong od_div = (dpll_reg >> 19) & 0x7; in ast2500_get_dpll_rate() [all …]
|
/openbmc/u-boot/drivers/reset/ |
H A D | reset-uniphier.c | 264 .data = (ulong)uniphier_pro4_sys_reset_data, 268 .data = (ulong)uniphier_pro4_sys_reset_data, 272 .data = (ulong)uniphier_pro4_sys_reset_data, 276 .data = (ulong)uniphier_pro4_sys_reset_data, 280 .data = (ulong)uniphier_pxs2_sys_reset_data, 284 .data = (ulong)uniphier_ld20_sys_reset_data, 288 .data = (ulong)uniphier_ld20_sys_reset_data, 292 .data = (ulong)uniphier_pxs3_sys_reset_data, 297 .data = (ulong)uniphier_mio_reset_data, 301 .data = (ulong)uniphier_mio_reset_data, [all …]
|
/openbmc/u-boot/arch/m68k/lib/ |
H A D | bootm.c | 26 static ulong get_sp (void); 31 ulong sp; in arch_lmb_reserve() 54 void (*kernel) (bd_t *, ulong, ulong, ulong, ulong); in do_bootm_linux() 78 kernel = (void (*)(bd_t *, ulong, ulong, ulong, ulong))images->ep; in do_bootm_linux() 81 (ulong) kernel); in do_bootm_linux() 101 static ulong get_sp (void) in get_sp() 103 ulong sp; in get_sp()
|
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_tmpl.c | 15 qla27xx_insert16(uint16_t value, void *buf, ulong *len) in qla27xx_insert16() 25 qla27xx_insert32(uint32_t value, void *buf, ulong *len) in qla27xx_insert32() 35 qla27xx_insertbuf(void *mem, ulong size, void *buf, ulong *len) in qla27xx_insertbuf() 45 qla27xx_read8(void __iomem *window, void *buf, ulong *len) in qla27xx_read8() 56 qla27xx_read16(void __iomem *window, void *buf, ulong *len) in qla27xx_read16() 67 qla27xx_read32(void __iomem *window, void *buf, ulong *len) in qla27xx_read32() 77 static inline void (*qla27xx_read_vector(uint width))(void __iomem*, void *, ulong *) in qla27xx_read_vector() 87 uint offset, void *buf, ulong *len) in qla27xx_read_reg() 108 ulong *len) in qla27xx_read_window() 111 void (*readn)(void __iomem*, void *, ulong *) = qla27xx_read_vector(width); in qla27xx_read_window() [all …]
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx25/ |
H A D | generic.c | 52 static ulong imx_get_mpllclk(void) in imx_get_mpllclk() 55 ulong fref = MXC_HCLK; in imx_get_mpllclk() 60 static ulong imx_get_upllclk(void) in imx_get_upllclk() 63 ulong fref = MXC_HCLK; in imx_get_upllclk() 68 static ulong imx_get_armclk(void) in imx_get_armclk() 71 ulong cctl = readl(&ccm->cctl); in imx_get_armclk() 72 ulong fref = imx_get_mpllclk(); in imx_get_armclk() 73 ulong div; in imx_get_armclk() 84 static ulong imx_get_ahbclk(void) in imx_get_ahbclk() 87 ulong cctl = readl(&ccm->cctl); in imx_get_ahbclk() [all …]
|