Searched refs:typer_val (Results 1 – 5 of 5) sorted by relevance
89 uint64_t typer_val; in gicv3_rdistif_base_addrs_probe() local102 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() local418 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()
184 static inline u_register_t mpidr_from_gicr_typer(uint64_t typer_val) in mpidr_from_gicr_typer() argument186 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() argument192 return (((typer_val) >> 32) & U(0xffffff)); in mpidr_from_gicr_typer()
1363 uint64_t typer_val; in gicv3_rdistif_probe() local1381 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()
148 uint64_t typer_val = mmio_read_64(fpga_gicv3_driver_data.gicr_base + in fpga_get_redist_size() local151 return gicv3_redist_size(typer_val); in fpga_get_redist_size()
364 static inline uintptr_t gicv3_redist_size(uint64_t typer_val) in gicv3_redist_size() argument367 if ((typer_val & TYPER_VLPI_BIT) != 0U) { in gicv3_redist_size()