• Home
  • Raw
  • Download

Lines Matching refs:gsi

37 	u8 gsi;  in xen_pcifront_enable_irq()  local
39 rc = pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &gsi); in xen_pcifront_enable_irq()
46 pirq = gsi; in xen_pcifront_enable_irq()
48 if (gsi < nr_legacy_irqs()) in xen_pcifront_enable_irq()
51 rc = xen_bind_pirq_gsi_to_irq(gsi, pirq, share, "pcifront"); in xen_pcifront_enable_irq()
54 gsi, pirq, rc); in xen_pcifront_enable_irq()
59 dev_info(&dev->dev, "Xen PCI mapped GSI%d to IRQ%d\n", gsi, dev->irq); in xen_pcifront_enable_irq()
64 static int xen_register_pirq(u32 gsi, int triggering, bool set_pirq) in xen_register_pirq() argument
71 irq = xen_irq_from_gsi(gsi); in xen_register_pirq()
76 pirq = gsi; in xen_register_pirq()
80 map_irq.index = gsi; in xen_register_pirq()
97 irq = xen_bind_pirq_gsi_to_irq(gsi, map_irq.pirq, shareable, name); in xen_register_pirq()
101 printk(KERN_DEBUG "xen: --> pirq=%d -> irq=%d (gsi=%d)\n", map_irq.pirq, irq, gsi); in xen_register_pirq()
106 static int acpi_register_gsi_xen_hvm(struct device *dev, u32 gsi, in acpi_register_gsi_xen_hvm() argument
112 return xen_register_pirq(gsi, trigger, in acpi_register_gsi_xen_hvm()
117 static int xen_register_gsi(u32 gsi, int triggering, int polarity) in xen_register_gsi() argument
126 gsi, triggering, polarity); in xen_register_gsi()
128 irq = xen_register_pirq(gsi, triggering, true); in xen_register_gsi()
130 setup_gsi.gsi = gsi; in xen_register_gsi()
136 printk(KERN_INFO "Already setup the GSI :%d\n", gsi); in xen_register_gsi()
139 gsi, rc); in xen_register_gsi()
145 static int acpi_register_gsi_xen(struct device *dev, u32 gsi, in acpi_register_gsi_xen() argument
148 return xen_register_gsi(gsi, trigger, polarity); in acpi_register_gsi_xen()