virq 359 arch/arc/kernel/mcip.c static int idu_irq_map(struct irq_domain *d, unsigned int virq, irq_hw_number_t hwirq) virq 361 arch/arc/kernel/mcip.c irq_set_chip_and_handler(virq, &idu_irq_chip, handle_level_irq); virq 362 arch/arc/kernel/mcip.c irq_set_status_flags(virq, IRQ_MOVE_PCNTXT); virq 384 arch/arc/kernel/mcip.c int i, virq; virq 412 arch/arc/kernel/mcip.c virq = irq_create_mapping(NULL, i + FIRST_EXT_IRQ); virq 413 arch/arc/kernel/mcip.c BUG_ON(!virq); virq 414 arch/arc/kernel/mcip.c irq_set_chained_handler_and_data(virq, idu_cascade_isr, domain); virq 407 arch/arc/kernel/smp.c unsigned int virq = irq_find_mapping(NULL, hwirq); virq 409 arch/arc/kernel/smp.c if (!virq) virq 416 arch/arc/kernel/smp.c rc = request_percpu_irq(virq, do_IPI, "IPI Interrupt", dev); virq 418 arch/arc/kernel/smp.c panic("Percpu IRQ request failed for %u\n", virq); virq 421 arch/arc/kernel/smp.c enable_percpu_irq(virq, 0); virq 158 arch/arm/mach-exynos/suspend.c unsigned int virq, virq 174 arch/arm/mach-exynos/suspend.c irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i, virq 179 arch/arm/mach-exynos/suspend.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, virq 509 arch/arm/mach-omap2/omap-wakeupgen.c unsigned int virq, virq 527 arch/arm/mach-omap2/omap-wakeupgen.c irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i, virq 532 arch/arm/mach-omap2/omap-wakeupgen.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, virq 121 arch/arm/mach-pxa/irq.c static int pxa_irq_map(struct irq_domain *h, unsigned int virq, virq 130 arch/arm/mach-pxa/irq.c irq_set_chip_and_handler(virq, &pxa_internal_irq_chip, virq 132 arch/arm/mach-pxa/irq.c irq_set_chip_data(virq, base); virq 73 arch/c6x/kernel/irq.c static int core_domain_map(struct irq_domain *h, unsigned int virq, virq 79 arch/c6x/kernel/irq.c prio_to_virq[hw] = virq; virq 81 arch/c6x/kernel/irq.c irq_set_status_flags(virq, IRQ_LEVEL); virq 82 arch/c6x/kernel/irq.c irq_set_chip_and_handler(virq, &core_chip, handle_level_irq); virq 117 arch/c6x/platforms/megamod-pic.c static int megamod_map(struct irq_domain *h, unsigned int virq, virq 128 arch/c6x/platforms/megamod-pic.c irq_set_chip_data(virq, pic); virq 129 arch/c6x/platforms/megamod-pic.c irq_set_chip_and_handler(virq, &megamod_chip, handle_level_irq); virq 132 arch/c6x/platforms/megamod-pic.c irq_set_irq_type(virq, IRQ_TYPE_NONE); virq 1222 arch/mips/cavium-octeon/octeon-irq.c unsigned int virq, irq_hw_number_t hw) virq 1234 arch/mips/cavium-octeon/octeon-irq.c rv = octeon_irq_set_ciu_mapping(virq, line, bit, 0, virq 1238 arch/mips/cavium-octeon/octeon-irq.c rv = octeon_irq_set_ciu_mapping(virq, line, bit, 0, virq 1243 arch/mips/cavium-octeon/octeon-irq.c rv = octeon_irq_set_ciu_mapping(virq, line, bit, 0, virq 1247 arch/mips/cavium-octeon/octeon-irq.c rv = octeon_irq_set_ciu_mapping(virq, line, bit, 0, virq 1255 arch/mips/cavium-octeon/octeon-irq.c unsigned int virq, irq_hw_number_t hw) virq 1272 arch/mips/cavium-octeon/octeon-irq.c r = octeon_irq_set_ciu_mapping(virq, line, bit, hw, virq 1935 arch/mips/cavium-octeon/octeon-irq.c unsigned int virq, irq_hw_number_t hw) virq 1951 arch/mips/cavium-octeon/octeon-irq.c octeon_irq_set_ciu_mapping(virq, line, bit, 0, virq 1955 arch/mips/cavium-octeon/octeon-irq.c octeon_irq_set_ciu_mapping(virq, line, bit, 0, virq 2190 arch/mips/cavium-octeon/octeon-irq.c unsigned int virq, irq_hw_number_t hw) virq 2208 arch/mips/cavium-octeon/octeon-irq.c irq_set_chip_and_handler(virq, &octeon_irq_chip_cib, virq 2210 arch/mips/cavium-octeon/octeon-irq.c irq_set_chip_data(virq, cd); virq 2542 arch/mips/cavium-octeon/octeon-irq.c int octeon_irq_ciu3_mapx(struct irq_domain *d, unsigned int virq, virq 2554 arch/mips/cavium-octeon/octeon-irq.c irq_set_chip_and_handler(virq, chip, handle_edge_irq); virq 2555 arch/mips/cavium-octeon/octeon-irq.c irq_set_chip_data(virq, cd); virq 2561 arch/mips/cavium-octeon/octeon-irq.c unsigned int virq, irq_hw_number_t hw) virq 2563 arch/mips/cavium-octeon/octeon-irq.c return octeon_irq_ciu3_mapx(d, virq, hw, &octeon_irq_chip_ciu3); virq 323 arch/mips/include/asm/octeon/octeon.h int octeon_irq_ciu3_mapx(struct irq_domain *d, unsigned int virq, virq 222 arch/mips/kernel/smp.c static void smp_ipi_init_one(unsigned int virq, virq 227 arch/mips/kernel/smp.c irq_set_handler(virq, handle_percpu_irq); virq 228 arch/mips/kernel/smp.c ret = setup_irq(virq, action); virq 236 arch/mips/kernel/smp.c int virq; virq 267 arch/mips/kernel/smp.c virq = irq_reserve_ipi(ipidomain, mask); virq 268 arch/mips/kernel/smp.c BUG_ON(!virq); virq 270 arch/mips/kernel/smp.c call_virq = virq; virq 272 arch/mips/kernel/smp.c virq = irq_reserve_ipi(ipidomain, mask); virq 273 arch/mips/kernel/smp.c BUG_ON(!virq); virq 275 arch/mips/kernel/smp.c sched_virq = virq; virq 52 arch/mips/pci/fixup-lemote2f.c int virq; virq 56 arch/mips/pci/fixup-lemote2f.c virq = irq_tab[slot][pin]; virq 58 arch/mips/pci/fixup-lemote2f.c virq + LOONGSON_IRQ_BASE); virq 59 arch/mips/pci/fixup-lemote2f.c if (virq != 0) virq 60 arch/mips/pci/fixup-lemote2f.c return LOONGSON_IRQ_BASE + virq; virq 44 arch/mips/pci/fixup-malta.c int virq; virq 45 arch/mips/pci/fixup-malta.c virq = irq_tab[slot][pin]; virq 46 arch/mips/pci/fixup-malta.c return pci_irq[virq]; virq 306 arch/mips/pci/pci-xtalk-bridge.c static int bridge_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 320 arch/mips/pci/pci-xtalk-bridge.c ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, arg); virq 324 arch/mips/pci/pci-xtalk-bridge.c irq_domain_set_info(domain, virq, info->pin, &bridge_irq_chip, virq 333 arch/mips/pci/pci-xtalk-bridge.c static void bridge_domain_free(struct irq_domain *domain, unsigned int virq, virq 336 arch/mips/pci/pci-xtalk-bridge.c struct irq_data *irqd = irq_domain_get_irq_data(domain, virq); virq 342 arch/mips/pci/pci-xtalk-bridge.c irq_domain_free_irqs_top(domain, virq, nr_irqs); virq 118 arch/mips/sgi-ip27/ip27-irq.c static int hub_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 139 arch/mips/sgi-ip27/ip27-irq.c irq_domain_set_info(domain, virq, swlevel, &hub_irq_type, hd, virq 150 arch/mips/sgi-ip27/ip27-irq.c desc = irq_to_desc(virq); virq 158 arch/mips/sgi-ip27/ip27-irq.c unsigned int virq, unsigned int nr_irqs) virq 165 arch/mips/sgi-ip27/ip27-irq.c irqd = irq_domain_get_irq_data(domain, virq); virq 49 arch/nios2/kernel/irq.c static int irq_map(struct irq_domain *h, unsigned int virq, virq 52 arch/nios2/kernel/irq.c irq_set_chip_and_handler(virq, &m_irq_chip, handle_level_irq); virq 29 arch/powerpc/include/asm/irq.h extern irq_hw_number_t virq_to_hw(unsigned int virq); virq 23 arch/powerpc/include/asm/parport.h int virq; virq 31 arch/powerpc/include/asm/parport.h virq = irq_of_parse_and_map(np, 0); virq 32 arch/powerpc/include/asm/parport.h if (!virq) virq 35 arch/powerpc/include/asm/parport.h if (parport_pc_probe_port(io1, io2, virq, autodma, NULL, 0) virq 30 arch/powerpc/include/asm/pnv-pci.h unsigned int virq); virq 179 arch/powerpc/include/asm/ps3.h unsigned int *virq); virq 180 arch/powerpc/include/asm/ps3.h int ps3_irq_plug_destroy(unsigned int virq); virq 181 arch/powerpc/include/asm/ps3.h int ps3_event_receive_port_setup(enum ps3_cpu_binding cpu, unsigned int *virq); virq 182 arch/powerpc/include/asm/ps3.h int ps3_event_receive_port_destroy(unsigned int virq); virq 183 arch/powerpc/include/asm/ps3.h int ps3_send_event_locally(unsigned int virq); virq 186 arch/powerpc/include/asm/ps3.h unsigned int *virq); virq 187 arch/powerpc/include/asm/ps3.h int ps3_io_irq_destroy(unsigned int virq); virq 189 arch/powerpc/include/asm/ps3.h unsigned int *virq); virq 190 arch/powerpc/include/asm/ps3.h int ps3_vuart_irq_destroy(unsigned int virq); virq 192 arch/powerpc/include/asm/ps3.h unsigned int class, unsigned int *virq); virq 193 arch/powerpc/include/asm/ps3.h int ps3_spe_irq_destroy(unsigned int virq); virq 196 arch/powerpc/include/asm/ps3.h enum ps3_cpu_binding cpu, unsigned int *virq); virq 198 arch/powerpc/include/asm/ps3.h unsigned int virq); virq 159 arch/powerpc/include/asm/smp.h extern int smp_request_message_ipi(int virq, int message); virq 88 arch/powerpc/include/asm/xics.h int (*map)(struct ics *ics, unsigned int virq); virq 167 arch/powerpc/include/asm/xics.h extern int xics_get_irq_server(unsigned int virq, const struct cpumask *cpumask, virq 170 arch/powerpc/include/asm/xics.h #define xics_get_irq_server(virq, cpumask, strict_check) (xics_default_server) virq 687 arch/powerpc/kernel/irq.c irq_hw_number_t virq_to_hw(unsigned int virq) virq 689 arch/powerpc/kernel/irq.c struct irq_data *irq_data = irq_get_irq_data(virq); virq 464 arch/powerpc/kernel/legacy_serial.c unsigned int virq; virq 468 arch/powerpc/kernel/legacy_serial.c virq = irq_of_parse_and_map(np, 0); virq 469 arch/powerpc/kernel/legacy_serial.c if (!virq && legacy_serial_infos[index].irq_check_parent) { virq 473 arch/powerpc/kernel/legacy_serial.c virq = irq_of_parse_and_map(np, 0); virq 476 arch/powerpc/kernel/legacy_serial.c if (!virq) virq 479 arch/powerpc/kernel/legacy_serial.c port->irq = virq; virq 369 arch/powerpc/kernel/pci-common.c int virq; virq 374 arch/powerpc/kernel/pci-common.c virq = of_irq_parse_and_map_pci(pci_dev, 0, 0); virq 375 arch/powerpc/kernel/pci-common.c if (virq <= 0) { virq 396 arch/powerpc/kernel/pci-common.c virq = irq_create_mapping(NULL, line); virq 397 arch/powerpc/kernel/pci-common.c if (virq) virq 398 arch/powerpc/kernel/pci-common.c irq_set_irq_type(virq, IRQ_TYPE_LEVEL_LOW); virq 401 arch/powerpc/kernel/pci-common.c if (!virq) { virq 406 arch/powerpc/kernel/pci-common.c pr_debug(" Mapped to linux irq %d\n", virq); virq 408 arch/powerpc/kernel/pci-common.c pci_dev->irq = virq; virq 220 arch/powerpc/kernel/smp.c int smp_request_message_ipi(int virq, int msg) virq 231 arch/powerpc/kernel/smp.c err = request_irq(virq, smp_ipi_action[msg], virq 235 arch/powerpc/kernel/smp.c virq, smp_ipi_name[msg], err); virq 1302 arch/powerpc/kvm/mpic.c int virq = MAX_SRC; virq 1315 arch/powerpc/kvm/mpic.c opp->irq_ipi0 = virq; virq 1316 arch/powerpc/kvm/mpic.c virq += MAX_IPI; virq 1317 arch/powerpc/kvm/mpic.c opp->irq_tim0 = virq; virq 1318 arch/powerpc/kvm/mpic.c virq += MAX_TMR; virq 1320 arch/powerpc/kvm/mpic.c BUG_ON(virq > MAX_IRQ); virq 1334 arch/powerpc/kvm/mpic.c for (i = MAX_SRC; i < virq; i++) { virq 68 arch/powerpc/platforms/4xx/msi.c unsigned int virq; virq 90 arch/powerpc/platforms/4xx/msi.c virq = irq_of_parse_and_map(msi_data->msi_dev, int_no); virq 91 arch/powerpc/platforms/4xx/msi.c if (!virq) { virq 96 arch/powerpc/platforms/4xx/msi.c dev_dbg(&dev->dev, "%s: virq = %d\n", __func__, virq); virq 102 arch/powerpc/platforms/4xx/msi.c irq_set_msi_desc(virq, entry); virq 104 arch/powerpc/platforms/4xx/msi.c pci_write_msi_msg(virq, &msg); virq 198 arch/powerpc/platforms/4xx/msi.c int virq; virq 201 arch/powerpc/platforms/4xx/msi.c virq = msi->msi_virqs[i]; virq 202 arch/powerpc/platforms/4xx/msi.c if (virq) virq 203 arch/powerpc/platforms/4xx/msi.c irq_dispose_mapping(virq); virq 173 arch/powerpc/platforms/4xx/uic.c static int uic_host_map(struct irq_domain *h, unsigned int virq, virq 178 arch/powerpc/platforms/4xx/uic.c irq_set_chip_data(virq, uic); virq 181 arch/powerpc/platforms/4xx/uic.c irq_set_chip_and_handler(virq, &uic_irq_chip, handle_level_irq); virq 184 arch/powerpc/platforms/4xx/uic.c irq_set_irq_type(virq, IRQ_TYPE_NONE); virq 130 arch/powerpc/platforms/512x/mpc5121_ads_cpld.c cpld_pic_host_map(struct irq_domain *h, unsigned int virq, virq 133 arch/powerpc/platforms/512x/mpc5121_ads_cpld.c irq_set_status_flags(virq, IRQ_LEVEL); virq 134 arch/powerpc/platforms/512x/mpc5121_ads_cpld.c irq_set_chip_and_handler(virq, &cpld_pic, handle_level_irq); virq 110 arch/powerpc/platforms/52xx/media5200.c static int media5200_irq_map(struct irq_domain *h, unsigned int virq, virq 113 arch/powerpc/platforms/52xx/media5200.c pr_debug("%s: h=%p, virq=%i, hwirq=%i\n", __func__, h, virq, (int)hw); virq 114 arch/powerpc/platforms/52xx/media5200.c irq_set_chip_data(virq, &media5200_irq); virq 115 arch/powerpc/platforms/52xx/media5200.c irq_set_chip_and_handler(virq, &media5200_irq_chip, handle_level_irq); virq 116 arch/powerpc/platforms/52xx/media5200.c irq_set_status_flags(virq, IRQ_LEVEL); virq 203 arch/powerpc/platforms/52xx/mpc52xx_gpt.c static int mpc52xx_gpt_irq_map(struct irq_domain *h, unsigned int virq, virq 208 arch/powerpc/platforms/52xx/mpc52xx_gpt.c dev_dbg(gpt->dev, "%s: h=%p, virq=%i\n", __func__, h, virq); virq 209 arch/powerpc/platforms/52xx/mpc52xx_gpt.c irq_set_chip_data(virq, gpt); virq 210 arch/powerpc/platforms/52xx/mpc52xx_gpt.c irq_set_chip_and_handler(virq, &mpc52xx_gpt_irq_chip, handle_edge_irq); virq 338 arch/powerpc/platforms/52xx/mpc52xx_pic.c static int mpc52xx_irqhost_map(struct irq_domain *h, unsigned int virq, virq 364 arch/powerpc/platforms/52xx/mpc52xx_pic.c irq_set_chip_and_handler(virq, &mpc52xx_extirq_irqchip, hndlr); virq 366 arch/powerpc/platforms/52xx/mpc52xx_pic.c __func__, l2irq, virq, (int)irq, type); virq 378 arch/powerpc/platforms/52xx/mpc52xx_pic.c irq_set_chip(virq, &no_irq_chip); virq 382 arch/powerpc/platforms/52xx/mpc52xx_pic.c irq_set_chip_and_handler(virq, irqchip, handle_level_irq); virq 383 arch/powerpc/platforms/52xx/mpc52xx_pic.c pr_debug("%s: virq=%x, l1=%i, l2=%i\n", __func__, virq, l1irq, l2irq); virq 95 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c int virq = irq_linear_revmap(priv->host, bit); virq 96 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c generic_handle_irq(virq); virq 102 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c static int pci_pic_host_map(struct irq_domain *h, unsigned int virq, virq 105 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c irq_set_status_flags(virq, IRQ_LEVEL); virq 106 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c irq_set_chip_data(virq, h->host_data); virq 107 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c irq_set_chip_and_handler(virq, &pq2ads_pci_ic, handle_level_irq); virq 228 arch/powerpc/platforms/85xx/socrates_fpga_pic.c static int socrates_fpga_pic_host_map(struct irq_domain *h, unsigned int virq, virq 232 arch/powerpc/platforms/85xx/socrates_fpga_pic.c irq_set_status_flags(virq, IRQ_LEVEL); virq 233 arch/powerpc/platforms/85xx/socrates_fpga_pic.c irq_set_chip_and_handler(virq, &socrates_fpga_pic_chip, virq 102 arch/powerpc/platforms/8xx/cpm1.c static int cpm_pic_host_map(struct irq_domain *h, unsigned int virq, virq 105 arch/powerpc/platforms/8xx/cpm1.c pr_debug("cpm_pic_host_map(%d, 0x%lx)\n", virq, hw); virq 107 arch/powerpc/platforms/8xx/cpm1.c irq_set_status_flags(virq, IRQ_LEVEL); virq 108 arch/powerpc/platforms/8xx/cpm1.c irq_set_chip_and_handler(virq, &cpm_pic, handle_fasteoi_irq); virq 95 arch/powerpc/platforms/8xx/m8xx_setup.c int irq, virq; virq 151 arch/powerpc/platforms/8xx/m8xx_setup.c virq= irq_of_parse_and_map(cpu, 0); virq 153 arch/powerpc/platforms/8xx/m8xx_setup.c irq = virq_to_hw(virq); virq 160 arch/powerpc/platforms/8xx/m8xx_setup.c if (setup_irq(virq, &tbint_irqaction)) virq 88 arch/powerpc/platforms/8xx/pic.c static int mpc8xx_pic_host_map(struct irq_domain *h, unsigned int virq, virq 91 arch/powerpc/platforms/8xx/pic.c pr_debug("mpc8xx_pic_host_map(%d, 0x%lx)\n", virq, hw); virq 94 arch/powerpc/platforms/8xx/pic.c irq_set_chip_and_handler(virq, &mpc8xx_pic, handle_level_irq); virq 255 arch/powerpc/platforms/cell/axon_msi.c unsigned int virq, rc; virq 269 arch/powerpc/platforms/cell/axon_msi.c virq = irq_create_direct_mapping(msic->irq_domain); virq 270 arch/powerpc/platforms/cell/axon_msi.c if (!virq) { virq 275 arch/powerpc/platforms/cell/axon_msi.c dev_dbg(&dev->dev, "axon_msi: allocated virq 0x%x\n", virq); virq 277 arch/powerpc/platforms/cell/axon_msi.c irq_set_msi_desc(virq, entry); virq 278 arch/powerpc/platforms/cell/axon_msi.c msg.data = virq; virq 279 arch/powerpc/platforms/cell/axon_msi.c pci_write_msi_msg(virq, &msg); virq 307 arch/powerpc/platforms/cell/axon_msi.c static int msic_host_map(struct irq_domain *h, unsigned int virq, virq 310 arch/powerpc/platforms/cell/axon_msi.c irq_set_chip_data(virq, h->host_data); virq 311 arch/powerpc/platforms/cell/axon_msi.c irq_set_chip_and_handler(virq, &msic_irq_chip, handle_simple_irq); virq 336 arch/powerpc/platforms/cell/axon_msi.c unsigned int virq; virq 373 arch/powerpc/platforms/cell/axon_msi.c virq = irq_of_parse_and_map(dn, 0); virq 374 arch/powerpc/platforms/cell/axon_msi.c if (!virq) { virq 389 arch/powerpc/platforms/cell/axon_msi.c irq_set_handler_data(virq, msic); virq 390 arch/powerpc/platforms/cell/axon_msi.c irq_set_chained_handler(virq, axon_msi_cascade); virq 391 arch/powerpc/platforms/cell/axon_msi.c pr_devel("axon_msi: irq 0x%x setup for axon_msi\n", virq); virq 137 arch/powerpc/platforms/cell/interrupt.c unsigned int virq; virq 144 arch/powerpc/platforms/cell/interrupt.c virq = irq_linear_revmap(iic_host, iic_pending_to_hwnum(pending)); virq 145 arch/powerpc/platforms/cell/interrupt.c if (!virq) virq 149 arch/powerpc/platforms/cell/interrupt.c return virq; virq 179 arch/powerpc/platforms/cell/interrupt.c int virq; virq 181 arch/powerpc/platforms/cell/interrupt.c virq = irq_create_mapping(iic_host, iic_msg_to_irq(msg)); virq 182 arch/powerpc/platforms/cell/interrupt.c if (!virq) { virq 192 arch/powerpc/platforms/cell/interrupt.c if (smp_request_message_ipi(virq, msg)) virq 193 arch/powerpc/platforms/cell/interrupt.c irq_dispose_mapping(virq); virq 214 arch/powerpc/platforms/cell/interrupt.c static int iic_host_map(struct irq_domain *h, unsigned int virq, virq 219 arch/powerpc/platforms/cell/interrupt.c irq_set_chip_and_handler(virq, &iic_chip, handle_percpu_irq); virq 222 arch/powerpc/platforms/cell/interrupt.c irq_set_chip_and_handler(virq, &iic_ioexc_chip, virq 226 arch/powerpc/platforms/cell/interrupt.c irq_set_chip_and_handler(virq, &iic_chip, handle_edge_eoi_irq); virq 380 arch/powerpc/platforms/cell/iommu.c unsigned int virq; virq 399 arch/powerpc/platforms/cell/iommu.c virq = irq_create_mapping(NULL, virq 401 arch/powerpc/platforms/cell/iommu.c BUG_ON(!virq); virq 403 arch/powerpc/platforms/cell/iommu.c ret = request_irq(virq, ioc_interrupt, 0, iommu->name, iommu); virq 158 arch/powerpc/platforms/cell/spider-pic.c static int spider_host_map(struct irq_domain *h, unsigned int virq, virq 161 arch/powerpc/platforms/cell/spider-pic.c irq_set_chip_data(virq, h->host_data); virq 162 arch/powerpc/platforms/cell/spider-pic.c irq_set_chip_and_handler(virq, &spider_pic, handle_level_irq); virq 165 arch/powerpc/platforms/cell/spider-pic.c irq_set_irq_type(virq, IRQ_TYPE_NONE); virq 193 arch/powerpc/platforms/cell/spider-pic.c unsigned int cs, virq; virq 197 arch/powerpc/platforms/cell/spider-pic.c virq = 0; virq 199 arch/powerpc/platforms/cell/spider-pic.c virq = irq_linear_revmap(pic->host, cs); virq 201 arch/powerpc/platforms/cell/spider-pic.c if (virq) virq 202 arch/powerpc/platforms/cell/spider-pic.c generic_handle_irq(virq); virq 217 arch/powerpc/platforms/cell/spider-pic.c unsigned int virq; virq 228 arch/powerpc/platforms/cell/spider-pic.c virq = irq_of_parse_and_map(of_node, 0); virq 229 arch/powerpc/platforms/cell/spider-pic.c if (virq) virq 230 arch/powerpc/platforms/cell/spider-pic.c return virq; virq 267 arch/powerpc/platforms/cell/spider-pic.c virq = irq_create_mapping(NULL, virq 271 arch/powerpc/platforms/cell/spider-pic.c if (!virq) virq 273 arch/powerpc/platforms/cell/spider-pic.c return virq; virq 281 arch/powerpc/platforms/cell/spider-pic.c int i, virq; virq 307 arch/powerpc/platforms/cell/spider-pic.c virq = spider_find_cascade_and_node(pic); virq 308 arch/powerpc/platforms/cell/spider-pic.c if (!virq) virq 310 arch/powerpc/platforms/cell/spider-pic.c irq_set_handler_data(virq, pic); virq 311 arch/powerpc/platforms/cell/spider-pic.c irq_set_chained_handler(virq, spider_irq_cascade); virq 97 arch/powerpc/platforms/embedded6xx/flipper-pic.c static int flipper_pic_map(struct irq_domain *h, unsigned int virq, virq 100 arch/powerpc/platforms/embedded6xx/flipper-pic.c irq_set_chip_data(virq, h->host_data); virq 101 arch/powerpc/platforms/embedded6xx/flipper-pic.c irq_set_status_flags(virq, IRQ_LEVEL); virq 102 arch/powerpc/platforms/embedded6xx/flipper-pic.c irq_set_chip_and_handler(virq, &flipper_pic, handle_level_irq); virq 95 arch/powerpc/platforms/embedded6xx/hlwd-pic.c static int hlwd_pic_map(struct irq_domain *h, unsigned int virq, virq 98 arch/powerpc/platforms/embedded6xx/hlwd-pic.c irq_set_chip_data(virq, h->host_data); virq 99 arch/powerpc/platforms/embedded6xx/hlwd-pic.c irq_set_status_flags(virq, IRQ_LEVEL); virq 100 arch/powerpc/platforms/embedded6xx/hlwd-pic.c irq_set_chip_and_handler(virq, &hlwd_pic, handle_level_irq); virq 127 arch/powerpc/platforms/embedded6xx/hlwd-pic.c unsigned int virq; virq 133 arch/powerpc/platforms/embedded6xx/hlwd-pic.c virq = __hlwd_pic_get_irq(irq_domain); virq 134 arch/powerpc/platforms/embedded6xx/hlwd-pic.c if (virq) virq 135 arch/powerpc/platforms/embedded6xx/hlwd-pic.c generic_handle_irq(virq); virq 80 arch/powerpc/platforms/pasemi/msi.c unsigned int virq; virq 106 arch/powerpc/platforms/pasemi/msi.c virq = irq_create_mapping(msi_mpic->irqhost, hwirq); virq 107 arch/powerpc/platforms/pasemi/msi.c if (!virq) { virq 119 arch/powerpc/platforms/pasemi/msi.c mpic_set_vector(virq, 0); virq 121 arch/powerpc/platforms/pasemi/msi.c irq_set_msi_desc(virq, entry); virq 122 arch/powerpc/platforms/pasemi/msi.c irq_set_chip(virq, &mpic_pasemi_msi_chip); virq 123 arch/powerpc/platforms/pasemi/msi.c irq_set_irq_type(virq, IRQ_TYPE_EDGE_RISING); virq 126 arch/powerpc/platforms/pasemi/msi.c "addr 0x%x\n", virq, hwirq, msg.address_lo); virq 132 arch/powerpc/platforms/pasemi/msi.c pci_write_msi_msg(virq, &msg); virq 274 arch/powerpc/platforms/powermac/pic.c static int pmac_pic_host_map(struct irq_domain *h, unsigned int virq, virq 283 arch/powerpc/platforms/powermac/pic.c irq_set_status_flags(virq, IRQ_LEVEL); virq 284 arch/powerpc/platforms/powermac/pic.c irq_set_chip_and_handler(virq, &pmac_pic, handle_level_irq); virq 175 arch/powerpc/platforms/powermac/smp.c static int psurge_host_map(struct irq_domain *h, unsigned int virq, virq 178 arch/powerpc/platforms/powermac/smp.c irq_set_chip_and_handler(virq, &dummy_irq_chip, handle_percpu_irq); virq 49 arch/powerpc/platforms/powernv/opal-irqchip.c int virq, hwirq; virq 55 arch/powerpc/platforms/powernv/opal-irqchip.c virq = irq_find_mapping(opal_event_irqchip.domain, hwirq); virq 56 arch/powerpc/platforms/powernv/opal-irqchip.c if (virq) { virq 58 arch/powerpc/platforms/powernv/opal-irqchip.c generic_handle_irq(virq); virq 239 arch/powerpc/platforms/powernv/opal-irqchip.c int virq; virq 249 arch/powerpc/platforms/powernv/opal-irqchip.c virq = irq_create_mapping(NULL, hw_irq); virq 250 arch/powerpc/platforms/powernv/opal-irqchip.c if (!virq) { virq 254 arch/powerpc/platforms/powernv/opal-irqchip.c r->start = r->end = virq; virq 129 arch/powerpc/platforms/powernv/pci-cxl.c unsigned int virq) virq 148 arch/powerpc/platforms/powernv/pci-cxl.c pnv_set_msi_irq_chip(phb, virq); virq 2766 arch/powerpc/platforms/powernv/pci-ioda.c void pnv_set_msi_irq_chip(struct pnv_phb *phb, unsigned int virq) virq 2780 arch/powerpc/platforms/powernv/pci-ioda.c idata = irq_get_irq_data(virq); virq 2786 arch/powerpc/platforms/powernv/pci-ioda.c irq_set_chip(virq, &phb->ioda.irq_chip); virq 2800 arch/powerpc/platforms/powernv/pci-ioda.c unsigned int hwirq, unsigned int virq, virq 2855 arch/powerpc/platforms/powernv/pci-ioda.c pnv_set_msi_irq_chip(phb, virq); virq 166 arch/powerpc/platforms/powernv/pci.c unsigned int virq; virq 187 arch/powerpc/platforms/powernv/pci.c virq = irq_create_mapping(NULL, phb->msi_base + hwirq); virq 188 arch/powerpc/platforms/powernv/pci.c if (!virq) { virq 195 arch/powerpc/platforms/powernv/pci.c virq, entry->msi_attrib.is_64, &msg); virq 198 arch/powerpc/platforms/powernv/pci.c irq_dispose_mapping(virq); virq 202 arch/powerpc/platforms/powernv/pci.c irq_set_msi_desc(virq, entry); virq 203 arch/powerpc/platforms/powernv/pci.c pci_write_msi_msg(virq, &msg); virq 109 arch/powerpc/platforms/powernv/pci.h unsigned int hwirq, unsigned int virq, virq 197 arch/powerpc/platforms/powernv/pci.h extern void pnv_set_msi_irq_chip(struct pnv_phb *phb, unsigned int virq); virq 169 arch/powerpc/platforms/ps3/interrupt.c unsigned int *virq) virq 181 arch/powerpc/platforms/ps3/interrupt.c *virq = irq_create_mapping(NULL, outlet); virq 183 arch/powerpc/platforms/ps3/interrupt.c if (!*virq) { virq 191 arch/powerpc/platforms/ps3/interrupt.c outlet, cpu, *virq); virq 193 arch/powerpc/platforms/ps3/interrupt.c result = irq_set_chip_data(*virq, pd); virq 201 arch/powerpc/platforms/ps3/interrupt.c ps3_chip_mask(irq_get_irq_data(*virq)); virq 206 arch/powerpc/platforms/ps3/interrupt.c irq_dispose_mapping(*virq); virq 218 arch/powerpc/platforms/ps3/interrupt.c static int ps3_virq_destroy(unsigned int virq) virq 220 arch/powerpc/platforms/ps3/interrupt.c const struct ps3_private *pd = irq_get_chip_data(virq); virq 223 arch/powerpc/platforms/ps3/interrupt.c __LINE__, pd->ppe_id, pd->thread_id, virq); virq 225 arch/powerpc/platforms/ps3/interrupt.c irq_set_chip_data(virq, NULL); virq 226 arch/powerpc/platforms/ps3/interrupt.c irq_dispose_mapping(virq); virq 243 arch/powerpc/platforms/ps3/interrupt.c unsigned int *virq) virq 248 arch/powerpc/platforms/ps3/interrupt.c result = ps3_virq_setup(cpu, outlet, virq); virq 255 arch/powerpc/platforms/ps3/interrupt.c pd = irq_get_chip_data(*virq); virq 259 arch/powerpc/platforms/ps3/interrupt.c result = lv1_connect_irq_plug_ext(pd->ppe_id, pd->thread_id, *virq, virq 272 arch/powerpc/platforms/ps3/interrupt.c ps3_virq_destroy(*virq); virq 287 arch/powerpc/platforms/ps3/interrupt.c int ps3_irq_plug_destroy(unsigned int virq) virq 290 arch/powerpc/platforms/ps3/interrupt.c const struct ps3_private *pd = irq_get_chip_data(virq); virq 293 arch/powerpc/platforms/ps3/interrupt.c __LINE__, pd->ppe_id, pd->thread_id, virq); virq 295 arch/powerpc/platforms/ps3/interrupt.c ps3_chip_mask(irq_get_irq_data(virq)); virq 297 arch/powerpc/platforms/ps3/interrupt.c result = lv1_disconnect_irq_plug_ext(pd->ppe_id, pd->thread_id, virq); virq 303 arch/powerpc/platforms/ps3/interrupt.c ps3_virq_destroy(virq); virq 320 arch/powerpc/platforms/ps3/interrupt.c int ps3_event_receive_port_setup(enum ps3_cpu_binding cpu, unsigned int *virq) virq 330 arch/powerpc/platforms/ps3/interrupt.c *virq = 0; virq 334 arch/powerpc/platforms/ps3/interrupt.c result = ps3_irq_plug_setup(cpu, outlet, virq); virq 350 arch/powerpc/platforms/ps3/interrupt.c int ps3_event_receive_port_destroy(unsigned int virq) virq 354 arch/powerpc/platforms/ps3/interrupt.c DBG(" -> %s:%d virq %u\n", __func__, __LINE__, virq); virq 356 arch/powerpc/platforms/ps3/interrupt.c ps3_chip_mask(irq_get_irq_data(virq)); virq 358 arch/powerpc/platforms/ps3/interrupt.c result = lv1_destruct_event_receive_port(virq_to_hw(virq)); virq 373 arch/powerpc/platforms/ps3/interrupt.c int ps3_send_event_locally(unsigned int virq) virq 375 arch/powerpc/platforms/ps3/interrupt.c return lv1_send_event_locally(virq_to_hw(virq)); virq 390 arch/powerpc/platforms/ps3/interrupt.c enum ps3_cpu_binding cpu, unsigned int *virq) virq 396 arch/powerpc/platforms/ps3/interrupt.c result = ps3_event_receive_port_setup(cpu, virq); virq 402 arch/powerpc/platforms/ps3/interrupt.c dev->dev_id, virq_to_hw(*virq), dev->interrupt_id); virq 408 arch/powerpc/platforms/ps3/interrupt.c ps3_event_receive_port_destroy(*virq); virq 409 arch/powerpc/platforms/ps3/interrupt.c *virq = 0; virq 414 arch/powerpc/platforms/ps3/interrupt.c dev->interrupt_id, *virq); virq 421 arch/powerpc/platforms/ps3/interrupt.c unsigned int virq) virq 428 arch/powerpc/platforms/ps3/interrupt.c dev->interrupt_id, virq); virq 431 arch/powerpc/platforms/ps3/interrupt.c dev->dev_id, virq_to_hw(virq), dev->interrupt_id); virq 438 arch/powerpc/platforms/ps3/interrupt.c result = ps3_event_receive_port_destroy(virq); virq 446 arch/powerpc/platforms/ps3/interrupt.c result = ps3_virq_destroy(virq); virq 466 arch/powerpc/platforms/ps3/interrupt.c unsigned int *virq) virq 479 arch/powerpc/platforms/ps3/interrupt.c result = ps3_irq_plug_setup(cpu, outlet, virq); virq 486 arch/powerpc/platforms/ps3/interrupt.c int ps3_io_irq_destroy(unsigned int virq) virq 489 arch/powerpc/platforms/ps3/interrupt.c unsigned long outlet = virq_to_hw(virq); virq 491 arch/powerpc/platforms/ps3/interrupt.c ps3_chip_mask(irq_get_irq_data(virq)); virq 498 arch/powerpc/platforms/ps3/interrupt.c result = ps3_irq_plug_destroy(virq); virq 523 arch/powerpc/platforms/ps3/interrupt.c unsigned int *virq) virq 541 arch/powerpc/platforms/ps3/interrupt.c result = ps3_irq_plug_setup(cpu, outlet, virq); virq 548 arch/powerpc/platforms/ps3/interrupt.c int ps3_vuart_irq_destroy(unsigned int virq) virq 552 arch/powerpc/platforms/ps3/interrupt.c ps3_chip_mask(irq_get_irq_data(virq)); virq 561 arch/powerpc/platforms/ps3/interrupt.c result = ps3_irq_plug_destroy(virq); virq 579 arch/powerpc/platforms/ps3/interrupt.c unsigned int class, unsigned int *virq) virq 594 arch/powerpc/platforms/ps3/interrupt.c result = ps3_irq_plug_setup(cpu, outlet, virq); virq 600 arch/powerpc/platforms/ps3/interrupt.c int ps3_spe_irq_destroy(unsigned int virq) virq 604 arch/powerpc/platforms/ps3/interrupt.c ps3_chip_mask(irq_get_irq_data(virq)); virq 606 arch/powerpc/platforms/ps3/interrupt.c result = ps3_irq_plug_destroy(virq); virq 658 arch/powerpc/platforms/ps3/interrupt.c static int ps3_host_map(struct irq_domain *h, unsigned int virq, virq 662 arch/powerpc/platforms/ps3/interrupt.c virq); virq 664 arch/powerpc/platforms/ps3/interrupt.c irq_set_chip_and_handler(virq, &ps3_irq_chip, handle_fasteoi_irq); virq 681 arch/powerpc/platforms/ps3/interrupt.c void __init ps3_register_ipi_debug_brk(unsigned int cpu, unsigned int virq) virq 685 arch/powerpc/platforms/ps3/interrupt.c set_bit(63 - virq, &pd->ipi_debug_brk_mask); virq 688 arch/powerpc/platforms/ps3/interrupt.c cpu, virq, pd->ipi_debug_brk_mask); virq 691 arch/powerpc/platforms/ps3/interrupt.c void __init ps3_register_ipi_irq(unsigned int cpu, unsigned int virq) virq 695 arch/powerpc/platforms/ps3/interrupt.c set_bit(63 - virq, &pd->ipi_mask); virq 698 arch/powerpc/platforms/ps3/interrupt.c cpu, virq, pd->ipi_mask); virq 33 arch/powerpc/platforms/ps3/platform.h void __init ps3_register_ipi_debug_brk(unsigned int cpu, unsigned int virq); virq 34 arch/powerpc/platforms/ps3/platform.h void __init ps3_register_ipi_irq(unsigned int cpu, unsigned int virq); virq 33 arch/powerpc/platforms/ps3/smp.c unsigned int virq; virq 40 arch/powerpc/platforms/ps3/smp.c virq = per_cpu(ps3_ipi_virqs, cpu)[msg]; virq 41 arch/powerpc/platforms/ps3/smp.c result = ps3_send_event_locally(virq); virq 15 arch/powerpc/platforms/pseries/event_sources.c int i, virq, rc; virq 18 arch/powerpc/platforms/pseries/event_sources.c virq = of_irq_get(np, i); virq 19 arch/powerpc/platforms/pseries/event_sources.c if (virq < 0) virq 21 arch/powerpc/platforms/pseries/event_sources.c if (WARN(!virq, "event-sources: Unable to allocate " virq 25 arch/powerpc/platforms/pseries/event_sources.c rc = request_irq(virq, handler, 0, name, NULL); virq 27 arch/powerpc/platforms/pseries/event_sources.c virq, np)) virq 373 arch/powerpc/platforms/pseries/msi.c int hwirq, virq, i, quota, rc; virq 461 arch/powerpc/platforms/pseries/msi.c virq = irq_create_mapping(NULL, hwirq); virq 463 arch/powerpc/platforms/pseries/msi.c if (!virq) { virq 468 arch/powerpc/platforms/pseries/msi.c dev_dbg(&pdev->dev, "rtas_msi: allocated virq %d\n", virq); virq 469 arch/powerpc/platforms/pseries/msi.c irq_set_msi_desc(virq, entry); virq 215 arch/powerpc/sysdev/cpm2_pic.c static int cpm2_pic_host_map(struct irq_domain *h, unsigned int virq, virq 218 arch/powerpc/sysdev/cpm2_pic.c pr_debug("cpm2_pic_host_map(%d, 0x%lx)\n", virq, hw); virq 220 arch/powerpc/sysdev/cpm2_pic.c irq_set_status_flags(virq, IRQ_LEVEL); virq 221 arch/powerpc/sysdev/cpm2_pic.c irq_set_chip_and_handler(virq, &cpm2_pic, handle_level_irq); virq 188 arch/powerpc/sysdev/ehv_pic.c static int ehv_pic_host_map(struct irq_domain *h, unsigned int virq, virq 201 arch/powerpc/sysdev/ehv_pic.c irq_set_chip_data(virq, chip); virq 209 arch/powerpc/sysdev/ehv_pic.c irq_set_chip_and_handler(virq, chip, handle_fasteoi_irq); virq 212 arch/powerpc/sysdev/ehv_pic.c irq_set_irq_type(virq, IRQ_TYPE_NONE); virq 79 arch/powerpc/sysdev/fsl_mpic_err.c int mpic_map_error_int(struct mpic *mpic, unsigned int virq, irq_hw_number_t hw) virq 87 arch/powerpc/sysdev/fsl_mpic_err.c irq_set_chip_data(virq, mpic); virq 88 arch/powerpc/sysdev/fsl_mpic_err.c irq_set_chip_and_handler(virq, &mpic->hc_err, virq 128 arch/powerpc/sysdev/fsl_mpic_err.c unsigned int virq; virq 131 arch/powerpc/sysdev/fsl_mpic_err.c virq = irq_create_mapping(mpic->irqhost, irqnum); virq 132 arch/powerpc/sysdev/fsl_mpic_err.c if (!virq) { virq 140 arch/powerpc/sysdev/fsl_mpic_err.c ret = request_irq(virq, fsl_error_int_handler, IRQF_NO_THREAD, virq 49 arch/powerpc/sysdev/fsl_msi.c int virq; virq 72 arch/powerpc/sysdev/fsl_msi.c cascade_virq = msi_data->cascade_array[srs]->virq; virq 85 arch/powerpc/sysdev/fsl_msi.c static int fsl_msi_host_map(struct irq_domain *h, unsigned int virq, virq 91 arch/powerpc/sysdev/fsl_msi.c irq_set_status_flags(virq, IRQ_TYPE_EDGE_FALLING); virq 93 arch/powerpc/sysdev/fsl_msi.c irq_set_chip_data(virq, msi_data); virq 94 arch/powerpc/sysdev/fsl_msi.c irq_set_chip_and_handler(virq, chip, handle_edge_irq); virq 184 arch/powerpc/sysdev/fsl_msi.c unsigned int virq; virq 246 arch/powerpc/sysdev/fsl_msi.c virq = irq_create_mapping(msi_data->irqhost, hwirq); virq 248 arch/powerpc/sysdev/fsl_msi.c if (!virq) { virq 255 arch/powerpc/sysdev/fsl_msi.c irq_set_msi_desc(virq, entry); virq 258 arch/powerpc/sysdev/fsl_msi.c pci_write_msi_msg(virq, &msg); virq 327 arch/powerpc/sysdev/fsl_msi.c int virq, i; virq 333 arch/powerpc/sysdev/fsl_msi.c virq = msi->cascade_array[i]->virq; virq 335 arch/powerpc/sysdev/fsl_msi.c BUG_ON(!virq); virq 337 arch/powerpc/sysdev/fsl_msi.c free_irq(virq, msi->cascade_array[i]); virq 339 arch/powerpc/sysdev/fsl_msi.c irq_dispose_mapping(virq); virq 376 arch/powerpc/sysdev/fsl_msi.c cascade_data->virq = virt_msir; virq 156 arch/powerpc/sysdev/ge/ge_pic.c static int gef_pic_host_map(struct irq_domain *h, unsigned int virq, virq 160 arch/powerpc/sysdev/ge/ge_pic.c irq_set_status_flags(virq, IRQ_LEVEL); virq 161 arch/powerpc/sysdev/ge/ge_pic.c irq_set_chip_and_handler(virq, &gef_pic_chip, handle_level_irq); virq 231 arch/powerpc/sysdev/ge/ge_pic.c unsigned int virq = 0; virq 245 arch/powerpc/sysdev/ge/ge_pic.c virq = irq_linear_revmap(gef_pic_irq_host, virq 249 arch/powerpc/sysdev/ge/ge_pic.c return virq; virq 168 arch/powerpc/sysdev/i8259.c static int i8259_host_map(struct irq_domain *h, unsigned int virq, virq 171 arch/powerpc/sysdev/i8259.c pr_debug("i8259_host_map(%d, 0x%lx)\n", virq, hw); virq 175 arch/powerpc/sysdev/i8259.c irq_set_status_flags(virq, IRQ_NOREQUEST); virq 180 arch/powerpc/sysdev/i8259.c irq_set_status_flags(virq, IRQ_LEVEL); virq 181 arch/powerpc/sysdev/i8259.c irq_set_chip_and_handler(virq, &i8259_pic, handle_level_irq); virq 515 arch/powerpc/sysdev/ipic.c static inline struct ipic * ipic_from_irq(unsigned int virq) virq 679 arch/powerpc/sysdev/ipic.c static int ipic_host_map(struct irq_domain *h, unsigned int virq, virq 684 arch/powerpc/sysdev/ipic.c irq_set_chip_data(virq, ipic); virq 685 arch/powerpc/sysdev/ipic.c irq_set_chip_and_handler(virq, &ipic_level_irq_chip, handle_level_irq); virq 688 arch/powerpc/sysdev/ipic.c irq_set_irq_type(virq, IRQ_TYPE_NONE); virq 927 arch/powerpc/sysdev/mpic.c void mpic_set_vector(unsigned int virq, unsigned int vector) virq 929 arch/powerpc/sysdev/mpic.c struct mpic *mpic = mpic_from_irq(virq); virq 930 arch/powerpc/sysdev/mpic.c unsigned int src = virq_to_hw(virq); virq 934 arch/powerpc/sysdev/mpic.c mpic, virq, src, vector); virq 945 arch/powerpc/sysdev/mpic.c static void mpic_set_destination(unsigned int virq, unsigned int cpuid) virq 947 arch/powerpc/sysdev/mpic.c struct mpic *mpic = mpic_from_irq(virq); virq 948 arch/powerpc/sysdev/mpic.c unsigned int src = virq_to_hw(virq); virq 951 arch/powerpc/sysdev/mpic.c mpic, virq, src, cpuid); virq 1000 arch/powerpc/sysdev/mpic.c static int mpic_host_map(struct irq_domain *h, unsigned int virq, virq 1006 arch/powerpc/sysdev/mpic.c DBG("mpic: map virq %d, hwirq 0x%lx\n", virq, hw); virq 1021 arch/powerpc/sysdev/mpic.c irq_set_chip_data(virq, mpic); virq 1022 arch/powerpc/sysdev/mpic.c irq_set_chip_and_handler(virq, &mpic->hc_ipi, virq 1032 arch/powerpc/sysdev/mpic.c irq_set_chip_data(virq, mpic); virq 1033 arch/powerpc/sysdev/mpic.c irq_set_chip_and_handler(virq, &mpic->hc_tm, virq 1038 arch/powerpc/sysdev/mpic.c if (mpic_map_error_int(mpic, virq, hw)) virq 1060 arch/powerpc/sysdev/mpic.c irq_set_chip_data(virq, mpic); virq 1061 arch/powerpc/sysdev/mpic.c irq_set_chip_and_handler(virq, chip, handle_fasteoi_irq); virq 1064 arch/powerpc/sysdev/mpic.c irq_set_irq_type(virq, IRQ_TYPE_DEFAULT); virq 1077 arch/powerpc/sysdev/mpic.c mpic_set_vector(virq, hw); virq 1078 arch/powerpc/sysdev/mpic.c mpic_set_destination(virq, cpu); virq 1079 arch/powerpc/sysdev/mpic.c mpic_irq_set_priority(virq, 8); virq 1169 arch/powerpc/sysdev/mpic.c unsigned int virq; virq 1173 arch/powerpc/sysdev/mpic.c virq = mpic_get_one_irq(mpic); virq 1174 arch/powerpc/sysdev/mpic.c if (virq) virq 1175 arch/powerpc/sysdev/mpic.c generic_handle_irq(virq); virq 1650 arch/powerpc/sysdev/mpic.c int virq = irq_of_parse_and_map(mpic->node, 0); virq 1651 arch/powerpc/sysdev/mpic.c if (virq) { virq 1653 arch/powerpc/sysdev/mpic.c mpic->node, virq); virq 1654 arch/powerpc/sysdev/mpic.c irq_set_handler_data(virq, mpic); virq 1655 arch/powerpc/sysdev/mpic.c irq_set_chained_handler(virq, &mpic_cascade); virq 33 arch/powerpc/sysdev/mpic.h extern void mpic_set_vector(unsigned int virq, unsigned int vector); virq 39 arch/powerpc/sysdev/mpic.h extern int mpic_map_error_int(struct mpic *mpic, unsigned int virq, irq_hw_number_t hw); virq 43 arch/powerpc/sysdev/mpic.h static inline int mpic_map_error_int(struct mpic *mpic, unsigned int virq, irq_hw_number_t hw) virq 122 arch/powerpc/sysdev/mpic_u3msi.c unsigned int virq; virq 152 arch/powerpc/sysdev/mpic_u3msi.c virq = irq_create_mapping(msi_mpic->irqhost, hwirq); virq 153 arch/powerpc/sysdev/mpic_u3msi.c if (!virq) { virq 159 arch/powerpc/sysdev/mpic_u3msi.c irq_set_msi_desc(virq, entry); virq 160 arch/powerpc/sysdev/mpic_u3msi.c irq_set_chip(virq, &mpic_u3msi_chip); virq 161 arch/powerpc/sysdev/mpic_u3msi.c irq_set_irq_type(virq, IRQ_TYPE_EDGE_RISING); virq 164 arch/powerpc/sysdev/mpic_u3msi.c virq, hwirq, (unsigned long)addr); virq 167 arch/powerpc/sysdev/mpic_u3msi.c virq, hwirq, (unsigned long)addr); virq 169 arch/powerpc/sysdev/mpic_u3msi.c pci_write_msi_msg(virq, &msg); virq 373 arch/powerpc/sysdev/tsi108_pci.c static int pci_irq_host_map(struct irq_domain *h, unsigned int virq, virq 376 arch/powerpc/sysdev/tsi108_pci.c DBG("%s(%d, 0x%lx)\n", __func__, virq, hw); virq 377 arch/powerpc/sysdev/tsi108_pci.c if ((virq >= 1) && (virq <= 4)){ virq 378 arch/powerpc/sysdev/tsi108_pci.c irq = virq + IRQ_PCI_INTAD_BASE - 1; virq 160 arch/powerpc/sysdev/xics/ics-opal.c static int ics_opal_map(struct ics *ics, unsigned int virq); virq 177 arch/powerpc/sysdev/xics/ics-opal.c static int ics_opal_map(struct ics *ics, unsigned int virq) virq 179 arch/powerpc/sysdev/xics/ics-opal.c unsigned int hw_irq = (unsigned int)virq_to_hw(virq); virq 192 arch/powerpc/sysdev/xics/ics-opal.c irq_set_chip_and_handler(virq, &ics_opal_irq_chip, handle_fasteoi_irq); virq 193 arch/powerpc/sysdev/xics/ics-opal.c irq_set_chip_data(virq, &ics_hal); virq 27 arch/powerpc/sysdev/xics/ics-rtas.c static int ics_rtas_map(struct ics *ics, unsigned int virq); virq 172 arch/powerpc/sysdev/xics/ics-rtas.c static int ics_rtas_map(struct ics *ics, unsigned int virq) virq 174 arch/powerpc/sysdev/xics/ics-rtas.c unsigned int hw_irq = (unsigned int)virq_to_hw(virq); virq 186 arch/powerpc/sysdev/xics/ics-rtas.c irq_set_chip_and_handler(virq, &ics_rtas_irq_chip, handle_fasteoi_irq); virq 187 arch/powerpc/sysdev/xics/ics-rtas.c irq_set_chip_data(virq, &ics_rtas); virq 184 arch/powerpc/sysdev/xics/xics-common.c unsigned int irq, virq; virq 197 arch/powerpc/sysdev/xics/xics-common.c for_each_irq_desc(virq, desc) { virq 204 arch/powerpc/sysdev/xics/xics-common.c if (virq < NUM_ISA_INTERRUPTS) virq 242 arch/powerpc/sysdev/xics/xics-common.c virq, cpu); virq 246 arch/powerpc/sysdev/xics/xics-common.c irq_set_affinity(virq, cpu_all_mask); virq 278 arch/powerpc/sysdev/xics/xics-common.c int xics_get_irq_server(unsigned int virq, const struct cpumask *cpumask, virq 330 arch/powerpc/sysdev/xics/xics-common.c static int xics_host_map(struct irq_domain *h, unsigned int virq, virq 335 arch/powerpc/sysdev/xics/xics-common.c pr_devel("xics: map virq %d, hwirq 0x%lx\n", virq, hw); virq 342 arch/powerpc/sysdev/xics/xics-common.c irq_clear_status_flags(virq, IRQ_LEVEL); virq 346 arch/powerpc/sysdev/xics/xics-common.c irq_set_chip_and_handler(virq, &xics_ipi_chip, virq 353 arch/powerpc/sysdev/xics/xics-common.c if (ics->map(ics, virq) == 0) virq 1033 arch/powerpc/sysdev/xive/common.c static int xive_irq_alloc_data(unsigned int virq, irq_hw_number_t hw) virq 1047 arch/powerpc/sysdev/xive/common.c irq_set_handler_data(virq, xd); virq 1061 arch/powerpc/sysdev/xive/common.c static void xive_irq_free_data(unsigned int virq) virq 1063 arch/powerpc/sysdev/xive/common.c struct xive_irq_data *xd = irq_get_handler_data(virq); virq 1067 arch/powerpc/sysdev/xive/common.c irq_set_handler_data(virq, NULL); virq 1127 arch/powerpc/sysdev/xive/common.c unsigned int virq; virq 1138 arch/powerpc/sysdev/xive/common.c virq = irq_create_mapping(xive_irq_domain, 0); virq 1139 arch/powerpc/sysdev/xive/common.c xive_ipi_irq = virq; virq 1141 arch/powerpc/sysdev/xive/common.c WARN_ON(request_irq(virq, xive_muxed_ipi_action, virq 1225 arch/powerpc/sysdev/xive/common.c static int xive_irq_domain_map(struct irq_domain *h, unsigned int virq, virq 1234 arch/powerpc/sysdev/xive/common.c irq_clear_status_flags(virq, IRQ_LEVEL); virq 1243 arch/powerpc/sysdev/xive/common.c irq_set_chip_and_handler(virq, &xive_ipi_chip, virq 1249 arch/powerpc/sysdev/xive/common.c rc = xive_irq_alloc_data(virq, hw); virq 1253 arch/powerpc/sysdev/xive/common.c irq_set_chip_and_handler(virq, &xive_irq_chip, handle_fasteoi_irq); virq 1258 arch/powerpc/sysdev/xive/common.c static void xive_irq_domain_unmap(struct irq_domain *d, unsigned int virq) virq 1260 arch/powerpc/sysdev/xive/common.c struct irq_data *data = irq_get_irq_data(virq); virq 1268 arch/powerpc/sysdev/xive/common.c xive_irq_free_data(virq); virq 50 arch/sh/boards/mach-x3proto/gpio.c int virq; virq 53 arch/sh/boards/mach-x3proto/gpio.c virq = irq_create_mapping(x3proto_irq_domain, gpio); virq 55 arch/sh/boards/mach-x3proto/gpio.c virq = -ENXIO; virq 57 arch/sh/boards/mach-x3proto/gpio.c return virq; virq 85 arch/sh/boards/mach-x3proto/gpio.c static int x3proto_gpio_irq_map(struct irq_domain *domain, unsigned int virq, virq 88 arch/sh/boards/mach-x3proto/gpio.c irq_set_chip_and_handler_name(virq, &dummy_irq_chip, handle_simple_irq, virq 224 arch/sparc/include/asm/leon.h void leon_update_virq_handling(unsigned int virq, virq 248 arch/sparc/kernel/leon_kernel.c void leon_update_virq_handling(unsigned int virq, virq 252 arch/sparc/kernel/leon_kernel.c unsigned long mask = (unsigned long)irq_get_chip_data(virq); virq 258 arch/sparc/kernel/leon_kernel.c irq_set_chip_and_handler_name(virq, &leon_irq, virq 260 arch/sparc/kernel/leon_kernel.c irq_set_chip_data(virq, (void *)mask); virq 398 arch/sparc/kernel/leon_pci_grpci1.c unsigned int virq = 0, pil; virq 401 arch/sparc/kernel/leon_pci_grpci1.c virq = irq_alloc(irq, pil); virq 402 arch/sparc/kernel/leon_pci_grpci1.c if (virq == 0) virq 405 arch/sparc/kernel/leon_pci_grpci1.c irq_set_chip_and_handler_name(virq, &grpci1_irq, handle_simple_irq, virq 407 arch/sparc/kernel/leon_pci_grpci1.c irq_set_chip_data(virq, (void *)irq); virq 410 arch/sparc/kernel/leon_pci_grpci1.c return virq; virq 550 arch/sparc/kernel/leon_pci_grpci2.c unsigned int virq = 0, pil; virq 553 arch/sparc/kernel/leon_pci_grpci2.c virq = irq_alloc(irq, pil); virq 554 arch/sparc/kernel/leon_pci_grpci2.c if (virq == 0) virq 557 arch/sparc/kernel/leon_pci_grpci2.c irq_set_chip_and_handler_name(virq, &grpci2_irq, handle_simple_irq, virq 559 arch/sparc/kernel/leon_pci_grpci2.c irq_set_chip_data(virq, (void *)irq); virq 562 arch/sparc/kernel/leon_pci_grpci2.c return virq; virq 42 arch/x86/include/asm/irqdomain.h extern int mp_irqdomain_alloc(struct irq_domain *domain, unsigned int virq, virq 44 arch/x86/include/asm/irqdomain.h extern void mp_irqdomain_free(struct irq_domain *domain, unsigned int virq, virq 2974 arch/x86/kernel/apic/io_apic.c int mp_irqdomain_alloc(struct irq_domain *domain, unsigned int virq, virq 2986 arch/x86/kernel/apic/io_apic.c irq_data = irq_domain_get_irq_data(domain, virq); virq 3000 arch/x86/kernel/apic/io_apic.c ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, info); virq 3019 arch/x86/kernel/apic/io_apic.c mp_register_handler(virq, data->trigger); virq 3020 arch/x86/kernel/apic/io_apic.c if (virq < nr_legacy_irqs()) virq 3021 arch/x86/kernel/apic/io_apic.c legacy_pic->mask(virq); virq 3027 arch/x86/kernel/apic/io_apic.c virq, data->trigger, data->polarity, cfg->dest_apicid); virq 3032 arch/x86/kernel/apic/io_apic.c void mp_irqdomain_free(struct irq_domain *domain, unsigned int virq, virq 3039 arch/x86/kernel/apic/io_apic.c irq_data = irq_domain_get_irq_data(domain, virq); virq 3047 arch/x86/kernel/apic/io_apic.c irq_domain_free_irqs_top(domain, virq, nr_irqs); virq 333 arch/x86/kernel/apic/msi.c struct msi_domain_info *info, unsigned int virq, virq 336 arch/x86/kernel/apic/msi.c irq_domain_set_info(domain, virq, arg->dmar_id, info->chip, NULL, virq 430 arch/x86/kernel/apic/msi.c struct msi_domain_info *info, unsigned int virq, virq 433 arch/x86/kernel/apic/msi.c irq_set_status_flags(virq, IRQ_MOVE_PCNTXT); virq 434 arch/x86/kernel/apic/msi.c irq_domain_set_info(domain, virq, arg->hpet_index, info->chip, NULL, virq 441 arch/x86/kernel/apic/msi.c struct msi_domain_info *info, unsigned int virq) virq 443 arch/x86/kernel/apic/msi.c irq_clear_status_flags(virq, IRQ_MOVE_PCNTXT); virq 479 arch/x86/kernel/apic/vector.c unsigned int virq, unsigned int nr_irqs) virq 487 arch/x86/kernel/apic/vector.c irqd = irq_domain_get_irq_data(x86_vector_domain, virq + i); virq 500 arch/x86/kernel/apic/vector.c static bool vector_configure_legacy(unsigned int virq, struct irq_data *irqd, virq 506 arch/x86/kernel/apic/vector.c apicd->vector = ISA_IRQ_VECTOR(virq); virq 515 arch/x86/kernel/apic/vector.c trace_vector_setup(virq, true, 0); virq 528 arch/x86/kernel/apic/vector.c static int x86_vector_alloc_irqs(struct irq_domain *domain, unsigned int virq, virq 544 arch/x86/kernel/apic/vector.c irqd = irq_domain_get_irq_data(domain, virq + i); virq 554 arch/x86/kernel/apic/vector.c apicd->irq = virq + i; virq 557 arch/x86/kernel/apic/vector.c irqd->hwirq = virq + i; virq 567 arch/x86/kernel/apic/vector.c if (!vector_configure_legacy(virq + i, irqd, apicd)) virq 572 arch/x86/kernel/apic/vector.c trace_vector_setup(virq + i, false, err); virq 583 arch/x86/kernel/apic/vector.c x86_vector_free_irqs(domain, virq, i); virq 88 arch/x86/kernel/devicetree.c u32 virq; virq 98 arch/x86/kernel/devicetree.c virq = of_irq_parse_and_map_pci(dev, 0, 0); virq 99 arch/x86/kernel/devicetree.c if (virq == 0) virq 101 arch/x86/kernel/devicetree.c dev->irq = virq; virq 214 arch/x86/kernel/devicetree.c static int dt_irqdomain_alloc(struct irq_domain *domain, unsigned int virq, virq 234 arch/x86/kernel/devicetree.c return mp_irqdomain_alloc(domain, virq, nr_irqs, &tmp); virq 75 arch/x86/platform/uv/uv_irq.c static int uv_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 80 arch/x86/platform/uv/uv_irq.c struct irq_data *irq_data = irq_domain_get_irq_data(domain, virq); virq 91 arch/x86/platform/uv/uv_irq.c ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, arg); virq 94 arch/x86/platform/uv/uv_irq.c irq_set_status_flags(virq, IRQ_NO_BALANCING); virq 96 arch/x86/platform/uv/uv_irq.c irq_set_status_flags(virq, IRQ_MOVE_PCNTXT); virq 100 arch/x86/platform/uv/uv_irq.c irq_domain_set_info(domain, virq, virq, &uv_irq_chip, chip_data, virq 109 arch/x86/platform/uv/uv_irq.c static void uv_domain_free(struct irq_domain *domain, unsigned int virq, virq 112 arch/x86/platform/uv/uv_irq.c struct irq_data *irq_data = irq_domain_get_irq_data(domain, virq); virq 116 arch/x86/platform/uv/uv_irq.c irq_clear_status_flags(virq, IRQ_MOVE_PCNTXT); virq 117 arch/x86/platform/uv/uv_irq.c irq_clear_status_flags(virq, IRQ_NO_BALANCING); virq 118 arch/x86/platform/uv/uv_irq.c irq_domain_free_irqs_top(domain, virq, nr_irqs); virq 56 drivers/base/platform-msi.c unsigned int virq, irq_hw_number_t hwirq, virq 59 drivers/base/platform-msi.c return irq_domain_set_hwirq_and_chip(domain, virq, hwirq, virq 122 drivers/base/platform-msi.c static int platform_msi_alloc_descs_with_irq(struct device *dev, int virq, virq 143 drivers/base/platform-msi.c desc->irq = virq ? virq + i : 0; virq 367 drivers/base/platform-msi.c void platform_msi_domain_free(struct irq_domain *domain, unsigned int virq, virq 375 drivers/base/platform-msi.c if (!(desc->irq >= virq && desc->irq < (virq + nvec))) virq 396 drivers/base/platform-msi.c int platform_msi_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 402 drivers/base/platform-msi.c err = platform_msi_alloc_descs_with_irq(data->dev, virq, nr_irqs, data); virq 407 drivers/base/platform-msi.c virq, nr_irqs, &data->arg); virq 409 drivers/base/platform-msi.c platform_msi_domain_free(domain, virq, nr_irqs); virq 524 drivers/base/regmap/regmap-irq.c static int regmap_irq_map(struct irq_domain *h, unsigned int virq, virq 529 drivers/base/regmap/regmap-irq.c irq_set_chip_data(virq, data); virq 530 drivers/base/regmap/regmap-irq.c irq_set_chip(virq, &data->irq_chip); virq 531 drivers/base/regmap/regmap-irq.c irq_set_nested_thread(virq, 1); virq 532 drivers/base/regmap/regmap-irq.c irq_set_parent(virq, data->irq); virq 533 drivers/base/regmap/regmap-irq.c irq_set_noprobe(virq); virq 823 drivers/base/regmap/regmap-irq.c unsigned int virq; virq 841 drivers/base/regmap/regmap-irq.c virq = irq_find_mapping(d->domain, hwirq); virq 842 drivers/base/regmap/regmap-irq.c if (virq) virq 843 drivers/base/regmap/regmap-irq.c irq_dispose_mapping(virq); virq 42 drivers/extcon/extcon-max14577.c unsigned int virq; virq 579 drivers/extcon/extcon-max14577.c if (irq == info->muic_irqs[i].virq) virq 692 drivers/extcon/extcon-max14577.c int virq = 0; virq 694 drivers/extcon/extcon-max14577.c virq = regmap_irq_get_virq(max14577->irq_data, muic_irq->irq); virq 695 drivers/extcon/extcon-max14577.c if (virq <= 0) virq 697 drivers/extcon/extcon-max14577.c muic_irq->virq = virq; virq 699 drivers/extcon/extcon-max14577.c ret = devm_request_threaded_irq(&pdev->dev, virq, NULL, virq 124 drivers/extcon/extcon-max77693.c unsigned int virq; virq 948 drivers/extcon/extcon-max77693.c if (info->irq == muic_irqs[i].virq) virq 1135 drivers/extcon/extcon-max77693.c int virq; virq 1137 drivers/extcon/extcon-max77693.c virq = regmap_irq_get_virq(max77693->irq_data_muic, virq 1139 drivers/extcon/extcon-max77693.c if (virq <= 0) virq 1141 drivers/extcon/extcon-max77693.c muic_irq->virq = virq; virq 1143 drivers/extcon/extcon-max77693.c ret = devm_request_threaded_irq(&pdev->dev, virq, NULL, virq 137 drivers/extcon/extcon-max77843.c unsigned int virq; virq 668 drivers/extcon/extcon-max77843.c if (irq == max77843_muic_irqs[i].virq) virq 897 drivers/extcon/extcon-max77843.c int virq = 0; virq 899 drivers/extcon/extcon-max77843.c virq = regmap_irq_get_virq(max77843->irq_data_muic, virq 901 drivers/extcon/extcon-max77843.c if (virq <= 0) { virq 905 drivers/extcon/extcon-max77843.c muic_irq->virq = virq; virq 907 drivers/extcon/extcon-max77843.c ret = devm_request_threaded_irq(&pdev->dev, virq, NULL, virq 34 drivers/extcon/extcon-max8997.c unsigned int virq; virq 518 drivers/extcon/extcon-max8997.c if (info->irq == muic_irqs[i].virq) virq 652 drivers/extcon/extcon-max8997.c unsigned int virq = 0; virq 654 drivers/extcon/extcon-max8997.c virq = irq_create_mapping(max8997->irq_domain, muic_irq->irq); virq 655 drivers/extcon/extcon-max8997.c if (!virq) { virq 659 drivers/extcon/extcon-max8997.c muic_irq->virq = virq; virq 661 drivers/extcon/extcon-max8997.c ret = request_threaded_irq(virq, NULL, virq 758 drivers/extcon/extcon-max8997.c free_irq(muic_irqs[i].virq, info); virq 768 drivers/extcon/extcon-max8997.c free_irq(muic_irqs[i].virq, info); virq 28 drivers/extcon/extcon-rt8973a.c unsigned int virq; virq 451 drivers/extcon/extcon-rt8973a.c if (irq == info->muic_irqs[i].virq) virq 599 drivers/extcon/extcon-rt8973a.c int virq = 0; virq 601 drivers/extcon/extcon-rt8973a.c virq = regmap_irq_get_virq(info->irq_data, muic_irq->irq); virq 602 drivers/extcon/extcon-rt8973a.c if (virq <= 0) virq 604 drivers/extcon/extcon-rt8973a.c muic_irq->virq = virq; virq 606 drivers/extcon/extcon-rt8973a.c ret = devm_request_threaded_irq(info->dev, virq, NULL, virq 27 drivers/extcon/extcon-sm5502.c unsigned int virq; virq 489 drivers/extcon/extcon-sm5502.c if (irq == info->muic_irqs[i].virq) virq 595 drivers/extcon/extcon-sm5502.c int virq = 0; virq 597 drivers/extcon/extcon-sm5502.c virq = regmap_irq_get_virq(info->irq_data, muic_irq->irq); virq 598 drivers/extcon/extcon-sm5502.c if (virq <= 0) virq 600 drivers/extcon/extcon-sm5502.c muic_irq->virq = virq; virq 602 drivers/extcon/extcon-sm5502.c ret = devm_request_threaded_irq(info->dev, virq, NULL, virq 389 drivers/gpio/gpio-brcmstb.c int offset, ret = 0, virq; virq 402 drivers/gpio/gpio-brcmstb.c virq = irq_find_mapping(priv->irq_domain, offset); virq 403 drivers/gpio/gpio-brcmstb.c irq_dispose_mapping(virq); virq 277 drivers/gpio/gpio-crystalcove.c unsigned int virq; virq 289 drivers/gpio/gpio-crystalcove.c virq = irq_find_mapping(cg->chip.irq.domain, gpio); virq 290 drivers/gpio/gpio-crystalcove.c handle_nested_irq(virq); virq 164 drivers/gpio/gpio-lpc18xx.c unsigned int virq, virq 187 drivers/gpio/gpio-lpc18xx.c ret = irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); virq 194 drivers/gpio/gpio-lpc18xx.c return irq_domain_set_hwirq_and_chip(domain, virq, hwirq, virq 428 drivers/gpio/gpio-thunderx.c static int thunderx_gpio_irq_alloc(struct irq_domain *d, unsigned int virq, virq 433 drivers/gpio/gpio-thunderx.c return irq_domain_set_hwirq_and_chip(d, virq, txline->line, virq 263 drivers/gpio/gpio-uniphier.c unsigned int virq, virq 290 drivers/gpio/gpio-uniphier.c ret = irq_domain_set_hwirq_and_chip(domain, virq, hwirq, virq 295 drivers/gpio/gpio-uniphier.c return irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); virq 324 drivers/gpio/gpio-wcove.c unsigned int pending, virq, gpio, mask, offset; virq 344 drivers/gpio/gpio-wcove.c virq = irq_find_mapping(wg->chip.irq.domain, gpio); virq 345 drivers/gpio/gpio-wcove.c handle_nested_irq(virq); virq 398 drivers/gpio/gpio-wcove.c int virq, ret, irq; virq 455 drivers/gpio/gpio-wcove.c virq = regmap_irq_get_virq(wg->regmap_irq_chip, irq); virq 456 drivers/gpio/gpio-wcove.c if (virq < 0) { virq 458 drivers/gpio/gpio-wcove.c return virq; virq 461 drivers/gpio/gpio-wcove.c ret = devm_request_threaded_irq(dev, virq, NULL, virq 464 drivers/gpio/gpio-wcove.c dev_err(dev, "Failed to request irq %d\n", virq); virq 468 drivers/gpio/gpio-wcove.c gpiochip_set_nested_irqchip(&wg->chip, &wcove_irqchip, virq); virq 177 drivers/gpio/gpio-xgene-sb.c unsigned int virq, virq 188 drivers/gpio/gpio-xgene-sb.c irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i, virq 205 drivers/gpio/gpio-xgene-sb.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, virq 400 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c } else if (adev->irq.virq[src_id]) { virq 669 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c adev->irq.virq[src_id] = irq_create_mapping(adev->irq.domain, src_id); virq 671 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c return adev->irq.virq[src_id]; virq 98 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h unsigned virq[AMDGPU_MAX_IRQ_SRC_ID]; virq 1115 drivers/gpu/ipu-v3/ipu-common.c int virq; virq 1117 drivers/gpu/ipu-v3/ipu-common.c virq = irq_linear_revmap(ipu->domain, irq); virq 1118 drivers/gpu/ipu-v3/ipu-common.c if (!virq) virq 1119 drivers/gpu/ipu-v3/ipu-common.c virq = irq_create_mapping(ipu->domain, irq); virq 1121 drivers/gpu/ipu-v3/ipu-common.c return virq; virq 1095 drivers/hid/hid-cp2112.c int irq, virq, ret; virq 1106 drivers/hid/hid-cp2112.c virq = ffs(virqs) - 1; virq 1107 drivers/hid/hid-cp2112.c virqs &= ~BIT(virq); virq 1112 drivers/hid/hid-cp2112.c irq = dev->gc.to_irq(&dev->gc, virq); virq 1120 drivers/hid/hid-cp2112.c if (gpio_mask & BIT(virq)) { virq 1127 drivers/hid/hid-cp2112.c !(dev->gpio_prev_state & BIT(virq))) virq 1136 drivers/hid/hid-cp2112.c (dev->gpio_prev_state & BIT(virq))) virq 611 drivers/hid/hid-rmi.c static int rmi_irq_map(struct irq_domain *h, unsigned int virq, virq 614 drivers/hid/hid-rmi.c irq_set_chip_and_handler(virq, &dummy_irq_chip, handle_simple_irq); virq 1260 drivers/i2c/i2c-core-base.c unsigned int virq, virq 1263 drivers/i2c/i2c-core-base.c irq_set_chip_and_handler(virq, &dummy_irq_chip, handle_simple_irq); virq 696 drivers/iio/adc/mxs-lradc-adc.c int ret, irq, virq, i, s, n; virq 752 drivers/iio/adc/mxs-lradc-adc.c virq = irq_of_parse_and_map(dev->parent->of_node, irq); virq 754 drivers/iio/adc/mxs-lradc-adc.c ret = devm_request_irq(dev, virq, mxs_lradc_adc_handle_irq, virq 609 drivers/input/touchscreen/mxs-lradc-ts.c int ret, irq, virq, i; virq 678 drivers/input/touchscreen/mxs-lradc-ts.c virq = irq_of_parse_and_map(node, irq); virq 682 drivers/input/touchscreen/mxs-lradc-ts.c ret = devm_request_irq(dev, virq, virq 4232 drivers/iommu/amd_iommu.c static int irq_remapping_alloc(struct irq_domain *domain, unsigned int virq, virq 4259 drivers/iommu/amd_iommu.c ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, arg); virq 4300 drivers/iommu/amd_iommu.c irq_data = irq_domain_get_irq_data(domain, virq + i); virq 4326 drivers/iommu/amd_iommu.c irq_set_status_flags(virq + i, IRQ_MOVE_PCNTXT); virq 4333 drivers/iommu/amd_iommu.c irq_data = irq_domain_get_irq_data(domain, virq + i); virq 4340 drivers/iommu/amd_iommu.c irq_domain_free_irqs_common(domain, virq, nr_irqs); virq 4344 drivers/iommu/amd_iommu.c static void irq_remapping_free(struct irq_domain *domain, unsigned int virq, virq 4353 drivers/iommu/amd_iommu.c irq_data = irq_domain_get_irq_data(domain, virq + i); virq 4362 drivers/iommu/amd_iommu.c irq_domain_free_irqs_common(domain, virq, nr_irqs); virq 69 drivers/iommu/hyperv-iommu.c unsigned int virq, unsigned int nr_irqs, virq 80 drivers/iommu/hyperv-iommu.c ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, arg); virq 84 drivers/iommu/hyperv-iommu.c irq_data = irq_domain_get_irq_data(domain, virq); virq 86 drivers/iommu/hyperv-iommu.c irq_domain_free_irqs_common(domain, virq, nr_irqs); virq 117 drivers/iommu/hyperv-iommu.c unsigned int virq, unsigned int nr_irqs) virq 119 drivers/iommu/hyperv-iommu.c irq_domain_free_irqs_common(domain, virq, nr_irqs); virq 1322 drivers/iommu/intel_irq_remapping.c unsigned int virq, unsigned int nr_irqs) virq 1330 drivers/iommu/intel_irq_remapping.c irq_data = irq_domain_get_irq_data(domain, virq + i); virq 1344 drivers/iommu/intel_irq_remapping.c unsigned int virq, unsigned int nr_irqs, virq 1367 drivers/iommu/intel_irq_remapping.c ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, arg); virq 1386 drivers/iommu/intel_irq_remapping.c irq_data = irq_domain_get_irq_data(domain, virq + i); virq 1408 drivers/iommu/intel_irq_remapping.c irq_set_status_flags(virq + i, IRQ_MOVE_PCNTXT); virq 1413 drivers/iommu/intel_irq_remapping.c intel_free_irq_resources(domain, virq, i); virq 1415 drivers/iommu/intel_irq_remapping.c irq_domain_free_irqs_common(domain, virq, nr_irqs); virq 1420 drivers/iommu/intel_irq_remapping.c unsigned int virq, unsigned int nr_irqs) virq 1422 drivers/iommu/intel_irq_remapping.c intel_free_irq_resources(domain, virq, nr_irqs); virq 1423 drivers/iommu/intel_irq_remapping.c irq_domain_free_irqs_common(domain, virq, nr_irqs); virq 120 drivers/irqchip/irq-alpine-msi.c unsigned int virq, int sgi) virq 135 drivers/irqchip/irq-alpine-msi.c ret = irq_domain_alloc_irqs_parent(domain, virq, 1, &fwspec); virq 139 drivers/irqchip/irq-alpine-msi.c d = irq_domain_get_irq_data(domain->parent, virq); virq 146 drivers/irqchip/irq-alpine-msi.c unsigned int virq, virq 157 drivers/irqchip/irq-alpine-msi.c err = alpine_msix_gic_domain_alloc(domain, virq + i, sgi + i); virq 161 drivers/irqchip/irq-alpine-msi.c irq_domain_set_hwirq_and_chip(domain, virq + i, sgi + i, virq 169 drivers/irqchip/irq-alpine-msi.c irq_domain_free_irqs_parent(domain, virq, i); virq 175 drivers/irqchip/irq-alpine-msi.c unsigned int virq, virq 178 drivers/irqchip/irq-alpine-msi.c struct irq_data *d = irq_domain_get_irq_data(domain, virq); virq 181 drivers/irqchip/irq-alpine-msi.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); virq 229 drivers/irqchip/irq-armada-370-xp.c static int armada_370_xp_msi_alloc(struct irq_domain *domain, unsigned int virq, virq 247 drivers/irqchip/irq-armada-370-xp.c irq_domain_set_info(domain, virq + i, hwirq + i, virq 257 drivers/irqchip/irq-armada-370-xp.c unsigned int virq, unsigned int nr_irqs) virq 259 drivers/irqchip/irq-armada-370-xp.c struct irq_data *d = irq_domain_get_irq_data(domain, virq); virq 351 drivers/irqchip/irq-armada-370-xp.c unsigned int virq, irq_hw_number_t hw) virq 353 drivers/irqchip/irq-armada-370-xp.c armada_370_xp_irq_mask(irq_get_irq_data(virq)); virq 359 drivers/irqchip/irq-armada-370-xp.c irq_set_status_flags(virq, IRQ_LEVEL); virq 362 drivers/irqchip/irq-armada-370-xp.c irq_set_percpu_devid(virq); virq 363 drivers/irqchip/irq-armada-370-xp.c irq_set_chip_and_handler(virq, &armada_370_xp_irq_chip, virq 366 drivers/irqchip/irq-armada-370-xp.c irq_set_chip_and_handler(virq, &armada_370_xp_irq_chip, virq 368 drivers/irqchip/irq-armada-370-xp.c irqd_set_single_target(irq_desc_get_irq_data(irq_to_desc(virq))); virq 370 drivers/irqchip/irq-armada-370-xp.c irq_set_probe(virq); virq 435 drivers/irqchip/irq-armada-370-xp.c int virq; virq 437 drivers/irqchip/irq-armada-370-xp.c virq = irq_linear_revmap(armada_370_xp_mpic_domain, irq); virq 438 drivers/irqchip/irq-armada-370-xp.c if (virq == 0) virq 441 drivers/irqchip/irq-armada-370-xp.c data = irq_get_irq_data(virq); virq 443 drivers/irqchip/irq-armada-370-xp.c if (!irq_percpu_is_enabled(virq)) virq 603 drivers/irqchip/irq-armada-370-xp.c int virq; virq 605 drivers/irqchip/irq-armada-370-xp.c virq = irq_linear_revmap(armada_370_xp_mpic_domain, irq); virq 606 drivers/irqchip/irq-armada-370-xp.c if (virq == 0) virq 609 drivers/irqchip/irq-armada-370-xp.c data = irq_get_irq_data(virq); virq 627 drivers/irqchip/irq-armada-370-xp.c if (irq_percpu_is_enabled(virq)) virq 71 drivers/irqchip/irq-ativic32.c static int ativic32_irq_domain_map(struct irq_domain *id, unsigned int virq, virq 79 drivers/irqchip/irq-ativic32.c irq_data = irq_get_irq_data(virq); virq 84 drivers/irqchip/irq-ativic32.c irq_set_chip_and_handler(virq, &ativic32_chip, handle_edge_irq); virq 87 drivers/irqchip/irq-ativic32.c irq_set_chip_and_handler(virq, &ativic32_chip, handle_level_irq); virq 287 drivers/irqchip/irq-bcm6345-l1.c static int bcm6345_l1_map(struct irq_domain *d, unsigned int virq, virq 290 drivers/irqchip/irq-bcm6345-l1.c irq_set_chip_and_handler(virq, virq 292 drivers/irqchip/irq-bcm6345-l1.c irq_set_chip_data(virq, d->host_data); virq 293 drivers/irqchip/irq-bcm6345-l1.c irqd_set_single_target(irq_desc_get_irq_data(irq_to_desc(virq))); virq 304 drivers/irqchip/irq-bcm7038-l1.c static int bcm7038_l1_map(struct irq_domain *d, unsigned int virq, virq 307 drivers/irqchip/irq-bcm7038-l1.c irq_set_chip_and_handler(virq, &bcm7038_l1_irq_chip, handle_level_irq); virq 308 drivers/irqchip/irq-bcm7038-l1.c irq_set_chip_data(virq, d->host_data); virq 309 drivers/irqchip/irq-bcm7038-l1.c irqd_set_single_target(irq_desc_get_irq_data(irq_to_desc(virq))); virq 127 drivers/irqchip/irq-clps711x.c static int __init clps711x_intc_irq_map(struct irq_domain *h, unsigned int virq, virq 147 drivers/irqchip/irq-clps711x.c irq_set_chip_and_handler(virq, &clps711x_intc_chip, handler); virq 148 drivers/irqchip/irq-clps711x.c irq_modify_status(virq, IRQ_NOPROBE, flags); virq 74 drivers/irqchip/irq-crossbar.c static int allocate_gic_irq(struct irq_domain *domain, unsigned virq, virq 102 drivers/irqchip/irq-crossbar.c err = irq_domain_alloc_irqs_parent(domain, virq, 1, &fwspec); virq 111 drivers/irqchip/irq-crossbar.c static int crossbar_domain_alloc(struct irq_domain *d, unsigned int virq, virq 128 drivers/irqchip/irq-crossbar.c int err = allocate_gic_irq(d, virq + i, hwirq + i); virq 133 drivers/irqchip/irq-crossbar.c irq_domain_set_hwirq_and_chip(d, virq + i, hwirq + i, virq 152 drivers/irqchip/irq-crossbar.c static void crossbar_domain_free(struct irq_domain *domain, unsigned int virq, virq 159 drivers/irqchip/irq-crossbar.c struct irq_data *d = irq_domain_get_irq_data(domain, virq + i); virq 141 drivers/irqchip/irq-davinci-cp-intc.c static int davinci_cp_intc_host_map(struct irq_domain *h, unsigned int virq, virq 144 drivers/irqchip/irq-davinci-cp-intc.c pr_debug("cp_intc_host_map(%d, 0x%lx)\n", virq, hw); virq 146 drivers/irqchip/irq-davinci-cp-intc.c irq_set_chip(virq, &davinci_cp_intc_irq_chip); virq 147 drivers/irqchip/irq-davinci-cp-intc.c irq_set_probe(virq); virq 148 drivers/irqchip/irq-davinci-cp-intc.c irq_set_handler(virq, handle_edge_irq); virq 43 drivers/irqchip/irq-dw-apb-ictl.c u32 virq = irq_find_mapping(d, gc->irq_base + hwirq); virq 45 drivers/irqchip/irq-dw-apb-ictl.c generic_handle_irq(virq); virq 109 drivers/irqchip/irq-eznps.c static int nps400_irq_map(struct irq_domain *d, unsigned int virq, virq 117 drivers/irqchip/irq-eznps.c irq_set_percpu_devid(virq); virq 118 drivers/irqchip/irq-eznps.c irq_set_chip_and_handler(virq, &nps400_irq_chip_percpu, virq 122 drivers/irqchip/irq-eznps.c irq_set_chip_and_handler(virq, &nps400_irq_chip_fasteoi, virq 135 drivers/irqchip/irq-gic-v2m.c unsigned int virq, virq 157 drivers/irqchip/irq-gic-v2m.c err = irq_domain_alloc_irqs_parent(domain, virq, 1, &fwspec); virq 162 drivers/irqchip/irq-gic-v2m.c d = irq_domain_get_irq_data(domain->parent, virq); virq 176 drivers/irqchip/irq-gic-v2m.c static int gicv2m_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 205 drivers/irqchip/irq-gic-v2m.c err = gicv2m_irq_gic_domain_alloc(domain, virq + i, hwirq + i); virq 209 drivers/irqchip/irq-gic-v2m.c irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i, virq 216 drivers/irqchip/irq-gic-v2m.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); virq 222 drivers/irqchip/irq-gic-v2m.c unsigned int virq, unsigned int nr_irqs) virq 224 drivers/irqchip/irq-gic-v2m.c struct irq_data *d = irq_domain_get_irq_data(domain, virq); virq 228 drivers/irqchip/irq-gic-v2m.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); virq 2555 drivers/irqchip/irq-gic-v3-its.c unsigned int virq, virq 2575 drivers/irqchip/irq-gic-v3-its.c return irq_domain_alloc_irqs_parent(domain, virq, 1, &fwspec); virq 2578 drivers/irqchip/irq-gic-v3-its.c static int its_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 2597 drivers/irqchip/irq-gic-v3-its.c err = its_irq_gic_domain_alloc(domain, virq + i, hwirq + i); virq 2601 drivers/irqchip/irq-gic-v3-its.c irq_domain_set_hwirq_and_chip(domain, virq + i, virq 2603 drivers/irqchip/irq-gic-v3-its.c irqd_set_single_target(irq_desc_get_irq_data(irq_to_desc(virq + i))); virq 2606 drivers/irqchip/irq-gic-v3-its.c (int)(hwirq + i), virq + i); virq 2651 drivers/irqchip/irq-gic-v3-its.c static void its_irq_domain_free(struct irq_domain *domain, unsigned int virq, virq 2654 drivers/irqchip/irq-gic-v3-its.c struct irq_data *d = irq_domain_get_irq_data(domain, virq); virq 2660 drivers/irqchip/irq-gic-v3-its.c its_get_event_id(irq_domain_get_irq_data(domain, virq)), virq 2665 drivers/irqchip/irq-gic-v3-its.c virq + i); virq 2691 drivers/irqchip/irq-gic-v3-its.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); virq 3052 drivers/irqchip/irq-gic-v3-its.c unsigned int virq, virq 3058 drivers/irqchip/irq-gic-v3-its.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); virq 3062 drivers/irqchip/irq-gic-v3-its.c virq + i); virq 3078 drivers/irqchip/irq-gic-v3-its.c static int its_vpe_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 3113 drivers/irqchip/irq-gic-v3-its.c err = its_irq_gic_domain_alloc(domain, virq + i, virq 3117 drivers/irqchip/irq-gic-v3-its.c irq_domain_set_hwirq_and_chip(domain, virq + i, i, virq 3124 drivers/irqchip/irq-gic-v3-its.c its_vpe_irq_domain_free(domain, virq, i - 1); virq 42 drivers/irqchip/irq-gic-v3-mbi.c unsigned int virq, virq 67 drivers/irqchip/irq-gic-v3-mbi.c err = irq_domain_alloc_irqs_parent(domain, virq, 1, &fwspec); virq 71 drivers/irqchip/irq-gic-v3-mbi.c d = irq_domain_get_irq_data(domain->parent, virq); virq 84 drivers/irqchip/irq-gic-v3-mbi.c static int mbi_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 114 drivers/irqchip/irq-gic-v3-mbi.c err = mbi_irq_gic_domain_alloc(domain, virq + i, hwirq + i); virq 118 drivers/irqchip/irq-gic-v3-mbi.c irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i, virq 125 drivers/irqchip/irq-gic-v3-mbi.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); virq 131 drivers/irqchip/irq-gic-v3-mbi.c unsigned int virq, unsigned int nr_irqs) virq 133 drivers/irqchip/irq-gic-v3-mbi.c struct irq_data *d = irq_domain_get_irq_data(domain, virq); virq 137 drivers/irqchip/irq-gic-v3-mbi.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); virq 1340 drivers/irqchip/irq-gic-v3.c static int gic_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 1353 drivers/irqchip/irq-gic-v3.c ret = gic_irq_domain_map(domain, virq + i, hwirq + i); virq 1361 drivers/irqchip/irq-gic-v3.c static void gic_irq_domain_free(struct irq_domain *domain, unsigned int virq, virq 1367 drivers/irqchip/irq-gic-v3.c struct irq_data *d = irq_domain_get_irq_data(domain, virq + i); virq 1368 drivers/irqchip/irq-gic-v3.c irq_set_handler(virq + i, NULL); virq 1045 drivers/irqchip/irq-gic.c static int gic_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 1058 drivers/irqchip/irq-gic.c ret = gic_irq_domain_map(domain, virq + i, hwirq + i); virq 37 drivers/irqchip/irq-goldfish-pic.c u32 pending, hwirq, virq; virq 44 drivers/irqchip/irq-goldfish-pic.c virq = irq_linear_revmap(gfpic->irq_domain, hwirq); virq 45 drivers/irqchip/irq-goldfish-pic.c generic_handle_irq(virq); virq 294 drivers/irqchip/irq-i8259.c static int i8259A_irq_domain_map(struct irq_domain *d, unsigned int virq, virq 297 drivers/irqchip/irq-i8259.c irq_set_chip_and_handler(virq, &i8259A_chip, handle_level_irq); virq 298 drivers/irqchip/irq-i8259.c irq_set_probe(virq); virq 125 drivers/irqchip/irq-imx-irqsteer.c int pos, virq; virq 134 drivers/irqchip/irq-imx-irqsteer.c virq = irq_find_mapping(data->domain, pos + hwirq); virq 135 drivers/irqchip/irq-imx-irqsteer.c if (virq) virq 136 drivers/irqchip/irq-imx-irqsteer.c generic_handle_irq(virq); virq 92 drivers/irqchip/irq-keystone.c int src, virq; virq 107 drivers/irqchip/irq-keystone.c virq = irq_find_mapping(kirq->irqd, src); virq 109 drivers/irqchip/irq-keystone.c src, virq); virq 110 drivers/irqchip/irq-keystone.c if (!virq) virq 112 drivers/irqchip/irq-keystone.c src, virq); virq 114 drivers/irqchip/irq-keystone.c generic_handle_irq(virq); virq 124 drivers/irqchip/irq-keystone.c static int keystone_irq_map(struct irq_domain *h, unsigned int virq, virq 129 drivers/irqchip/irq-keystone.c irq_set_chip_data(virq, kirq); virq 130 drivers/irqchip/irq-keystone.c irq_set_chip_and_handler(virq, &kirq->chip, handle_level_irq); virq 131 drivers/irqchip/irq-keystone.c irq_set_probe(virq); virq 150 drivers/irqchip/irq-lpc32xx.c static int lpc32xx_irq_domain_map(struct irq_domain *id, unsigned int virq, virq 155 drivers/irqchip/irq-lpc32xx.c irq_set_chip_data(virq, ic); virq 156 drivers/irqchip/irq-lpc32xx.c irq_set_chip_and_handler(virq, &ic->chip, handle_level_irq); virq 157 drivers/irqchip/irq-lpc32xx.c irq_set_status_flags(virq, IRQ_LEVEL); virq 158 drivers/irqchip/irq-lpc32xx.c irq_set_noprobe(virq); virq 163 drivers/irqchip/irq-lpc32xx.c static void lpc32xx_irq_domain_unmap(struct irq_domain *id, unsigned int virq) virq 165 drivers/irqchip/irq-lpc32xx.c irq_set_chip_and_handler(virq, NULL, NULL); virq 137 drivers/irqchip/irq-ls-scfg-msi.c unsigned int virq, virq 162 drivers/irqchip/irq-ls-scfg-msi.c irq_domain_set_info(domain, virq, pos, virq 170 drivers/irqchip/irq-ls-scfg-msi.c unsigned int virq, unsigned int nr_irqs) virq 172 drivers/irqchip/irq-ls-scfg-msi.c struct irq_data *d = irq_domain_get_irq_data(domain, virq); virq 197 drivers/irqchip/irq-ls-scfg-msi.c int pos, size, virq, hwirq; virq 209 drivers/irqchip/irq-ls-scfg-msi.c virq = irq_find_mapping(msi_data->parent, hwirq); virq 210 drivers/irqchip/irq-ls-scfg-msi.c if (virq) virq 211 drivers/irqchip/irq-ls-scfg-msi.c generic_handle_irq(virq); virq 245 drivers/irqchip/irq-ls-scfg-msi.c int virq, i, hwirq; virq 247 drivers/irqchip/irq-ls-scfg-msi.c virq = platform_get_irq(msi_data->pdev, index); virq 248 drivers/irqchip/irq-ls-scfg-msi.c if (virq <= 0) virq 254 drivers/irqchip/irq-ls-scfg-msi.c msir->gic_irq = virq; virq 196 drivers/irqchip/irq-mbigen.c unsigned int virq, virq 210 drivers/irqchip/irq-mbigen.c err = platform_msi_domain_alloc(domain, virq, nr_irqs); virq 217 drivers/irqchip/irq-mbigen.c irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i, virq 223 drivers/irqchip/irq-mbigen.c static void mbigen_irq_domain_free(struct irq_domain *domain, unsigned int virq, virq 226 drivers/irqchip/irq-mbigen.c platform_msi_domain_free(domain, virq, nr_irqs); virq 275 drivers/irqchip/irq-meson-gpio.c unsigned int virq, virq 287 drivers/irqchip/irq-meson-gpio.c return irq_domain_alloc_irqs_parent(domain, virq, 1, &fwspec); virq 291 drivers/irqchip/irq-meson-gpio.c unsigned int virq, virq 313 drivers/irqchip/irq-meson-gpio.c ret = meson_gpio_irq_allocate_gic_irq(domain, virq, virq 321 drivers/irqchip/irq-meson-gpio.c irq_domain_set_hwirq_and_chip(domain, virq, hwirq, virq 328 drivers/irqchip/irq-meson-gpio.c unsigned int virq, virq 338 drivers/irqchip/irq-meson-gpio.c irq_domain_free_irqs_parent(domain, virq, 1); virq 340 drivers/irqchip/irq-meson-gpio.c irq_data = irq_domain_get_irq_data(domain, virq); virq 130 drivers/irqchip/irq-mips-cpu.c unsigned int virq; virq 142 drivers/irqchip/irq-mips-cpu.c virq = irq_linear_revmap(ipi_domain, irq); virq 144 drivers/irqchip/irq-mips-cpu.c virq = irq_linear_revmap(irq_domain, irq); virq 145 drivers/irqchip/irq-mips-cpu.c do_IRQ(virq); virq 181 drivers/irqchip/irq-mips-cpu.c static int mips_cpu_ipi_alloc(struct irq_domain *domain, unsigned int virq, virq 194 drivers/irqchip/irq-mips-cpu.c ret = irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq, virq 200 drivers/irqchip/irq-mips-cpu.c ret = irq_set_irq_type(virq + i, IRQ_TYPE_LEVEL_HIGH); virq 150 drivers/irqchip/irq-mips-gic.c unsigned int intr, virq; virq 167 drivers/irqchip/irq-mips-gic.c virq = irq_linear_revmap(gic_irq_domain, virq 170 drivers/irqchip/irq-mips-gic.c generic_handle_irq(virq); virq 172 drivers/irqchip/irq-mips-gic.c do_IRQ(virq); virq 310 drivers/irqchip/irq-mips-gic.c unsigned int intr, virq; virq 318 drivers/irqchip/irq-mips-gic.c virq = irq_linear_revmap(gic_irq_domain, virq 321 drivers/irqchip/irq-mips-gic.c generic_handle_irq(virq); virq 323 drivers/irqchip/irq-mips-gic.c do_IRQ(virq); virq 415 drivers/irqchip/irq-mips-gic.c static int gic_shared_irq_domain_map(struct irq_domain *d, unsigned int virq, virq 422 drivers/irqchip/irq-mips-gic.c data = irq_get_irq_data(virq); virq 452 drivers/irqchip/irq-mips-gic.c static int gic_irq_domain_map(struct irq_domain *d, unsigned int virq, virq 466 drivers/irqchip/irq-mips-gic.c err = irq_domain_set_hwirq_and_chip(d, virq, hwirq, virq 472 drivers/irqchip/irq-mips-gic.c irqd_set_single_target(irq_desc_get_irq_data(irq_to_desc(virq))); virq 473 drivers/irqchip/irq-mips-gic.c return gic_shared_irq_domain_map(d, virq, hwirq, 0); virq 493 drivers/irqchip/irq-mips-gic.c err = irq_domain_set_hwirq_and_chip(d, virq, hwirq, virq 499 drivers/irqchip/irq-mips-gic.c irq_set_handler(virq, handle_percpu_irq); virq 503 drivers/irqchip/irq-mips-gic.c err = irq_domain_set_hwirq_and_chip(d, virq, hwirq, virq 509 drivers/irqchip/irq-mips-gic.c irq_set_handler(virq, handle_percpu_devid_irq); virq 510 drivers/irqchip/irq-mips-gic.c irq_set_percpu_devid(virq); virq 527 drivers/irqchip/irq-mips-gic.c static int gic_irq_domain_alloc(struct irq_domain *d, unsigned int virq, virq 538 drivers/irqchip/irq-mips-gic.c return gic_irq_domain_map(d, virq, hwirq); virq 541 drivers/irqchip/irq-mips-gic.c void gic_irq_domain_free(struct irq_domain *d, unsigned int virq, virq 568 drivers/irqchip/irq-mips-gic.c static int gic_ipi_domain_alloc(struct irq_domain *d, unsigned int virq, virq 591 drivers/irqchip/irq-mips-gic.c ret = irq_domain_set_hwirq_and_chip(d, virq + i, hwirq, virq 597 drivers/irqchip/irq-mips-gic.c ret = irq_domain_set_hwirq_and_chip(d->parent, virq + i, hwirq, virq 603 drivers/irqchip/irq-mips-gic.c ret = irq_set_irq_type(virq + i, IRQ_TYPE_EDGE_RISING); virq 607 drivers/irqchip/irq-mips-gic.c ret = gic_shared_irq_domain_map(d, virq + i, hwirq, cpu); virq 620 drivers/irqchip/irq-mips-gic.c void gic_ipi_domain_free(struct irq_domain *d, unsigned int virq, virq 626 drivers/irqchip/irq-mips-gic.c data = irq_get_irq_data(virq); virq 129 drivers/irqchip/irq-mtk-cirq.c static int mtk_cirq_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 145 drivers/irqchip/irq-mtk-cirq.c irq_domain_set_hwirq_and_chip(domain, virq, hwirq, virq 150 drivers/irqchip/irq-mtk-cirq.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, virq 91 drivers/irqchip/irq-mtk-sysirq.c static int mtk_sysirq_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 108 drivers/irqchip/irq-mtk-sysirq.c irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i, virq 113 drivers/irqchip/irq-mtk-sysirq.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, &gic_fwspec); virq 80 drivers/irqchip/irq-mvebu-gicp.c static int gicp_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 107 drivers/irqchip/irq-mvebu-gicp.c ret = irq_domain_alloc_irqs_parent(domain, virq, 1, &fwspec); virq 113 drivers/irqchip/irq-mvebu-gicp.c ret = irq_domain_set_hwirq_and_chip(domain, virq, hwirq, virq 121 drivers/irqchip/irq-mvebu-gicp.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); virq 130 drivers/irqchip/irq-mvebu-gicp.c unsigned int virq, unsigned int nr_irqs) virq 133 drivers/irqchip/irq-mvebu-gicp.c struct irq_data *d = irq_domain_get_irq_data(domain, virq); virq 140 drivers/irqchip/irq-mvebu-gicp.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); virq 196 drivers/irqchip/irq-mvebu-icu.c mvebu_icu_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 224 drivers/irqchip/irq-mvebu-icu.c err = platform_msi_domain_alloc(domain, virq, nr_irqs); virq 231 drivers/irqchip/irq-mvebu-icu.c err = irq_set_irqchip_state(virq, IRQCHIP_STATE_PENDING, false); virq 238 drivers/irqchip/irq-mvebu-icu.c err = irq_domain_set_hwirq_and_chip(domain, virq, hwirq, virq 248 drivers/irqchip/irq-mvebu-icu.c platform_msi_domain_free(domain, virq, nr_irqs); virq 255 drivers/irqchip/irq-mvebu-icu.c mvebu_icu_irq_domain_free(struct irq_domain *domain, unsigned int virq, virq 258 drivers/irqchip/irq-mvebu-icu.c struct irq_data *d = irq_get_irq_data(virq); virq 263 drivers/irqchip/irq-mvebu-icu.c platform_msi_domain_free(domain, virq, nr_irqs); virq 78 drivers/irqchip/irq-mvebu-odmi.c static int odmi_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 106 drivers/irqchip/irq-mvebu-odmi.c ret = irq_domain_alloc_irqs_parent(domain, virq, 1, &fwspec); virq 116 drivers/irqchip/irq-mvebu-odmi.c d = irq_domain_get_irq_data(domain->parent, virq); virq 119 drivers/irqchip/irq-mvebu-odmi.c irq_domain_set_hwirq_and_chip(domain, virq, hwirq, virq 126 drivers/irqchip/irq-mvebu-odmi.c unsigned int virq, unsigned int nr_irqs) virq 128 drivers/irqchip/irq-mvebu-odmi.c struct irq_data *d = irq_domain_get_irq_data(domain, virq); virq 135 drivers/irqchip/irq-mvebu-odmi.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); virq 69 drivers/irqchip/irq-mvebu-pic.c static int mvebu_pic_irq_map(struct irq_domain *domain, unsigned int virq, virq 74 drivers/irqchip/irq-mvebu-pic.c irq_set_percpu_devid(virq); virq 75 drivers/irqchip/irq-mvebu-pic.c irq_set_chip_data(virq, pic); virq 76 drivers/irqchip/irq-mvebu-pic.c irq_set_chip_and_handler(virq, &pic->irq_chip, virq 78 drivers/irqchip/irq-mvebu-pic.c irq_set_status_flags(virq, IRQ_LEVEL); virq 79 drivers/irqchip/irq-mvebu-pic.c irq_set_probe(virq); virq 167 drivers/irqchip/irq-mvebu-sei.c static int mvebu_sei_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 174 drivers/irqchip/irq-mvebu-sei.c irq_domain_set_hwirq_and_chip(domain, virq, fwspec->param[0], virq 180 drivers/irqchip/irq-mvebu-sei.c static void mvebu_sei_domain_free(struct irq_domain *domain, unsigned int virq, virq 186 drivers/irqchip/irq-mvebu-sei.c struct irq_data *d = irq_domain_get_irq_data(domain, virq + i); virq 187 drivers/irqchip/irq-mvebu-sei.c irq_set_handler(virq + i, NULL); virq 208 drivers/irqchip/irq-mvebu-sei.c static int mvebu_sei_ap_alloc(struct irq_domain *domain, unsigned int virq, virq 223 drivers/irqchip/irq-mvebu-sei.c err = irq_domain_alloc_irqs_parent(domain, virq, 1, &fwspec); virq 227 drivers/irqchip/irq-mvebu-sei.c irq_domain_set_info(domain, virq, hwirq, virq 230 drivers/irqchip/irq-mvebu-sei.c irq_set_probe(virq); virq 249 drivers/irqchip/irq-mvebu-sei.c unsigned int virq, unsigned int nr_irqs, virq 275 drivers/irqchip/irq-mvebu-sei.c ret = irq_domain_alloc_irqs_parent(domain, virq, 1, &fwspec); virq 279 drivers/irqchip/irq-mvebu-sei.c irq_domain_set_info(domain, virq, hwirq, virq 291 drivers/irqchip/irq-mvebu-sei.c unsigned int virq, unsigned int nr_irqs) virq 294 drivers/irqchip/irq-mvebu-sei.c struct irq_data *d = irq_domain_get_irq_data(domain, virq); virq 302 drivers/irqchip/irq-mvebu-sei.c irq_domain_free_irqs_parent(domain, virq, 1); virq 340 drivers/irqchip/irq-mvebu-sei.c unsigned int virq; virq 343 drivers/irqchip/irq-mvebu-sei.c virq = irq_find_mapping(sei->sei_domain, hwirq); virq 344 drivers/irqchip/irq-mvebu-sei.c if (likely(virq)) { virq 345 drivers/irqchip/irq-mvebu-sei.c generic_handle_irq(virq); virq 142 drivers/irqchip/irq-mxs.c static int icoll_irq_domain_map(struct irq_domain *d, unsigned int virq, virq 152 drivers/irqchip/irq-mxs.c irq_set_chip_and_handler(virq, chip, handle_level_irq); virq 59 drivers/irqchip/irq-nvic.c static int nvic_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 72 drivers/irqchip/irq-nvic.c irq_map_generic_chip(domain, virq + i, hwirq + i); virq 138 drivers/irqchip/irq-partition-percpu.c static int partition_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 157 drivers/irqchip/irq-partition-percpu.c irq_set_percpu_devid_partition(virq, &part->parts[hwirq].mask); virq 158 drivers/irqchip/irq-partition-percpu.c irq_domain_set_info(domain, virq, hwirq, &partition_irq_chip, part, virq 160 drivers/irqchip/irq-partition-percpu.c irq_set_status_flags(virq, IRQ_NOAUTOEN); virq 165 drivers/irqchip/irq-partition-percpu.c static void partition_domain_free(struct irq_domain *domain, unsigned int virq, virq 172 drivers/irqchip/irq-partition-percpu.c d = irq_domain_get_irq_data(domain, virq); virq 173 drivers/irqchip/irq-partition-percpu.c irq_set_handler(virq, NULL); virq 125 drivers/irqchip/irq-pic32-evic.c static int pic32_irq_domain_map(struct irq_domain *d, unsigned int virq, virq 134 drivers/irqchip/irq-pic32-evic.c ret = irq_map_generic_chip(d, virq, hw); virq 145 drivers/irqchip/irq-pic32-evic.c data = irq_domain_get_irq_data(d, virq); virq 69 drivers/irqchip/irq-rda-intc.c unsigned int virq, irq_hw_number_t hw) virq 71 drivers/irqchip/irq-rda-intc.c irq_set_status_flags(virq, IRQ_LEVEL); virq 72 drivers/irqchip/irq-rda-intc.c irq_set_chip_and_handler(virq, &rda_irq_chip, handle_level_irq); virq 73 drivers/irqchip/irq-rda-intc.c irq_set_chip_data(virq, d->host_data); virq 74 drivers/irqchip/irq-rda-intc.c irq_set_probe(virq); virq 63 drivers/irqchip/irq-renesas-h8300h.c static int irq_map(struct irq_domain *h, unsigned int virq, virq 66 drivers/irqchip/irq-renesas-h8300h.c irq_set_chip_and_handler(virq, &h8300h_irq_chip, handle_simple_irq); virq 69 drivers/irqchip/irq-renesas-h8s.c static __init int irq_map(struct irq_domain *h, unsigned int virq, virq 72 drivers/irqchip/irq-renesas-h8s.c irq_set_chip_and_handler(virq, &h8s_irq_chip, handle_simple_irq); virq 329 drivers/irqchip/irq-renesas-intc-irqpin.c static int intc_irqpin_irq_domain_map(struct irq_domain *h, unsigned int virq, virq 334 drivers/irqchip/irq-renesas-intc-irqpin.c p->irq[hw].domain_irq = virq; virq 338 drivers/irqchip/irq-renesas-intc-irqpin.c irq_set_chip_data(virq, h->host_data); virq 339 drivers/irqchip/irq-renesas-intc-irqpin.c irq_set_lockdep_class(virq, &intc_irqpin_irq_lock_class, virq 341 drivers/irqchip/irq-renesas-intc-irqpin.c irq_set_chip_and_handler(virq, &p->irq_chip, handle_level_irq); virq 102 drivers/irqchip/irq-renesas-rza1.c static int rza1_irqc_alloc(struct irq_domain *domain, unsigned int virq, virq 112 drivers/irqchip/irq-renesas-rza1.c ret = irq_domain_set_hwirq_and_chip(domain, virq, hwirq, &priv->chip, virq 122 drivers/irqchip/irq-renesas-rza1.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, &spec); virq 407 drivers/irqchip/irq-s3c24xx.c static int s3c24xx_irq_map(struct irq_domain *h, unsigned int virq, virq 431 drivers/irqchip/irq-s3c24xx.c irq_set_chip_and_handler(virq, &s3c_irqext_chip, virq 434 drivers/irqchip/irq-s3c24xx.c irq_set_chip_and_handler(virq, &s3c_irq_eint0t4, virq 439 drivers/irqchip/irq-s3c24xx.c irq_set_chip_and_handler(virq, &s3c_irq_level_chip, virq 442 drivers/irqchip/irq-s3c24xx.c irq_set_chip_and_handler(virq, &s3c_irq_chip, virq 447 drivers/irqchip/irq-s3c24xx.c irq_set_chip_and_handler(virq, &s3c_irq_level_chip, virq 450 drivers/irqchip/irq-s3c24xx.c irq_set_chip_and_handler(virq, &s3c_irq_chip, virq 458 drivers/irqchip/irq-s3c24xx.c irq_set_chip_data(virq, irq_data); virq 1139 drivers/irqchip/irq-s3c24xx.c static int s3c24xx_irq_map_of(struct irq_domain *h, unsigned int virq, virq 1153 drivers/irqchip/irq-s3c24xx.c irq_set_chip_and_handler(virq, &s3c_irq_chip, handle_edge_irq); virq 1155 drivers/irqchip/irq-s3c24xx.c irq_set_chip_and_handler(virq, &s3c_irq_level_chip, virq 1158 drivers/irqchip/irq-s3c24xx.c irq_set_chip_data(virq, irq_data); virq 144 drivers/irqchip/irq-sni-exiu.c static int exiu_domain_alloc(struct irq_domain *dom, unsigned int virq, virq 165 drivers/irqchip/irq-sni-exiu.c irq_domain_set_hwirq_and_chip(dom, virq, hwirq, &exiu_irq_chip, info); virq 168 drivers/irqchip/irq-sni-exiu.c return irq_domain_alloc_irqs_parent(dom, virq, nr_irqs, &parent_fwspec); virq 234 drivers/irqchip/irq-stm32-exti.c unsigned int virq, nbanks = domain->gc->num_chips; virq 246 drivers/irqchip/irq-stm32-exti.c virq = irq_find_mapping(domain, irq_base + n); virq 247 drivers/irqchip/irq-stm32-exti.c generic_handle_irq(virq); virq 392 drivers/irqchip/irq-stm32-exti.c static int stm32_exti_alloc(struct irq_domain *d, unsigned int virq, virq 400 drivers/irqchip/irq-stm32-exti.c irq_map_generic_chip(d, virq, hwirq); virq 405 drivers/irqchip/irq-stm32-exti.c static void stm32_exti_free(struct irq_domain *d, unsigned int virq, virq 408 drivers/irqchip/irq-stm32-exti.c struct irq_data *data = irq_domain_get_irq_data(d, virq); virq 620 drivers/irqchip/irq-stm32-exti.c unsigned int virq, virq 634 drivers/irqchip/irq-stm32-exti.c irq_domain_set_hwirq_and_chip(dm, virq, hwirq, virq 645 drivers/irqchip/irq-stm32-exti.c return irq_domain_alloc_irqs_parent(dm, virq, 1, &p_fwspec); virq 93 drivers/irqchip/irq-sun4i.c static int sun4i_irq_map(struct irq_domain *d, unsigned int virq, virq 96 drivers/irqchip/irq-sun4i.c irq_set_chip_and_handler(virq, &sun4i_irq_chip, handle_fasteoi_irq); virq 97 drivers/irqchip/irq-sun4i.c irq_set_probe(virq); virq 103 drivers/irqchip/irq-sunxi-nmi.c unsigned int virq = irq_find_mapping(domain, 0); virq 106 drivers/irqchip/irq-sunxi-nmi.c generic_handle_irq(virq); virq 59 drivers/irqchip/irq-tango.c unsigned int virq; virq 63 drivers/irqchip/irq-tango.c virq = irq_find_mapping(dom, base + hwirq); virq 64 drivers/irqchip/irq-tango.c if (virq) virq 65 drivers/irqchip/irq-tango.c generic_handle_irq(virq); virq 237 drivers/irqchip/irq-tegra.c unsigned int virq, virq 258 drivers/irqchip/irq-tegra.c irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i, virq 265 drivers/irqchip/irq-tegra.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, virq 110 drivers/irqchip/irq-ti-sci-inta.c unsigned int virq, bit; virq 123 drivers/irqchip/irq-ti-sci-inta.c virq = irq_find_mapping(domain, vint_desc->events[bit].hwirq); virq 124 drivers/irqchip/irq-ti-sci-inta.c if (virq) virq 125 drivers/irqchip/irq-ti-sci-inta.c generic_handle_irq(virq); virq 457 drivers/irqchip/irq-ti-sci-inta.c unsigned int virq, unsigned int nr_irqs) virq 459 drivers/irqchip/irq-ti-sci-inta.c struct irq_data *data = irq_domain_get_irq_data(domain, virq); virq 476 drivers/irqchip/irq-ti-sci-inta.c unsigned int virq, unsigned int nr_irqs, virq 481 drivers/irqchip/irq-ti-sci-inta.c irq_domain_set_info(domain, virq, arg->hwirq, &ti_sci_inta_irq_chip, virq 89 drivers/irqchip/irq-ti-sci-intr.c unsigned int virq, unsigned int nr_irqs) virq 95 drivers/irqchip/irq-ti-sci-intr.c parent_data = irq_domain_get_irq_data(domain->parent, virq); virq 96 drivers/irqchip/irq-ti-sci-intr.c data = irq_domain_get_irq_data(domain, virq); virq 103 drivers/irqchip/irq-ti-sci-intr.c irq_domain_free_irqs_parent(domain, virq, 1); virq 116 drivers/irqchip/irq-ti-sci-intr.c unsigned int virq, u32 hwirq) virq 137 drivers/irqchip/irq-ti-sci-intr.c err = irq_domain_alloc_irqs_parent(domain, virq, 1, &fwspec); virq 149 drivers/irqchip/irq-ti-sci-intr.c irq_domain_free_irqs_parent(domain, virq, 1); virq 165 drivers/irqchip/irq-ti-sci-intr.c unsigned int virq, unsigned int nr_irqs, virq 177 drivers/irqchip/irq-ti-sci-intr.c err = ti_sci_intr_alloc_gic_irq(domain, virq, hwirq); virq 181 drivers/irqchip/irq-ti-sci-intr.c irq_domain_set_hwirq_and_chip(domain, virq, hwirq, virq 109 drivers/irqchip/irq-uniphier-aidet.c unsigned int virq, unsigned int nr_irqs, virq 141 drivers/irqchip/irq-uniphier-aidet.c ret = irq_domain_set_hwirq_and_chip(domain, virq, hwirq, virq 154 drivers/irqchip/irq-uniphier-aidet.c return irq_domain_alloc_irqs_parent(domain, virq, 1, &parent_fwspec); virq 124 drivers/irqchip/irq-vf610-mscm-ir.c static int vf610_mscm_ir_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 140 drivers/irqchip/irq-vf610-mscm-ir.c irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i, virq 156 drivers/irqchip/irq-vf610-mscm-ir.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, virq 153 drivers/irqchip/irq-vt8500.c static int vt8500_irq_map(struct irq_domain *h, unsigned int virq, virq 156 drivers/irqchip/irq-vt8500.c irq_set_chip_and_handler(virq, &vt8500_irq_chip, handle_level_irq); virq 56 drivers/irqchip/qcom-irq-combiner.c int virq; virq 73 drivers/irqchip/qcom-irq-combiner.c virq = irq_find_mapping(combiner->domain, hwirq); virq 74 drivers/irqchip/qcom-irq-combiner.c if (virq > 0) virq 75 drivers/irqchip/qcom-irq-combiner.c generic_handle_irq(virq); virq 191 drivers/irqchip/qcom-pdc.c static int qcom_pdc_alloc(struct irq_domain *domain, unsigned int virq, virq 208 drivers/irqchip/qcom-pdc.c ret = irq_domain_set_hwirq_and_chip(domain, virq, hwirq, virq 225 drivers/irqchip/qcom-pdc.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, virq 1347 drivers/memory/omap-gpmc.c static int gpmc_irq_map(struct irq_domain *d, unsigned int virq, virq 1352 drivers/memory/omap-gpmc.c irq_set_chip_data(virq, gpmc); virq 1354 drivers/memory/omap-gpmc.c irq_modify_status(virq, IRQ_NOREQUEST, IRQ_NOAUTOEN); virq 1355 drivers/memory/omap-gpmc.c irq_set_chip_and_handler(virq, &gpmc->irq_chip, virq 1358 drivers/memory/omap-gpmc.c irq_set_chip_and_handler(virq, &gpmc->irq_chip, virq 1372 drivers/memory/omap-gpmc.c int hwirq, virq; virq 1388 drivers/memory/omap-gpmc.c virq = irq_find_mapping(gpmc_irq_domain, hwirq); virq 1389 drivers/memory/omap-gpmc.c if (!virq) { virq 1392 drivers/memory/omap-gpmc.c hwirq, virq); virq 1395 drivers/memory/omap-gpmc.c generic_handle_irq(virq); virq 552 drivers/mfd/88pm860x-core.c static int pm860x_irq_domain_map(struct irq_domain *d, unsigned int virq, virq 555 drivers/mfd/88pm860x-core.c irq_set_chip_data(virq, d->host_data); virq 556 drivers/mfd/88pm860x-core.c irq_set_chip_and_handler(virq, &pm860x_irq_chip, handle_edge_irq); virq 557 drivers/mfd/88pm860x-core.c irq_set_nested_thread(virq, 1); virq 558 drivers/mfd/88pm860x-core.c irq_set_noprobe(virq); virq 556 drivers/mfd/ab8500-core.c static int ab8500_irq_map(struct irq_domain *d, unsigned int virq, virq 564 drivers/mfd/ab8500-core.c irq_set_chip_data(virq, ab8500); virq 565 drivers/mfd/ab8500-core.c irq_set_chip_and_handler(virq, &ab8500_irq_chip, virq 567 drivers/mfd/ab8500-core.c irq_set_nested_thread(virq, 1); virq 568 drivers/mfd/ab8500-core.c irq_set_noprobe(virq); virq 124 drivers/mfd/arizona-irq.c irq_find_mapping(arizona->virq, 0)); virq 134 drivers/mfd/arizona-irq.c handle_nested_irq(irq_find_mapping(arizona->virq, 1)); virq 186 drivers/mfd/arizona-irq.c static int arizona_irq_map(struct irq_domain *h, unsigned int virq, virq 191 drivers/mfd/arizona-irq.c irq_set_chip_data(virq, data); virq 192 drivers/mfd/arizona-irq.c irq_set_lockdep_class(virq, &arizona_irq_lock_class, virq 194 drivers/mfd/arizona-irq.c irq_set_chip_and_handler(virq, &arizona_irq_chip, handle_simple_irq); virq 195 drivers/mfd/arizona-irq.c irq_set_nested_thread(virq, 1); virq 196 drivers/mfd/arizona-irq.c irq_set_noprobe(virq); virq 212 drivers/mfd/arizona-irq.c unsigned int virq; virq 315 drivers/mfd/arizona-irq.c arizona->virq = irq_domain_add_linear(NULL, 2, &arizona_domain_ops, virq 317 drivers/mfd/arizona-irq.c if (!arizona->virq) { virq 324 drivers/mfd/arizona-irq.c virq = irq_create_mapping(arizona->virq, ARIZONA_AOD_IRQ_INDEX); virq 325 drivers/mfd/arizona-irq.c if (!virq) { virq 331 drivers/mfd/arizona-irq.c ret = regmap_add_irq_chip(arizona->regmap, virq, IRQF_ONESHOT, virq 340 drivers/mfd/arizona-irq.c virq = irq_create_mapping(arizona->virq, ARIZONA_MAIN_IRQ_INDEX); virq 341 drivers/mfd/arizona-irq.c if (!virq) { virq 347 drivers/mfd/arizona-irq.c ret = regmap_add_irq_chip(arizona->regmap, virq, IRQF_ONESHOT, virq 412 drivers/mfd/arizona-irq.c regmap_del_irq_chip(irq_find_mapping(arizona->virq, virq 416 drivers/mfd/arizona-irq.c irq_dispose_mapping(irq_find_mapping(arizona->virq, virq 419 drivers/mfd/arizona-irq.c regmap_del_irq_chip(irq_find_mapping(arizona->virq, virq 423 drivers/mfd/arizona-irq.c irq_dispose_mapping(irq_find_mapping(arizona->virq, virq 426 drivers/mfd/arizona-irq.c irq_domain_remove(arizona->virq); virq 433 drivers/mfd/arizona-irq.c unsigned int virq; virq 439 drivers/mfd/arizona-irq.c virq = irq_find_mapping(arizona->virq, ARIZONA_MAIN_IRQ_INDEX); virq 440 drivers/mfd/arizona-irq.c regmap_del_irq_chip(virq, arizona->irq_chip); virq 441 drivers/mfd/arizona-irq.c irq_dispose_mapping(virq); virq 443 drivers/mfd/arizona-irq.c virq = irq_find_mapping(arizona->virq, ARIZONA_AOD_IRQ_INDEX); virq 444 drivers/mfd/arizona-irq.c regmap_del_irq_chip(virq, arizona->aod_irq_chip); virq 445 drivers/mfd/arizona-irq.c irq_dispose_mapping(virq); virq 447 drivers/mfd/arizona-irq.c irq_domain_remove(arizona->virq); virq 2662 drivers/mfd/db8500-prcmu.c static int db8500_irq_map(struct irq_domain *d, unsigned int virq, virq 2665 drivers/mfd/db8500-prcmu.c irq_set_chip_and_handler(virq, &prcmu_irq_chip, virq 131 drivers/mfd/lp8788-irq.c static int lp8788_irq_map(struct irq_domain *d, unsigned int virq, virq 137 drivers/mfd/lp8788-irq.c irq_set_chip_data(virq, irqd); virq 138 drivers/mfd/lp8788-irq.c irq_set_chip_and_handler(virq, chip, handle_edge_irq); virq 139 drivers/mfd/lp8788-irq.c irq_set_nested_thread(virq, 1); virq 140 drivers/mfd/lp8788-irq.c irq_set_noprobe(virq); virq 644 drivers/mfd/max8925-core.c static int max8925_irq_domain_map(struct irq_domain *d, unsigned int virq, virq 647 drivers/mfd/max8925-core.c irq_set_chip_data(virq, d->host_data); virq 648 drivers/mfd/max8925-core.c irq_set_chip_and_handler(virq, &max8925_irq_chip, handle_edge_irq); virq 649 drivers/mfd/max8925-core.c irq_set_nested_thread(virq, 1); virq 650 drivers/mfd/max8925-core.c irq_set_noprobe(virq); virq 104 drivers/mfd/mc13xxx-core.c int virq = regmap_irq_get_virq(mc13xxx->irq_data, irq); virq 106 drivers/mfd/mc13xxx-core.c disable_irq_nosync(virq); virq 114 drivers/mfd/mc13xxx-core.c int virq = regmap_irq_get_virq(mc13xxx->irq_data, irq); virq 116 drivers/mfd/mc13xxx-core.c enable_irq(virq); virq 160 drivers/mfd/mc13xxx-core.c int virq = regmap_irq_get_virq(mc13xxx->irq_data, irq); virq 162 drivers/mfd/mc13xxx-core.c return devm_request_threaded_irq(mc13xxx->dev, virq, NULL, handler, virq 169 drivers/mfd/mc13xxx-core.c int virq = regmap_irq_get_virq(mc13xxx->irq_data, irq); virq 171 drivers/mfd/mc13xxx-core.c devm_free_irq(mc13xxx->dev, virq, dev); virq 52 drivers/mfd/motorola-cpcap.c int cpcap_sense_virq(struct regmap *regmap, int virq) virq 54 drivers/mfd/motorola-cpcap.c struct regmap_irq_chip_data *d = irq_get_chip_data(virq); virq 57 drivers/mfd/motorola-cpcap.c return cpcap_sense_irq(regmap, virq - irq_base); virq 380 drivers/mfd/qcom-pm8xxx.c static int pm8xxx_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 394 drivers/mfd/qcom-pm8xxx.c pm8xxx_irq_domain_map(chip, domain, virq + i, hwirq + i, type); virq 233 drivers/mfd/stmfx.c static int stmfx_irq_map(struct irq_domain *d, unsigned int virq, virq 236 drivers/mfd/stmfx.c irq_set_chip_data(virq, d->host_data); virq 237 drivers/mfd/stmfx.c irq_set_chip_and_handler(virq, &stmfx_irq_chip, handle_simple_irq); virq 238 drivers/mfd/stmfx.c irq_set_nested_thread(virq, 1); virq 239 drivers/mfd/stmfx.c irq_set_noprobe(virq); virq 244 drivers/mfd/stmfx.c static void stmfx_irq_unmap(struct irq_domain *d, unsigned int virq) virq 246 drivers/mfd/stmfx.c irq_set_chip_and_handler(virq, NULL, NULL); virq 247 drivers/mfd/stmfx.c irq_set_chip_data(virq, NULL); virq 1190 drivers/mfd/stmpe.c static int stmpe_irq_map(struct irq_domain *d, unsigned int virq, virq 1199 drivers/mfd/stmpe.c irq_set_chip_data(virq, stmpe); virq 1200 drivers/mfd/stmpe.c irq_set_chip_and_handler(virq, chip, handle_edge_irq); virq 1201 drivers/mfd/stmpe.c irq_set_nested_thread(virq, 1); virq 1202 drivers/mfd/stmpe.c irq_set_noprobe(virq); virq 1207 drivers/mfd/stmpe.c static void stmpe_irq_unmap(struct irq_domain *d, unsigned int virq) virq 1209 drivers/mfd/stmpe.c irq_set_chip_and_handler(virq, NULL, NULL); virq 1210 drivers/mfd/stmpe.c irq_set_chip_data(virq, NULL); virq 190 drivers/mfd/tc3589x.c int virq = irq_create_mapping(tc3589x->domain, bit); virq 192 drivers/mfd/tc3589x.c handle_nested_irq(virq); virq 209 drivers/mfd/tc3589x.c static int tc3589x_irq_map(struct irq_domain *d, unsigned int virq, virq 214 drivers/mfd/tc3589x.c irq_set_chip_data(virq, tc3589x); virq 215 drivers/mfd/tc3589x.c irq_set_chip_and_handler(virq, &dummy_irq_chip, virq 217 drivers/mfd/tc3589x.c irq_set_nested_thread(virq, 1); virq 218 drivers/mfd/tc3589x.c irq_set_noprobe(virq); virq 223 drivers/mfd/tc3589x.c static void tc3589x_irq_unmap(struct irq_domain *d, unsigned int virq) virq 225 drivers/mfd/tc3589x.c irq_set_chip_and_handler(virq, NULL, NULL); virq 226 drivers/mfd/tc3589x.c irq_set_chip_data(virq, NULL); virq 140 drivers/mfd/tps65217.c static int tps65217_irq_map(struct irq_domain *h, unsigned int virq, virq 145 drivers/mfd/tps65217.c irq_set_chip_data(virq, tps); virq 146 drivers/mfd/tps65217.c irq_set_chip_and_handler(virq, &tps65217_irq_chip, handle_edge_irq); virq 147 drivers/mfd/tps65217.c irq_set_nested_thread(virq, 1); virq 148 drivers/mfd/tps65217.c irq_set_parent(virq, tps->irq); virq 149 drivers/mfd/tps65217.c irq_set_noprobe(virq); virq 388 drivers/mfd/tps65217.c unsigned int virq; virq 392 drivers/mfd/tps65217.c virq = irq_find_mapping(tps->irq_domain, i); virq 393 drivers/mfd/tps65217.c if (virq) virq 394 drivers/mfd/tps65217.c irq_dispose_mapping(virq); virq 291 drivers/mfd/tps6586x.c static int tps6586x_irq_map(struct irq_domain *h, unsigned int virq, virq 296 drivers/mfd/tps6586x.c irq_set_chip_data(virq, tps6586x); virq 297 drivers/mfd/tps6586x.c irq_set_chip_and_handler(virq, &tps6586x_irq_chip, handle_simple_irq); virq 298 drivers/mfd/tps6586x.c irq_set_nested_thread(virq, 1); virq 299 drivers/mfd/tps6586x.c irq_set_noprobe(virq); virq 333 drivers/mfd/twl6030-irq.c static int twl6030_irq_map(struct irq_domain *d, unsigned int virq, virq 338 drivers/mfd/twl6030-irq.c irq_set_chip_data(virq, pdata); virq 339 drivers/mfd/twl6030-irq.c irq_set_chip_and_handler(virq, &pdata->irq_chip, handle_simple_irq); virq 340 drivers/mfd/twl6030-irq.c irq_set_nested_thread(virq, true); virq 341 drivers/mfd/twl6030-irq.c irq_set_parent(virq, pdata->twl_irq); virq 342 drivers/mfd/twl6030-irq.c irq_set_noprobe(virq); virq 347 drivers/mfd/twl6030-irq.c static void twl6030_irq_unmap(struct irq_domain *d, unsigned int virq) virq 349 drivers/mfd/twl6030-irq.c irq_set_chip_and_handler(virq, NULL, NULL); virq 350 drivers/mfd/twl6030-irq.c irq_set_chip_data(virq, NULL); virq 544 drivers/mfd/wm831x-irq.c static int wm831x_irq_map(struct irq_domain *h, unsigned int virq, virq 547 drivers/mfd/wm831x-irq.c irq_set_chip_data(virq, h->host_data); virq 548 drivers/mfd/wm831x-irq.c irq_set_chip_and_handler(virq, &wm831x_irq_chip, handle_edge_irq); virq 549 drivers/mfd/wm831x-irq.c irq_set_nested_thread(virq, 1); virq 550 drivers/mfd/wm831x-irq.c irq_set_noprobe(virq); virq 162 drivers/mfd/wm8994-irq.c static int wm8994_edge_irq_map(struct irq_domain *h, unsigned int virq, virq 167 drivers/mfd/wm8994-irq.c irq_set_chip_data(virq, wm8994); virq 168 drivers/mfd/wm8994-irq.c irq_set_chip_and_handler(virq, &wm8994_edge_irq_chip, handle_edge_irq); virq 169 drivers/mfd/wm8994-irq.c irq_set_nested_thread(virq, 1); virq 170 drivers/mfd/wm8994-irq.c irq_set_noprobe(virq); virq 215 drivers/misc/cxl/api.c unsigned int virq; virq 220 drivers/misc/cxl/api.c virq = irq_find_mapping(NULL, hwirq); virq 221 drivers/misc/cxl/api.c if (virq) virq 222 drivers/misc/cxl/api.c cxl_unmap_irq(virq, ctx); virq 249 drivers/misc/cxl/api.c unsigned int virq; virq 255 drivers/misc/cxl/api.c virq = irq_find_mapping(NULL, hwirq); virq 256 drivers/misc/cxl/api.c if (virq) virq 257 drivers/misc/cxl/api.c cxl_unmap_irq(virq, cookie); virq 716 drivers/misc/cxl/cxl.h int cxl_pci_setup_irq(struct cxl *adapter, unsigned int hwirq, unsigned int virq); virq 986 drivers/misc/cxl/cxl.h void cxl_unmap_irq(unsigned int virq, void *cookie); virq 1073 drivers/misc/cxl/cxl.h unsigned int virq); virq 382 drivers/misc/cxl/guest.c unsigned int virq; virq 389 drivers/misc/cxl/guest.c virq = irq_find_mapping(NULL, hwirq); virq 390 drivers/misc/cxl/guest.c disable_irq(virq); virq 398 drivers/misc/cxl/guest.c unsigned int virq; virq 405 drivers/misc/cxl/guest.c virq = irq_find_mapping(NULL, hwirq); virq 406 drivers/misc/cxl/guest.c enable_irq(virq); virq 226 drivers/misc/cxl/irq.c unsigned int virq; virq 230 drivers/misc/cxl/irq.c virq = irq_create_mapping(NULL, hwirq); virq 231 drivers/misc/cxl/irq.c if (!virq) { virq 237 drivers/misc/cxl/irq.c cxl_ops->setup_irq(adapter, hwirq, virq); virq 239 drivers/misc/cxl/irq.c pr_devel("hwirq %#lx mapped to virq %u\n", hwirq, virq); virq 241 drivers/misc/cxl/irq.c result = request_irq(virq, handler, 0, name, cookie); virq 247 drivers/misc/cxl/irq.c return virq; virq 250 drivers/misc/cxl/irq.c void cxl_unmap_irq(unsigned int virq, void *cookie) virq 252 drivers/misc/cxl/irq.c free_irq(virq, cookie); virq 262 drivers/misc/cxl/irq.c int hwirq, virq; virq 267 drivers/misc/cxl/irq.c if (!(virq = cxl_map_irq(adapter, hwirq, handler, cookie, name))) virq 271 drivers/misc/cxl/irq.c *dest_virq = virq; virq 404 drivers/misc/cxl/irq.c unsigned int virq; virq 410 drivers/misc/cxl/irq.c virq = irq_find_mapping(NULL, hwirq); virq 411 drivers/misc/cxl/irq.c if (virq) virq 412 drivers/misc/cxl/irq.c cxl_unmap_irq(virq, cookie); virq 656 drivers/misc/cxl/pci.c unsigned int virq) virq 660 drivers/misc/cxl/pci.c return pnv_cxl_ioda_msi_setup(dev, hwirq, virq); virq 130 drivers/misc/cxl/trace.h TP_PROTO(struct cxl_context *ctx, int afu_irq, int virq, irq_hw_number_t hwirq), virq 132 drivers/misc/cxl/trace.h TP_ARGS(ctx, afu_irq, virq, hwirq), virq 139 drivers/misc/cxl/trace.h __field(int, virq) virq 148 drivers/misc/cxl/trace.h __entry->virq = virq; virq 157 drivers/misc/cxl/trace.h __entry->virq, virq 11 drivers/misc/ocxl/afu_irq.c unsigned int virq; virq 57 drivers/misc/ocxl/afu_irq.c static irqreturn_t afu_irq_handler(int virq, void *data) virq 61 drivers/misc/ocxl/afu_irq.c trace_ocxl_afu_irq_receive(virq); virq 73 drivers/misc/ocxl/afu_irq.c irq->virq = irq_create_mapping(NULL, irq->hw_irq); virq 74 drivers/misc/ocxl/afu_irq.c if (!irq->virq) { virq 78 drivers/misc/ocxl/afu_irq.c pr_debug("hw_irq %d mapped to virq %u\n", irq->hw_irq, irq->virq); virq 80 drivers/misc/ocxl/afu_irq.c irq->name = kasprintf(GFP_KERNEL, "ocxl-afu-%u", irq->virq); virq 82 drivers/misc/ocxl/afu_irq.c irq_dispose_mapping(irq->virq); virq 86 drivers/misc/ocxl/afu_irq.c rc = request_irq(irq->virq, afu_irq_handler, 0, irq->name, irq); virq 90 drivers/misc/ocxl/afu_irq.c irq_dispose_mapping(irq->virq); virq 99 drivers/misc/ocxl/afu_irq.c free_irq(irq->virq, irq); virq 100 drivers/misc/ocxl/afu_irq.c irq_dispose_mapping(irq->virq); virq 136 drivers/misc/ocxl/afu_irq.c trace_ocxl_afu_irq_alloc(ctx->pasid, irq->id, irq->virq, irq->hw_irq); virq 51 drivers/misc/ocxl/link.c int virq; virq 293 drivers/misc/ocxl/link.c spa->virq = irq_create_mapping(NULL, hwirq); virq 294 drivers/misc/ocxl/link.c if (!spa->virq) { virq 301 drivers/misc/ocxl/link.c dev_dbg(&dev->dev, "hwirq %d mapped to virq %d\n", hwirq, spa->virq); virq 303 drivers/misc/ocxl/link.c rc = request_irq(spa->virq, xsl_fault_handler, 0, spa->irq_name, virq 315 drivers/misc/ocxl/link.c irq_dispose_mapping(spa->virq); virq 327 drivers/misc/ocxl/link.c if (spa->virq) { virq 328 drivers/misc/ocxl/link.c free_irq(spa->virq, link); virq 329 drivers/misc/ocxl/link.c irq_dispose_mapping(spa->virq); virq 110 drivers/misc/ocxl/trace.h TP_PROTO(int pasid, int irq_id, unsigned int virq, int hw_irq), virq 111 drivers/misc/ocxl/trace.h TP_ARGS(pasid, irq_id, virq, hw_irq), virq 116 drivers/misc/ocxl/trace.h __field(unsigned int, virq) virq 123 drivers/misc/ocxl/trace.h __entry->virq = virq; virq 130 drivers/misc/ocxl/trace.h __entry->virq, virq 156 drivers/misc/ocxl/trace.h TP_PROTO(int virq), virq 157 drivers/misc/ocxl/trace.h TP_ARGS(virq), virq 160 drivers/misc/ocxl/trace.h __field(int, virq) virq 164 drivers/misc/ocxl/trace.h __entry->virq = virq; virq 168 drivers/misc/ocxl/trace.h __entry->virq virq 249 drivers/net/dsa/mv88e6xxx/chip.c int irq, virq; virq 257 drivers/net/dsa/mv88e6xxx/chip.c virq = irq_find_mapping(chip->g1_irq.domain, irq); virq 258 drivers/net/dsa/mv88e6xxx/chip.c irq_dispose_mapping(virq); virq 279 drivers/net/dsa/mv88e6xxx/chip.c int err, irq, virq; virq 318 drivers/net/dsa/mv88e6xxx/chip.c virq = irq_find_mapping(chip->g1_irq.domain, irq); virq 319 drivers/net/dsa/mv88e6xxx/chip.c irq_dispose_mapping(virq); virq 1067 drivers/net/dsa/mv88e6xxx/global2.c int irq, virq; virq 1075 drivers/net/dsa/mv88e6xxx/global2.c virq = irq_find_mapping(chip->g2_irq.domain, irq); virq 1076 drivers/net/dsa/mv88e6xxx/global2.c irq_dispose_mapping(virq); virq 1084 drivers/net/dsa/mv88e6xxx/global2.c int err, irq, virq; virq 1120 drivers/net/dsa/mv88e6xxx/global2.c virq = irq_find_mapping(chip->g2_irq.domain, irq); virq 1121 drivers/net/dsa/mv88e6xxx/global2.c irq_dispose_mapping(virq); virq 129 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c ppe_cb->virq = 0; virq 80 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h int virq; virq 470 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c ring->irq = ring_pair_cb->virq[irq_idx]; virq 533 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c ring_pair_cb->virq[HNS_RCB_IRQ_IDX_TX] = virq 536 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c ring_pair_cb->virq[HNS_RCB_IRQ_IDX_RX] = virq 539 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c if ((ring_pair_cb->virq[HNS_RCB_IRQ_IDX_TX] == -EPROBE_DEFER) || virq 540 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c (ring_pair_cb->virq[HNS_RCB_IRQ_IDX_RX] == -EPROBE_DEFER)) virq 92 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.h int virq[HNS_RCB_IRQ_NUM_PER_QUEUE]; virq 266 drivers/pci/controller/dwc/pci-dra7xx.c u32 virq, bit; virq 279 drivers/pci/controller/dwc/pci-dra7xx.c virq = irq_find_mapping(dra7xx->irq_domain, bit); virq 280 drivers/pci/controller/dwc/pci-dra7xx.c if (virq) virq 281 drivers/pci/controller/dwc/pci-dra7xx.c generic_handle_irq(virq); virq 264 drivers/pci/controller/dwc/pci-keystone.c int virq; virq 269 drivers/pci/controller/dwc/pci-keystone.c virq = irq_linear_revmap(ks_pcie->legacy_irq_domain, offset); virq 270 drivers/pci/controller/dwc/pci-keystone.c dev_dbg(dev, ": irq: irq_offset %d, virq %d\n", offset, virq); virq 271 drivers/pci/controller/dwc/pci-keystone.c generic_handle_irq(virq); virq 586 drivers/pci/controller/dwc/pci-keystone.c u32 vector, virq, reg, pos; virq 607 drivers/pci/controller/dwc/pci-keystone.c virq = irq_linear_revmap(pp->irq_domain, vector); virq 609 drivers/pci/controller/dwc/pci-keystone.c virq); virq 610 drivers/pci/controller/dwc/pci-keystone.c generic_handle_irq(virq); virq 207 drivers/pci/controller/dwc/pcie-designware-host.c unsigned int virq, unsigned int nr_irqs, virq 226 drivers/pci/controller/dwc/pcie-designware-host.c irq_domain_set_info(domain, virq + i, bit + i, virq 235 drivers/pci/controller/dwc/pcie-designware-host.c unsigned int virq, unsigned int nr_irqs) virq 237 drivers/pci/controller/dwc/pcie-designware-host.c struct irq_data *d = irq_domain_get_irq_data(domain, virq); virq 237 drivers/pci/controller/dwc/pcie-uniphier.c u32 val, bit, virq; virq 260 drivers/pci/controller/dwc/pcie-uniphier.c virq = irq_linear_revmap(priv->legacy_irq_domain, bit); virq 261 drivers/pci/controller/dwc/pcie-uniphier.c generic_handle_irq(virq); virq 686 drivers/pci/controller/pci-aardvark.c unsigned int virq, virq 704 drivers/pci/controller/pci-aardvark.c irq_domain_set_info(domain, virq + i, hwirq + i, virq 713 drivers/pci/controller/pci-aardvark.c unsigned int virq, unsigned int nr_irqs) virq 715 drivers/pci/controller/pci-aardvark.c struct irq_data *d = irq_domain_get_irq_data(domain, virq); virq 751 drivers/pci/controller/pci-aardvark.c unsigned int virq, irq_hw_number_t hwirq) virq 755 drivers/pci/controller/pci-aardvark.c advk_pcie_irq_mask(irq_get_irq_data(virq)); virq 756 drivers/pci/controller/pci-aardvark.c irq_set_status_flags(virq, IRQ_LEVEL); virq 757 drivers/pci/controller/pci-aardvark.c irq_set_chip_and_handler(virq, &pcie->irq_chip, virq 759 drivers/pci/controller/pci-aardvark.c irq_set_chip_data(virq, pcie); virq 895 drivers/pci/controller/pci-aardvark.c int i, virq; virq 923 drivers/pci/controller/pci-aardvark.c virq = irq_find_mapping(pcie->irq_domain, i); virq 924 drivers/pci/controller/pci-aardvark.c generic_handle_irq(virq); virq 194 drivers/pci/controller/pci-xgene-msi.c static int xgene_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 214 drivers/pci/controller/pci-xgene-msi.c irq_domain_set_info(domain, virq, msi_irq, virq 222 drivers/pci/controller/pci-xgene-msi.c unsigned int virq, unsigned int nr_irqs) virq 224 drivers/pci/controller/pci-xgene-msi.c struct irq_data *d = irq_domain_get_irq_data(domain, virq); virq 235 drivers/pci/controller/pci-xgene-msi.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); virq 294 drivers/pci/controller/pci-xgene-msi.c unsigned int virq; virq 333 drivers/pci/controller/pci-xgene-msi.c virq = irq_find_mapping(xgene_msi->inner_domain, hw_irq); virq 334 drivers/pci/controller/pci-xgene-msi.c WARN_ON(!virq); virq 335 drivers/pci/controller/pci-xgene-msi.c if (virq != 0) virq 336 drivers/pci/controller/pci-xgene-msi.c generic_handle_irq(virq); virq 58 drivers/pci/controller/pcie-altera-msi.c u32 virq; virq 68 drivers/pci/controller/pcie-altera-msi.c virq = irq_find_mapping(msi->inner_domain, bit); virq 69 drivers/pci/controller/pcie-altera-msi.c if (virq) virq 70 drivers/pci/controller/pcie-altera-msi.c generic_handle_irq(virq); virq 116 drivers/pci/controller/pcie-altera-msi.c static int altera_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 136 drivers/pci/controller/pcie-altera-msi.c irq_domain_set_info(domain, virq, bit, &altera_msi_bottom_irq_chip, virq 148 drivers/pci/controller/pcie-altera-msi.c unsigned int virq, unsigned int nr_irqs) virq 150 drivers/pci/controller/pcie-altera-msi.c struct irq_data *d = irq_domain_get_irq_data(domain, virq); virq 650 drivers/pci/controller/pcie-altera.c u32 virq; virq 662 drivers/pci/controller/pcie-altera.c virq = irq_find_mapping(pcie->irq_domain, bit); virq 663 drivers/pci/controller/pcie-altera.c if (virq) virq 664 drivers/pci/controller/pcie-altera.c generic_handle_irq(virq); virq 242 drivers/pci/controller/pcie-iproc-msi.c unsigned int virq, unsigned int nr_irqs, virq 263 drivers/pci/controller/pcie-iproc-msi.c irq_domain_set_info(domain, virq + i, hwirq + i, virq 273 drivers/pci/controller/pcie-iproc-msi.c unsigned int virq, unsigned int nr_irqs) virq 275 drivers/pci/controller/pcie-iproc-msi.c struct irq_data *data = irq_domain_get_irq_data(domain, virq); virq 286 drivers/pci/controller/pcie-iproc-msi.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); virq 319 drivers/pci/controller/pcie-iproc-msi.c int virq; virq 355 drivers/pci/controller/pcie-iproc-msi.c virq = irq_find_mapping(msi->inner_domain, hwirq); virq 356 drivers/pci/controller/pcie-iproc-msi.c generic_handle_irq(virq); virq 435 drivers/pci/controller/pcie-mediatek.c static int mtk_pcie_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 454 drivers/pci/controller/pcie-mediatek.c irq_domain_set_info(domain, virq, bit, &mtk_msi_bottom_irq_chip, virq 462 drivers/pci/controller/pcie-mediatek.c unsigned int virq, unsigned int nr_irqs) virq 464 drivers/pci/controller/pcie-mediatek.c struct irq_data *d = irq_domain_get_irq_data(domain, virq); virq 477 drivers/pci/controller/pcie-mediatek.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); virq 606 drivers/pci/controller/pcie-mediatek.c u32 virq; virq 616 drivers/pci/controller/pcie-mediatek.c virq = irq_find_mapping(port->irq_domain, virq 618 drivers/pci/controller/pcie-mediatek.c generic_handle_irq(virq); virq 628 drivers/pci/controller/pcie-mediatek.c virq = irq_find_mapping(port->inner_domain, bit); virq 629 drivers/pci/controller/pcie-mediatek.c generic_handle_irq(virq); virq 347 drivers/pci/controller/pcie-mobiveil.c u32 bit, virq, val, mask; virq 369 drivers/pci/controller/pcie-mobiveil.c virq = irq_find_mapping(pcie->intx_domain, virq 371 drivers/pci/controller/pcie-mobiveil.c if (virq) virq 372 drivers/pci/controller/pcie-mobiveil.c generic_handle_irq(virq); virq 410 drivers/pci/controller/pcie-mobiveil.c virq = irq_find_mapping(msi->dev_domain, msi_data); virq 411 drivers/pci/controller/pcie-mobiveil.c if (virq) virq 412 drivers/pci/controller/pcie-mobiveil.c generic_handle_irq(virq); virq 759 drivers/pci/controller/pcie-mobiveil.c unsigned int virq, virq 779 drivers/pci/controller/pcie-mobiveil.c irq_domain_set_info(domain, virq, bit, &mobiveil_msi_bottom_irq_chip, virq 785 drivers/pci/controller/pcie-mobiveil.c unsigned int virq, virq 788 drivers/pci/controller/pcie-mobiveil.c struct irq_data *d = irq_domain_get_irq_data(domain, virq); virq 524 drivers/pci/controller/pcie-rockchip-host.c u32 virq; virq 535 drivers/pci/controller/pcie-rockchip-host.c virq = irq_find_mapping(rockchip->irq_domain, hwirq); virq 536 drivers/pci/controller/pcie-rockchip-host.c if (virq) virq 537 drivers/pci/controller/pcie-rockchip-host.c generic_handle_irq(virq); virq 29 drivers/pci/controller/pcie-tango.c unsigned long status, base, virq, idx, pos = 0; virq 38 drivers/pci/controller/pcie-tango.c virq = irq_find_mapping(pcie->dom, base + idx); virq 39 drivers/pci/controller/pcie-tango.c generic_handle_irq(virq); virq 135 drivers/pci/controller/pcie-tango.c static int tango_irq_domain_alloc(struct irq_domain *dom, unsigned int virq, virq 150 drivers/pci/controller/pcie-tango.c irq_domain_set_info(dom, virq, pos, &tango_chip, virq 156 drivers/pci/controller/pcie-tango.c static void tango_irq_domain_free(struct irq_domain *dom, unsigned int virq, virq 160 drivers/pci/controller/pcie-tango.c struct irq_data *d = irq_domain_get_irq_data(dom, virq); virq 244 drivers/pci/controller/pcie-tango.c int virq, offset; virq 275 drivers/pci/controller/pcie-tango.c virq = platform_get_irq(pdev, 1); virq 276 drivers/pci/controller/pcie-tango.c if (virq <= 0) { virq 296 drivers/pci/controller/pcie-tango.c irq_set_chained_handler_and_data(virq, tango_msi_isr, pcie); virq 327 drivers/pci/controller/pcie-xilinx-nwl.c u32 virq; virq 335 drivers/pci/controller/pcie-xilinx-nwl.c virq = irq_find_mapping(pcie->legacy_irq_domain, bit); virq 336 drivers/pci/controller/pcie-xilinx-nwl.c if (virq) virq 337 drivers/pci/controller/pcie-xilinx-nwl.c generic_handle_irq(virq); virq 349 drivers/pci/controller/pcie-xilinx-nwl.c u32 virq; virq 356 drivers/pci/controller/pcie-xilinx-nwl.c virq = irq_find_mapping(msi->dev_domain, bit); virq 357 drivers/pci/controller/pcie-xilinx-nwl.c if (virq) virq 358 drivers/pci/controller/pcie-xilinx-nwl.c generic_handle_irq(virq); virq 476 drivers/pci/controller/pcie-xilinx-nwl.c static int nwl_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 493 drivers/pci/controller/pcie-xilinx-nwl.c irq_domain_set_info(domain, virq + i, bit + i, &nwl_irq_chip, virq 501 drivers/pci/controller/pcie-xilinx-nwl.c static void nwl_irq_domain_free(struct irq_domain *domain, unsigned int virq, virq 504 drivers/pci/controller/pcie-xilinx-nwl.c struct irq_data *data = irq_domain_get_irq_data(domain, virq); virq 71 drivers/pci/controller/vmd.c unsigned int virq; virq 227 drivers/pci/controller/vmd.c unsigned int virq, irq_hw_number_t hwirq, virq 240 drivers/pci/controller/vmd.c vmdirq->virq = virq; virq 244 drivers/pci/controller/vmd.c irq_domain_set_info(domain, virq, vector, info->chip, vmdirq, virq 250 drivers/pci/controller/vmd.c struct msi_domain_info *info, unsigned int virq) virq 252 drivers/pci/controller/vmd.c struct vmd_irq *vmdirq = irq_get_chip_data(virq); virq 727 drivers/pci/controller/vmd.c generic_handle_irq(vmdirq->virq); virq 1423 drivers/pinctrl/intel/pinctrl-baytrail.c unsigned int virq; virq 1440 drivers/pinctrl/intel/pinctrl-baytrail.c virq = irq_find_mapping(vg->chip.irq.domain, base + pin); virq 1441 drivers/pinctrl/intel/pinctrl-baytrail.c generic_handle_irq(virq); virq 312 drivers/pinctrl/mediatek/mtk-eint.c int offset, mask_offset, index, virq; virq 324 drivers/pinctrl/mediatek/mtk-eint.c virq = irq_find_mapping(eint->domain, index); virq 354 drivers/pinctrl/mediatek/mtk-eint.c generic_handle_irq(virq); virq 393 drivers/pinctrl/mediatek/mtk-eint.c int virq, eint_offset; virq 400 drivers/pinctrl/mediatek/mtk-eint.c virq = irq_find_mapping(eint->domain, eint_num); virq 402 drivers/pinctrl/mediatek/mtk-eint.c d = irq_get_irq_data(virq); virq 486 drivers/pinctrl/mediatek/mtk-eint.c int virq = irq_create_mapping(eint->domain, i); virq 488 drivers/pinctrl/mediatek/mtk-eint.c irq_set_chip_and_handler(virq, &mtk_eint_irq_chip, virq 490 drivers/pinctrl/mediatek/mtk-eint.c irq_set_chip_data(virq, eint); virq 669 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c u32 virq = irq_find_mapping(d, hwirq + virq 671 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c u32 t = irq_get_trigger_type(virq); virq 689 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c generic_handle_irq(virq); virq 1063 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c u32 mask, *irq_pol, input_reg, virq, type, level; virq 1078 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c virq = irq_find_mapping(d, i); virq 1079 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c type = irq_get_trigger_type(virq); virq 1677 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c int virq; virq 1679 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c virq = irq_find_mapping(npcm->domain, offset); virq 1680 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c if (virq) virq 1681 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c irq_dispose_mapping(virq); virq 2808 drivers/pinctrl/pinctrl-rockchip.c unsigned int virq; virq 2813 drivers/pinctrl/pinctrl-rockchip.c virq = irq_create_mapping(bank->domain, offset); virq 2815 drivers/pinctrl/pinctrl-rockchip.c return (virq) ? : -ENXIO; virq 2848 drivers/pinctrl/pinctrl-rockchip.c unsigned int irq, virq; virq 2852 drivers/pinctrl/pinctrl-rockchip.c virq = irq_linear_revmap(bank->domain, irq); virq 2854 drivers/pinctrl/pinctrl-rockchip.c if (!virq) { virq 2890 drivers/pinctrl/pinctrl-rockchip.c generic_handle_irq(virq); virq 715 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c static int pm8xxx_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 731 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c irq_domain_set_info(domain, virq + i, hwirq + i, virq 740 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, virq 224 drivers/pinctrl/samsung/pinctrl-exynos.c static int exynos_eint_irq_map(struct irq_domain *h, unsigned int virq, virq 229 drivers/pinctrl/samsung/pinctrl-exynos.c irq_set_chip_data(virq, b); virq 230 drivers/pinctrl/samsung/pinctrl-exynos.c irq_set_chip_and_handler(virq, &b->irq_chip->chip, virq 247 drivers/pinctrl/samsung/pinctrl-exynos.c unsigned int svc, group, pin, virq; virq 257 drivers/pinctrl/samsung/pinctrl-exynos.c virq = irq_linear_revmap(bank->irq_domain, pin); virq 258 drivers/pinctrl/samsung/pinctrl-exynos.c if (!virq) virq 260 drivers/pinctrl/samsung/pinctrl-exynos.c generic_handle_irq(virq); virq 242 drivers/pinctrl/samsung/pinctrl-s3c24xx.c unsigned int virq; virq 245 drivers/pinctrl/samsung/pinctrl-s3c24xx.c virq = irq_linear_revmap(eint_data->domains[data->hwirq], data->hwirq); virq 247 drivers/pinctrl/samsung/pinctrl-s3c24xx.c BUG_ON(!virq); virq 249 drivers/pinctrl/samsung/pinctrl-s3c24xx.c generic_handle_irq(virq); virq 298 drivers/pinctrl/samsung/pinctrl-s3c24xx.c unsigned int virq; virq 303 drivers/pinctrl/samsung/pinctrl-s3c24xx.c virq = irq_linear_revmap(eint_data->domains[data->hwirq], data->hwirq); virq 305 drivers/pinctrl/samsung/pinctrl-s3c24xx.c BUG_ON(!virq); virq 307 drivers/pinctrl/samsung/pinctrl-s3c24xx.c generic_handle_irq(virq); virq 372 drivers/pinctrl/samsung/pinctrl-s3c24xx.c unsigned int virq, irq; virq 376 drivers/pinctrl/samsung/pinctrl-s3c24xx.c virq = irq_linear_revmap(data->domains[irq], irq - offset); virq 378 drivers/pinctrl/samsung/pinctrl-s3c24xx.c BUG_ON(!virq); virq 380 drivers/pinctrl/samsung/pinctrl-s3c24xx.c generic_handle_irq(virq); virq 414 drivers/pinctrl/samsung/pinctrl-s3c24xx.c static int s3c24xx_gpf_irq_map(struct irq_domain *h, unsigned int virq, virq 425 drivers/pinctrl/samsung/pinctrl-s3c24xx.c irq_set_chip_and_handler(virq, &s3c2410_eint0_3_chip, virq 428 drivers/pinctrl/samsung/pinctrl-s3c24xx.c irq_set_chip_and_handler(virq, &s3c2412_eint0_3_chip, virq 431 drivers/pinctrl/samsung/pinctrl-s3c24xx.c irq_set_chip_and_handler(virq, &s3c24xx_eint_chip, virq 434 drivers/pinctrl/samsung/pinctrl-s3c24xx.c irq_set_chip_data(virq, bank); virq 443 drivers/pinctrl/samsung/pinctrl-s3c24xx.c static int s3c24xx_gpg_irq_map(struct irq_domain *h, unsigned int virq, virq 452 drivers/pinctrl/samsung/pinctrl-s3c24xx.c irq_set_chip_and_handler(virq, &s3c24xx_eint_chip, handle_edge_irq); virq 453 drivers/pinctrl/samsung/pinctrl-s3c24xx.c irq_set_chip_data(virq, bank); virq 382 drivers/pinctrl/samsung/pinctrl-s3c64xx.c static int s3c64xx_gpio_irq_map(struct irq_domain *h, unsigned int virq, virq 390 drivers/pinctrl/samsung/pinctrl-s3c64xx.c irq_set_chip_and_handler(virq, virq 392 drivers/pinctrl/samsung/pinctrl-s3c64xx.c irq_set_chip_data(virq, bank); virq 417 drivers/pinctrl/samsung/pinctrl-s3c64xx.c unsigned int virq; virq 434 drivers/pinctrl/samsung/pinctrl-s3c64xx.c virq = irq_linear_revmap(data->domains[group], pin); virq 439 drivers/pinctrl/samsung/pinctrl-s3c64xx.c BUG_ON(!virq); virq 441 drivers/pinctrl/samsung/pinctrl-s3c64xx.c generic_handle_irq(virq); virq 610 drivers/pinctrl/samsung/pinctrl-s3c64xx.c unsigned int virq, irq; virq 614 drivers/pinctrl/samsung/pinctrl-s3c64xx.c virq = irq_linear_revmap(data->domains[irq], data->pins[irq]); virq 619 drivers/pinctrl/samsung/pinctrl-s3c64xx.c BUG_ON(!virq); virq 621 drivers/pinctrl/samsung/pinctrl-s3c64xx.c generic_handle_irq(virq); virq 654 drivers/pinctrl/samsung/pinctrl-s3c64xx.c static int s3c64xx_eint0_irq_map(struct irq_domain *h, unsigned int virq, virq 663 drivers/pinctrl/samsung/pinctrl-s3c64xx.c irq_set_chip_and_handler(virq, virq 665 drivers/pinctrl/samsung/pinctrl-s3c64xx.c irq_set_chip_data(virq, ddata); virq 658 drivers/pinctrl/samsung/pinctrl-samsung.c unsigned int virq; virq 663 drivers/pinctrl/samsung/pinctrl-samsung.c virq = irq_create_mapping(bank->irq_domain, offset); virq 665 drivers/pinctrl/samsung/pinctrl-samsung.c return (virq) ? : -ENXIO; virq 414 drivers/pinctrl/stm32/pinctrl-stm32.c unsigned int virq, virq 428 drivers/pinctrl/stm32/pinctrl-stm32.c irq_domain_set_hwirq_and_chip(d, virq, hwirq, &stm32_gpio_irq_chip, virq 431 drivers/pinctrl/stm32/pinctrl-stm32.c return irq_domain_alloc_irqs_parent(d, virq, nr_irqs, &parent_fwspec); virq 53 drivers/platform/x86/intel_bxtwc_tmu.c int ret, virq, irq; virq 67 drivers/platform/x86/intel_bxtwc_tmu.c virq = regmap_irq_get_virq(regmap_irq_chip, irq); virq 68 drivers/platform/x86/intel_bxtwc_tmu.c if (virq < 0) { virq 71 drivers/platform/x86/intel_bxtwc_tmu.c return virq; virq 74 drivers/platform/x86/intel_bxtwc_tmu.c ret = devm_request_threaded_irq(&pdev->dev, virq, virq 79 drivers/platform/x86/intel_bxtwc_tmu.c ret, virq); virq 82 drivers/platform/x86/intel_bxtwc_tmu.c wctmu->irq = virq; virq 439 drivers/power/supply/da9052-battery.c int virq; virq 441 drivers/power/supply/da9052-battery.c virq = regmap_irq_get_virq(bat->da9052->irq_data, irq); virq 442 drivers/power/supply/da9052-battery.c irq -= virq; virq 87 drivers/power/supply/lp8788-charger.c int virq; virq 425 drivers/power/supply/lp8788-charger.c static bool lp8788_find_irq_id(struct lp8788_charger *pchg, int virq, int *id) virq 431 drivers/power/supply/lp8788-charger.c if (pchg->irqs[i].virq == virq) { virq 441 drivers/power/supply/lp8788-charger.c static irqreturn_t lp8788_charger_irq_thread(int virq, void *ptr) virq 447 drivers/power/supply/lp8788-charger.c if (!lp8788_find_irq_id(pchg, virq, &id)) virq 481 drivers/power/supply/lp8788-charger.c int virq; virq 497 drivers/power/supply/lp8788-charger.c virq = irq_create_mapping(irqdm, i); virq 498 drivers/power/supply/lp8788-charger.c pchg->irqs[nr_irq].virq = virq; virq 502 drivers/power/supply/lp8788-charger.c ret = request_threaded_irq(virq, NULL, virq 516 drivers/power/supply/lp8788-charger.c free_irq(pchg->irqs[i].virq, pchg); virq 557 drivers/power/supply/lp8788-charger.c irq = pchg->irqs[i].virq; virq 863 drivers/ps3/ps3-vuart.c unsigned int virq; virq 926 drivers/ps3/ps3-vuart.c &vuart_bus_priv.virq); virq 935 drivers/ps3/ps3-vuart.c result = request_irq(vuart_bus_priv.virq, ps3_vuart_irq_handler, virq 948 drivers/ps3/ps3-vuart.c ps3_vuart_irq_destroy(vuart_bus_priv.virq); virq 949 drivers/ps3/ps3-vuart.c vuart_bus_priv.virq = 0; virq 970 drivers/ps3/ps3-vuart.c free_irq(vuart_bus_priv.virq, &vuart_bus_priv); virq 972 drivers/ps3/ps3-vuart.c ps3_vuart_irq_destroy(vuart_bus_priv.virq); virq 973 drivers/ps3/ps3-vuart.c vuart_bus_priv.virq = 0; virq 96 drivers/rtc/rtc-max77686.c int virq; virq 762 drivers/rtc/rtc-max77686.c info->virq = regmap_irq_get_virq(info->rtc_irq_data, virq 764 drivers/rtc/rtc-max77686.c if (info->virq <= 0) { virq 769 drivers/rtc/rtc-max77686.c ret = request_threaded_irq(info->virq, NULL, max77686_rtc_alarm_irq, 0, virq 773 drivers/rtc/rtc-max77686.c info->virq, ret); virq 789 drivers/rtc/rtc-max77686.c free_irq(info->virq, info); virq 801 drivers/rtc/rtc-max77686.c return enable_irq_wake(info->virq); virq 812 drivers/rtc/rtc-max77686.c return disable_irq_wake(info->virq); virq 70 drivers/rtc/rtc-max8997.c int virq; virq 452 drivers/rtc/rtc-max8997.c int ret, virq; virq 487 drivers/rtc/rtc-max8997.c virq = irq_create_mapping(max8997->irq_domain, MAX8997_PMICIRQ_RTCA1); virq 488 drivers/rtc/rtc-max8997.c if (!virq) { virq 493 drivers/rtc/rtc-max8997.c info->virq = virq; virq 495 drivers/rtc/rtc-max8997.c ret = devm_request_threaded_irq(&pdev->dev, virq, NULL, virq 500 drivers/rtc/rtc-max8997.c info->virq, ret); virq 184 drivers/scsi/cxlflash/ocxl_hw.c u32 virq; virq 194 drivers/scsi/cxlflash/ocxl_hw.c virq = irq_create_mapping(NULL, irq->hwirq); virq 195 drivers/scsi/cxlflash/ocxl_hw.c if (unlikely(!virq)) { virq 201 drivers/scsi/cxlflash/ocxl_hw.c rc = request_irq(virq, handler, 0, name, cookie); virq 214 drivers/scsi/cxlflash/ocxl_hw.c irq->virq = virq; virq 219 drivers/scsi/cxlflash/ocxl_hw.c free_irq(virq, cookie); virq 221 drivers/scsi/cxlflash/ocxl_hw.c irq_dispose_mapping(virq); virq 266 drivers/scsi/cxlflash/ocxl_hw.c free_irq(irq->virq, cookie); virq 267 drivers/scsi/cxlflash/ocxl_hw.c irq_dispose_mapping(irq->virq); virq 1282 drivers/scsi/cxlflash/ocxl_hw.c if (ctx->irqs[i].virq == irq) virq 15 drivers/scsi/cxlflash/ocxl_hw.h u32 virq; virq 84 drivers/sh/intc/virq.c static int add_virq_to_pirq(unsigned int irq, unsigned int virq) virq 91 drivers/sh/intc/virq.c if (entry->irq == virq) virq 100 drivers/sh/intc/virq.c entry->irq = virq; virq 185 drivers/soc/fsl/qe/qe_ic.c static inline struct qe_ic *qe_ic_from_irq(unsigned int virq) virq 187 drivers/soc/fsl/qe/qe_ic.c return irq_get_chip_data(virq); virq 252 drivers/soc/fsl/qe/qe_ic.c static int qe_ic_host_map(struct irq_domain *h, unsigned int virq, virq 270 drivers/soc/fsl/qe/qe_ic.c irq_set_chip_data(virq, qe_ic); virq 271 drivers/soc/fsl/qe/qe_ic.c irq_set_status_flags(virq, IRQ_LEVEL); virq 273 drivers/soc/fsl/qe/qe_ic.c irq_set_chip_and_handler(virq, chip, handle_level_irq); virq 385 drivers/soc/fsl/qe/qe_ic.c void qe_ic_set_highest_priority(unsigned int virq, int high) virq 387 drivers/soc/fsl/qe/qe_ic.c struct qe_ic *qe_ic = qe_ic_from_irq(virq); virq 388 drivers/soc/fsl/qe/qe_ic.c unsigned int src = virq_to_hw(virq); virq 403 drivers/soc/fsl/qe/qe_ic.c int qe_ic_set_priority(unsigned int virq, unsigned int priority) virq 405 drivers/soc/fsl/qe/qe_ic.c struct qe_ic *qe_ic = qe_ic_from_irq(virq); virq 406 drivers/soc/fsl/qe/qe_ic.c unsigned int src = virq_to_hw(virq); virq 433 drivers/soc/fsl/qe/qe_ic.c int qe_ic_set_high_priority(unsigned int virq, unsigned int priority, int high) virq 435 drivers/soc/fsl/qe/qe_ic.c struct qe_ic *qe_ic = qe_ic_from_irq(virq); virq 436 drivers/soc/fsl/qe/qe_ic.c unsigned int src = virq_to_hw(virq); virq 1854 drivers/soc/tegra/pmc.c static int tegra_pmc_irq_alloc(struct irq_domain *domain, unsigned int virq, virq 1875 drivers/soc/tegra/pmc.c err = irq_domain_set_hwirq_and_chip(domain, virq, virq 1887 drivers/soc/tegra/pmc.c err = irq_domain_alloc_irqs_parent(domain, virq, virq 1898 drivers/soc/tegra/pmc.c err = irq_domain_set_hwirq_and_chip(domain, virq, virq 1913 drivers/soc/tegra/pmc.c virq, 0, NULL, virq 1926 drivers/soc/tegra/pmc.c err = irq_domain_set_hwirq_and_chip(domain, virq, ULONG_MAX, virq 1937 drivers/soc/tegra/pmc.c irq_domain_set_hwirq_and_chip(domain->parent, virq, 0, virq 737 drivers/spmi/spmi-pmic-arb.c struct irq_domain *domain, unsigned int virq, virq 743 drivers/spmi/spmi-pmic-arb.c virq, hwirq, type); virq 751 drivers/spmi/spmi-pmic-arb.c irq_set_lockdep_class(virq, &qpnpint_irq_lock_class, virq 753 drivers/spmi/spmi-pmic-arb.c irq_domain_set_info(domain, virq, hwirq, &pmic_arb_irqchip, pmic_arb, virq 758 drivers/spmi/spmi-pmic-arb.c unsigned int virq, unsigned int nr_irqs, virq 772 drivers/spmi/spmi-pmic-arb.c qpnpint_irq_domain_map(pmic_arb, domain, virq + i, hwirq + i, virq 78 drivers/staging/board/board.c unsigned int virq; virq 105 drivers/staging/board/board.c virq = irq_create_of_mapping(&irq_data); virq 106 drivers/staging/board/board.c if (WARN_ON(!virq)) virq 109 drivers/staging/board/board.c pr_debug("hwirq %u -> virq %u\n", hwirq, virq); virq 110 drivers/staging/board/board.c res->start = virq; virq 212 drivers/thermal/intel/intel_bxt_pmic_thermal.c int ret, irq, virq, i, j, pmic_irq_count; virq 238 drivers/thermal/intel/intel_bxt_pmic_thermal.c virq = regmap_irq_get_virq(regmap_irq_chip, irq); virq 239 drivers/thermal/intel/intel_bxt_pmic_thermal.c if (virq < 0) { virq 241 drivers/thermal/intel/intel_bxt_pmic_thermal.c return virq; virq 244 drivers/thermal/intel/intel_bxt_pmic_thermal.c ret = devm_request_threaded_irq(&pdev->dev, virq, virq 249 drivers/thermal/intel/intel_bxt_pmic_thermal.c dev_err(dev, "request irq(%d) failed: %d\n", virq, ret); virq 1195 drivers/thermal/tegra/soctherm.c static int soctherm_oc_irq_map(struct irq_domain *h, unsigned int virq, virq 1200 drivers/thermal/tegra/soctherm.c irq_set_chip_data(virq, data); virq 1201 drivers/thermal/tegra/soctherm.c irq_set_chip(virq, &data->irq_chip); virq 1202 drivers/thermal/tegra/soctherm.c irq_set_nested_thread(virq, 1); virq 74 drivers/tty/hvc/hvsi.c uint32_t virq; virq 518 drivers/tty/hvc/hvsi.c hvsi_interrupt(hp->virq, (void *)hp); /* get pending data */ virq 791 drivers/tty/hvc/hvsi.c synchronize_irq(hp->virq); virq 1065 drivers/tty/hvc/hvsi.c ret = request_irq(hp->virq, hvsi_interrupt, 0, "hvsi", hp); virq 1068 drivers/tty/hvc/hvsi.c hp->virq, ret); virq 1195 drivers/tty/hvc/hvsi.c hp->virq = irq_create_mapping(NULL, be32_to_cpup(irq)); virq 1196 drivers/tty/hvc/hvsi.c if (hp->virq == 0) { virq 88 drivers/usb/host/ehci-ps3.c unsigned int virq; virq 125 drivers/usb/host/ehci-ps3.c result = ps3_io_irq_setup(PS3_BINDING_CPU_ANY, dev->interrupt_id, &virq); virq 129 drivers/usb/host/ehci-ps3.c __func__, __LINE__, virq); virq 170 drivers/usb/host/ehci-ps3.c (unsigned long)virq); virq 174 drivers/usb/host/ehci-ps3.c result = usb_add_hcd(hcd, virq, 0); virq 191 drivers/usb/host/ehci-ps3.c ps3_io_irq_destroy(virq); virq 71 drivers/usb/host/ohci-ps3.c unsigned int virq; virq 109 drivers/usb/host/ohci-ps3.c result = ps3_io_irq_setup(PS3_BINDING_CPU_ANY, dev->interrupt_id, &virq); virq 113 drivers/usb/host/ohci-ps3.c __func__, __LINE__, virq); virq 154 drivers/usb/host/ohci-ps3.c (unsigned long)virq); virq 158 drivers/usb/host/ohci-ps3.c result = usb_add_hcd(hcd, virq, 0); virq 175 drivers/usb/host/ohci-ps3.c ps3_io_irq_destroy(virq); virq 128 drivers/vlynq/vlynq.c int virq; virq 132 drivers/vlynq/vlynq.c virq = d->irq - dev->irq_start; virq 133 drivers/vlynq/vlynq.c val = readl(&dev->remote->int_device[virq >> 2]); virq 134 drivers/vlynq/vlynq.c val |= (VINT_ENABLE | virq) << VINT_OFFSET(virq); virq 135 drivers/vlynq/vlynq.c writel(val, &dev->remote->int_device[virq >> 2]); virq 141 drivers/vlynq/vlynq.c int virq; virq 145 drivers/vlynq/vlynq.c virq = d->irq - dev->irq_start; virq 146 drivers/vlynq/vlynq.c val = readl(&dev->remote->int_device[virq >> 2]); virq 147 drivers/vlynq/vlynq.c val &= ~(VINT_ENABLE << VINT_OFFSET(virq)); virq 148 drivers/vlynq/vlynq.c writel(val, &dev->remote->int_device[virq >> 2]); virq 154 drivers/vlynq/vlynq.c int virq; virq 158 drivers/vlynq/vlynq.c virq = d->irq - dev->irq_start; virq 159 drivers/vlynq/vlynq.c val = readl(&dev->remote->int_device[virq >> 2]); virq 164 drivers/vlynq/vlynq.c val |= VINT_TYPE_EDGE << VINT_OFFSET(virq); virq 165 drivers/vlynq/vlynq.c val &= ~(VINT_LEVEL_LOW << VINT_OFFSET(virq)); virq 168 drivers/vlynq/vlynq.c val &= ~(VINT_TYPE_EDGE << VINT_OFFSET(virq)); virq 169 drivers/vlynq/vlynq.c val &= ~(VINT_LEVEL_LOW << VINT_OFFSET(virq)); virq 172 drivers/vlynq/vlynq.c val &= ~(VINT_TYPE_EDGE << VINT_OFFSET(virq)); virq 173 drivers/vlynq/vlynq.c val |= VINT_LEVEL_LOW << VINT_OFFSET(virq); virq 178 drivers/vlynq/vlynq.c writel(val, &dev->remote->int_device[virq >> 2]); virq 206 drivers/vlynq/vlynq.c int virq = 0; virq 216 drivers/vlynq/vlynq.c do_IRQ(dev->irq_start + virq); virq 218 drivers/vlynq/vlynq.c virq++; virq 248 drivers/vlynq/vlynq.c int i, virq; virq 277 drivers/vlynq/vlynq.c virq = i - dev->irq_start; virq 278 drivers/vlynq/vlynq.c if (virq == dev->local_irq) { virq 282 drivers/vlynq/vlynq.c } else if (virq == dev->remote_irq) { virq 290 drivers/vlynq/vlynq.c writel(0, &dev->remote->int_device[virq >> 2]); virq 619 drivers/vlynq/vlynq.c int vlynq_set_local_irq(struct vlynq_device *dev, int virq) virq 621 drivers/vlynq/vlynq.c int irq = dev->irq_start + virq; virq 628 drivers/vlynq/vlynq.c if (virq == dev->remote_irq) virq 631 drivers/vlynq/vlynq.c dev->local_irq = virq; virq 637 drivers/vlynq/vlynq.c int vlynq_set_remote_irq(struct vlynq_device *dev, int virq) virq 639 drivers/vlynq/vlynq.c int irq = dev->irq_start + virq; virq 646 drivers/vlynq/vlynq.c if (virq == dev->local_irq) virq 649 drivers/vlynq/vlynq.c dev->remote_irq = virq; virq 211 drivers/xen/events/events_base.c unsigned virq) virq 215 drivers/xen/events/events_base.c info->u.virq = virq; virq 217 drivers/xen/events/events_base.c per_cpu(virq_to_irq, cpu)[virq] = irq; virq 262 drivers/xen/events/events_base.c int irq_from_virq(unsigned int cpu, unsigned int virq) virq 264 drivers/xen/events/events_base.c return per_cpu(virq_to_irq, cpu)[virq]; virq 284 drivers/xen/events/events_base.c return info->u.virq; virq 927 drivers/xen/events/events_base.c static int find_virq(unsigned int virq, unsigned int cpu) virq 941 drivers/xen/events/events_base.c if (status.u.virq == virq && status.vcpu == xen_vcpu_nr(cpu)) { virq 962 drivers/xen/events/events_base.c int bind_virq_to_irq(unsigned int virq, unsigned int cpu, bool percpu) virq 969 drivers/xen/events/events_base.c irq = per_cpu(virq_to_irq, cpu)[virq]; virq 983 drivers/xen/events/events_base.c bind_virq.virq = virq; virq 991 drivers/xen/events/events_base.c ret = find_virq(virq, cpu); virq 996 drivers/xen/events/events_base.c ret = xen_irq_info_virq_setup(cpu, irq, evtchn, virq); virq 1065 drivers/xen/events/events_base.c int bind_virq_to_irqhandler(unsigned int virq, unsigned int cpu, virq 1071 drivers/xen/events/events_base.c irq = bind_virq_to_irq(virq, cpu, irqflags & IRQF_PERCPU); virq 1453 drivers/xen/events/events_base.c int virq, irq, evtchn; virq 1455 drivers/xen/events/events_base.c for (virq = 0; virq < NR_VIRQS; virq++) { virq 1456 drivers/xen/events/events_base.c if ((irq = per_cpu(virq_to_irq, cpu)[virq]) == -1) virq 1459 drivers/xen/events/events_base.c BUG_ON(virq_from_irq(irq) != virq); virq 1462 drivers/xen/events/events_base.c bind_virq.virq = virq; virq 1470 drivers/xen/events/events_base.c (void)xen_irq_info_virq_setup(cpu, irq, evtchn, virq); virq 40 drivers/xen/events/events_internal.h unsigned short virq; virq 477 drivers/xen/evtchn.c bind_virq.virq = bind.virq; virq 1079 include/linux/irq.h int irq_map_generic_chip(struct irq_domain *d, unsigned int virq, virq 1206 include/linux/irq.h int ipi_send_single(unsigned int virq, unsigned int cpu); virq 1207 include/linux/irq.h int ipi_send_mask(unsigned int virq, const struct cpumask *dest); virq 108 include/linux/irqdomain.h int (*map)(struct irq_domain *d, unsigned int virq, irq_hw_number_t hw); virq 109 include/linux/irqdomain.h void (*unmap)(struct irq_domain *d, unsigned int virq); virq 115 include/linux/irqdomain.h int (*alloc)(struct irq_domain *d, unsigned int virq, virq 117 include/linux/irqdomain.h void (*free)(struct irq_domain *d, unsigned int virq, virq 277 include/linux/irqdomain.h extern int irq_domain_alloc_descs(int virq, unsigned int nr_irqs, virq 388 include/linux/irqdomain.h extern void irq_dispose_mapping(unsigned int virq); virq 442 include/linux/irqdomain.h unsigned int virq); virq 443 include/linux/irqdomain.h extern void irq_domain_set_info(struct irq_domain *domain, unsigned int virq, virq 469 include/linux/irqdomain.h extern void irq_domain_free_irqs(unsigned int virq, unsigned int nr_irqs); virq 484 include/linux/irqdomain.h unsigned int virq, virq 490 include/linux/irqdomain.h unsigned int virq, virq 493 include/linux/irqdomain.h unsigned int virq, unsigned int nr_irqs); virq 495 include/linux/irqdomain.h extern int irq_domain_push_irq(struct irq_domain *domain, int virq, void *arg); virq 496 include/linux/irqdomain.h extern int irq_domain_pop_irq(struct irq_domain *domain, int virq); virq 546 include/linux/irqdomain.h static inline void irq_domain_free_irqs(unsigned int virq, virq 587 include/linux/irqdomain.h static inline void irq_dispose_mapping(unsigned int virq) { } virq 136 include/linux/mfd/arizona/core.h struct irq_domain *virq; virq 294 include/linux/mfd/motorola-cpcap.h extern int cpcap_sense_virq(struct regmap *regmap, int virq); virq 257 include/linux/msi.h unsigned int virq, irq_hw_number_t hwirq, virq 261 include/linux/msi.h unsigned int virq); virq 346 include/linux/msi.h int virq, int nvec, msi_alloc_info_t *args); virq 360 include/linux/msi.h int platform_msi_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 362 include/linux/msi.h void platform_msi_domain_free(struct irq_domain *domain, unsigned int virq, virq 122 include/linux/vlynq.h static inline int vlynq_virq_to_irq(struct vlynq_device *dev, int virq) virq 124 include/linux/vlynq.h int irq = dev->irq_start + virq; virq 146 include/linux/vlynq.h extern int vlynq_set_local_irq(struct vlynq_device *dev, int virq); virq 147 include/linux/vlynq.h extern int vlynq_set_remote_irq(struct vlynq_device *dev, int virq); virq 73 include/soc/fsl/qe/qe_ic.h void qe_ic_set_highest_priority(unsigned int virq, int high); virq 74 include/soc/fsl/qe/qe_ic.h int qe_ic_set_priority(unsigned int virq, unsigned int priority); virq 75 include/soc/fsl/qe/qe_ic.h int qe_ic_set_high_priority(unsigned int virq, unsigned int priority, int high); virq 44 include/uapi/xen/evtchn.h unsigned int virq; virq 22 include/xen/events.h int bind_virq_to_irq(unsigned int virq, unsigned int cpu, bool percpu); virq 23 include/xen/events.h int bind_virq_to_irqhandler(unsigned int virq, unsigned int cpu, virq 90 include/xen/events.h int irq_from_virq(unsigned int cpu, unsigned int virq); virq 63 include/xen/interface/event_channel.h uint32_t virq; virq 150 include/xen/interface/event_channel.h uint32_t virq; /* EVTCHNSTAT_virq */ virq 377 kernel/irq/generic-chip.c int irq_map_generic_chip(struct irq_domain *d, unsigned int virq, virq 380 kernel/irq/generic-chip.c struct irq_data *data = irq_domain_get_irq_data(d, virq); virq 414 kernel/irq/generic-chip.c irq_set_lockdep_class(virq, &irq_nested_lock_class, virq 422 kernel/irq/generic-chip.c irq_domain_set_info(d, virq, hw_irq, chip, gc, ct->handler, NULL, NULL); virq 423 kernel/irq/generic-chip.c irq_modify_status(virq, dgc->irq_flags_to_clear, dgc->irq_flags_to_set); virq 427 kernel/irq/generic-chip.c static void irq_unmap_generic_chip(struct irq_domain *d, unsigned int virq) virq 429 kernel/irq/generic-chip.c struct irq_data *data = irq_domain_get_irq_data(d, virq); virq 442 kernel/irq/generic-chip.c irq_domain_set_info(d, virq, hw_irq, &no_irq_chip, NULL, NULL, NULL, virq 561 kernel/irq/generic-chip.c unsigned int virq; virq 573 kernel/irq/generic-chip.c virq = irq_find_mapping(gc->domain, gc->irq_base + __ffs(gc->installed)); virq 574 kernel/irq/generic-chip.c return virq ? irq_get_irq_data(virq) : NULL; virq 28 kernel/irq/ipi.c int virq, i; virq 78 kernel/irq/ipi.c virq = irq_domain_alloc_descs(-1, nr_irqs, 0, NUMA_NO_NODE, NULL); virq 79 kernel/irq/ipi.c if (virq <= 0) { virq 84 kernel/irq/ipi.c virq = __irq_domain_alloc_irqs(domain, virq, nr_irqs, NUMA_NO_NODE, virq 87 kernel/irq/ipi.c if (virq <= 0) { virq 93 kernel/irq/ipi.c data = irq_get_irq_data(virq + i); virq 96 kernel/irq/ipi.c irq_set_status_flags(virq + i, IRQ_NO_BALANCING); virq 98 kernel/irq/ipi.c return virq; virq 101 kernel/irq/ipi.c irq_free_descs(virq, nr_irqs); virq 307 kernel/irq/ipi.c int ipi_send_single(unsigned int virq, unsigned int cpu) virq 309 kernel/irq/ipi.c struct irq_desc *desc = irq_to_desc(virq); virq 328 kernel/irq/ipi.c int ipi_send_mask(unsigned int virq, const struct cpumask *dest) virq 330 kernel/irq/ipi.c struct irq_desc *desc = irq_to_desc(virq); virq 533 kernel/irq/irqdomain.c int irq_domain_associate(struct irq_domain *domain, unsigned int virq, virq 536 kernel/irq/irqdomain.c struct irq_data *irq_data = irq_get_irq_data(virq); virq 542 kernel/irq/irqdomain.c if (WARN(!irq_data, "error: virq%i is not allocated", virq)) virq 544 kernel/irq/irqdomain.c if (WARN(irq_data->domain, "error: virq%i is already associated", virq)) virq 551 kernel/irq/irqdomain.c ret = domain->ops->map(domain, virq, hwirq); virq 560 kernel/irq/irqdomain.c domain->name, hwirq, virq, ret); virq 577 kernel/irq/irqdomain.c irq_clear_status_flags(virq, IRQ_NOREQUEST); virq 612 kernel/irq/irqdomain.c unsigned int virq; virq 618 kernel/irq/irqdomain.c virq = irq_alloc_desc_from(1, of_node_to_nid(of_node)); virq 619 kernel/irq/irqdomain.c if (!virq) { virq 623 kernel/irq/irqdomain.c if (virq >= domain->revmap_direct_max_irq) { virq 626 kernel/irq/irqdomain.c irq_free_desc(virq); virq 629 kernel/irq/irqdomain.c pr_debug("create_direct obtained virq %d\n", virq); virq 631 kernel/irq/irqdomain.c if (irq_domain_associate(domain, virq, virq)) { virq 632 kernel/irq/irqdomain.c irq_free_desc(virq); virq 636 kernel/irq/irqdomain.c return virq; virq 654 kernel/irq/irqdomain.c int virq; virq 670 kernel/irq/irqdomain.c virq = irq_find_mapping(domain, hwirq); virq 671 kernel/irq/irqdomain.c if (virq) { virq 672 kernel/irq/irqdomain.c pr_debug("-> existing mapping on virq %d\n", virq); virq 673 kernel/irq/irqdomain.c return virq; virq 677 kernel/irq/irqdomain.c virq = irq_domain_alloc_descs(-1, 1, hwirq, of_node_to_nid(of_node), NULL); virq 678 kernel/irq/irqdomain.c if (virq <= 0) { virq 683 kernel/irq/irqdomain.c if (irq_domain_associate(domain, virq, hwirq)) { virq 684 kernel/irq/irqdomain.c irq_free_desc(virq); virq 689 kernel/irq/irqdomain.c hwirq, of_node_full_name(of_node), virq); virq 691 kernel/irq/irqdomain.c return virq; virq 767 kernel/irq/irqdomain.c int virq; virq 797 kernel/irq/irqdomain.c virq = irq_find_mapping(domain, hwirq); virq 798 kernel/irq/irqdomain.c if (virq) { virq 804 kernel/irq/irqdomain.c if (type == IRQ_TYPE_NONE || type == irq_get_trigger_type(virq)) virq 805 kernel/irq/irqdomain.c return virq; virq 811 kernel/irq/irqdomain.c if (irq_get_trigger_type(virq) == IRQ_TYPE_NONE) { virq 812 kernel/irq/irqdomain.c irq_data = irq_get_irq_data(virq); virq 817 kernel/irq/irqdomain.c return virq; virq 826 kernel/irq/irqdomain.c virq = irq_domain_alloc_irqs(domain, 1, NUMA_NO_NODE, fwspec); virq 827 kernel/irq/irqdomain.c if (virq <= 0) virq 831 kernel/irq/irqdomain.c virq = irq_create_mapping(domain, hwirq); virq 832 kernel/irq/irqdomain.c if (!virq) virq 833 kernel/irq/irqdomain.c return virq; virq 836 kernel/irq/irqdomain.c irq_data = irq_get_irq_data(virq); virq 839 kernel/irq/irqdomain.c irq_domain_free_irqs(virq, 1); virq 841 kernel/irq/irqdomain.c irq_dispose_mapping(virq); virq 848 kernel/irq/irqdomain.c return virq; virq 867 kernel/irq/irqdomain.c void irq_dispose_mapping(unsigned int virq) virq 869 kernel/irq/irqdomain.c struct irq_data *irq_data = irq_get_irq_data(virq); virq 872 kernel/irq/irqdomain.c if (!virq || !irq_data) virq 880 kernel/irq/irqdomain.c irq_domain_free_irqs(virq, 1); virq 882 kernel/irq/irqdomain.c irq_domain_disassociate(domain, virq); virq 883 kernel/irq/irqdomain.c irq_free_desc(virq); virq 1010 kernel/irq/irqdomain.c int irq_domain_alloc_descs(int virq, unsigned int cnt, irq_hw_number_t hwirq, virq 1015 kernel/irq/irqdomain.c if (virq >= 0) { virq 1016 kernel/irq/irqdomain.c virq = __irq_alloc_descs(virq, virq, cnt, node, THIS_MODULE, virq 1022 kernel/irq/irqdomain.c virq = __irq_alloc_descs(-1, hint, cnt, node, THIS_MODULE, virq 1024 kernel/irq/irqdomain.c if (virq <= 0 && hint > 1) { virq 1025 kernel/irq/irqdomain.c virq = __irq_alloc_descs(-1, 1, cnt, node, THIS_MODULE, virq 1030 kernel/irq/irqdomain.c return virq; virq 1071 kernel/irq/irqdomain.c static void irq_domain_insert_irq(int virq) virq 1075 kernel/irq/irqdomain.c for (data = irq_get_irq_data(virq); data; data = data->parent_data) { virq 1086 kernel/irq/irqdomain.c irq_clear_status_flags(virq, IRQ_NOREQUEST); virq 1089 kernel/irq/irqdomain.c static void irq_domain_remove_irq(int virq) virq 1093 kernel/irq/irqdomain.c irq_set_status_flags(virq, IRQ_NOREQUEST); virq 1094 kernel/irq/irqdomain.c irq_set_chip_and_handler(virq, NULL, NULL); virq 1095 kernel/irq/irqdomain.c synchronize_irq(virq); virq 1098 kernel/irq/irqdomain.c for (data = irq_get_irq_data(virq); data; data = data->parent_data) { virq 1124 kernel/irq/irqdomain.c static void irq_domain_free_irq_data(unsigned int virq, unsigned int nr_irqs) virq 1130 kernel/irq/irqdomain.c irq_data = irq_get_irq_data(virq + i); virq 1144 kernel/irq/irqdomain.c unsigned int virq, unsigned int nr_irqs) virq 1152 kernel/irq/irqdomain.c irq_data = irq_get_irq_data(virq + i); virq 1158 kernel/irq/irqdomain.c irq_domain_free_irq_data(virq, i + 1); virq 1173 kernel/irq/irqdomain.c unsigned int virq) virq 1177 kernel/irq/irqdomain.c for (irq_data = irq_get_irq_data(virq); irq_data; virq 1194 kernel/irq/irqdomain.c int irq_domain_set_hwirq_and_chip(struct irq_domain *domain, unsigned int virq, virq 1198 kernel/irq/irqdomain.c struct irq_data *irq_data = irq_domain_get_irq_data(domain, virq); virq 1222 kernel/irq/irqdomain.c void irq_domain_set_info(struct irq_domain *domain, unsigned int virq, virq 1227 kernel/irq/irqdomain.c irq_domain_set_hwirq_and_chip(domain, virq, hwirq, chip, chip_data); virq 1228 kernel/irq/irqdomain.c __irq_set_handler(virq, handler, 0, handler_name); virq 1229 kernel/irq/irqdomain.c irq_set_handler_data(virq, handler_data); virq 1251 kernel/irq/irqdomain.c void irq_domain_free_irqs_common(struct irq_domain *domain, unsigned int virq, virq 1258 kernel/irq/irqdomain.c irq_data = irq_domain_get_irq_data(domain, virq + i); virq 1262 kernel/irq/irqdomain.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); virq 1272 kernel/irq/irqdomain.c void irq_domain_free_irqs_top(struct irq_domain *domain, unsigned int virq, virq 1278 kernel/irq/irqdomain.c irq_set_handler_data(virq + i, NULL); virq 1279 kernel/irq/irqdomain.c irq_set_handler(virq + i, NULL); virq 1281 kernel/irq/irqdomain.c irq_domain_free_irqs_common(domain, virq, nr_irqs); virq 1330 kernel/irq/irqdomain.c int i, ret, virq; virq 1339 kernel/irq/irqdomain.c virq = irq_base; virq 1341 kernel/irq/irqdomain.c virq = irq_domain_alloc_descs(irq_base, nr_irqs, 0, node, virq 1343 kernel/irq/irqdomain.c if (virq < 0) { virq 1346 kernel/irq/irqdomain.c return virq; virq 1350 kernel/irq/irqdomain.c if (irq_domain_alloc_irq_data(domain, virq, nr_irqs)) { virq 1351 kernel/irq/irqdomain.c pr_debug("cannot allocate memory for IRQ%d\n", virq); virq 1357 kernel/irq/irqdomain.c ret = irq_domain_alloc_irqs_hierarchy(domain, virq, nr_irqs, arg); virq 1363 kernel/irq/irqdomain.c irq_domain_insert_irq(virq + i); virq 1366 kernel/irq/irqdomain.c return virq; virq 1369 kernel/irq/irqdomain.c irq_domain_free_irq_data(virq, nr_irqs); virq 1371 kernel/irq/irqdomain.c irq_free_descs(virq, nr_irqs); virq 1402 kernel/irq/irqdomain.c int irq_domain_push_irq(struct irq_domain *domain, int virq, void *arg) virq 1405 kernel/irq/irqdomain.c struct irq_data *root_irq_data = irq_get_irq_data(virq); virq 1418 kernel/irq/irqdomain.c desc = irq_to_desc(virq); virq 1458 kernel/irq/irqdomain.c rv = irq_domain_alloc_irqs_hierarchy(domain, virq, 1, arg); virq 1484 kernel/irq/irqdomain.c int irq_domain_pop_irq(struct irq_domain *domain, int virq) virq 1486 kernel/irq/irqdomain.c struct irq_data *root_irq_data = irq_get_irq_data(virq); virq 1500 kernel/irq/irqdomain.c desc = irq_to_desc(virq); virq 1512 kernel/irq/irqdomain.c tmp_irq_data = irq_domain_get_irq_data(domain, virq); virq 1530 kernel/irq/irqdomain.c irq_domain_free_irqs_hierarchy(domain, virq, 1); virq 1550 kernel/irq/irqdomain.c void irq_domain_free_irqs(unsigned int virq, unsigned int nr_irqs) virq 1552 kernel/irq/irqdomain.c struct irq_data *data = irq_get_irq_data(virq); virq 1561 kernel/irq/irqdomain.c irq_domain_remove_irq(virq + i); virq 1562 kernel/irq/irqdomain.c irq_domain_free_irqs_hierarchy(data->domain, virq, nr_irqs); virq 1565 kernel/irq/irqdomain.c irq_domain_free_irq_data(virq, nr_irqs); virq 1566 kernel/irq/irqdomain.c irq_free_descs(virq, nr_irqs); virq 1703 kernel/irq/irqdomain.c unsigned int virq) virq 1705 kernel/irq/irqdomain.c struct irq_data *irq_data = irq_get_irq_data(virq); virq 1722 kernel/irq/irqdomain.c void irq_domain_set_info(struct irq_domain *domain, unsigned int virq, virq 1727 kernel/irq/irqdomain.c irq_set_chip_and_handler_name(virq, chip, handler, handler_name); virq 1728 kernel/irq/irqdomain.c irq_set_chip_data(virq, chip_data); virq 1729 kernel/irq/irqdomain.c irq_set_handler_data(virq, handler_data); virq 138 kernel/irq/msi.c static int msi_domain_alloc(struct irq_domain *domain, unsigned int virq, virq 150 kernel/irq/msi.c ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, arg); virq 156 kernel/irq/msi.c ret = ops->msi_init(domain, info, virq + i, hwirq + i, arg); virq 160 kernel/irq/msi.c ops->msi_free(domain, info, virq + i); virq 162 kernel/irq/msi.c irq_domain_free_irqs_top(domain, virq, nr_irqs); virq 170 kernel/irq/msi.c static void msi_domain_free(struct irq_domain *domain, unsigned int virq, virq 178 kernel/irq/msi.c info->ops->msi_free(domain, info, virq + i); virq 180 kernel/irq/msi.c irq_domain_free_irqs_top(domain, virq, nr_irqs); virq 217 kernel/irq/msi.c unsigned int virq, irq_hw_number_t hwirq, virq 220 kernel/irq/msi.c irq_domain_set_hwirq_and_chip(domain, virq, hwirq, info->chip, virq 223 kernel/irq/msi.c __irq_set_handler(virq, info->handler, 0, info->handler_name); virq 225 kernel/irq/msi.c irq_set_handler_data(virq, info->handler_data); virq 316 kernel/irq/msi.c int virq, int nvec, msi_alloc_info_t *arg) virq 330 kernel/irq/msi.c if (!(desc->irq >= virq && desc->irq < (virq + nvec))) virq 346 kernel/irq/msi.c if (!(desc->irq >= virq && desc->irq < (virq + nvec))) virq 407 kernel/irq/msi.c int i, ret, virq; virq 417 kernel/irq/msi.c virq = __irq_domain_alloc_irqs(domain, -1, desc->nvec_used, virq 420 kernel/irq/msi.c if (virq < 0) { virq 430 kernel/irq/msi.c irq_set_msi_desc_off(virq, i, desc); virq 431 kernel/irq/msi.c irq_debugfs_copy_devname(virq + i, dev); virq 441 kernel/irq/msi.c virq = desc->irq; virq 443 kernel/irq/msi.c dev_dbg(dev, "irq %d for MSI\n", virq); virq 446 kernel/irq/msi.c virq, virq + desc->nvec_used - 1); virq 482 kernel/irq/msi.c if (desc->irq == virq) virq 5080 sound/soc/codecs/rt5677.c int ret = 0, loop, i, reg_irq, virq; virq 5112 sound/soc/codecs/rt5677.c virq = irq_find_mapping(rt5677->domain, i); virq 5113 sound/soc/codecs/rt5677.c if (virq) virq 5114 sound/soc/codecs/rt5677.c handle_nested_irq(virq); virq 5180 sound/soc/codecs/rt5677.c static int rt5677_irq_map(struct irq_domain *h, unsigned int virq, virq 5185 sound/soc/codecs/rt5677.c irq_set_chip_data(virq, rt5677); virq 5186 sound/soc/codecs/rt5677.c irq_set_chip(virq, &rt5677_irq_chip); virq 5187 sound/soc/codecs/rt5677.c irq_set_nested_thread(virq, 1); virq 5188 sound/soc/codecs/rt5677.c irq_set_noprobe(virq); virq 248 virt/kvm/arm/vgic/vgic-v4.c int kvm_vgic_v4_set_forwarding(struct kvm *kvm, int virq, virq 291 virt/kvm/arm/vgic/vgic-v4.c ret = its_map_vlpi(virq, &map); virq 296 virt/kvm/arm/vgic/vgic-v4.c irq->host_irq = virq; virq 303 virt/kvm/arm/vgic/vgic-v4.c int kvm_vgic_v4_unset_forwarding(struct kvm *kvm, int virq, virq 328 virt/kvm/arm/vgic/vgic-v4.c WARN_ON(!(irq->hw && irq->host_irq == virq)); virq 331 virt/kvm/arm/vgic/vgic-v4.c ret = its_unmap_vlpi(virq);