pirq               47 arch/x86/pci/irq.c 	int (*get)(struct pci_dev *router, struct pci_dev *dev, int pirq);
pirq               48 arch/x86/pci/irq.c 	int (*set)(struct pci_dev *router, struct pci_dev *dev, int pirq,
pirq              201 arch/x86/pci/irq.c static int pirq_ali_get(struct pci_dev *router, struct pci_dev *dev, int pirq)
pirq              205 arch/x86/pci/irq.c 	WARN_ON_ONCE(pirq > 16);
pirq              206 arch/x86/pci/irq.c 	return irqmap[read_config_nybble(router, 0x48, pirq-1)];
pirq              209 arch/x86/pci/irq.c static int pirq_ali_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq)
pirq              214 arch/x86/pci/irq.c 	WARN_ON_ONCE(pirq > 16);
pirq              216 arch/x86/pci/irq.c 		write_config_nybble(router, 0x48, pirq-1, val);
pirq              226 arch/x86/pci/irq.c static int pirq_piix_get(struct pci_dev *router, struct pci_dev *dev, int pirq)
pirq              230 arch/x86/pci/irq.c 	pci_read_config_byte(router, pirq, &x);
pirq              234 arch/x86/pci/irq.c static int pirq_piix_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq)
pirq              236 arch/x86/pci/irq.c 	pci_write_config_byte(router, pirq, irq);
pirq              245 arch/x86/pci/irq.c static int pirq_via_get(struct pci_dev *router, struct pci_dev *dev, int pirq)
pirq              247 arch/x86/pci/irq.c 	return read_config_nybble(router, 0x55, pirq == 4 ? 5 : pirq);
pirq              250 arch/x86/pci/irq.c static int pirq_via_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq)
pirq              252 arch/x86/pci/irq.c 	write_config_nybble(router, 0x55, pirq == 4 ? 5 : pirq, irq);
pirq              261 arch/x86/pci/irq.c static int pirq_via586_get(struct pci_dev *router, struct pci_dev *dev, int pirq)
pirq              265 arch/x86/pci/irq.c 	WARN_ON_ONCE(pirq > 5);
pirq              266 arch/x86/pci/irq.c 	return read_config_nybble(router, 0x55, pirqmap[pirq-1]);
pirq              269 arch/x86/pci/irq.c static int pirq_via586_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq)
pirq              273 arch/x86/pci/irq.c 	WARN_ON_ONCE(pirq > 5);
pirq              274 arch/x86/pci/irq.c 	write_config_nybble(router, 0x55, pirqmap[pirq-1], irq);
pirq              283 arch/x86/pci/irq.c static int pirq_ite_get(struct pci_dev *router, struct pci_dev *dev, int pirq)
pirq              287 arch/x86/pci/irq.c 	WARN_ON_ONCE(pirq > 4);
pirq              288 arch/x86/pci/irq.c 	return read_config_nybble(router, 0x43, pirqmap[pirq-1]);
pirq              291 arch/x86/pci/irq.c static int pirq_ite_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq)
pirq              295 arch/x86/pci/irq.c 	WARN_ON_ONCE(pirq > 4);
pirq              296 arch/x86/pci/irq.c 	write_config_nybble(router, 0x43, pirqmap[pirq-1], irq);
pirq              304 arch/x86/pci/irq.c static int pirq_opti_get(struct pci_dev *router, struct pci_dev *dev, int pirq)
pirq              306 arch/x86/pci/irq.c 	return read_config_nybble(router, 0xb8, pirq >> 4);
pirq              309 arch/x86/pci/irq.c static int pirq_opti_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq)
pirq              311 arch/x86/pci/irq.c 	write_config_nybble(router, 0xb8, pirq >> 4, irq);
pirq              320 arch/x86/pci/irq.c static int pirq_cyrix_get(struct pci_dev *router, struct pci_dev *dev, int pirq)
pirq              322 arch/x86/pci/irq.c 	return read_config_nybble(router, 0x5C, (pirq-1)^1);
pirq              325 arch/x86/pci/irq.c static int pirq_cyrix_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq)
pirq              327 arch/x86/pci/irq.c 	write_config_nybble(router, 0x5C, (pirq-1)^1, irq);
pirq              396 arch/x86/pci/irq.c static int pirq_sis_get(struct pci_dev *router, struct pci_dev *dev, int pirq)
pirq              401 arch/x86/pci/irq.c 	reg = pirq;
pirq              408 arch/x86/pci/irq.c static int pirq_sis_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq)
pirq              413 arch/x86/pci/irq.c 	reg = pirq;
pirq              432 arch/x86/pci/irq.c static int pirq_vlsi_get(struct pci_dev *router, struct pci_dev *dev, int pirq)
pirq              434 arch/x86/pci/irq.c 	WARN_ON_ONCE(pirq >= 9);
pirq              435 arch/x86/pci/irq.c 	if (pirq > 8) {
pirq              436 arch/x86/pci/irq.c 		dev_info(&dev->dev, "VLSI router PIRQ escape (%d)\n", pirq);
pirq              439 arch/x86/pci/irq.c 	return read_config_nybble(router, 0x74, pirq-1);
pirq              442 arch/x86/pci/irq.c static int pirq_vlsi_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq)
pirq              444 arch/x86/pci/irq.c 	WARN_ON_ONCE(pirq >= 9);
pirq              445 arch/x86/pci/irq.c 	if (pirq > 8) {
pirq              446 arch/x86/pci/irq.c 		dev_info(&dev->dev, "VLSI router PIRQ escape (%d)\n", pirq);
pirq              449 arch/x86/pci/irq.c 	write_config_nybble(router, 0x74, pirq-1, irq);
pirq              464 arch/x86/pci/irq.c static int pirq_serverworks_get(struct pci_dev *router, struct pci_dev *dev, int pirq)
pirq              466 arch/x86/pci/irq.c 	outb(pirq, 0xc00);
pirq              471 arch/x86/pci/irq.c 	int pirq, int irq)
pirq              473 arch/x86/pci/irq.c 	outb(pirq, 0xc00);
pirq              486 arch/x86/pci/irq.c static int pirq_amd756_get(struct pci_dev *router, struct pci_dev *dev, int pirq)
pirq              490 arch/x86/pci/irq.c 	if (pirq <= 4)
pirq              491 arch/x86/pci/irq.c 		irq = read_config_nybble(router, 0x56, pirq - 1);
pirq              494 arch/x86/pci/irq.c 		 dev->vendor, dev->device, pirq, irq);
pirq              498 arch/x86/pci/irq.c static int pirq_amd756_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq)
pirq              502 arch/x86/pci/irq.c 		 dev->vendor, dev->device, pirq, irq);
pirq              503 arch/x86/pci/irq.c 	if (pirq <= 4)
pirq              504 arch/x86/pci/irq.c 		write_config_nybble(router, 0x56, pirq - 1, irq);
pirq              511 arch/x86/pci/irq.c static int pirq_pico_get(struct pci_dev *router, struct pci_dev *dev, int pirq)
pirq              513 arch/x86/pci/irq.c 	outb(0x10 + ((pirq - 1) >> 1), 0x24);
pirq              514 arch/x86/pci/irq.c 	return ((pirq - 1) & 1) ? (inb(0x26) >> 4) : (inb(0x26) & 0xf);
pirq              517 arch/x86/pci/irq.c static int pirq_pico_set(struct pci_dev *router, struct pci_dev *dev, int pirq,
pirq              521 arch/x86/pci/irq.c 	outb(0x10 + ((pirq - 1) >> 1), 0x24);
pirq              523 arch/x86/pci/irq.c 	x = ((pirq - 1) & 1) ? ((x & 0x0f) | (irq << 4)) : ((x & 0xf0) | (irq));
pirq              530 arch/x86/pci/irq.c static int pirq_bios_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq)
pirq              885 arch/x86/pci/irq.c 	int i, pirq, newirq;
pirq              913 arch/x86/pci/irq.c 	pirq = info->irq[pin - 1].link;
pirq              915 arch/x86/pci/irq.c 	if (!pirq) {
pirq              920 arch/x86/pci/irq.c 		'A' + pin - 1, pirq, mask, pirq_table->exclusive_irqs);
pirq              926 arch/x86/pci/irq.c 	if (broken_hp_bios_irq9 && pirq == 0x59 && dev->irq == 9) {
pirq              929 arch/x86/pci/irq.c 		r->set(pirq_router_dev, dev, pirq, 11);
pirq              935 arch/x86/pci/irq.c 		pirq = 0x68;
pirq              937 arch/x86/pci/irq.c 		dev->irq = r->get(pirq_router_dev, dev, pirq);
pirq              965 arch/x86/pci/irq.c 	if ((pirq & 0xf0) == 0xf0) {
pirq              966 arch/x86/pci/irq.c 		irq = pirq & 0xf;
pirq              968 arch/x86/pci/irq.c 	} else if (r->get && (irq = r->get(pirq_router_dev, dev, pirq)) && \
pirq              974 arch/x86/pci/irq.c 		if (r->set(pirq_router_dev, dev, pirq, newirq)) {
pirq             1001 arch/x86/pci/irq.c 		if (info->irq[pin - 1].link == pirq) {
pirq               35 arch/x86/pci/xen.c 	int pirq;
pirq               45 arch/x86/pci/xen.c 	pirq = gsi;
pirq               50 arch/x86/pci/xen.c 	rc = xen_bind_pirq_gsi_to_irq(gsi, pirq, share, "pcifront");
pirq               53 arch/x86/pci/xen.c 			 gsi, pirq, rc);
pirq               66 arch/x86/pci/xen.c 	int rc, pirq = -1, irq = -1;
pirq               76 arch/x86/pci/xen.c 		pirq = gsi;
pirq               81 arch/x86/pci/xen.c 	map_irq.pirq = pirq;
pirq              100 arch/x86/pci/xen.c 	irq = xen_bind_pirq_gsi_to_irq(gsi, map_irq.pirq, shareable, name);
pirq              104 arch/x86/pci/xen.c 	printk(KERN_DEBUG "xen: --> pirq=%d -> irq=%d (gsi=%d)\n", map_irq.pirq, irq, gsi);
pirq              212 arch/x86/pci/xen.c static void xen_msi_compose_msg(struct pci_dev *pdev, unsigned int pirq,
pirq              218 arch/x86/pci/xen.c 	msg->address_hi = MSI_ADDR_BASE_HI | MSI_ADDR_EXT_DEST_ID(pirq);
pirq              223 arch/x86/pci/xen.c 		MSI_ADDR_DEST_ID(pirq);
pirq              230 arch/x86/pci/xen.c 	int irq, pirq;
pirq              238 arch/x86/pci/xen.c 		pirq = xen_allocate_pirq_msi(dev, msidesc);
pirq              239 arch/x86/pci/xen.c 		if (pirq < 0) {
pirq              243 arch/x86/pci/xen.c 		xen_msi_compose_msg(dev, pirq, &msg);
pirq              245 arch/x86/pci/xen.c 		dev_dbg(&dev->dev, "xen: msi bound to pirq=%d\n", pirq);
pirq              246 arch/x86/pci/xen.c 		irq = xen_bind_pirq_msi_to_irq(dev, msidesc, pirq,
pirq              254 arch/x86/pci/xen.c 			"xen: msi --> pirq=%d --> irq=%d\n", pirq, irq);
pirq              286 arch/x86/pci/xen.c 		map_irq.pirq = -1;
pirq              328 arch/x86/pci/xen.c 			map_irq.pirq = -1;
pirq              341 arch/x86/pci/xen.c 		ret = xen_bind_pirq_msi_to_irq(dev, msidesc, map_irq.pirq,
pirq              331 drivers/extcon/extcon-axp288.c 	int ret, i, pirq;
pirq              387 drivers/extcon/extcon-axp288.c 		pirq = platform_get_irq(pdev, i);
pirq              388 drivers/extcon/extcon-axp288.c 		if (pirq < 0)
pirq              389 drivers/extcon/extcon-axp288.c 			return pirq;
pirq              391 drivers/extcon/extcon-axp288.c 		info->irq[i] = regmap_irq_get_virq(info->regmap_irqc, pirq);
pirq              394 drivers/extcon/extcon-axp288.c 				"failed to get virtual interrupt=%d\n", pirq);
pirq               26 drivers/input/misc/pcap_keys.c 	int pirq = irq_to_pcap(pcap_keys->pcap, irq);
pirq               30 drivers/input/misc/pcap_keys.c 	pstat &= 1 << pirq;
pirq               32 drivers/input/misc/pcap_keys.c 	switch (pirq) {
pirq              103 drivers/input/touchscreen/pcap_ts.c static irqreturn_t pcap_ts_event_touch(int pirq, void *data)
pirq              410 drivers/mfd/intel_soc_pmic_bxtwc.c 				int pirq, int irq_flags,
pirq              416 drivers/mfd/intel_soc_pmic_bxtwc.c 	irq = regmap_irq_get_virq(pdata, pirq);
pirq              420 drivers/mfd/intel_soc_pmic_bxtwc.c 			pirq, chip->name, irq);
pirq              793 drivers/power/supply/axp288_charger.c 	int ret, i, pirq;
pirq              882 drivers/power/supply/axp288_charger.c 		pirq = platform_get_irq(info->pdev, i);
pirq              883 drivers/power/supply/axp288_charger.c 		if (pirq < 0) {
pirq              884 drivers/power/supply/axp288_charger.c 			dev_err(&pdev->dev, "Failed to get IRQ: %d\n", pirq);
pirq              885 drivers/power/supply/axp288_charger.c 			return pirq;
pirq              887 drivers/power/supply/axp288_charger.c 		info->irq[i] = regmap_irq_get_virq(info->regmap_irqc, pirq);
pirq              890 drivers/power/supply/axp288_charger.c 				"failed to get virtual interrupt=%d\n", pirq);
pirq              639 drivers/power/supply/axp288_fuel_gauge.c 	int ret, i, pirq;
pirq              642 drivers/power/supply/axp288_fuel_gauge.c 		pirq = platform_get_irq(info->pdev, i);
pirq              643 drivers/power/supply/axp288_fuel_gauge.c 		info->irq[i] = regmap_irq_get_virq(info->regmap_irqc, pirq);
pirq              647 drivers/power/supply/axp288_fuel_gauge.c 				pirq, info->irq[i]);
pirq              657 drivers/power/supply/axp288_fuel_gauge.c 				pirq, info->irq[i]);
pirq              662 drivers/power/supply/axp288_fuel_gauge.c 				pirq, info->irq[i]);
pirq              106 drivers/rtc/rtc-pcap.c static int pcap_rtc_irq_enable(struct device *dev, int pirq, unsigned int en)
pirq              111 drivers/rtc/rtc-pcap.c 		enable_irq(pcap_to_irq(pcap_rtc->pcap, pirq));
pirq              113 drivers/rtc/rtc-pcap.c 		disable_irq(pcap_to_irq(pcap_rtc->pcap, pirq));
pirq               49 drivers/sh/intc/internals.h 	unsigned int pirq;
pirq              150 drivers/sh/intc/virq.c 	unsigned int pirq;
pirq              160 drivers/sh/intc/virq.c 	pirq = mapped - intc_irq_xlate;
pirq              175 drivers/sh/intc/virq.c 		entry->pirq = pirq;
pirq              234 drivers/sh/intc/virq.c 			irq, entry->pirq);
pirq              238 drivers/sh/intc/virq.c 		irq_set_chip_and_handler_name(irq, irq_get_chip(entry->pirq),
pirq              240 drivers/sh/intc/virq.c 		irq_set_chip_data(irq, irq_get_chip_data(entry->pirq));
pirq              250 drivers/sh/intc/virq.c 		add_virq_to_pirq(entry->pirq, irq);
pirq              251 drivers/sh/intc/virq.c 		irq_set_chained_handler(entry->pirq, intc_virq_handler);
pirq              224 drivers/xen/events/events_base.c 				   unsigned pirq,
pirq              231 drivers/xen/events/events_base.c 	info->u.pirq.pirq = pirq;
pirq              232 drivers/xen/events/events_base.c 	info->u.pirq.gsi = gsi;
pirq              233 drivers/xen/events/events_base.c 	info->u.pirq.domid = domid;
pirq              234 drivers/xen/events/events_base.c 	info->u.pirq.flags = flags;
pirq              294 drivers/xen/events/events_base.c 	return info->u.pirq.pirq;
pirq              330 drivers/xen/events/events_base.c 	return info->u.pirq.flags & PIRQ_NEEDS_EOI;
pirq              468 drivers/xen/events/events_base.c 	info->u.pirq.flags &= ~PIRQ_NEEDS_EOI;
pirq              470 drivers/xen/events/events_base.c 		info->u.pirq.flags |= PIRQ_NEEDS_EOI;
pirq              519 drivers/xen/events/events_base.c 	bind_pirq.pirq = pirq_from_irq(irq);
pirq              521 drivers/xen/events/events_base.c 	bind_pirq.flags = info->u.pirq.flags & PIRQ_SHAREABLE ?
pirq              594 drivers/xen/events/events_base.c 		if (info->u.pirq.gsi == gsi)
pirq              646 drivers/xen/events/events_base.c 			     unsigned pirq, int shareable, char *name)
pirq              678 drivers/xen/events/events_base.c 	ret = xen_irq_info_pirq_setup(irq, 0, pirq, gsi, DOMID_SELF,
pirq              727 drivers/xen/events/events_base.c 	return rc ? -1 : op_get_free_pirq.pirq;
pirq              731 drivers/xen/events/events_base.c 			     int pirq, int nvec, const char *name, domid_t domid)
pirq              744 drivers/xen/events/events_base.c 		ret = xen_irq_info_pirq_setup(irq + i, 0, pirq + i, 0, domid,
pirq              777 drivers/xen/events/events_base.c 	if (xen_initial_domain() && !(info->u.pirq.flags & PIRQ_MSI_GROUP)) {
pirq              778 drivers/xen/events/events_base.c 		unmap_irq.pirq = info->u.pirq.pirq;
pirq              779 drivers/xen/events/events_base.c 		unmap_irq.domid = info->u.pirq.domid;
pirq              785 drivers/xen/events/events_base.c 		if ((rc == -ESRCH && info->u.pirq.domid != DOMID_SELF))
pirq              787 drivers/xen/events/events_base.c 				info->u.pirq.domid, info->u.pirq.pirq);
pirq              801 drivers/xen/events/events_base.c int xen_irq_from_pirq(unsigned pirq)
pirq              813 drivers/xen/events/events_base.c 		if (info->u.pirq.pirq == pirq)
pirq             1414 drivers/xen/events/events_base.c 	int pirq, rc, irq, gsi;
pirq             1422 drivers/xen/events/events_base.c 		pirq = info->u.pirq.pirq;
pirq             1423 drivers/xen/events/events_base.c 		gsi = info->u.pirq.gsi;
pirq             1434 drivers/xen/events/events_base.c 		map_irq.pirq = pirq;
pirq             1439 drivers/xen/events/events_base.c 				gsi, irq, pirq, rc);
pirq             1444 drivers/xen/events/events_base.c 		printk(KERN_DEBUG "xen: --> irq=%d, pirq=%d\n", irq, map_irq.pirq);
pirq             1561 drivers/xen/events/events_base.c 	irq_status.irq = info->u.pirq.pirq;
pirq               43 drivers/xen/events/events_internal.h 			unsigned short pirq;
pirq               48 drivers/xen/events/events_internal.h 		} pirq;
pirq              106 include/xen/events.h 			     unsigned pirq, int shareable, char *name);
pirq              113 include/xen/events.h 			     int pirq, int nvec, const char *name, domid_t domid);
pirq              120 include/xen/events.h int xen_irq_from_pirq(unsigned pirq);
pirq               78 include/xen/interface/event_channel.h 	uint32_t pirq;
pirq              149 include/xen/interface/event_channel.h 		uint32_t pirq;	    /* EVTCHNSTAT_pirq	      */
pirq              144 include/xen/interface/physdev.h     int pirq;
pirq              164 include/xen/interface/physdev.h     int pirq;
pirq              233 include/xen/interface/physdev.h     uint32_t pirq;