/external/arm-trusted-firmware/drivers/arm/gic/v3/ |
D | gicv3_main.c | 103 assert(plat_driver_data->gicd_base != 0U); in gicv3_driver_init() 121 gic_version = gicd_read_pidr2(plat_driver_data->gicd_base); in gicv3_driver_init() 133 gicv2_compat = gicd_read_ctlr(plat_driver_data->gicd_base); in gicv3_driver_init() 186 assert(gicv3_driver_data->gicd_base != 0U); in gicv3_distif_init() 195 gicd_clr_ctlr(gicv3_driver_data->gicd_base, in gicv3_distif_init() 202 gicd_set_ctlr(gicv3_driver_data->gicd_base, in gicv3_distif_init() 206 gicv3_spis_config_defaults(gicv3_driver_data->gicd_base); in gicv3_distif_init() 209 gicv3_driver_data->gicd_base, in gicv3_distif_init() 214 gicd_set_ctlr(gicv3_driver_data->gicd_base, bitmap, RWP_TRUE); in gicv3_distif_init() 231 assert(gicv3_driver_data->gicd_base != 0U); in gicv3_rdistif_init() [all …]
|
D | gicv3_helpers.c | 96 unsigned int gicv3_get_spi_limit(uintptr_t gicd_base) in gicv3_get_spi_limit() argument 99 unsigned int typer_reg = gicd_read_typer(gicd_base); in gicv3_get_spi_limit() 116 unsigned int gicv3_get_espi_limit(uintptr_t gicd_base) in gicv3_get_espi_limit() argument 118 unsigned int typer_reg = gicd_read_typer(gicd_base); in gicv3_get_espi_limit() 137 void gicv3_spis_config_defaults(uintptr_t gicd_base) in gicv3_spis_config_defaults() argument 144 num_ints = gicv3_get_spi_limit(gicd_base); in gicv3_spis_config_defaults() 149 gicd_write_igroupr(gicd_base, i, ~0U); in gicv3_spis_config_defaults() 153 num_eints = gicv3_get_espi_limit(gicd_base); in gicv3_spis_config_defaults() 159 gicd_write_igroupr(gicd_base, i, ~0U); in gicv3_spis_config_defaults() 168 gicd_write_ipriorityr(gicd_base, i, GICD_IPRIORITYR_DEF_VAL); in gicv3_spis_config_defaults() [all …]
|
D | gicv3_private.h | 236 unsigned int gicv3_get_spi_limit(uintptr_t gicd_base); 237 unsigned int gicv3_get_espi_limit(uintptr_t gicd_base); 238 void gicv3_spis_config_defaults(uintptr_t gicd_base); 243 unsigned int gicv3_secure_spis_config_props(uintptr_t gicd_base, 262 static inline void gicd_wait_for_pending_write(uintptr_t gicd_base) in gicd_wait_for_pending_write() argument 264 while ((gicd_read_ctlr(gicd_base) & GICD_CTLR_RWP_BIT) != 0U) { in gicd_wait_for_pending_write()
|
/external/arm-trusted-firmware/drivers/arm/gic/v2/ |
D | gicv2_main.c | 81 assert(driver_data->gicd_base != 0U); in gicv2_pcpu_distif_init() 83 gicv2_secure_ppi_sgi_setup_props(driver_data->gicd_base, in gicv2_pcpu_distif_init() 88 ctlr = gicd_read_ctlr(driver_data->gicd_base); in gicv2_pcpu_distif_init() 90 gicd_write_ctlr(driver_data->gicd_base, in gicv2_pcpu_distif_init() 105 assert(driver_data->gicd_base != 0U); in gicv2_distif_init() 108 ctlr = gicd_read_ctlr(driver_data->gicd_base); in gicv2_distif_init() 109 gicd_write_ctlr(driver_data->gicd_base, in gicv2_distif_init() 113 gicv2_spis_configure_defaults(driver_data->gicd_base); in gicv2_distif_init() 115 gicv2_secure_spis_configure_props(driver_data->gicd_base, in gicv2_distif_init() 121 gicd_write_ctlr(driver_data->gicd_base, ctlr | CTLR_ENABLE_G0_BIT); in gicv2_distif_init() [all …]
|
D | gicv2_helpers.c | 92 void gicv2_spis_configure_defaults(uintptr_t gicd_base) in gicv2_spis_configure_defaults() argument 96 num_ints = gicd_read_typer(gicd_base); in gicv2_spis_configure_defaults() 105 gicd_write_igroupr(gicd_base, index, ~0U); in gicv2_spis_configure_defaults() 109 gicd_write_ipriorityr(gicd_base, in gicv2_spis_configure_defaults() 115 gicd_write_icfgr(gicd_base, index, 0U); in gicv2_spis_configure_defaults() 121 void gicv2_secure_spis_configure_props(uintptr_t gicd_base, in gicv2_secure_spis_configure_props() argument 140 gicd_clr_igroupr(gicd_base, prop_desc->intr_num); in gicv2_secure_spis_configure_props() 143 gicd_set_ipriorityr(gicd_base, prop_desc->intr_num, in gicv2_secure_spis_configure_props() 147 gicd_set_itargetsr(gicd_base, prop_desc->intr_num, in gicv2_secure_spis_configure_props() 148 gicv2_get_cpuif_id(gicd_base)); in gicv2_secure_spis_configure_props() [all …]
|
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,
|
/external/arm-trusted-firmware/plat/layerscape/common/tsp/ |
D | ls_tsp_setup.c | 22 .gicd_base = GICD_BASE, 48 uint32_t gicc_base, gicd_base; in tsp_platform_setup() local 51 get_gic_offset(&gicc_base, &gicd_base); in tsp_platform_setup() 52 ls_gic_data.gicd_base = (uintptr_t)gicd_base; in tsp_platform_setup()
|
/external/arm-trusted-firmware/plat/layerscape/board/ls1043/ |
D | ls_gic.c | 23 void get_gic_offset(uint32_t *gicc_base, uint32_t *gicd_base) in get_gic_offset() argument 40 *gicd_base = GICD_BASE; in get_gic_offset() 43 *gicd_base = GICD_BASE_64K; in get_gic_offset() 47 *gicd_base = GICD_BASE; in get_gic_offset()
|
/external/arm-trusted-firmware/plat/layerscape/common/ |
D | ls_bl31_setup.c | 32 .gicd_base = GICD_BASE, 151 uint32_t gicc_base, gicd_base; in ls_bl31_platform_setup() local 155 get_gic_offset(&gicc_base, &gicd_base); in ls_bl31_platform_setup() 156 ls_gic_data.gicd_base = (uintptr_t)gicd_base; in ls_bl31_platform_setup()
|
/external/arm-trusted-firmware/plat/ti/k3/common/ |
D | k3_gicv3.c | 43 uintptr_t gicd_base = gic_base; in k3_gic_driver_init() local 65 k3_gic_data.gicd_base = gicd_base; in k3_gic_driver_init()
|
/external/arm-trusted-firmware/plat/socionext/uniphier/ |
D | uniphier_gicv3.c | 61 .gicd_base = 0x5fe00000, 70 .gicd_base = 0x5fe00000, 79 .gicd_base = 0x5fe00000,
|
/external/arm-trusted-firmware/plat/arm/board/fvp/ |
D | fvp_gicv3.c | 108 fvp_gic_data.gicd_base = (uintptr_t)FCONF_GET_PROPERTY(hw_config, in plat_arm_gic_driver_init() 110 gicd_base); in plat_arm_gic_driver_init() 123 fvp_gic_data.gicd_base = PLAT_ARM_GICD_BASE; in plat_arm_gic_driver_init()
|
/external/arm-trusted-firmware/plat/arm/board/arm_fpga/ |
D | fpga_gicv3.c | 55 &fpga_gicv3_driver_data.gicd_base, NULL); in plat_fpga_gic_init() 61 iidr = mmio_read_32(fpga_gicv3_driver_data.gicd_base + GICD_IIDR); in plat_fpga_gic_init() 71 gicr_base = fpga_gicv3_driver_data.gicd_base + (4U << 16); in plat_fpga_gic_init()
|
/external/arm-trusted-firmware/plat/imx/imx8m/ |
D | gpc_common.c | 187 uintptr_t gicd_base = PLAT_GICD_BASE; in imx_set_sys_wakeup() local 200 irq_mask = ~gicd_read_isenabler(gicd_base, 32 * (i + 1)); in imx_set_sys_wakeup()
|
/external/arm-trusted-firmware/plat/layerscape/common/include/ |
D | soc.h | 16 void get_gic_offset(uint32_t *gicc_base, uint32_t *gicd_base);
|
/external/arm-trusted-firmware/plat/qemu/common/ |
D | qemu_gicv2.c | 17 .gicd_base = GICD_BASE,
|
D | qemu_gicv3.c | 25 .gicd_base = GICD_BASE,
|
/external/arm-trusted-firmware/plat/mediatek/mt6795/ |
D | plat_mt_gic.c | 19 .gicd_base = BASE_GICD_BASE,
|
/external/arm-trusted-firmware/plat/rockchip/common/ |
D | rockchip_gicv2.c | 37 .gicd_base = PLAT_RK_GICD_BASE,
|
D | rockchip_gicv3.c | 39 .gicd_base = PLAT_RK_GICD_BASE,
|
/external/arm-trusted-firmware/plat/hisilicon/poplar/ |
D | poplar_gicv2.c | 24 .gicd_base = POPLAR_GICD_BASE,
|
/external/arm-trusted-firmware/plat/nvidia/tegra/common/ |
D | tegra_gicv2.c | 35 tegra_gic_data.gicd_base = TEGRA_GICD_BASE; in tegra_gic_setup()
|
D | tegra_gicv3.c | 40 tegra_gic_data.gicd_base = TEGRA_GICD_BASE; in tegra_gic_setup()
|
/external/arm-trusted-firmware/drivers/nxp/gic/ |
D | ls_gicv2.c | 24 ls_gic_data.gicd_base = nxp_gicd_addr; in plat_ls_gic_driver_init()
|
/external/arm-trusted-firmware/plat/brcm/common/ |
D | brcm_gicv3.c | 43 .gicd_base = PLAT_BRCM_GICD_BASE,
|