• Home
  • Raw
  • Download

Lines Matching refs:pirq

31 	int pirq;  in xen_pcifront_enable_irq()  local
41 pirq = gsi; in xen_pcifront_enable_irq()
46 rc = xen_bind_pirq_gsi_to_irq(gsi, pirq, share, "pcifront"); in xen_pcifront_enable_irq()
49 gsi, pirq, rc); in xen_pcifront_enable_irq()
62 int rc, pirq = -1, irq = -1; in xen_register_pirq() local
72 pirq = gsi; in xen_register_pirq()
77 map_irq.pirq = pirq; in xen_register_pirq()
96 irq = xen_bind_pirq_gsi_to_irq(gsi, map_irq.pirq, shareable, name); in xen_register_pirq()
100 printk(KERN_DEBUG "xen: --> pirq=%d -> irq=%d (gsi=%d)\n", map_irq.pirq, irq, gsi); in xen_register_pirq()
204 static void xen_msi_compose_msg(struct pci_dev *pdev, unsigned int pirq, in xen_msi_compose_msg() argument
210 msg->address_hi = MSI_ADDR_BASE_HI | MSI_ADDR_EXT_DEST_ID(pirq); in xen_msi_compose_msg()
215 MSI_ADDR_DEST_ID(pirq); in xen_msi_compose_msg()
222 int irq, pirq; in xen_hvm_setup_msi_irqs() local
231 pirq = MSI_ADDR_EXT_DEST_ID(msg.address_hi) | in xen_hvm_setup_msi_irqs()
234 xen_irq_from_pirq(pirq) < 0) { in xen_hvm_setup_msi_irqs()
235 pirq = xen_allocate_pirq_msi(dev, msidesc); in xen_hvm_setup_msi_irqs()
236 if (pirq < 0) { in xen_hvm_setup_msi_irqs()
240 xen_msi_compose_msg(dev, pirq, &msg); in xen_hvm_setup_msi_irqs()
242 dev_dbg(&dev->dev, "xen: msi bound to pirq=%d\n", pirq); in xen_hvm_setup_msi_irqs()
245 "xen: msi already bound to pirq=%d\n", pirq); in xen_hvm_setup_msi_irqs()
247 irq = xen_bind_pirq_msi_to_irq(dev, msidesc, pirq, 0, in xen_hvm_setup_msi_irqs()
254 "xen: msi --> pirq=%d --> irq=%d\n", pirq, irq); in xen_hvm_setup_msi_irqs()
289 map_irq.pirq = -1; in xen_initdom_setup_msi_irqs()
315 map_irq.pirq = -1; in xen_initdom_setup_msi_irqs()
329 map_irq.pirq, map_irq.index, in xen_initdom_setup_msi_irqs()