Home
last modified time | relevance | path

Searched refs:gicd_base (Results 1 – 25 of 55) sorted by relevance

123

/external/arm-trusted-firmware/drivers/arm/gic/v3/
Dgicv3_main.c103 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 …]
Dgicv3_helpers.c96 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 …]
Dgicv3_private.h236 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/
Dgicv2_main.c81 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 …]
Dgicv2_helpers.c92 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 …]
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,
/external/arm-trusted-firmware/plat/layerscape/common/tsp/
Dls_tsp_setup.c22 .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/
Dls_gic.c23 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/
Dls_bl31_setup.c32 .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/
Dk3_gicv3.c43 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/
Duniphier_gicv3.c61 .gicd_base = 0x5fe00000,
70 .gicd_base = 0x5fe00000,
79 .gicd_base = 0x5fe00000,
/external/arm-trusted-firmware/plat/arm/board/fvp/
Dfvp_gicv3.c108 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/
Dfpga_gicv3.c55 &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/
Dgpc_common.c187 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/
Dsoc.h16 void get_gic_offset(uint32_t *gicc_base, uint32_t *gicd_base);
/external/arm-trusted-firmware/plat/qemu/common/
Dqemu_gicv2.c17 .gicd_base = GICD_BASE,
Dqemu_gicv3.c25 .gicd_base = GICD_BASE,
/external/arm-trusted-firmware/plat/mediatek/mt6795/
Dplat_mt_gic.c19 .gicd_base = BASE_GICD_BASE,
/external/arm-trusted-firmware/plat/rockchip/common/
Drockchip_gicv2.c37 .gicd_base = PLAT_RK_GICD_BASE,
Drockchip_gicv3.c39 .gicd_base = PLAT_RK_GICD_BASE,
/external/arm-trusted-firmware/plat/hisilicon/poplar/
Dpoplar_gicv2.c24 .gicd_base = POPLAR_GICD_BASE,
/external/arm-trusted-firmware/plat/nvidia/tegra/common/
Dtegra_gicv2.c35 tegra_gic_data.gicd_base = TEGRA_GICD_BASE; in tegra_gic_setup()
Dtegra_gicv3.c40 tegra_gic_data.gicd_base = TEGRA_GICD_BASE; in tegra_gic_setup()
/external/arm-trusted-firmware/drivers/nxp/gic/
Dls_gicv2.c24 ls_gic_data.gicd_base = nxp_gicd_addr; in plat_ls_gic_driver_init()
/external/arm-trusted-firmware/plat/brcm/common/
Dbrcm_gicv3.c43 .gicd_base = PLAT_BRCM_GICD_BASE,

123