Home
last modified time | relevance | path

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

/arch/powerpc/kvm/
Dbook3s_hv_builtin.c329 static struct kvmppc_irq_map *get_irqmap(struct kvmppc_passthru_irqmap *pimap, in get_irqmap() argument
344 for (i = 0; i < pimap->n_mapped; i++) { in get_irqmap()
345 if (xisr == pimap->mapped[i].r_hwirq) { in get_irqmap()
351 return &pimap->mapped[i]; in get_irqmap()
371 struct kvmppc_passthru_irqmap *pimap; in kvmppc_check_passthru() local
378 pimap = kvmppc_get_passthru_irqmap(vcpu->kvm); in kvmppc_check_passthru()
379 if (!pimap) in kvmppc_check_passthru()
381 irq_map = get_irqmap(pimap, xisr); in kvmppc_check_passthru()
388 return kvmppc_deliver_irq_passthru(vcpu, xirr, irq_map, pimap, again); in kvmppc_check_passthru()
Dbook3s_hv.c3933 kfree(kvm->arch.pimap); in kvmppc_free_pimap()
3945 struct kvmppc_passthru_irqmap *pimap; in kvmppc_set_passthru_irq() local
3958 pimap = kvm->arch.pimap; in kvmppc_set_passthru_irq()
3959 if (pimap == NULL) { in kvmppc_set_passthru_irq()
3961 pimap = kvmppc_alloc_pimap(); in kvmppc_set_passthru_irq()
3962 if (pimap == NULL) { in kvmppc_set_passthru_irq()
3966 kvm->arch.pimap = pimap; in kvmppc_set_passthru_irq()
3987 for (i = 0; i < pimap->n_mapped; i++) { in kvmppc_set_passthru_irq()
3988 if (guest_gsi == pimap->mapped[i].v_hwirq) { in kvmppc_set_passthru_irq()
3989 if (pimap->mapped[i].r_hwirq) { in kvmppc_set_passthru_irq()
[all …]
Dbook3s_xics.c931 struct kvmppc_passthru_irqmap *pimap) in xics_debugfs_irqmap() argument
935 if (!pimap) in xics_debugfs_irqmap()
938 pimap->n_mapped); in xics_debugfs_irqmap()
939 for (i = 0; i < pimap->n_mapped; i++) { in xics_debugfs_irqmap()
941 pimap->mapped[i].r_hwirq, pimap->mapped[i].v_hwirq); in xics_debugfs_irqmap()
965 xics_debugfs_irqmap(m, kvm->arch.pimap); in xics_debug_show()
Dbook3s_hv_rm_xics.c845 struct kvmppc_passthru_irqmap *pimap, in kvmppc_deliver_irq_passthru() argument
/arch/powerpc/include/asm/
Dkvm_ppc.h504 return kvm->arch.pimap; in kvmppc_get_passthru_irqmap()
525 struct kvmppc_passthru_irqmap *pimap,
Dkvm_host.h308 struct kvmppc_passthru_irqmap *pimap; member