Home
last modified time | relevance | path

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

12

/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.c93 void gicv2_spis_configure_defaults(uintptr_t gicd_base) in gicv2_spis_configure_defaults() argument
97 num_ints = gicd_read_typer(gicd_base); in gicv2_spis_configure_defaults()
106 gicd_write_igroupr(gicd_base, index, ~0U); in gicv2_spis_configure_defaults()
110 gicd_write_ipriorityr(gicd_base, in gicv2_spis_configure_defaults()
116 gicd_write_icfgr(gicd_base, index, 0U); in gicv2_spis_configure_defaults()
122 void gicv2_secure_spis_configure_props(uintptr_t gicd_base, in gicv2_secure_spis_configure_props() argument
141 gicd_clr_igroupr(gicd_base, prop_desc->intr_num); in gicv2_secure_spis_configure_props()
144 gicd_set_ipriorityr(gicd_base, prop_desc->intr_num, in gicv2_secure_spis_configure_props()
148 gicd_set_itargetsr(gicd_base, prop_desc->intr_num, in gicv2_secure_spis_configure_props()
149 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/drivers/arm/gic/v3/
Dgicv3_main.c65 assert(plat_driver_data->gicd_base != 0U); in gicv3_driver_init()
84 gic_version = gicd_read_pidr2(plat_driver_data->gicd_base); in gicv3_driver_init()
93 gicv2_compat = gicd_read_ctlr(plat_driver_data->gicd_base); in gicv3_driver_init()
148 assert(gicv3_driver_data->gicd_base != 0U); in gicv3_distif_init()
157 gicd_clr_ctlr(gicv3_driver_data->gicd_base, in gicv3_distif_init()
164 gicd_set_ctlr(gicv3_driver_data->gicd_base, in gicv3_distif_init()
168 gicv3_spis_config_defaults(gicv3_driver_data->gicd_base); in gicv3_distif_init()
171 gicv3_driver_data->gicd_base, in gicv3_distif_init()
176 gicd_set_ctlr(gicv3_driver_data->gicd_base, bitmap, RWP_TRUE); in gicv3_distif_init()
193 assert(gicv3_driver_data->gicd_base != 0U); in gicv3_rdistif_init()
[all …]
Dgicv3_helpers.c355 void gicv3_spis_config_defaults(uintptr_t gicd_base) in gicv3_spis_config_defaults() argument
359 num_ints = gicd_read_typer(gicd_base); in gicv3_spis_config_defaults()
368 gicd_write_igroupr(gicd_base, index, ~0U); in gicv3_spis_config_defaults()
372 gicd_write_ipriorityr(gicd_base, in gicv3_spis_config_defaults()
381 gicd_write_icfgr(gicd_base, index, 0U); in gicv3_spis_config_defaults()
387 unsigned int gicv3_secure_spis_config_props(uintptr_t gicd_base, in gicv3_secure_spis_config_props() argument
407 gicd_clr_igroupr(gicd_base, current_prop->intr_num); in gicv3_secure_spis_config_props()
413 gicd_set_igrpmodr(gicd_base, current_prop->intr_num); in gicv3_secure_spis_config_props()
416 gicd_clr_igrpmodr(gicd_base, current_prop->intr_num); in gicv3_secure_spis_config_props()
421 gicd_set_icfgr(gicd_base, current_prop->intr_num, in gicv3_secure_spis_config_props()
[all …]
Dgicv3_private.h98 void gicv3_spis_config_defaults(uintptr_t gicd_base);
103 unsigned int gicv3_secure_spis_config_props(uintptr_t gicd_base,
122 static inline void gicd_wait_for_pending_write(uintptr_t gicd_base) in gicd_wait_for_pending_write() argument
124 while ((gicd_read_ctlr(gicd_base) & GICD_CTLR_RWP_BIT) != 0U) in gicd_wait_for_pending_write()
/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/layerscape/common/include/
Dsoc.h16 void get_gic_offset(uint32_t *gicc_base, uint32_t *gicd_base);
/external/arm-trusted-firmware/plat/imx/imx8m/
Dgpc_common.c172 uintptr_t gicd_base = PLAT_GICD_BASE; in imx_set_sys_wakeup() local
185 irq_mask = ~gicd_read_isenabler(gicd_base, 32 * (i + 1)); in imx_set_sys_wakeup()
/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/nvidia/tegra/common/
Dtegra_gicv2.c32 tegra_gic_data.gicd_base = TEGRA_GICD_BASE; in tegra_gic_setup()
/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/arm/common/
Darm_gicv2.c35 .gicd_base = PLAT_ARM_GICD_BASE,
/external/arm-trusted-firmware/plat/socionext/synquacer/
Dsq_gicv3.c60 .gicd_base = PLAT_SQ_GICD_BASE,
/external/arm-trusted-firmware/plat/marvell/common/
Dmarvell_gicv3.c65 .gicd_base = PLAT_MARVELL_GICD_BASE,
/external/arm-trusted-firmware/plat/xilinx/versal/
Dversal_gicv3.c63 .gicd_base = PLAT_VERSAL_GICD_BASE,
/external/arm-trusted-firmware/plat/imx/common/
Dplat_imx8_gic.c33 .gicd_base = PLAT_GICD_BASE,

12