Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
66 int rc, pirq = -1, irq; in xen_register_pirq() local
76 pirq = gsi; in xen_register_pirq()
81 map_irq.pirq = pirq; 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()
216 static void xen_msi_compose_msg(struct pci_dev *pdev, unsigned int pirq, in xen_msi_compose_msg() argument
[all …]
/kernel/linux/linux-5.10/drivers/sh/intc/
Dvirq.c150 unsigned int pirq; in intc_subgroup_init_one() local
160 pirq = mapped - intc_irq_xlate; in intc_subgroup_init_one()
175 entry->pirq = pirq; in intc_subgroup_init_one()
234 irq, entry->pirq); in intc_subgroup_map()
238 irq_set_chip_and_handler_name(irq, irq_get_chip(entry->pirq), in intc_subgroup_map()
240 irq_set_chip_data(irq, irq_get_chip_data(entry->pirq)); in intc_subgroup_map()
250 add_virq_to_pirq(entry->pirq, irq); in intc_subgroup_map()
251 irq_set_chained_handler(entry->pirq, intc_virq_handler); in intc_subgroup_map()
Dinternals.h49 unsigned int pirq; member
/kernel/linux/linux-5.10/drivers/xen/events/
Devents_base.c117 unsigned short pirq; member
122 } pirq; member
340 unsigned pirq, in xen_irq_info_pirq_setup() argument
347 info->u.pirq.pirq = pirq; in xen_irq_info_pirq_setup()
348 info->u.pirq.gsi = gsi; in xen_irq_info_pirq_setup()
349 info->u.pirq.domid = domid; in xen_irq_info_pirq_setup()
350 info->u.pirq.flags = flags; in xen_irq_info_pirq_setup()
415 return info->u.pirq.pirq; in pirq_from_irq()
479 return info->u.pirq.flags & PIRQ_NEEDS_EOI; in pirq_needs_eoi_flag()
783 info->u.pirq.flags &= ~PIRQ_NEEDS_EOI; in pirq_query_unmask()
[all …]
/kernel/linux/linux-5.10/Documentation/x86/i386/
DIO-APIC.rst44 you can use the pirq= boot parameter to 'hand-construct' IRQ entries. This
48 append="pirq=15,11,10"
87 Slot2, then you'll have to specify this pirq= line::
89 append="pirq=11,9"
91 the following script tries to figure out such a default pirq= line from
94 echo -n pirq=; echo `scanpci | grep T_L | cut -c56-` | sed 's/ /,/g'
101 append="pirq=0,9,11"
106 Generally, it's always possible to find out the correct pirq= settings, just
108 'incorrect' pirq line will cause the booting process to hang, or a device
111 If you have 2 PCI buses, then you can use up to 8 pirq values, although such
[all …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-dwapb.c93 struct dwapb_gpio_port_irqchip *pirq; member
394 static int dwapb_convert_irqs(struct dwapb_gpio_port_irqchip *pirq, in dwapb_convert_irqs() argument
404 pirq->irq[pirq->nr_irqs++] = pp->irq[i]; in dwapb_convert_irqs()
407 return pirq->nr_irqs ? 0 : -ENOENT; in dwapb_convert_irqs()
414 struct dwapb_gpio_port_irqchip *pirq; in dwapb_configure_irqs() local
419 pirq = devm_kzalloc(gpio->dev, sizeof(*pirq), GFP_KERNEL); in dwapb_configure_irqs()
420 if (!pirq) in dwapb_configure_irqs()
423 if (dwapb_convert_irqs(pirq, pp)) { in dwapb_configure_irqs()
432 port->pirq = pirq; in dwapb_configure_irqs()
433 pirq->irqchip.name = DWAPB_DRIVER_NAME; in dwapb_configure_irqs()
[all …]
/kernel/linux/linux-5.10/include/xen/
Devents.h112 unsigned pirq, int shareable, char *name);
119 int pirq, int nvec, const char *name, domid_t domid);
126 int xen_irq_from_pirq(unsigned pirq);
/kernel/linux/linux-5.10/drivers/input/misc/
Dpcap_keys.c26 int pirq = irq_to_pcap(pcap_keys->pcap, irq); in pcap_keys_handler() local
30 pstat &= 1 << pirq; in pcap_keys_handler()
32 switch (pirq) { in pcap_keys_handler()
/kernel/linux/linux-5.10/drivers/extcon/
Dextcon-axp288.c350 int ret, i, pirq; in axp288_extcon_probe() local
407 pirq = platform_get_irq(pdev, i); in axp288_extcon_probe()
408 if (pirq < 0) in axp288_extcon_probe()
409 return pirq; in axp288_extcon_probe()
411 info->irq[i] = regmap_irq_get_virq(info->regmap_irqc, pirq); in axp288_extcon_probe()
414 "failed to get virtual interrupt=%d\n", pirq); in axp288_extcon_probe()
/kernel/linux/linux-5.10/include/xen/interface/
Dphysdev.h144 int pirq; member
164 int pirq; member
233 uint32_t pirq; member
Devent_channel.h78 uint32_t pirq; member
149 uint32_t pirq; /* EVTCHNSTAT_pirq */ member
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-pcap.c106 static int pcap_rtc_irq_enable(struct device *dev, int pirq, unsigned int en) in pcap_rtc_irq_enable() argument
111 enable_irq(pcap_to_irq(pcap_rtc->pcap, pirq)); in pcap_rtc_irq_enable()
113 disable_irq(pcap_to_irq(pcap_rtc->pcap, pirq)); in pcap_rtc_irq_enable()
/kernel/linux/linux-5.10/drivers/power/supply/
Daxp288_fuel_gauge.c639 int ret, i, pirq; in fuel_gauge_init_irq() local
642 pirq = platform_get_irq(info->pdev, i); in fuel_gauge_init_irq()
643 info->irq[i] = regmap_irq_get_virq(info->regmap_irqc, pirq); in fuel_gauge_init_irq()
647 pirq, info->irq[i]); in fuel_gauge_init_irq()
657 pirq, info->irq[i]); in fuel_gauge_init_irq()
662 pirq, info->irq[i]); in fuel_gauge_init_irq()
Daxp288_charger.c809 int ret, i, pirq; in axp288_charger_probe() local
898 pirq = platform_get_irq(info->pdev, i); in axp288_charger_probe()
899 if (pirq < 0) in axp288_charger_probe()
900 return pirq; in axp288_charger_probe()
902 info->irq[i] = regmap_irq_get_virq(info->regmap_irqc, pirq); in axp288_charger_probe()
905 "failed to get virtual interrupt=%d\n", pirq); in axp288_charger_probe()
/kernel/linux/linux-5.10/drivers/mfd/
Dintel_soc_pmic_bxtwc.c406 int pirq, int irq_flags, in bxtwc_add_chained_irq_chip() argument
412 irq = regmap_irq_get_virq(pdata, pirq); in bxtwc_add_chained_irq_chip()
416 pirq, chip->name, irq); in bxtwc_add_chained_irq_chip()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dpcap_ts.c103 static irqreturn_t pcap_ts_event_touch(int pirq, void *data) in pcap_ts_event_touch() argument
/kernel/linux/linux-5.10/Documentation/x86/x86_64/
Dboot-options.rst91 pirq=...
/kernel/linux/linux-5.10/
DCREDITS2128 D: pirq addr, CS5535 alsa audio driver
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dkernel-parameters.txt3933 pirq= [SMP,APIC] Manual mp-table setup