Home
last modified time | relevance | path

Searched refs:GIC_ENCODE_SZ (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/arch/arm64/kvm/vgic/
Dvgic-its.c494 reg |= GIC_ENCODE_SZ(VITS_TYPER_DEVBITS, 5) << GITS_TYPER_DEVBITS_SHIFT; in vgic_mmio_read_its_typer()
495 reg |= GIC_ENCODE_SZ(VITS_TYPER_IDBITS, 5) << GITS_TYPER_IDBITS_SHIFT; in vgic_mmio_read_its_typer()
496 reg |= GIC_ENCODE_SZ(abi->ite_esz, 4) << GITS_TYPER_ITT_ENTRY_SIZE_SHIFT; in vgic_mmio_read_its_typer()
2723 its->baser_coll_table |= (GIC_ENCODE_SZ(abi->cte_esz, 5) in vgic_its_commit_v0()
2726 its->baser_device_table |= (GIC_ENCODE_SZ(abi->dte_esz, 5) in vgic_its_commit_v0()
/linux-6.6.21/include/linux/irqchip/
Darm-gic-v3.h173 #define GIC_ENCODE_SZ(n, w) (((unsigned long)(n) - 1) & GENMASK_ULL(((w) - 1), 0)) macro