Home
last modified time | relevance | path

Searched refs:typer_val (Results 1 – 5 of 5) sorted by relevance

/rk3399_ARM-atf/drivers/arm/gic/v3/
H A Dgicv3_helpers.c89 uint64_t typer_val; in gicv3_rdistif_base_addrs_probe() local
102 typer_val = gicr_read_typer(rdistif_base); in gicv3_rdistif_base_addrs_probe()
104 mpidr = mpidr_from_gicr_typer(typer_val); in gicv3_rdistif_base_addrs_probe()
107 proc_num = (typer_val >> TYPER_PROC_NUM_SHIFT) & in gicv3_rdistif_base_addrs_probe()
114 rdistif_base += gicv3_redist_size(typer_val); in gicv3_rdistif_base_addrs_probe()
115 } while ((typer_val & TYPER_LAST_BIT) == 0U); in gicv3_rdistif_base_addrs_probe()
416 uint64_t typer_val = gicr_read_typer(rdistif_base); in gicv3_rdistif_get_number_frames() local
418 if ((typer_val & TYPER_LAST_BIT) != 0U) { in gicv3_rdistif_get_number_frames()
421 rdistif_base += gicv3_redist_size(typer_val); in gicv3_rdistif_get_number_frames()
H A Dgicv3_private.h184 static inline u_register_t mpidr_from_gicr_typer(uint64_t typer_val) in mpidr_from_gicr_typer() argument
186 return (((typer_val >> 56) & MPIDR_AFFLVL_MASK) << MPIDR_AFF3_SHIFT) | in mpidr_from_gicr_typer()
187 ((typer_val >> 32) & U(0xffffff)); in mpidr_from_gicr_typer()
190 static inline u_register_t mpidr_from_gicr_typer(uint64_t typer_val) in mpidr_from_gicr_typer() argument
192 return (((typer_val) >> 32) & U(0xffffff)); in mpidr_from_gicr_typer()
H A Dgicv3_main.c1363 uint64_t typer_val; in gicv3_rdistif_probe() local
1381 typer_val = gicr_read_typer(rdistif_base); in gicv3_rdistif_probe()
1382 mpidr = mpidr_from_gicr_typer(typer_val); in gicv3_rdistif_probe()
1386 proc_num = (unsigned int)(typer_val >> in gicv3_rdistif_probe()
1402 rdistif_base += gicv3_redist_size(typer_val); in gicv3_rdistif_probe()
1403 } while ((typer_val & TYPER_LAST_BIT) == 0U); in gicv3_rdistif_probe()
/rk3399_ARM-atf/plat/arm/board/arm_fpga/
H A Dfpga_gicv3.c148 uint64_t typer_val = mmio_read_64(fpga_gicv3_driver_data.gicr_base + in fpga_get_redist_size() local
151 return gicv3_redist_size(typer_val); in fpga_get_redist_size()
/rk3399_ARM-atf/include/drivers/arm/
H A Dgicv3.h364 static inline uintptr_t gicv3_redist_size(uint64_t typer_val) in gicv3_redist_size() argument
367 if ((typer_val & TYPER_VLPI_BIT) != 0U) { in gicv3_redist_size()