Home
last modified time | relevance | path

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

12

/trusted-firmware-a/plat/mediatek/common/drivers/gic600/
A Dmt_gic_v3.c37 .gicr_base = MT_GIC_RDIST_BASE,
80 uintptr_t gicr_base; in mt_gic_rdistif_init() local
91 gicr_write_ipriorityr(gicr_base, index, in mt_gic_rdistif_init()
98 uintptr_t gicr_base; in mt_gic_rdistif_save() local
115 uintptr_t gicr_base; in mt_gic_rdistif_restore() local
125 mmio_write_32(gicr_base + GICR_IGRPMODR0, in mt_gic_rdistif_restore()
133 uintptr_t gicr_base; in mt_gic_rdistif_restore_all() local
142 mmio_write_32(gicr_base + GICR_IGRPMODR0, in mt_gic_rdistif_restore_all()
150 uintptr_t gicr_base; in gic_sgi_save_all() local
162 uintptr_t gicr_base; in gic_sgi_restore_all() local
[all …]
/trusted-firmware-a/drivers/arm/gic/v3/
A Darm_gicv3_common.c30 uintptr_t gicr_base = 0; in arm_gicv3_distif_pre_save() local
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()
61 gicr_write_waker(gicr_base, gicr_read_waker(gicr_base) | WAKER_SL_BIT); in arm_gicv3_distif_pre_save()
74 uintptr_t gicr_base; in arm_gicv3_distif_post_restore() local
85 assert(gicr_base); in arm_gicv3_distif_post_restore()
93 if (!(gicr_read_waker(gicr_base) & WAKER_SL_BIT)) in arm_gicv3_distif_post_restore()
102 assert(gicr_read_waker(gicr_base) & WAKER_QSC_BIT); in arm_gicv3_distif_post_restore()
105 gicr_write_waker(gicr_base, gicr_read_waker(gicr_base) & ~WAKER_SL_BIT); in arm_gicv3_distif_post_restore()
[all …]
A Dgicv3_helpers.c31 gicr_write_waker(gicr_base, gicr_read_waker(gicr_base) & ~WAKER_PS_BIT); in gicv3_rdistif_mark_core_awake()
45 gicr_write_waker(gicr_base, gicr_read_waker(gicr_base) | WAKER_PS_BIT); 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()
277 gicr_write_icenabler(gicr_base, i, ~0U); in gicv3_ppi_sgi_config_defaults()
281 gicr_wait_for_pending_write(gicr_base); in gicv3_ppi_sgi_config_defaults()
286 gicr_write_igroupr(gicr_base, i, ~0U); in gicv3_ppi_sgi_config_defaults()
300 gicr_write_icfgr(gicr_base, i, 0U); in gicv3_ppi_sgi_config_defaults()
331 gicr_clr_igroupr(gicr_base, intr_num); in gicv3_secure_ppi_sgi_config_props()
338 gicr_set_igrpmodr(gicr_base, intr_num); in gicv3_secure_ppi_sgi_config_props()
[all …]
A Dgic-x00.c107 uintptr_t gicr_base; in get_gicr_base() local
113 gicr_base = gicv3_driver_data->rdistif_base_addrs[proc_num]; in get_gicr_base()
114 assert(gicr_base != 0UL); in get_gicr_base()
116 return gicr_base; in get_gicr_base()
121 uint32_t reg = mmio_read_32(gicr_base + GICR_IIDR); in gicv3_redists_need_power_mgmt()
150 uintptr_t gicr_base = get_gicr_base(proc_num); in gicv3_rdistif_off() local
153 if (gicv3_redists_need_power_mgmt(gicr_base)) { in gicv3_rdistif_off()
154 gic600_pwr_off(gicr_base); in gicv3_rdistif_off()
165 uintptr_t gicr_base = get_gicr_base(proc_num); in gicv3_rdistif_on() local
168 if (gicv3_redists_need_power_mgmt(gicr_base)) { in gicv3_rdistif_on()
[all …]
A Dgicv3_main.c224 uintptr_t gicr_base; in gicv3_rdistif_init() local
242 assert(gicr_base != 0U); in gicv3_rdistif_init()
274 uintptr_t gicr_base; in gicv3_cpuif_enable() local
339 uintptr_t gicr_base; in gicv3_cpuif_disable() local
367 assert(gicr_base != 0U); in gicv3_cpuif_disable()
421 uintptr_t gicr_base; in gicv3_get_interrupt_type() local
543 uintptr_t gicr_base; in gicv3_rdistif_save() local
618 uintptr_t gicr_base; in gicv3_rdistif_init_restore() local
666 gicr_write_ctlr(gicr_base, in gicv3_rdistif_init_restore()
1011 uintptr_t gicr_base; in gicv3_set_interrupt_priority() local
[all …]
A Dgicv3_private.h239 void gicv3_ppi_sgi_config_defaults(uintptr_t gicr_base);
240 unsigned int gicv3_secure_ppi_sgi_config_props(uintptr_t gicr_base,
248 uintptr_t gicr_base,
250 void gicv3_rdistif_mark_core_awake(uintptr_t gicr_base);
251 void gicv3_rdistif_mark_core_asleep(uintptr_t gicr_base);
343 static inline void gicr_wait_for_pending_write(uintptr_t gicr_base) in gicr_wait_for_pending_write() argument
345 while ((gicr_read_ctlr(gicr_base) & GICR_CTLR_RWP_BIT) != 0U) { in gicr_wait_for_pending_write()
349 static inline void gicr_wait_for_upstream_pending_write(uintptr_t gicr_base) in gicr_wait_for_upstream_pending_write() argument
351 while ((gicr_read_ctlr(gicr_base) & GICR_CTLR_UWP_BIT) != 0U) { in gicr_wait_for_upstream_pending_write()
/trusted-firmware-a/plat/mediatek/mt8183/
A 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()
120 gic_data.saved_conf0 = mmio_read_32(gicr_base + GICR_ICFGR0); in mt_gic_rdistif_save()
121 gic_data.saved_conf1 = mmio_read_32(gicr_base + GICR_ICFGR1); in mt_gic_rdistif_save()
[all …]
/trusted-firmware-a/plat/arm/board/arm_fpga/
A Dfpga_gicv3.c43 uintptr_t gicr_base = 0U; in plat_fpga_gic_init() local
77 frame_id = gicv3_get_component_partnum(gicr_base); in plat_fpga_gic_init()
81 nr_itses, (unsigned long long)gicr_base); in plat_fpga_gic_init()
88 gicr_base = 0U; in plat_fpga_gic_init()
97 its_typer = mmio_read_64(gicr_base + GITS_TYPER); in plat_fpga_gic_init()
99 gicr_base += 4U << 16; in plat_fpga_gic_init()
101 gicr_base += 2U << 16; in plat_fpga_gic_init()
111 if (gicr_base == 0U) { in plat_fpga_gic_init()
113 &fpga_gicv3_driver_data.gicr_base, in plat_fpga_gic_init()
120 fpga_gicv3_driver_data.gicr_base = gicr_base; in plat_fpga_gic_init()
[all …]
/trusted-firmware-a/plat/ti/k3/common/
A 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()
/trusted-firmware-a/plat/socionext/uniphier/
A Duniphier_gicv3.c62 .gicr_base = 0x5fe40000,
71 .gicr_base = 0x5fe80000,
80 .gicr_base = 0x5fe80000,
/trusted-firmware-a/common/
A Dfdt_fixup.c420 uintptr_t gicr_base, unsigned int gicr_frame_size) in fdt_adjust_gic_redist() argument
443 if (gicr_base != INVALID_BASE_ADDR) { in fdt_adjust_gic_redist()
445 reg_32 = cpu_to_fdt32(gicr_base); in fdt_adjust_gic_redist()
448 reg_64 = cpu_to_fdt64(gicr_base); in fdt_adjust_gic_redist()
/trusted-firmware-a/include/common/
A Dfdt_fixup.h18 int fdt_adjust_gic_redist(void *dtb, unsigned int nr_cores, uintptr_t gicr_base,
/trusted-firmware-a/plat/qemu/common/
A Dqemu_gicv3.c26 .gicr_base = GICR_BASE,
/trusted-firmware-a/plat/nvidia/tegra/common/
A Dtegra_gicv3.c41 tegra_gic_data.gicr_base = TEGRA_GICR_BASE; in tegra_gic_setup()
/trusted-firmware-a/plat/brcm/common/
A Dbrcm_gicv3.c44 .gicr_base = PLAT_BRCM_GICR_BASE,
/trusted-firmware-a/plat/rockchip/common/
A Drockchip_gicv3.c40 .gicr_base = PLAT_RK_GICR_BASE,
/trusted-firmware-a/drivers/nxp/gic/
A Dls_gicv3.c26 ls_gic_data.gicr_base = nxp_gicr_addr; in plat_ls_gic_driver_init()
/trusted-firmware-a/plat/arm/board/fvp/include/
A Dfconf_hw_config_getter.h20 uint64_t gicr_base; member
/trusted-firmware-a/plat/socionext/synquacer/
A Dsq_gicv3.c61 .gicr_base = PLAT_SQ_GICR_BASE,
/trusted-firmware-a/plat/xilinx/versal/
A Dversal_gicv3.c64 .gicr_base = PLAT_VERSAL_GICR_BASE,
/trusted-firmware-a/plat/marvell/armada/common/
A Dmarvell_gicv3.c66 .gicr_base = PLAT_MARVELL_GICR_BASE,
/trusted-firmware-a/plat/imx/common/
A Dplat_imx8_gic.c38 .gicr_base = PLAT_GICR_BASE,
/trusted-firmware-a/plat/arm/board/fvp/
A Dfvp_gicv3.c112 gicr_base); in plat_arm_gic_driver_init()
/trusted-firmware-a/plat/arm/common/
A Darm_gicv3.c79 .gicr_base = 0U,
/trusted-firmware-a/plat/qti/common/src/
A Dqti_gic_v3.c89 .gicr_base = QTI_GICR_BASE,

Completed in 25 milliseconds

12