Home
last modified time | relevance | path

Searched refs:pirq (Results 1 – 2 of 2) sorted by relevance

/arch/x86/pci/
Dirq.c47 int (*get)(struct pci_dev *router, struct pci_dev *dev, int pirq);
48 int (*set)(struct pci_dev *router, struct pci_dev *dev, int pirq,
201 static int pirq_ali_get(struct pci_dev *router, struct pci_dev *dev, int pirq) in pirq_ali_get() argument
205 WARN_ON_ONCE(pirq > 16); in pirq_ali_get()
206 return irqmap[read_config_nybble(router, 0x48, pirq-1)]; in pirq_ali_get()
209 static int pirq_ali_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) in pirq_ali_set() argument
214 WARN_ON_ONCE(pirq > 16); in pirq_ali_set()
216 write_config_nybble(router, 0x48, pirq-1, val); in pirq_ali_set()
226 static int pirq_piix_get(struct pci_dev *router, struct pci_dev *dev, int pirq) in pirq_piix_get() argument
230 pci_read_config_byte(router, pirq, &x); in pirq_piix_get()
[all …]
Dxen.c36 int pirq; in xen_pcifront_enable_irq() local
46 pirq = gsi; 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()
67 int rc, pirq = -1, irq = -1; in xen_register_pirq() local
77 pirq = gsi; in xen_register_pirq()
82 map_irq.pirq = pirq; in xen_register_pirq()
101 irq = xen_bind_pirq_gsi_to_irq(gsi, map_irq.pirq, shareable, name); in xen_register_pirq()
105 printk(KERN_DEBUG "xen: --> pirq=%d -> irq=%d (gsi=%d)\n", map_irq.pirq, irq, gsi); in xen_register_pirq()
213 static void xen_msi_compose_msg(struct pci_dev *pdev, unsigned int pirq, in xen_msi_compose_msg() argument
[all …]