Lines Matching refs:pirq
36 int pirq;
46 pirq = gsi;
51 rc = xen_bind_pirq_gsi_to_irq(gsi, pirq, share, "pcifront");
54 gsi, pirq, rc);
66 int rc, pirq = -1, irq;
76 pirq = gsi;
81 map_irq.pirq = pirq;
97 irq = xen_bind_pirq_gsi_to_irq(gsi, map_irq.pirq, shareable, name);
101 printk(KERN_DEBUG "xen: --> pirq=%d -> irq=%d (gsi=%d)\n", map_irq.pirq, irq, gsi);
216 static void xen_msi_compose_msg(struct pci_dev *pdev, unsigned int pirq,
220 * but we want a pirq setup instead.
221 * We use the dest_id field to pass the pirq that we want. */
222 msg->address_hi = MSI_ADDR_BASE_HI | MSI_ADDR_EXT_DEST_ID(pirq);
227 MSI_ADDR_DEST_ID(pirq);
234 int irq, pirq;
242 pirq = xen_allocate_pirq_msi(dev, msidesc);
243 if (pirq < 0) {
247 xen_msi_compose_msg(dev, pirq, &msg);
249 dev_dbg(&dev->dev, "xen: msi bound to pirq=%d\n", pirq);
250 irq = xen_bind_pirq_msi_to_irq(dev, msidesc, pirq,
258 "xen: msi --> pirq=%d --> irq=%d\n", pirq, irq);
290 map_irq.pirq = -1;
332 map_irq.pirq = -1;
345 ret = xen_bind_pirq_msi_to_irq(dev, msidesc, map_irq.pirq,