Home
last modified time | relevance | path

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

/arch/arm/plat-samsung/
Dirq-vic-timer.c55 unsigned int pirq[5] = { IRQ_TIMER0_VIC, IRQ_TIMER1_VIC, IRQ_TIMER2_VIC, in s3c_init_vic_timer_irq() local
63 pirq[0] = EXYNOS5_IRQ_TIMER0_VIC; in s3c_init_vic_timer_irq()
64 pirq[1] = EXYNOS5_IRQ_TIMER1_VIC; in s3c_init_vic_timer_irq()
65 pirq[2] = EXYNOS5_IRQ_TIMER2_VIC; in s3c_init_vic_timer_irq()
66 pirq[3] = EXYNOS5_IRQ_TIMER3_VIC; in s3c_init_vic_timer_irq()
67 pirq[4] = EXYNOS5_IRQ_TIMER4_VIC; in s3c_init_vic_timer_irq()
69 pirq[0] = EXYNOS4_IRQ_TIMER0_VIC; in s3c_init_vic_timer_irq()
70 pirq[1] = EXYNOS4_IRQ_TIMER1_VIC; in s3c_init_vic_timer_irq()
71 pirq[2] = EXYNOS4_IRQ_TIMER2_VIC; in s3c_init_vic_timer_irq()
72 pirq[3] = EXYNOS4_IRQ_TIMER3_VIC; in s3c_init_vic_timer_irq()
[all …]
/arch/x86/pci/
Dirq.c45 int (*get)(struct pci_dev *router, struct pci_dev *dev, int pirq);
46 int (*set)(struct pci_dev *router, struct pci_dev *dev, int pirq,
202 static int pirq_ali_get(struct pci_dev *router, struct pci_dev *dev, int pirq) in pirq_ali_get() argument
206 WARN_ON_ONCE(pirq > 16); in pirq_ali_get()
207 return irqmap[read_config_nybble(router, 0x48, pirq-1)]; in pirq_ali_get()
210 static int pirq_ali_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) in pirq_ali_set() argument
215 WARN_ON_ONCE(pirq > 16); in pirq_ali_set()
217 write_config_nybble(router, 0x48, pirq-1, val); in pirq_ali_set()
227 static int pirq_piix_get(struct pci_dev *router, struct pci_dev *dev, int pirq) in pirq_piix_get() argument
231 pci_read_config_byte(router, pirq, &x); in pirq_piix_get()
[all …]
Dxen.c31 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
[all …]