/trusted-firmware-a-3.4.0/drivers/arm/gic/common/ |
D | gic_common_private.h | 18 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 …]
|
D | gic_common.c | 23 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.4.0/plat/brcm/board/stingray/driver/ext_sram_init/ |
D | ext_sram_init.c | 24 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.4.0/drivers/arm/gic/v2/ |
D | gicv2_private.h | 18 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 …]
|
D | gicdv2_helpers.c | 21 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.4.0/drivers/arm/gic/v3/ |
D | gicv3_private.h | 39 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) >> \ 56 (GICD_##REG##R + (uintptr_t)(id)) 59 (GICD_##REG##R + (((uintptr_t)(id) >> REG##R_SHIFT) << 2)) 62 (GICD_##REG##R + (((uintptr_t)(id) >> REG##R_SHIFT) << 3)) 116 GICR_##REG##R + (uintptr_t)(id) : \ [all …]
|
D | gicdv3_helpers.c | 22 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 …]
|
D | gicrv3_helpers.c | 24 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.4.0/plat/imx/common/ |
D | imx_io_storage.c | 22 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.4.0/plat/qemu/common/ |
D | qemu_io_storage.c | 46 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 …]
|
/trusted-firmware-a-3.4.0/plat/renesas/common/ |
D | plat_storage.c | 21 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.4.0/plat/brcm/common/ |
D | brcm_io_storage.c | 24 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.4.0/plat/hisilicon/poplar/ |
D | plat_storage.c | 29 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.4.0/plat/rpi/common/ |
D | rpi3_io_storage.c | 38 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.4.0/plat/marvell/armada/common/ |
D | marvell_io_storage.c | 23 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.4.0/include/drivers/io/ |
D | io_storage.h | 76 const uintptr_t dev_spec, 77 uintptr_t *handle); 82 int io_dev_init(uintptr_t dev_handle, const uintptr_t init_params); 85 int io_dev_close(uintptr_t dev_handle); 89 int io_open(uintptr_t dev_handle, const uintptr_t spec, uintptr_t *handle); 91 int io_seek(uintptr_t handle, io_seek_mode_t mode, signed long long offset); 93 int io_size(uintptr_t handle, size_t *length); 95 int io_read(uintptr_t handle, uintptr_t buffer, size_t length, 98 int io_write(uintptr_t handle, const uintptr_t buffer, size_t length, 101 int io_close(uintptr_t handle);
|
/trusted-firmware-a-3.4.0/plat/hisilicon/hikey960/ |
D | hikey960_io_storage.c | 27 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 …]
|
/trusted-firmware-a-3.4.0/plat/hisilicon/hikey/ |
D | hikey_io_storage.c | 34 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.4.0/drivers/st/ddr/ |
D | stm32mp_ddr.c | 18 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.4.0/plat/nxp/common/fip_handler/ddr_fip/ |
D | ddr_io_storage.c | 26 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.4.0/plat/intel/soc/common/ |
D | socfpga_storage.c | 35 static uintptr_t fip_dev_handle; 36 static uintptr_t boot_dev_handle; 50 uintptr_t a2_lba_offset; 58 static int check_fip(const uintptr_t spec); 59 static int check_dev(const uintptr_t spec); 70 uintptr_t *dev_handle; 71 uintptr_t image_spec; 72 int (*check)(const uintptr_t spec); 78 (uintptr_t)&fip_spec, 83 (uintptr_t)&bl2_uuid_spec, [all …]
|
/trusted-firmware-a-3.4.0/plat/qti/common/inc/ |
D | qti_plat.h | 21 int qti_mmap_add_dynamic_region(uintptr_t base_pa, size_t size, 23 int qti_mmap_remove_dynamic_region(uintptr_t base_va, size_t size); 28 void qti_setup_page_tables(uintptr_t total_base, 30 uintptr_t code_start, 31 uintptr_t code_limit, 32 uintptr_t rodata_start, 33 uintptr_t rodata_limit, 34 uintptr_t coh_start, uintptr_t coh_limit);
|
/trusted-firmware-a-3.4.0/include/plat/marvell/armada/a3k/common/ |
D | plat_marvell.h | 31 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.4.0/include/drivers/nxp/crypto/caam/ |
D | caam_io.h | 26 #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.4.0/plat/arm/common/fconf/ |
D | arm_fconf_io.c | 100 (uintptr_t)&gpt_spec, 108 (uintptr_t)&fwu_metadata_spec, 114 (uintptr_t)&fwu_metadata_spec, 120 (uintptr_t)&fip_block_spec, 125 (uintptr_t)&arm_uuid_spec[BL2_IMAGE_ID], 130 (uintptr_t)&arm_uuid_spec[TB_FW_CONFIG_ID], 135 (uintptr_t)&arm_uuid_spec[FW_CONFIG_ID], 141 (uintptr_t)&arm_uuid_spec[SCP_BL2_IMAGE_ID], 146 (uintptr_t)&arm_uuid_spec[BL31_IMAGE_ID], 151 (uintptr_t)&arm_uuid_spec[BL32_IMAGE_ID], [all …]
|