Home
last modified time | relevance | path

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

/drivers/xen/events/
Devents_base.c119 unsigned short pirq; member
124 } pirq; member
348 unsigned pirq, in xen_irq_info_pirq_setup() argument
355 info->u.pirq.pirq = pirq; in xen_irq_info_pirq_setup()
356 info->u.pirq.gsi = gsi; in xen_irq_info_pirq_setup()
357 info->u.pirq.domid = domid; in xen_irq_info_pirq_setup()
358 info->u.pirq.flags = flags; in xen_irq_info_pirq_setup()
423 return info->u.pirq.pirq; in pirq_from_irq()
487 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 …]
/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 …]
/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
/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()
/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()
/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()
/drivers/power/supply/
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()
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()
/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()
/drivers/input/touchscreen/
Dpcap_ts.c103 static irqreturn_t pcap_ts_event_touch(int pirq, void *data) in pcap_ts_event_touch() argument