Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/drivers/arm/gic/v3/
Dgicv3_helpers.c64 uint64_t typer_val; in gicv3_rdistif_base_addrs_probe() local
77 typer_val = gicr_read_typer(rdistif_base); in gicv3_rdistif_base_addrs_probe()
79 mpidr = mpidr_from_gicr_typer(typer_val); in gicv3_rdistif_base_addrs_probe()
82 proc_num = (typer_val >> TYPER_PROC_NUM_SHIFT) & in gicv3_rdistif_base_addrs_probe()
91 } while ((typer_val & TYPER_LAST_BIT) == 0U); in gicv3_rdistif_base_addrs_probe()
Dgicv3_private.h182 static inline u_register_t mpidr_from_gicr_typer(uint64_t typer_val) in mpidr_from_gicr_typer() argument
184 return (((typer_val >> 56) & MPIDR_AFFLVL_MASK) << MPIDR_AFF3_SHIFT) | in mpidr_from_gicr_typer()
185 ((typer_val >> 32) & U(0xffffff)); in mpidr_from_gicr_typer()
188 static inline u_register_t mpidr_from_gicr_typer(uint64_t typer_val) in mpidr_from_gicr_typer() argument
190 return (((typer_val) >> 32) & U(0xffffff)); in mpidr_from_gicr_typer()
Dgicv3_main.c1304 uint64_t typer_val; in gicv3_rdistif_probe() local
1320 typer_val = gicr_read_typer(rdistif_base); in gicv3_rdistif_probe()
1322 mpidr = mpidr_from_gicr_typer(typer_val); in gicv3_rdistif_probe()
1325 proc_num = (unsigned int)(typer_val >> in gicv3_rdistif_probe()
1342 } while ((typer_val & TYPER_LAST_BIT) == 0U); in gicv3_rdistif_probe()