Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/plat/mediatek/mt8192/
Dplat_mt_gic.c37 .gicr_base = MT_GIC_RDIST_BASE,
80 uintptr_t gicr_base; in mt_gic_rdistif_init() local
83 gicr_base = gicv3_driver_data->rdistif_base_addrs[proc_num]; in mt_gic_rdistif_init()
86 mmio_write_32(gicr_base + GICR_IGROUPR0, ~0U); in mt_gic_rdistif_init()
87 mmio_write_32(gicr_base + GICR_IGRPMODR0, 0x0); in mt_gic_rdistif_init()
91 gicr_write_ipriorityr(gicr_base, index, in mt_gic_rdistif_init()
98 uintptr_t gicr_base; in mt_gic_rdistif_save() local
101 gicr_base = gicv3_driver_data->rdistif_base_addrs[proc_num]; in mt_gic_rdistif_save()
103 gic_data.saved_group = mmio_read_32(gicr_base + GICR_IGROUPR0); in mt_gic_rdistif_save()
104 gic_data.saved_enable = mmio_read_32(gicr_base + GICR_ISENABLER0); in mt_gic_rdistif_save()
[all …]
/external/arm-trusted-firmware/drivers/arm/gic/v3/
Darm_gicv3_common.c30 uintptr_t gicr_base = 0; in arm_gicv3_distif_pre_save() local
41 gicr_base = gicv3_driver_data->rdistif_base_addrs[i]; in arm_gicv3_distif_pre_save()
42 assert(gicr_base); in arm_gicv3_distif_pre_save()
43 assert(gicr_read_waker(gicr_base) & WAKER_CA_BIT); in arm_gicv3_distif_pre_save()
44 assert(gicr_read_waker(gicr_base) & WAKER_PS_BIT); in arm_gicv3_distif_pre_save()
47 gicr_base = gicv3_driver_data->rdistif_base_addrs[rdist_proc_num]; in arm_gicv3_distif_pre_save()
61 gicr_write_waker(gicr_base, gicr_read_waker(gicr_base) | WAKER_SL_BIT); in arm_gicv3_distif_pre_save()
64 while (!(gicr_read_waker(gicr_base) & WAKER_QSC_BIT)) in arm_gicv3_distif_pre_save()
74 uintptr_t gicr_base; in arm_gicv3_distif_post_restore() local
84 gicr_base = gicv3_driver_data->rdistif_base_addrs[rdist_proc_num]; in arm_gicv3_distif_post_restore()
[all …]
Dgicv3_helpers.c22 void gicv3_rdistif_mark_core_awake(uintptr_t gicr_base) in gicv3_rdistif_mark_core_awake() argument
28 assert((gicr_read_waker(gicr_base) & WAKER_CA_BIT) != 0U); in gicv3_rdistif_mark_core_awake()
31 gicr_write_waker(gicr_base, gicr_read_waker(gicr_base) & ~WAKER_PS_BIT); in gicv3_rdistif_mark_core_awake()
34 while ((gicr_read_waker(gicr_base) & WAKER_CA_BIT) != 0U) { in gicv3_rdistif_mark_core_awake()
42 void gicv3_rdistif_mark_core_asleep(uintptr_t gicr_base) in gicv3_rdistif_mark_core_asleep() argument
45 gicr_write_waker(gicr_base, gicr_read_waker(gicr_base) | WAKER_PS_BIT); in gicv3_rdistif_mark_core_asleep()
48 while ((gicr_read_waker(gicr_base) & WAKER_CA_BIT) == 0U) { in gicv3_rdistif_mark_core_asleep()
59 uintptr_t gicr_base, in gicv3_rdistif_base_addrs_probe() argument
65 uintptr_t rdistif_base = gicr_base; in gicv3_rdistif_base_addrs_probe()
221 void gicv3_ppi_sgi_config_defaults(uintptr_t gicr_base) in gicv3_ppi_sgi_config_defaults() argument
[all …]
Dgicv3_main.c141 if (plat_driver_data->gicr_base != 0U) { in gicv3_driver_init()
150 plat_driver_data->gicr_base, in gicv3_driver_init()
228 uintptr_t gicr_base; in gicv3_rdistif_init() local
245 gicr_base = gicv3_driver_data->rdistif_base_addrs[proc_num]; in gicv3_rdistif_init()
246 assert(gicr_base != 0U); in gicv3_rdistif_init()
249 gicv3_ppi_sgi_config_defaults(gicr_base); in gicv3_rdistif_init()
251 bitmap = gicv3_secure_ppi_sgi_config_props(gicr_base, in gicv3_rdistif_init()
278 uintptr_t gicr_base; in gicv3_cpuif_enable() local
288 gicr_base = gicv3_driver_data->rdistif_base_addrs[proc_num]; in gicv3_cpuif_enable()
289 gicv3_rdistif_mark_core_awake(gicr_base); in gicv3_cpuif_enable()
[all …]
Dgic-x00.c109 uintptr_t gicr_base; in get_gicr_base() local
115 gicr_base = gicv3_driver_data->rdistif_base_addrs[proc_num]; in get_gicr_base()
116 assert(gicr_base != 0UL); in get_gicr_base()
118 return gicr_base; in get_gicr_base()
121 static bool gicv3_redists_need_power_mgmt(uintptr_t gicr_base) in gicv3_redists_need_power_mgmt() argument
123 uint32_t reg = mmio_read_32(gicr_base + GICR_IIDR); in gicv3_redists_need_power_mgmt()
152 uintptr_t gicr_base = get_gicr_base(proc_num); in gicv3_rdistif_off() local
155 if (gicv3_redists_need_power_mgmt(gicr_base)) { in gicv3_rdistif_off()
156 gic600_pwr_off(gicr_base); in gicv3_rdistif_off()
167 uintptr_t gicr_base = get_gicr_base(proc_num); in gicv3_rdistif_on() local
[all …]
Dgicv3_private.h236 void gicv3_ppi_sgi_config_defaults(uintptr_t gicr_base);
237 unsigned int gicv3_secure_ppi_sgi_config_props(uintptr_t gicr_base,
245 uintptr_t gicr_base,
247 void gicv3_rdistif_mark_core_awake(uintptr_t gicr_base);
248 void gicv3_rdistif_mark_core_asleep(uintptr_t gicr_base);
340 static inline void gicr_wait_for_pending_write(uintptr_t gicr_base) in gicr_wait_for_pending_write() argument
342 while ((gicr_read_ctlr(gicr_base) & GICR_CTLR_RWP_BIT) != 0U) { in gicr_wait_for_pending_write()
346 static inline void gicr_wait_for_upstream_pending_write(uintptr_t gicr_base) in gicr_wait_for_upstream_pending_write() argument
348 while ((gicr_read_ctlr(gicr_base) & GICR_CTLR_UWP_BIT) != 0U) { in gicr_wait_for_upstream_pending_write()
/external/arm-trusted-firmware/plat/mediatek/mt8183/
Dplat_mt_gic.c34 .gicr_base = MT_GIC_RDIST_BASE,
85 uintptr_t gicr_base; in mt_gic_rdistif_init() local
88 gicr_base = gicv3_driver_data->rdistif_base_addrs[proc_num]; in mt_gic_rdistif_init()
91 mmio_write_32(gicr_base + GICR_IGROUPR0, ~0U); in mt_gic_rdistif_init()
92 mmio_write_32(gicr_base + GICR_IGRPMODR0, 0x0); in mt_gic_rdistif_init()
96 gicr_write_ipriorityr(gicr_base, index, in mt_gic_rdistif_init()
113 uintptr_t gicr_base; in mt_gic_rdistif_save() local
116 gicr_base = gicv3_driver_data->rdistif_base_addrs[proc_num]; in mt_gic_rdistif_save()
118 gic_data.saved_group = mmio_read_32(gicr_base + GICR_IGROUPR0); in mt_gic_rdistif_save()
119 gic_data.saved_enable = mmio_read_32(gicr_base + GICR_ISENABLER0); in mt_gic_rdistif_save()
[all …]
/external/arm-trusted-firmware/plat/ti/k3/common/
Dk3_gicv3.c45 uintptr_t gicr_base = 0; in k3_gic_driver_init() local
52 gicr_base = gicr_check; in k3_gic_driver_init()
57 assert(gicr_base != 0); in k3_gic_driver_init()
66 k3_gic_data.gicr_base = gicr_base; in k3_gic_driver_init()
/external/arm-trusted-firmware/plat/socionext/uniphier/
Duniphier_gicv3.c62 .gicr_base = 0x5fe40000,
71 .gicr_base = 0x5fe80000,
80 .gicr_base = 0x5fe80000,
/external/arm-trusted-firmware/plat/arm/board/arm_fpga/
Dfpga_gicv3.c57 &fpga_gicv3_driver_data.gicr_base, NULL); in plat_fpga_gic_init()
83 return gicv3_rdistif_get_number_frames(fpga_gicv3_driver_data.gicr_base); in fpga_get_nr_gic_cores()
/external/arm-trusted-firmware/plat/qemu/common/
Dqemu_gicv3.c26 .gicr_base = GICR_BASE,
/external/arm-trusted-firmware/plat/nvidia/tegra/common/
Dtegra_gicv3.c41 tegra_gic_data.gicr_base = TEGRA_GICR_BASE; in tegra_gic_setup()
/external/arm-trusted-firmware/plat/rockchip/common/
Drockchip_gicv3.c40 .gicr_base = PLAT_RK_GICR_BASE,
/external/arm-trusted-firmware/plat/brcm/common/
Dbrcm_gicv3.c44 .gicr_base = PLAT_BRCM_GICR_BASE,
/external/arm-trusted-firmware/plat/arm/board/fvp/include/
Dfconf_hw_config_getter.h20 uint64_t gicr_base; member
/external/arm-trusted-firmware/plat/socionext/synquacer/
Dsq_gicv3.c61 .gicr_base = PLAT_SQ_GICR_BASE,
/external/arm-trusted-firmware/plat/xilinx/versal/
Dversal_gicv3.c64 .gicr_base = PLAT_VERSAL_GICR_BASE,
/external/arm-trusted-firmware/plat/marvell/armada/common/
Dmarvell_gicv3.c66 .gicr_base = PLAT_MARVELL_GICR_BASE,
/external/arm-trusted-firmware/plat/imx/common/
Dplat_imx8_gic.c38 .gicr_base = PLAT_GICR_BASE,
/external/arm-trusted-firmware/plat/arm/board/fvp/
Dfvp_gicv3.c112 gicr_base); in plat_arm_gic_driver_init()
/external/arm-trusted-firmware/plat/arm/common/
Darm_gicv3.c79 .gicr_base = 0U,
/external/arm-trusted-firmware/plat/qti/common/src/
Dqti_gic_v3.c79 .gicr_base = QTI_GICR_BASE,
/external/arm-trusted-firmware/plat/arm/board/fvp/fconf/
Dfconf_hw_config_getter.c55 gicv3_config.gicr_base = addr; in fconf_populate_gicv3_config()
/external/arm-trusted-firmware/include/drivers/arm/
Dgicv3.h431 uintptr_t gicr_base; member
/external/arm-trusted-firmware/docs/components/fconf/
Dindex.rst31 - GICv3 properties: hw_config.gicv3_config.gicr_base