Home
last modified time | relevance | path

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

/kvm-unit-tests/lib/arm64/
H A Dgic-v3-its.c11 u64 typer = readq(gicv3_its_base() + GITS_TYPER); in its_parse_typer() local
12 struct its_typer *t = &its_data.typer; in its_parse_typer()
14 t->ite_size = ((typer & GITS_TYPER_ITT_ENTRY_SIZE) >> GITS_TYPER_ITT_ENTRY_SIZE_SHIFT) + 1; in its_parse_typer()
15 t->pta = typer & GITS_TYPER_PTA; in its_parse_typer()
16 t->eventid_bits = ((typer & GITS_TYPER_IDBITS) >> GITS_TYPER_IDBITS_SHIFT) + 1; in its_parse_typer()
17 t->deviceid_bits = ((typer & GITS_TYPER_DEVBITS) >> GITS_TYPER_DEVBITS_SHIFT) + 1; in its_parse_typer()
19 if (typer & GITS_TYPER_CIL) in its_parse_typer()
20 t->collid_bits = ((typer & GITS_TYPER_CIDBITS) >> GITS_TYPER_CIDBITS_SHIFT) + 1; in its_parse_typer()
24 t->virt_lpi = typer & GITS_TYPER_VLPIS; in its_parse_typer()
25 t->phys_lpi = typer & GITS_TYPER_PLPIS; in its_parse_typer()
[all …]
/kvm-unit-tests/lib/arm/asm/
H A Dgic.h29 #define GICD_TYPER_IRQS(typer) ((((typer) & 0x1f) + 1) * 32) argument
/kvm-unit-tests/lib/arm/
H A Dgic-v3.c13 u64 typer; in gicv3_set_redist_base() local
19 typer = gicv3_read_typer(ptr + GICR_TYPER); in gicv3_set_redist_base()
20 if ((typer >> 32) == aff) { in gicv3_set_redist_base()
25 } while (!(typer & GICR_TYPER_LAST)); in gicv3_set_redist_base()
/kvm-unit-tests/arm/
H A Dgic.c586 struct its_typer *typer = &its_data.typer; in test_its_introspection() local
601 report(typer->phys_lpi, "ITS supports physical LPIs"); in test_its_introspection()
602 report_info("vLPI support: %s", typer->virt_lpi ? "yes" : "no"); in test_its_introspection()
603 report_info("ITT entry size = 0x%x", typer->ite_size); in test_its_introspection()
605 typer->eventid_bits, typer->deviceid_bits, in test_its_introspection()
606 typer->collid_bits); in test_its_introspection()
607 report(typer->eventid_bits && typer->deviceid_bits && in test_its_introspection()
608 typer->collid_bits, "ID spaces"); in test_its_introspection()
610 typer->pta ? "Redist base address" : "PE #"); in test_its_introspection()
/kvm-unit-tests/lib/arm64/asm/
H A Dgic-v3-its.h50 struct its_typer typer; member