Home
last modified time | relevance | path

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

/openbmc/qemu/hw/pci-host/
H A Dpnv_phb3_msi.c22 uint64_t ivtbar = phb->regs[PHB_IVT_BAR >> 3]; in phb3_msi_ive_addr() local
25 if (!(ivtbar & PHB_IVT_BAR_ENABLE)) { in phb3_msi_ive_addr()
30 if (srcno >= (ivtbar & PHB_IVT_LENGTH_MASK)) { in phb3_msi_ive_addr()
32 srcno, (uint64_t) (ivtbar & PHB_IVT_LENGTH_MASK)); in phb3_msi_ive_addr()
36 ivtbar &= PHB_IVT_BASE_ADDRESS_MASK; in phb3_msi_ive_addr()
39 return ivtbar + 128 * srcno; in phb3_msi_ive_addr()
41 return ivtbar + 16 * srcno; in phb3_msi_ive_addr()