Home
last modified time | relevance | path

Searched refs:uintptr_t (Results 1 – 25 of 4782) sorted by relevance

12345678910>>...192

/external/arm-trusted-firmware/plat/brcm/board/stingray/driver/ext_sram_init/
Dext_sram_init.c24 mmio_clrsetbits_32((uintptr_t)(HSLS_IOPAD_BASE + 0x2dc), in brcm_stingray_pnor_pinmux_init()
29 mmio_clrsetbits_32((uintptr_t)(HSLS_IOPAD_BASE + 0x2e0), in brcm_stingray_pnor_pinmux_init()
34 mmio_clrsetbits_32((uintptr_t)(HSLS_IOPAD_BASE + 0x2e4), in brcm_stingray_pnor_pinmux_init()
39 mmio_clrsetbits_32((uintptr_t)(HSLS_IOPAD_BASE + 0x2e8), in brcm_stingray_pnor_pinmux_init()
44 mmio_clrsetbits_32((uintptr_t)(HSLS_IOPAD_BASE + 0x2ec), in brcm_stingray_pnor_pinmux_init()
49 mmio_clrsetbits_32((uintptr_t)(HSLS_IOPAD_BASE + 0x2f0), in brcm_stingray_pnor_pinmux_init()
54 mmio_clrsetbits_32((uintptr_t)(HSLS_IOPAD_BASE + 0x2f4), in brcm_stingray_pnor_pinmux_init()
59 mmio_clrsetbits_32((uintptr_t)(HSLS_IOPAD_BASE + 0x2f8), in brcm_stingray_pnor_pinmux_init()
64 mmio_clrsetbits_32((uintptr_t)(HSLS_IOPAD_BASE + 0x2fc), in brcm_stingray_pnor_pinmux_init()
69 mmio_clrsetbits_32((uintptr_t)(HSLS_IOPAD_BASE + 0x300), in brcm_stingray_pnor_pinmux_init()
[all …]
/external/arm-trusted-firmware/drivers/arm/gic/common/
Dgic_common_private.h18 static inline unsigned int gicd_read_ctlr(uintptr_t base) in gicd_read_ctlr()
23 static inline unsigned int gicd_read_typer(uintptr_t base) in gicd_read_typer()
28 static inline unsigned int gicd_read_iidr(uintptr_t base) in gicd_read_iidr()
33 static inline void gicd_write_ctlr(uintptr_t base, unsigned int val) in gicd_write_ctlr()
43 unsigned int gicd_read_igroupr(uintptr_t base, unsigned int id);
44 unsigned int gicd_read_isenabler(uintptr_t base, unsigned int id);
45 unsigned int gicd_read_icenabler(uintptr_t base, unsigned int id);
46 unsigned int gicd_read_ispendr(uintptr_t base, unsigned int id);
47 unsigned int gicd_read_icpendr(uintptr_t base, unsigned int id);
48 unsigned int gicd_read_isactiver(uintptr_t base, unsigned int id);
[all …]
/external/arm-trusted-firmware/drivers/arm/gic/v3/
Dgicv3_private.h39 GICD_##REG##R + (uintptr_t)(id) : \
40 GICD_##REG##RE + (uintptr_t)(id) - MIN_ESPI_ID)
44 GICD_##REG##R + (((uintptr_t)(id) >> REG##R_SHIFT) << 2) : \
45 GICD_##REG##RE + ((((uintptr_t)(id) - MIN_ESPI_ID) >> \
50 GICD_##REG##R + (((uintptr_t)(id) >> REG##R_SHIFT) << 3) : \
51 GICD_##REG##RE + (((uintptr_t)(id) - MIN_ESPI_ID) << 3))
55 (GICD_##REG##R + (uintptr_t)(id))
58 (GICD_##REG##R + (((uintptr_t)(id) >> REG##R_SHIFT) << 2))
61 (GICD_##REG##R + (((uintptr_t)(id) >> REG##R_SHIFT) << 3))
115 GICR_##REG##R + (uintptr_t)(id) : \
[all …]
Dgicdv3_helpers.c22 void gicd_set_icfgr(uintptr_t base, unsigned int id, unsigned int cfg) in gicd_set_icfgr()
37 unsigned int gicd_get_igroupr(uintptr_t base, unsigned int id) in gicd_get_igroupr()
42 void gicd_set_igroupr(uintptr_t base, unsigned int id) in gicd_set_igroupr()
47 void gicd_clr_igroupr(uintptr_t base, unsigned int id) in gicd_clr_igroupr()
56 unsigned int gicd_get_igrpmodr(uintptr_t base, unsigned int id) in gicd_get_igrpmodr()
61 void gicd_set_igrpmodr(uintptr_t base, unsigned int id) in gicd_set_igrpmodr()
66 void gicd_clr_igrpmodr(uintptr_t base, unsigned int id) in gicd_clr_igrpmodr()
75 void gicd_set_icenabler(uintptr_t base, unsigned int id) in gicd_set_icenabler()
84 void gicd_set_icpendr(uintptr_t base, unsigned int id) in gicd_set_icpendr()
93 unsigned int gicd_get_isactiver(uintptr_t base, unsigned int id) in gicd_get_isactiver()
[all …]
/external/pdfium/third_party/base/allocator/partition_allocator/
Daddress_space_randomization.h21 constexpr uintptr_t AslrAddress(uintptr_t mask) { in AslrAddress()
24 constexpr uintptr_t AslrMask(uintptr_t bits) { in AslrMask()
44 constexpr uintptr_t kASLRMask = AslrAddress(0x007fffffffffULL);
45 constexpr uintptr_t kASLROffset = AslrAddress(0x7e8000000000ULL);
53 constexpr uintptr_t kASLRMask = AslrMask(47);
54 constexpr uintptr_t kASLRMaskBefore8_10 = AslrMask(43);
56 constexpr uintptr_t kASLROffset = 0x80000000ULL;
73 constexpr uintptr_t kASLRMask = AslrMask(38);
74 constexpr uintptr_t kASLROffset = AslrAddress(0x1000000000ULL);
82 constexpr uintptr_t kASLRMask = AslrMask(46);
[all …]
/external/angle/src/libGLESv2/
Dentry_points_cl_autogen.cpp29 num_entries, (uintptr_t)platforms, (uintptr_t)num_platforms); in clGetPlatformIDs()
48 (uintptr_t)platform, param_name, param_value_size, (uintptr_t)param_value, in clGetPlatformInfo()
49 (uintptr_t)param_value_size_ret); in clGetPlatformInfo()
72 (uintptr_t)platform, static_cast<unsigned long long>(device_type), num_entries, in clGetDeviceIDs()
73 (uintptr_t)devices, (uintptr_t)num_devices); in clGetDeviceIDs()
93 (uintptr_t)device, param_name, param_value_size, (uintptr_t)param_value, in clGetDeviceInfo()
94 (uintptr_t)param_value_size_ret); in clGetDeviceInfo()
121 (uintptr_t)properties, num_devices, (uintptr_t)devices, (uintptr_t)pfn_notify, in clCreateContext()
122 (uintptr_t)user_data, (uintptr_t)errcode_ret); in clCreateContext()
154 (uintptr_t)properties, static_cast<unsigned long long>(device_type), in clCreateContextFromType()
[all …]
/external/swiftshader/third_party/marl/src/
Dosfiber_asm_ppc64.h71 uintptr_t r1;
72 uintptr_t r2;
73 uintptr_t r13;
74 uintptr_t r14;
75 uintptr_t r15;
76 uintptr_t r16;
77 uintptr_t r17;
78 uintptr_t r18;
79 uintptr_t r19;
80 uintptr_t r20;
[all …]
Dosfiber_asm_aarch64.h56 uintptr_t r0;
57 uintptr_t r1;
60 uintptr_t r16;
61 uintptr_t r17;
62 uintptr_t r18; // platform specific (maybe inter-procedural state)
65 uintptr_t r19;
66 uintptr_t r20;
67 uintptr_t r21;
68 uintptr_t r22;
69 uintptr_t r23;
[all …]
/external/arm-trusted-firmware/plat/qemu/common/
Dqemu_io_storage.c46 static uintptr_t fip_dev_handle;
48 static uintptr_t memmap_dev_handle;
50 static uintptr_t sh_dev_handle;
53 static uintptr_t enc_dev_handle;
180 static int open_fip(const uintptr_t spec);
181 static int open_memmap(const uintptr_t spec);
183 static int open_enc_fip(const uintptr_t spec);
187 uintptr_t *dev_handle;
188 uintptr_t image_spec;
189 int (*check)(const uintptr_t spec);
[all …]
/external/arm-trusted-firmware/plat/renesas/common/
Dplat_storage.c21 static uintptr_t emmcdrv_dev_handle;
22 static uintptr_t memdrv_dev_handle;
23 static uintptr_t rcar_dev_handle;
25 static uintptr_t boot_io_drv_id;
162 static int32_t open_emmcdrv(const uintptr_t spec);
163 static int32_t open_memmap(const uintptr_t spec);
164 static int32_t open_rcar(const uintptr_t spec);
167 uintptr_t *dev_handle;
168 uintptr_t image_spec;
169 int32_t (*check)(const uintptr_t spec);
[all …]
/external/arm-trusted-firmware/plat/brcm/common/
Dbrcm_io_storage.c24 static uintptr_t fip_dev_handle;
26 static uintptr_t memmap_dev_handle;
133 static int open_fip(const uintptr_t spec);
134 static int open_memmap(const uintptr_t spec);
135 static int open_qspi(const uintptr_t spec);
136 static int open_nand(const uintptr_t spec);
139 uintptr_t *dev_handle;
140 uintptr_t image_spec;
141 int (*check)(const uintptr_t spec);
148 (uintptr_t)&fip_block_spec,
[all …]
/external/arm-trusted-firmware/plat/imx/imx7/common/
Dimx7_io_storage.c20 static uintptr_t fip_dev_handle;
24 static uintptr_t mmc_dev_handle;
45 static int open_mmc(const uintptr_t spec);
49 static uintptr_t memmap_dev_handle;
55 static int open_memmap(const uintptr_t spec);
57 static int open_fip(const uintptr_t spec);
103 uintptr_t *dev_handle;
104 uintptr_t image_spec;
105 int (*check)(const uintptr_t spec);
112 (uintptr_t)&mmc_fip_spec,
[all …]
/external/libchrome/base/debug/
Dstack_trace.cc44 constexpr size_t kStackFrameAdjustment = sizeof(uintptr_t);
49 uintptr_t GetNextStackFrame(uintptr_t fp) { in GetNextStackFrame()
50 return reinterpret_cast<const uintptr_t*>(fp)[0] - kStackFrameAdjustment; in GetNextStackFrame()
53 uintptr_t GetStackFramePC(uintptr_t fp) { in GetStackFramePC()
54 return reinterpret_cast<const uintptr_t*>(fp)[1]; in GetStackFramePC()
57 bool IsStackFrameValid(uintptr_t fp, uintptr_t prev_fp, uintptr_t stack_end) { in IsStackFrameValid()
66 if (fp & (sizeof(uintptr_t) - 1)) return false; in IsStackFrameValid()
70 if (fp > stack_end - 2 * sizeof(uintptr_t)) return false; in IsStackFrameValid()
103 uintptr_t ScanStackForNextFrame(uintptr_t fp, uintptr_t stack_end) { in ScanStackForNextFrame()
113 fp += sizeof(uintptr_t); // current frame is known to be invalid in ScanStackForNextFrame()
[all …]
/external/arm-trusted-firmware/plat/rpi/common/
Drpi3_io_storage.c38 static uintptr_t fip_dev_handle;
40 static uintptr_t memmap_dev_handle;
105 static int open_fip(const uintptr_t spec);
106 static int open_memmap(const uintptr_t spec);
109 uintptr_t *dev_handle;
110 uintptr_t image_spec;
111 int (*check)(const uintptr_t spec);
118 (uintptr_t)&fip_block_spec,
123 (uintptr_t)&bl2_uuid_spec,
128 (uintptr_t)&bl31_uuid_spec,
[all …]
/external/arm-trusted-firmware/plat/hisilicon/poplar/
Dplat_storage.c29 static uintptr_t emmc_dev_handle;
30 static int open_emmc(const uintptr_t spec);
50 static uintptr_t mmap_dev_handle;
51 static int open_mmap(const uintptr_t spec);
60 static uintptr_t fip_dev_handle;
61 static int open_fip(const uintptr_t spec);
88 uintptr_t *dev_handle;
89 uintptr_t image_spec;
90 int (*check)(const uintptr_t spec);
97 (uintptr_t)&emmc_fip_spec,
[all …]
/external/arm-trusted-firmware/plat/hisilicon/hikey960/
Dhikey960_io_storage.c27 uintptr_t *dev_handle;
28 uintptr_t image_spec;
29 int (*check)(const uintptr_t spec);
33 static uintptr_t ufs_dev_handle, fip_dev_handle;
35 static int check_ufs(const uintptr_t spec);
36 static int check_fip(const uintptr_t spec);
37 size_t ufs_read_lun3_blks(int lba, uintptr_t buf, size_t size);
38 size_t ufs_write_lun3_blks(int lba, const uintptr_t buf, size_t size);
126 (uintptr_t)&ufs_fip_spec,
131 (uintptr_t)&scp_bl2_uuid_spec,
[all …]
/external/arm-trusted-firmware/drivers/arm/gic/v2/
Dgicv2_private.h18 void gicv2_spis_configure_defaults(uintptr_t gicd_base);
19 void gicv2_secure_spis_configure_props(uintptr_t gicd_base,
22 void gicv2_secure_ppi_sgi_setup_props(uintptr_t gicd_base,
25 unsigned int gicv2_get_cpuif_id(uintptr_t base);
30 static inline unsigned int gicd_read_pidr2(uintptr_t base) in gicd_read_pidr2()
38 static inline unsigned int gicd_get_itargetsr(uintptr_t base, unsigned int id) in gicd_get_itargetsr()
43 static inline void gicd_set_itargetsr(uintptr_t base, unsigned int id, in gicd_set_itargetsr()
51 static inline void gicd_write_sgir(uintptr_t base, unsigned int val) in gicd_write_sgir()
60 static inline unsigned int gicc_read_ctlr(uintptr_t base) in gicc_read_ctlr()
65 static inline unsigned int gicc_read_pmr(uintptr_t base) in gicc_read_pmr()
[all …]
/external/llvm-project/compiler-rt/lib/builtins/
Dclear_cache.c20 uint32_t FlushInstructionCache(uintptr_t hProcess, void *lpBaseAddress,
21 uintptr_t dwSize);
22 uintptr_t GetCurrentProcess(void);
69 arg.addr = (uintptr_t)start; in __clear_cache()
70 arg.len = (uintptr_t)end - (uintptr_t)start; in __clear_cache()
93 const uintptr_t start_int = (uintptr_t)start; in __clear_cache()
94 const uintptr_t end_int = (uintptr_t)end; in __clear_cache()
97 cacheflush(start, (uintptr_t)end - (uintptr_t)start, BCACHE); in __clear_cache()
99 uint64_t xstart = (uint64_t)(uintptr_t)start; in __clear_cache()
100 uint64_t xend = (uint64_t)(uintptr_t)end; in __clear_cache()
[all …]
/external/arm-trusted-firmware/plat/hisilicon/hikey/
Dhikey_io_storage.c34 uintptr_t *dev_handle;
35 uintptr_t image_spec;
36 int (*check)(const uintptr_t spec);
40 static uintptr_t emmc_dev_handle;
42 static uintptr_t fip_dev_handle;
44 static int check_emmc(const uintptr_t spec);
45 static int check_fip(const uintptr_t spec);
140 (uintptr_t)&emmc_fip_spec,
145 (uintptr_t)&scp_bl2_uuid_spec,
150 (uintptr_t)&bl31_uuid_spec,
[all …]
/external/gwp_asan/gwp_asan/tests/
Dcompression.cpp18 uintptr_t Uncompressed = 0x00; in TEST()
32 uint8_t Compressed[sizeof(uintptr_t) + 1]; in TEST()
34 uintptr_t Uncompressed = 0x40; in TEST()
66 uintptr_t Uncompressed[2] = {0x00, 0x00}; in TEST()
68 EXPECT_EQ(2u, pack(Uncompressed, sizeof(Uncompressed) / sizeof(uintptr_t), in TEST()
73 EXPECT_EQ(2u, pack(Uncompressed, sizeof(Uncompressed) / sizeof(uintptr_t), in TEST()
78 EXPECT_EQ(2u, pack(Uncompressed, sizeof(Uncompressed) / sizeof(uintptr_t), in TEST()
83 EXPECT_EQ(3u, pack(Uncompressed, sizeof(Uncompressed) / sizeof(uintptr_t), in TEST()
90 EXPECT_EQ(2u, pack(Uncompressed, sizeof(Uncompressed) / sizeof(uintptr_t), in TEST()
95 EXPECT_EQ(2u, pack(Uncompressed, sizeof(Uncompressed) / sizeof(uintptr_t), in TEST()
[all …]
/external/llvm-project/compiler-rt/lib/gwp_asan/tests/
Dcompression.cpp18 uintptr_t Uncompressed = 0x00; in TEST()
32 uint8_t Compressed[sizeof(uintptr_t) + 1]; in TEST()
34 uintptr_t Uncompressed = 0x40; in TEST()
66 uintptr_t Uncompressed[2] = {0x00, 0x00}; in TEST()
68 EXPECT_EQ(2u, pack(Uncompressed, sizeof(Uncompressed) / sizeof(uintptr_t), in TEST()
73 EXPECT_EQ(2u, pack(Uncompressed, sizeof(Uncompressed) / sizeof(uintptr_t), in TEST()
78 EXPECT_EQ(2u, pack(Uncompressed, sizeof(Uncompressed) / sizeof(uintptr_t), in TEST()
83 EXPECT_EQ(3u, pack(Uncompressed, sizeof(Uncompressed) / sizeof(uintptr_t), in TEST()
90 EXPECT_EQ(2u, pack(Uncompressed, sizeof(Uncompressed) / sizeof(uintptr_t), in TEST()
95 EXPECT_EQ(2u, pack(Uncompressed, sizeof(Uncompressed) / sizeof(uintptr_t), in TEST()
[all …]
/external/webrtc/rtc_base/memory/
Daligned_malloc.cc28 uintptr_t GetRightAlign(uintptr_t start_pos, size_t alignment) { in GetRightAlign()
49 uintptr_t start_pos = reinterpret_cast<uintptr_t>(pointer); in GetRightAlign()
65 void* memory_pointer = malloc(size + sizeof(uintptr_t) + alignment - 1); in AlignedMalloc()
70 uintptr_t align_start_pos = reinterpret_cast<uintptr_t>(memory_pointer); in AlignedMalloc()
71 align_start_pos += sizeof(uintptr_t); in AlignedMalloc()
72 uintptr_t aligned_pos = GetRightAlign(align_start_pos, alignment); in AlignedMalloc()
77 uintptr_t header_pos = aligned_pos - sizeof(uintptr_t); in AlignedMalloc()
79 uintptr_t memory_start = reinterpret_cast<uintptr_t>(memory_pointer); in AlignedMalloc()
80 memcpy(header_pointer, &memory_start, sizeof(uintptr_t)); in AlignedMalloc()
89 uintptr_t aligned_pos = reinterpret_cast<uintptr_t>(mem_block); in AlignedFree()
[all …]
/external/arm-trusted-firmware/plat/marvell/armada/common/
Dmarvell_io_storage.c23 static uintptr_t fip_dev_handle;
25 static uintptr_t memmap_dev_handle;
59 static int open_fip(const uintptr_t spec);
60 static int open_memmap(const uintptr_t spec);
63 uintptr_t *dev_handle;
64 uintptr_t image_spec;
65 int (*check)(const uintptr_t spec);
72 (uintptr_t)&fip_block_spec,
77 (uintptr_t)&bl2_uuid_spec,
82 (uintptr_t)&scp_bl2_uuid_spec,
[all …]
/external/arm-trusted-firmware/plat/layerscape/common/
Dls_io_storage.c20 static uintptr_t fip_dev_handle;
22 static uintptr_t memmap_dev_handle;
45 static int open_fip(const uintptr_t spec);
46 static int open_memmap(const uintptr_t spec);
49 uintptr_t *dev_handle;
50 uintptr_t image_spec;
51 int (*check)(const uintptr_t spec);
57 (uintptr_t)&fip_block_spec,
62 (uintptr_t)&bl2_uuid_spec,
67 (uintptr_t)&bl31_uuid_spec,
[all …]
/external/arm-trusted-firmware/drivers/st/ddr/
Dstm32mp1_ddr.c289 static uintptr_t get_base_addr(const struct ddr_info *priv, enum base_type base) in get_base_addr()
292 return (uintptr_t)priv->phy; in get_base_addr()
294 return (uintptr_t)priv->ctl; in get_base_addr()
305 uintptr_t base_addr = get_base_addr(priv, base); in set_reg()
310 uintptr_t ptr = base_addr + desc[i].offset; in set_reg()
316 value = *((uint32_t *)((uintptr_t)param + in set_reg()
330 pgsr = mmio_read_32((uintptr_t)&phy->pgsr); in stm32mp1_ddrphy_idone_wait()
333 (uintptr_t)&phy->pgsr, pgsr); in stm32mp1_ddrphy_idone_wait()
365 (uintptr_t)&phy->pgsr, pgsr); in stm32mp1_ddrphy_idone_wait()
372 mmio_write_32((uintptr_t)&phy->pir, pir_init); in stm32mp1_ddrphy_init()
[all …]

12345678910>>...192