Home
last modified time | relevance | path

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

/linux/drivers/irqchip/
H A Dirq-riscv-aplic-msi.c85 phys_addr_t tppn, tbppn, msg_addr; in aplic_msi_write_msg() local
101 tppn = msg_addr >> APLIC_xMSICFGADDR_PPN_SHIFT; in aplic_msi_write_msg()
104 tbppn = tppn; in aplic_msi_write_msg()
111 group_index = (tppn >> APLIC_xMSICFGADDR_PPN_HHX_SHIFT(mc->hhxs)) & in aplic_msi_write_msg()
113 hart_index = (tppn >> APLIC_xMSICFGADDR_PPN_LHX_SHIFT(mc->lhxs)) & in aplic_msi_write_msg()
119 guest_index = tppn & APLIC_xMSICFGADDR_PPN_HART(mc->lhxs); in aplic_msi_write_msg()
/linux/arch/riscv/kvm/
H A Daia_device.c598 gpa_t tppn, ippn; in kvm_riscv_aia_inject_msi() local
610 tppn = target >> IMSIC_MMIO_PAGE_SHIFT; in kvm_riscv_aia_inject_msi()
613 g = tppn & (BIT(aia->nr_guest_bits) - 1); in kvm_riscv_aia_inject_msi()
614 tppn &= ~((gpa_t)(BIT(aia->nr_guest_bits) - 1)); in kvm_riscv_aia_inject_msi()
620 if (ippn == tppn) { in kvm_riscv_aia_inject_msi()