Searched refs:pimap (Results 1 – 6 of 6) sorted by relevance
/arch/powerpc/kvm/ |
D | book3s_hv_builtin.c | 299 static struct kvmppc_irq_map *get_irqmap(struct kvmppc_passthru_irqmap *pimap, in get_irqmap() argument 314 for (i = 0; i < pimap->n_mapped; i++) { in get_irqmap() 315 if (xisr == pimap->mapped[i].r_hwirq) { in get_irqmap() 321 return &pimap->mapped[i]; in get_irqmap() 341 struct kvmppc_passthru_irqmap *pimap; in kvmppc_check_passthru() local 348 pimap = kvmppc_get_passthru_irqmap(vcpu->kvm); in kvmppc_check_passthru() 349 if (!pimap) in kvmppc_check_passthru() 351 irq_map = get_irqmap(pimap, xisr); in kvmppc_check_passthru() 358 return kvmppc_deliver_irq_passthru(vcpu, xirr, irq_map, pimap, again); in kvmppc_check_passthru()
|
D | book3s_xics.c | 926 struct kvmppc_passthru_irqmap *pimap) in xics_debugfs_irqmap() argument 930 if (!pimap) in xics_debugfs_irqmap() 933 pimap->n_mapped); in xics_debugfs_irqmap() 934 for (i = 0; i < pimap->n_mapped; i++) { in xics_debugfs_irqmap() 936 pimap->mapped[i].r_hwirq, pimap->mapped[i].v_hwirq); in xics_debugfs_irqmap() 960 xics_debugfs_irqmap(m, kvm->arch.pimap); in xics_debug_show()
|
D | book3s_hv.c | 5628 kfree(kvm->arch.pimap); in kvmppc_free_pimap() 5640 struct kvmppc_passthru_irqmap *pimap; in kvmppc_set_passthru_irq() local 5654 pimap = kvm->arch.pimap; in kvmppc_set_passthru_irq() 5655 if (pimap == NULL) { in kvmppc_set_passthru_irq() 5657 pimap = kvmppc_alloc_pimap(); in kvmppc_set_passthru_irq() 5658 if (pimap == NULL) { in kvmppc_set_passthru_irq() 5662 kvm->arch.pimap = pimap; in kvmppc_set_passthru_irq() 5683 for (i = 0; i < pimap->n_mapped; i++) { in kvmppc_set_passthru_irq() 5684 if (guest_gsi == pimap->mapped[i].v_hwirq) { in kvmppc_set_passthru_irq() 5685 if (pimap->mapped[i].r_hwirq) { in kvmppc_set_passthru_irq() [all …]
|
D | book3s_hv_rm_xics.c | 847 struct kvmppc_passthru_irqmap *pimap, in kvmppc_deliver_irq_passthru() argument
|
/arch/powerpc/include/asm/ |
D | kvm_ppc.h | 630 return kvm->arch.pimap; in kvmppc_get_passthru_irqmap() 652 struct kvmppc_passthru_irqmap *pimap,
|
D | kvm_host.h | 327 struct kvmppc_passthru_irqmap *pimap; member
|