Home
last modified time | relevance | path

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

12345678910>>...37

/trusted-firmware-a-3.7.0/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 …]
Dgic_common.c23 unsigned int gicd_read_igroupr(uintptr_t base, unsigned int id) in gicd_read_igroupr()
34 unsigned int gicd_read_isenabler(uintptr_t base, unsigned int id) in gicd_read_isenabler()
45 unsigned int gicd_read_icenabler(uintptr_t base, unsigned int id) in gicd_read_icenabler()
56 unsigned int gicd_read_ispendr(uintptr_t base, unsigned int id) in gicd_read_ispendr()
67 unsigned int gicd_read_icpendr(uintptr_t base, unsigned int id) in gicd_read_icpendr()
78 unsigned int gicd_read_isactiver(uintptr_t base, unsigned int id) in gicd_read_isactiver()
89 unsigned int gicd_read_icactiver(uintptr_t base, unsigned int id) in gicd_read_icactiver()
100 unsigned int gicd_read_ipriorityr(uintptr_t base, unsigned int id) in gicd_read_ipriorityr()
111 unsigned int gicd_read_icfgr(uintptr_t base, unsigned int id) in gicd_read_icfgr()
122 unsigned int gicd_read_nsacr(uintptr_t base, unsigned int id) in gicd_read_nsacr()
[all …]
/trusted-firmware-a-3.7.0/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 …]
/trusted-firmware-a-3.7.0/drivers/arm/gic/v3/
Dgicv3_private.h40 GICD_##REG##R + (uintptr_t)(id) : \
41 GICD_##REG##RE + (uintptr_t)(id) - MIN_ESPI_ID)
45 GICD_##REG##R + (((uintptr_t)(id) >> REG##R_SHIFT) << 2) : \
46 GICD_##REG##RE + ((((uintptr_t)(id) - MIN_ESPI_ID) >> \
51 GICD_##REG##R + (((uintptr_t)(id) >> REG##R_SHIFT) << 3) : \
52 GICD_##REG##RE + ((((uintptr_t)(id) - MIN_ESPI_ID) >> \
57 (GICD_##REG##R + (uintptr_t)(id))
60 (GICD_##REG##R + (((uintptr_t)(id) >> REG##R_SHIFT) << 2))
63 (GICD_##REG##R + (((uintptr_t)(id) >> REG##R_SHIFT) << 3))
117 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 …]
Dgicrv3_helpers.c24 unsigned int gicr_read_ipriorityr(uintptr_t base, unsigned int id) in gicr_read_ipriorityr()
29 void gicr_write_ipriorityr(uintptr_t base, unsigned int id, unsigned int val) in gicr_write_ipriorityr()
38 void gicr_set_ipriorityr(uintptr_t base, unsigned int id, unsigned int pri) in gicr_set_ipriorityr()
47 unsigned int gicr_get_igroupr(uintptr_t base, unsigned int id) in gicr_get_igroupr()
52 void gicr_set_igroupr(uintptr_t base, unsigned int id) in gicr_set_igroupr()
57 void gicr_clr_igroupr(uintptr_t base, unsigned int id) in gicr_clr_igroupr()
66 unsigned int gicr_get_igrpmodr(uintptr_t base, unsigned int id) in gicr_get_igrpmodr()
71 void gicr_set_igrpmodr(uintptr_t base, unsigned int id) in gicr_set_igrpmodr()
76 void gicr_clr_igrpmodr(uintptr_t base, unsigned int id) in gicr_clr_igrpmodr()
85 void gicr_set_isenabler(uintptr_t base, unsigned int id) in gicr_set_isenabler()
[all …]
/trusted-firmware-a-3.7.0/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 …]
Dgicdv2_helpers.c21 unsigned int gicd_read_igroupr(uintptr_t base, unsigned int id) in gicd_read_igroupr()
32 unsigned int gicd_read_isenabler(uintptr_t base, unsigned int id) in gicd_read_isenabler()
43 unsigned int gicd_read_icenabler(uintptr_t base, unsigned int id) in gicd_read_icenabler()
54 unsigned int gicd_read_ispendr(uintptr_t base, unsigned int id) in gicd_read_ispendr()
65 unsigned int gicd_read_icpendr(uintptr_t base, unsigned int id) in gicd_read_icpendr()
76 unsigned int gicd_read_isactiver(uintptr_t base, unsigned int id) in gicd_read_isactiver()
87 unsigned int gicd_read_icactiver(uintptr_t base, unsigned int id) in gicd_read_icactiver()
98 unsigned int gicd_read_ipriorityr(uintptr_t base, unsigned int id) in gicd_read_ipriorityr()
109 unsigned int gicd_read_icfgr(uintptr_t base, unsigned int id) in gicd_read_icfgr()
120 unsigned int gicd_read_nsacr(uintptr_t base, unsigned int id) in gicd_read_nsacr()
[all …]
/trusted-firmware-a-3.7.0/plat/imx/common/
Dimx_io_storage.c22 static uintptr_t fip_dev_handle;
26 static uintptr_t mmc_dev_handle;
47 static int open_mmc(const uintptr_t spec);
51 static uintptr_t memmap_dev_handle;
57 static int open_memmap(const uintptr_t spec);
60 static int open_fip(const uintptr_t spec);
118 uintptr_t *dev_handle;
119 uintptr_t image_spec;
120 int (*check)(const uintptr_t spec);
127 (uintptr_t)&mmc_fip_spec,
[all …]
/trusted-firmware-a-3.7.0/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 …]
/trusted-firmware-a-3.7.0/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 …]
/trusted-firmware-a-3.7.0/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 …]
/trusted-firmware-a-3.7.0/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 …]
/trusted-firmware-a-3.7.0/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 …]
/trusted-firmware-a-3.7.0/include/drivers/io/
Dio_storage.h74 const uintptr_t dev_spec,
75 uintptr_t *handle);
80 int io_dev_init(uintptr_t dev_handle, const uintptr_t init_params);
83 int io_dev_close(uintptr_t dev_handle);
87 int io_open(uintptr_t dev_handle, const uintptr_t spec, uintptr_t *handle);
89 int io_seek(uintptr_t handle, io_seek_mode_t mode, signed long long offset);
91 int io_size(uintptr_t handle, size_t *length);
93 int io_read(uintptr_t handle, uintptr_t buffer, size_t length,
96 int io_write(uintptr_t handle, const uintptr_t buffer, size_t length,
99 int io_close(uintptr_t handle);
/trusted-firmware-a-3.7.0/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 …]
/trusted-firmware-a-3.7.0/plat/hisilicon/hikey960/
Dhikey960_io_storage.c30 uintptr_t *dev_handle;
31 uintptr_t image_spec;
32 int (*check)(const uintptr_t spec);
36 static uintptr_t ufs_dev_handle, fip_dev_handle;
38 static int check_ufs(const uintptr_t spec);
39 static int check_fip(const uintptr_t spec);
40 size_t ufs_read_lun3_blks(int lba, uintptr_t buf, size_t size);
41 size_t ufs_write_lun3_blks(int lba, const uintptr_t buf, size_t size);
141 (uintptr_t)&ufs_fip_spec,
146 (uintptr_t)&scp_bl2_uuid_spec,
[all …]
/trusted-firmware-a-3.7.0/drivers/st/ddr/
Dstm32mp_ddr.c18 static uintptr_t get_base_addr(const struct stm32mp_ddr_priv *priv, enum stm32mp_ddr_base_type base) in get_base_addr()
21 return (uintptr_t)priv->phy; in get_base_addr()
23 return (uintptr_t)priv->ctl; in get_base_addr()
33 uintptr_t base_addr = get_base_addr(priv, base); in stm32mp_ddr_set_reg()
38 uintptr_t ptr = base_addr + desc[i].offset; in stm32mp_ddr_set_reg()
44 value = *((uint32_t *)((uintptr_t)param + in stm32mp_ddr_set_reg()
54 mmio_clrbits_32((uintptr_t)&ctl->swctl, DDRCTRL_SWCTL_SW_DONE); in stm32mp_ddr_start_sw_done()
56 (uintptr_t)&ctl->swctl, mmio_read_32((uintptr_t)&ctl->swctl)); in stm32mp_ddr_start_sw_done()
65 mmio_setbits_32((uintptr_t)&ctl->swctl, DDRCTRL_SWCTL_SW_DONE); in stm32mp_ddr_wait_sw_done_ack()
67 (uintptr_t)&ctl->swctl, mmio_read_32((uintptr_t)&ctl->swctl)); in stm32mp_ddr_wait_sw_done_ack()
[all …]
/trusted-firmware-a-3.7.0/plat/qemu/common/
Dqemu_io_storage.c52 static uintptr_t fip_dev_handle;
54 static uintptr_t memmap_dev_handle;
56 static uintptr_t sh_dev_handle;
59 static uintptr_t enc_dev_handle;
202 static int open_fip(const uintptr_t spec);
203 static int open_memmap(const uintptr_t spec);
205 static int open_enc_fip(const uintptr_t spec);
209 uintptr_t *dev_handle;
210 uintptr_t image_spec;
211 int (*check)(const uintptr_t spec);
[all …]
/trusted-firmware-a-3.7.0/plat/nxp/common/fip_handler/ddr_fip/
Dddr_io_storage.c26 extern uintptr_t backend_dev_handle;
30 static uintptr_t ddr_fip_dev_handle;
81 static int open_ddr_fip(const uintptr_t spec);
84 uintptr_t *dev_handle;
85 uintptr_t image_spec;
86 int (*check)(const uintptr_t spec);
93 (uintptr_t)&ddr_fip_block_spec,
98 (uintptr_t)&ddr_imem_udimm_1d_uuid_spec,
103 (uintptr_t)&ddr_imem_udimm_2d_uuid_spec,
108 (uintptr_t)&ddr_dmem_udimm_1d_uuid_spec,
[all …]
/trusted-firmware-a-3.7.0/plat/intel/soc/common/
Dsocfpga_storage.c43 static uintptr_t fip_dev_handle;
44 static uintptr_t boot_dev_handle;
58 uintptr_t a2_lba_offset;
66 static int check_fip(const uintptr_t spec);
67 static int check_dev(const uintptr_t spec);
78 uintptr_t *dev_handle;
79 uintptr_t image_spec;
80 int (*check)(const uintptr_t spec);
86 (uintptr_t)&fip_spec,
91 (uintptr_t)&bl2_uuid_spec,
[all …]
/trusted-firmware-a-3.7.0/common/backtrace/
Dbacktrace.c37 uintptr_t return_addr;
40 static inline uintptr_t extract_address(uintptr_t address) in extract_address()
42 uintptr_t ret = address; in extract_address()
62 static bool is_address_readable(uintptr_t address) in is_address_readable()
65 uintptr_t addr = extract_address(address); in is_address_readable()
84 static bool is_address_readable(uintptr_t addr) in is_address_readable()
110 static bool is_valid_object(uintptr_t addr, size_t size) in is_valid_object()
122 if ((addr & (sizeof(uintptr_t) - 1U)) != 0U) in is_valid_object()
138 static bool is_valid_jump_address(uintptr_t addr) in is_valid_jump_address()
158 return is_valid_object((uintptr_t)fr, sizeof(struct frame_record)); in is_valid_frame_record()
[all …]
/trusted-firmware-a-3.7.0/include/plat/marvell/armada/a3k/common/
Dplat_marvell.h31 void marvell_setup_page_tables(uintptr_t total_base,
33 uintptr_t code_start,
34 uintptr_t code_limit,
35 uintptr_t rodata_start,
36 uintptr_t rodata_limit
38 , uintptr_t coh_start,
39 uintptr_t coh_limit
72 uintptr_t soc_fw_config,
73 uintptr_t hw_config,
94 uintptr_t *dev_handle,
[all …]
/trusted-firmware-a-3.7.0/include/drivers/nxp/crypto/caam/
Dcaam_io.h26 #define sec_in32(a) bswap32(mmio_read_32((uintptr_t)(a)))
27 #define sec_out32(a, v) mmio_write_32((uintptr_t)(a), bswap32(v))
29 ((uint64_t)sec_in32((uintptr_t)(addr)) << 32) | \
30 (sec_in32(((uintptr_t)(addr)) + 4)))
32 sec_out32(((uintptr_t)(addr)), (uint32_t)((val) >> 32)); \
33 sec_out32(((uintptr_t)(addr)) + 4, (uint32_t)(val)); })
35 #define sec_in32(a) mmio_read_32((uintptr_t)(a))
36 #define sec_out32(a, v) mmio_write_32((uintptr_t)(a), (v))
38 ((uint64_t)sec_in32((uintptr_t)(addr) + 4) << 32) | \
39 (sec_in32((uintptr_t)(addr))))
[all …]
/trusted-firmware-a-3.7.0/plat/arm/common/
Darm_io_storage.c24 uintptr_t fip_dev_handle;
26 uintptr_t memmap_dev_handle;
39 int open_fip(const uintptr_t spec) in open_fip()
42 uintptr_t local_image_handle; in open_fip()
45 result = io_dev_init(fip_dev_handle, (uintptr_t)FIP_IMAGE_ID); in open_fip()
56 int open_memmap(const uintptr_t spec) in open_memmap()
59 uintptr_t local_image_handle; in open_memmap()
61 result = io_dev_init(memmap_dev_handle, (uintptr_t)NULL); in open_memmap()
87 io_result = io_dev_open(fip_dev_con, (uintptr_t)NULL, in arm_io_setup()
93 io_result = io_dev_open(memmap_dev_con, (uintptr_t)NULL, in arm_io_setup()
[all …]

12345678910>>...37