Home
last modified time | relevance | path

Searched refs:ulong (Results 1 – 25 of 1623) sorted by relevance

12345678910>>...65

/external/skqp/src/compute/hs/cl/intel/gen8/u64/
Dhs_kernels.pre.cl5 hs_kernel_bs_0(__global ulong const* const restrict vin,
6 __global ulong* const restrict vout)
10 ulong r1 = vin[gmem_idx + (1 << 3) * 0];
11 ulong r2 = vin[gmem_idx + (1 << 3) * 1];
12 ulong r3 = vin[gmem_idx + (1 << 3) * 2];
13 ulong r4 = vin[gmem_idx + (1 << 3) * 3];
14 ulong r5 = vin[gmem_idx + (1 << 3) * 4];
15 ulong r6 = vin[gmem_idx + (1 << 3) * 5];
16 ulong r7 = vin[gmem_idx + (1 << 3) * 6];
17 ulong r8 = vin[gmem_idx + (1 << 3) * 7];
[all …]
/external/u-boot/include/
Dremoteproc.h75 int (*load)(struct udevice *dev, ulong addr, ulong size);
128 void * (*device_to_virt)(struct udevice *dev, ulong da, 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);
240 int rproc_elf_sanity_check(ulong addr, ulong size);
249 int rproc_elf32_load_image(struct udevice *dev, unsigned long addr, ulong size);
258 int rproc_elf64_load_image(struct udevice *dev, ulong addr, ulong size);
269 int rproc_elf_load_image(struct udevice *dev, unsigned long addr, ulong size);
279 ulong rproc_elf_get_boot_addr(struct udevice *dev, ulong addr);
[all …]
Dimage.h337 ulong start, end; /* start/end of blob */
338 ulong image_start, image_len; /* start of image within blob, len of image */
339 ulong load; /* load addr for the image */
356 ulong legacy_hdr_valid;
380 ulong ep; /* entry point of OS */
382 ulong rd_start, rd_end;/* ramdisk start/end */
385 ulong ft_len; /* length of flat device tree */
387 ulong initrd_start;
388 ulong initrd_end;
389 ulong cmdline_start;
[all …]
Diotrace.h13 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);
Dflash.h19 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 …]
/external/u-boot/arch/m68k/include/asm/
Dimmap_5272.h94 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 …]
Dptrace.h13 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 …]
/external/u-boot/post/lib_powerpc/
Dcr.c38 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);
41 static ulong cpu_post_cr_table1[] =
49 ulong xer;
50 ulong cr;
65 ulong cr;
66 ulong cs;
67 ulong cd;
68 ulong res;
87 ulong cmd;
[all …]
Db.c29 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()
37 ulong lr = 0; in cpu_post_test_bc()
38 ulong ctr = pctr; in cpu_post_test_bc()
39 ulong jump; in cpu_post_test_bc()
70 ret = lr == (ulong) code + 24 ? 0 : -1; in cpu_post_test_bc()
86 ulong code[] = in cpu_post_test_b()
[all …]
Dstring.c25 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()
Dload.c33 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()
Dstore.c33 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()
/external/u-boot/arch/powerpc/lib/
Dbootm.c35 static ulong get_sp (void);
45 void (*kernel)(bd_t *, ulong r4, ulong r5, ulong r6, in boot_jump_linux()
46 ulong r7, ulong r8, ulong r9); in boot_jump_linux()
51 kernel = (void (*)(bd_t *, ulong, ulong, ulong, in boot_jump_linux()
52 ulong, ulong, ulong))images->ep; in boot_jump_linux()
54 (ulong)kernel); in boot_jump_linux()
99 ulong cmd_start = images->cmdline_start; in boot_jump_linux()
100 ulong cmd_end = images->cmdline_end; in boot_jump_linux()
101 ulong initrd_start = images->initrd_start; in boot_jump_linux()
102 ulong initrd_end = images->initrd_end; in boot_jump_linux()
[all …]
/external/u-boot/prebuilt-intermediates/
Dimage.h337 ulong start, end; /* start/end of blob */
338 ulong image_start, image_len; /* start of image within blob, len of image */
339 ulong load; /* load addr for the image */
356 ulong legacy_hdr_valid;
380 ulong ep; /* entry point of OS */
382 ulong rd_start, rd_end;/* ramdisk start/end */
385 ulong ft_len; /* length of flat device tree */
387 ulong initrd_start;
388 ulong initrd_end;
389 ulong cmdline_start;
[all …]
/external/u-boot/post/drivers/
Dmemory.c238 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 …]
/external/u-boot/env/
Dflash.c56 static ulong __maybe_unused end_addr =
64 static ulong __maybe_unused end_addr_new =
77 ulong addr_default = (ulong)&default_environment[0]; in env_flash_init()
78 ulong addr1 = (ulong)&(flash_addr->data); in env_flash_init()
79 ulong addr2 = (ulong)&(flash_addr_new->data); in env_flash_init()
125 ulong up_data = 0; in env_flash_save()
128 debug("Protect off %08lX ... %08lX\n", (ulong)flash_addr, end_addr); in env_flash_save()
130 if (flash_sect_protect(0, (ulong)flash_addr, end_addr)) in env_flash_save()
134 (ulong)flash_addr_new, end_addr_new); in env_flash_save()
136 if (flash_sect_protect(0, (ulong)flash_addr_new, end_addr_new)) in env_flash_save()
[all …]
/external/u-boot/drivers/clk/aspeed/
Dclk_ast2500.c52 static ulong ast2500_get_mpll_rate(ulong clkin, u32 mpll_reg) in ast2500_get_mpll_rate()
54 const ulong num = (mpll_reg & SCU_MPLL_NUM_MASK) >> SCU_MPLL_NUM_SHIFT; in ast2500_get_mpll_rate()
55 const ulong denum = (mpll_reg & SCU_MPLL_DENUM_MASK) in ast2500_get_mpll_rate()
57 const ulong post_div = (mpll_reg & SCU_MPLL_POST_MASK) in ast2500_get_mpll_rate()
67 static ulong ast2500_get_hpll_rate(ulong clkin, u32 hpll_reg) in ast2500_get_hpll_rate()
69 const ulong num = (hpll_reg & SCU_HPLL_NUM_MASK) >> SCU_HPLL_NUM_SHIFT; in ast2500_get_hpll_rate()
70 const ulong denum = (hpll_reg & SCU_HPLL_DENUM_MASK) in ast2500_get_hpll_rate()
72 const ulong post_div = (hpll_reg & SCU_HPLL_POST_MASK) in ast2500_get_hpll_rate()
78 static ulong ast2500_get_clkin(struct ast2500_scu *scu) in ast2500_get_clkin()
92 static ulong ast2500_get_uart_clk_rate(struct ast2500_scu *scu, int uart_index) in ast2500_get_uart_clk_rate()
[all …]
/external/u-boot/common/
Diotrace.c29 ulong start;
30 ulong size;
31 ulong needed_size;
32 ulong offset;
33 ulong region_start;
34 ulong region_size;
39 static void add_record(int flags, const void *ptr, ulong value) in add_record()
53 if ((ulong)ptr < iotrace.region_start || in add_record()
54 (ulong)ptr > iotrace.region_start + iotrace.region_size) in add_record()
91 void iotrace_writel(ulong value, void *ptr) in iotrace_writel()
[all …]
/external/u-boot/drivers/bootcount/
Dbootcount_ram.c13 const ulong patterns[] = { 0x00000000,
18 const ulong NBR_OF_PATTERNS = sizeof(patterns) / sizeof(*patterns);
19 const ulong OFFS_PATTERN = 3;
20 const ulong REPEAT_PATTERN = 1000;
22 void bootcount_store(ulong a) in bootcount_store()
24 ulong *save_addr; in bootcount_store()
25 ulong size = 0; in bootcount_store()
30 save_addr = (ulong *)(size - BOOTCOUNT_ADDR); in bootcount_store()
39 flush_dcache_range((ulong)&save_addr[0], in bootcount_store()
40 (((ulong)&save_addr[REPEAT_PATTERN + OFFS_PATTERN] & in bootcount_store()
[all …]
/external/u-boot/drivers/reset/
Dreset-uniphier.c264 .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 …]
/external/u-boot/arch/m68k/lib/
Dbootm.c26 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()
/external/u-boot/arch/microblaze/lib/
Dbootm.c21 static ulong get_sp(void) in get_sp()
23 ulong ret; in get_sp()
31 ulong sp, bank_end; in arch_lmb_reserve()
62 void (*thekernel)(char *cmdline, ulong rd, ulong dt); in boot_jump_linux()
63 ulong dt = (ulong)images->ft_addr; in boot_jump_linux()
64 ulong rd_start = images->initrd_start; in boot_jump_linux()
65 ulong cmdline = images->cmdline_start; in boot_jump_linux()
68 thekernel = (void (*)(char *, ulong, ulong))images->ep; in boot_jump_linux()
71 (ulong)thekernel); in boot_jump_linux()
110 images->cmdline_start = (ulong)env_get("bootargs"); in do_bootm_linux()
/external/u-boot/arch/arm/cpu/arm926ejs/mx25/
Dgeneric.c53 static ulong imx_get_mpllclk(void) in imx_get_mpllclk()
56 ulong fref = MXC_HCLK; in imx_get_mpllclk()
61 static ulong imx_get_upllclk(void) in imx_get_upllclk()
64 ulong fref = MXC_HCLK; in imx_get_upllclk()
69 static ulong imx_get_armclk(void) in imx_get_armclk()
72 ulong cctl = readl(&ccm->cctl); in imx_get_armclk()
73 ulong fref = imx_get_mpllclk(); in imx_get_armclk()
74 ulong div; in imx_get_armclk()
85 static ulong imx_get_ahbclk(void) in imx_get_ahbclk()
88 ulong cctl = readl(&ccm->cctl); in imx_get_ahbclk()
[all …]
/external/u-boot/common/spl/
Dspl_opensbi.c45 ulong uboot_entry; in spl_invoke_opensbi()
46 void (*opensbi_entry)(ulong hartid, ulong dtb, ulong info); in spl_invoke_opensbi()
75 opensbi_entry = (void (*)(ulong, ulong, ulong))spl_image->entry_point; in spl_invoke_opensbi()
89 ret = smp_call_function((ulong)spl_image->entry_point, in spl_invoke_opensbi()
90 (ulong)spl_image->fdt_addr, in spl_invoke_opensbi()
91 (ulong)&opensbi_info, 1); in spl_invoke_opensbi()
95 opensbi_entry(gd->arch.boot_hart, (ulong)spl_image->fdt_addr, in spl_invoke_opensbi()
96 (ulong)&opensbi_info); in spl_invoke_opensbi()
/external/u-boot/drivers/remoteproc/
Drproc-elf-loader.c12 int rproc_elf32_sanity_check(ulong addr, ulong size)
69 int rproc_elf64_sanity_check(ulong addr, ulong size)
125 int rproc_elf_sanity_check(ulong addr, ulong size)
140 int rproc_elf32_load_image(struct udevice *dev, unsigned long addr, ulong size)
167 dst = ops->device_to_virt(dev, (ulong)dst,
187 int rproc_elf64_load_image(struct udevice *dev, ulong addr, ulong size)
202 phdr = (Elf64_Phdr *)(addr + (ulong)ehdr->e_phoff);
233 flush_cache(rounddown((ulong)ptr, ARCH_DMA_MINALIGN),
234 roundup((ulong)ptr + filesz, ARCH_DMA_MINALIGN) -
235 rounddown((ulong)ptr, ARCH_DMA_MINALIGN));
[all …]

12345678910>>...65