Lines Matching refs:map_irq

68 	struct physdev_map_pirq map_irq;  in xen_register_pirq()  local
79 map_irq.domid = DOMID_SELF; in xen_register_pirq()
80 map_irq.type = MAP_PIRQ_TYPE_GSI; in xen_register_pirq()
81 map_irq.index = gsi; in xen_register_pirq()
82 map_irq.pirq = pirq; in xen_register_pirq()
84 rc = HYPERVISOR_physdev_op(PHYSDEVOP_map_pirq, &map_irq); in xen_register_pirq()
98 irq = xen_bind_pirq_gsi_to_irq(gsi, map_irq.pirq, shareable, name); in xen_register_pirq()
102 printk(KERN_DEBUG "xen: --> pirq=%d -> irq=%d (gsi=%d)\n", map_irq.pirq, irq, gsi); in xen_register_pirq()
274 struct physdev_map_pirq map_irq; in xen_initdom_setup_msi_irqs() local
283 memset(&map_irq, 0, sizeof(map_irq)); in xen_initdom_setup_msi_irqs()
284 map_irq.domid = domid; in xen_initdom_setup_msi_irqs()
285 map_irq.type = MAP_PIRQ_TYPE_MSI_SEG; in xen_initdom_setup_msi_irqs()
286 map_irq.index = -1; in xen_initdom_setup_msi_irqs()
287 map_irq.pirq = -1; in xen_initdom_setup_msi_irqs()
288 map_irq.bus = dev->bus->number | in xen_initdom_setup_msi_irqs()
290 map_irq.devfn = dev->devfn; in xen_initdom_setup_msi_irqs()
293 map_irq.type = MAP_PIRQ_TYPE_MULTI_MSI; in xen_initdom_setup_msi_irqs()
294 map_irq.entry_nr = nvec; in xen_initdom_setup_msi_irqs()
308 map_irq.table_base = pci_resource_start(dev, bir); in xen_initdom_setup_msi_irqs()
309 map_irq.entry_nr = msidesc->msi_index; in xen_initdom_setup_msi_irqs()
315 &map_irq); in xen_initdom_setup_msi_irqs()
327 map_irq.type = MAP_PIRQ_TYPE_MSI; in xen_initdom_setup_msi_irqs()
328 map_irq.index = -1; in xen_initdom_setup_msi_irqs()
329 map_irq.pirq = -1; in xen_initdom_setup_msi_irqs()
330 map_irq.bus = dev->bus->number; in xen_initdom_setup_msi_irqs()
332 &map_irq); in xen_initdom_setup_msi_irqs()
342 ret = xen_bind_pirq_msi_to_irq(dev, msidesc, map_irq.pirq, in xen_initdom_setup_msi_irqs()