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_private.h44 static inline u_register_t mpidr_from_gicr_typer(uint64_t typer_val) in mpidr_from_gicr_typer() argument
46 return (((typer_val >> 56) & MPIDR_AFFLVL_MASK) << MPIDR_AFF3_SHIFT) | in mpidr_from_gicr_typer()
47 ((typer_val >> 32) & U(0xffffff)); in mpidr_from_gicr_typer()
50 static inline u_register_t mpidr_from_gicr_typer(uint64_t typer_val) in mpidr_from_gicr_typer() argument
52 return (((typer_val) >> 32) & U(0xffffff)); in mpidr_from_gicr_typer()
Dgicv3_helpers.c323 uint64_t typer_val; in gicv3_rdistif_base_addrs_probe() local
336 typer_val = gicr_read_typer(rdistif_base); in gicv3_rdistif_base_addrs_probe()
338 mpidr = mpidr_from_gicr_typer(typer_val); in gicv3_rdistif_base_addrs_probe()
341 proc_num = (typer_val >> TYPER_PROC_NUM_SHIFT) & in gicv3_rdistif_base_addrs_probe()
349 } while ((typer_val & TYPER_LAST_BIT) == 0U); in gicv3_rdistif_base_addrs_probe()
Dgicv3_main.c1112 uint64_t typer_val; in gicv3_rdistif_probe() local
1128 typer_val = gicr_read_typer(rdistif_base); in gicv3_rdistif_probe()
1130 mpidr = mpidr_from_gicr_typer(typer_val); in gicv3_rdistif_probe()
1133 proc_num = (unsigned int)(typer_val >> TYPER_PROC_NUM_SHIFT) & in gicv3_rdistif_probe()
1148 } while ((typer_val & TYPER_LAST_BIT) == 0U); in gicv3_rdistif_probe()