nr_irqs 10 arch/alpha/include/asm/hw_irq.h #define ACTUAL_NR_IRQS alpha_mv.nr_irqs nr_irqs 35 arch/alpha/include/asm/machvec.h int nr_irqs; nr_irqs 265 arch/alpha/kernel/sys_alcor.c .nr_irqs = 48, nr_irqs 292 arch/alpha/kernel/sys_alcor.c .nr_irqs = 48, nr_irqs 331 arch/alpha/kernel/sys_cabriolet.c .nr_irqs = 35, nr_irqs 357 arch/alpha/kernel/sys_cabriolet.c .nr_irqs = 35, nr_irqs 382 arch/alpha/kernel/sys_cabriolet.c .nr_irqs = 35, nr_irqs 407 arch/alpha/kernel/sys_cabriolet.c .nr_irqs = 35, nr_irqs 432 arch/alpha/kernel/sys_cabriolet.c .nr_irqs = 35, nr_irqs 555 arch/alpha/kernel/sys_dp264.c .nr_irqs = 64, nr_irqs 579 arch/alpha/kernel/sys_dp264.c .nr_irqs = 64, nr_irqs 602 arch/alpha/kernel/sys_dp264.c .nr_irqs = 64, nr_irqs 625 arch/alpha/kernel/sys_dp264.c .nr_irqs = 64, nr_irqs 653 arch/alpha/kernel/sys_dp264.c .nr_irqs = 64, nr_irqs 202 arch/alpha/kernel/sys_eb64p.c .nr_irqs = 32, nr_irqs 227 arch/alpha/kernel/sys_eb64p.c .nr_irqs = 32, nr_irqs 215 arch/alpha/kernel/sys_eiger.c .nr_irqs = 128, nr_irqs 229 arch/alpha/kernel/sys_jensen.c .nr_irqs = 16, nr_irqs 452 arch/alpha/kernel/sys_marvel.c .nr_irqs = MARVEL_NR_IRQS, nr_irqs 282 arch/alpha/kernel/sys_miata.c .nr_irqs = 48, nr_irqs 212 arch/alpha/kernel/sys_mikasa.c .nr_irqs = 32, nr_irqs 236 arch/alpha/kernel/sys_mikasa.c .nr_irqs = 32, nr_irqs 299 arch/alpha/kernel/sys_nautilus.c .nr_irqs = 16, nr_irqs 301 arch/alpha/kernel/sys_noritake.c .nr_irqs = 48, nr_irqs 325 arch/alpha/kernel/sys_noritake.c .nr_irqs = 48, nr_irqs 261 arch/alpha/kernel/sys_rawhide.c .nr_irqs = 128, nr_irqs 229 arch/alpha/kernel/sys_ruffian.c .nr_irqs = 48, nr_irqs 192 arch/alpha/kernel/sys_rx164.c .nr_irqs = 40, nr_irqs 557 arch/alpha/kernel/sys_sable.c .nr_irqs = 40, nr_irqs 589 arch/alpha/kernel/sys_sable.c .nr_irqs = 40, nr_irqs 620 arch/alpha/kernel/sys_sable.c .nr_irqs = 64, nr_irqs 343 arch/alpha/kernel/sys_sio.c .nr_irqs = 16, nr_irqs 373 arch/alpha/kernel/sys_sio.c .nr_irqs = 16, nr_irqs 402 arch/alpha/kernel/sys_sio.c .nr_irqs = 16, nr_irqs 440 arch/alpha/kernel/sys_sio.c .nr_irqs = 16, nr_irqs 469 arch/alpha/kernel/sys_sio.c .nr_irqs = 16, nr_irqs 168 arch/alpha/kernel/sys_sx164.c .nr_irqs = 48, nr_irqs 278 arch/alpha/kernel/sys_takara.c .nr_irqs = 128, nr_irqs 378 arch/alpha/kernel/sys_titan.c .nr_irqs = 80, /* 64 + 16 */ nr_irqs 405 arch/alpha/kernel/sys_titan.c .nr_irqs = 80, /* 64 + 16 */ nr_irqs 334 arch/alpha/kernel/sys_wildfire.c .nr_irqs = WILDFIRE_NR_IRQS, nr_irqs 383 arch/arc/kernel/mcip.c int nr_irqs; nr_irqs 394 arch/arc/kernel/mcip.c nr_irqs = mcip_idu_bcr_to_nr_irqs(idu_bcr); nr_irqs 396 arch/arc/kernel/mcip.c pr_info("MCIP: IDU supports %u common irqs\n", nr_irqs); nr_irqs 398 arch/arc/kernel/mcip.c domain = irq_domain_add_linear(intc, nr_irqs, &idu_irq_ops, NULL); nr_irqs 402 arch/arc/kernel/mcip.c for (i = 0; i < nr_irqs; i++) { nr_irqs 31 arch/arm/include/asm/mach/arch.h unsigned int nr_irqs; /* number of IRQs */ nr_irqs 104 arch/arm/kernel/irq.c nr_irqs = machine_desc->nr_irqs ? machine_desc->nr_irqs : NR_IRQS; nr_irqs 105 arch/arm/kernel/irq.c return nr_irqs; nr_irqs 90 arch/arm/mach-dove/cm-a510.c .nr_irqs = DOVE_NR_IRQS, nr_irqs 97 arch/arm/mach-dove/dove-db-setup.c .nr_irqs = DOVE_NR_IRQS, nr_irqs 159 arch/arm/mach-exynos/suspend.c unsigned int nr_irqs, void *data) nr_irqs 173 arch/arm/mach-exynos/suspend.c for (i = 0; i < nr_irqs; i++) nr_irqs 179 arch/arm/mach-exynos/suspend.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, nr_irqs 196 arch/arm/mach-imx/gpc.c unsigned int nr_irqs, void *data) nr_irqs 212 arch/arm/mach-imx/gpc.c for (i = 0; i < nr_irqs; i++) nr_irqs 218 arch/arm/mach-imx/gpc.c return irq_domain_alloc_irqs_parent(domain, irq, nr_irqs, nr_irqs 270 arch/arm/mach-mmp/aspenite.c .nr_irqs = MMP_NR_IRQS, nr_irqs 279 arch/arm/mach-mmp/aspenite.c .nr_irqs = MMP_NR_IRQS, nr_irqs 50 arch/arm/mach-mmp/avengers_lite.c .nr_irqs = MMP_NR_IRQS, nr_irqs 232 arch/arm/mach-mmp/brownstone.c .nr_irqs = BROWNSTONE_NR_IRQS, nr_irqs 126 arch/arm/mach-mmp/flint.c .nr_irqs = FLINT_NR_IRQS, nr_irqs 201 arch/arm/mach-mmp/gplugd.c .nr_irqs = MMP_NR_IRQS, nr_irqs 180 arch/arm/mach-mmp/jasper.c .nr_irqs = JASPER_NR_IRQS, nr_irqs 108 arch/arm/mach-mmp/tavorevb.c .nr_irqs = MMP_NR_IRQS, nr_irqs 95 arch/arm/mach-mmp/teton_bga.c .nr_irqs = MMP_NR_IRQS, nr_irqs 310 arch/arm/mach-mmp/ttc_dkb.c .nr_irqs = TTCDKB_NR_IRQS, nr_irqs 149 arch/arm/mach-mv78xx0/buffalo-wxl-setup.c .nr_irqs = MV78XX0_NR_IRQS, nr_irqs 97 arch/arm/mach-mv78xx0/db78x00-bp-setup.c .nr_irqs = MV78XX0_NR_IRQS, nr_irqs 82 arch/arm/mach-mv78xx0/rd78x00-masa-setup.c .nr_irqs = MV78XX0_NR_IRQS, nr_irqs 197 arch/arm/mach-omap1/irq.c unsigned long nr_irqs; nr_irqs 228 arch/arm/mach-omap1/irq.c nr_irqs = irq_bank_count * 32; nr_irqs 230 arch/arm/mach-omap1/irq.c irq_base = irq_alloc_descs(-1, 0, nr_irqs, 0); nr_irqs 238 arch/arm/mach-omap1/irq.c domain = irq_domain_add_legacy(NULL, nr_irqs, irq_base, 0, nr_irqs 242 arch/arm/mach-omap1/irq.c nr_irqs, irq_bank_count); nr_irqs 510 arch/arm/mach-omap2/omap-wakeupgen.c unsigned int nr_irqs, void *data) nr_irqs 526 arch/arm/mach-omap2/omap-wakeupgen.c for (i = 0; i < nr_irqs; i++) nr_irqs 532 arch/arm/mach-omap2/omap-wakeupgen.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, nr_irqs 503 arch/arm/mach-omap2/prcm-common.h u8 nr_irqs; nr_irqs 46 arch/arm/mach-omap2/prm3xxx.c .nr_irqs = ARRAY_SIZE(omap3_prcm_irqs), nr_irqs 51 arch/arm/mach-omap2/prm44xx.c .nr_irqs = ARRAY_SIZE(omap4_prcm_irqs), nr_irqs 821 arch/arm/mach-omap2/prm44xx.c omap4_prcm_irq_setup.nr_irqs = 1; nr_irqs 176 arch/arm/mach-omap2/prm_common.c for (i = 0; i < prcm_irq_setup->nr_irqs; i++) nr_irqs 296 arch/arm/mach-omap2/prm_common.c for (i = 0; i < irq_setup->nr_irqs; i++) { nr_irqs 372 arch/arm/mach-orion5x/db88f5281-setup.c .nr_irqs = ORION5X_NR_IRQS, nr_irqs 716 arch/arm/mach-orion5x/dns323-setup.c .nr_irqs = ORION5X_NR_IRQS, nr_irqs 386 arch/arm/mach-orion5x/kurobox_pro-setup.c .nr_irqs = ORION5X_NR_IRQS, nr_irqs 401 arch/arm/mach-orion5x/kurobox_pro-setup.c .nr_irqs = ORION5X_NR_IRQS, nr_irqs 270 arch/arm/mach-orion5x/ls_hgl-setup.c .nr_irqs = ORION5X_NR_IRQS, nr_irqs 235 arch/arm/mach-orion5x/mv2120-setup.c .nr_irqs = ORION5X_NR_IRQS, nr_irqs 426 arch/arm/mach-orion5x/net2big-setup.c .nr_irqs = ORION5X_NR_IRQS, nr_irqs 167 arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c .nr_irqs = ORION5X_NR_IRQS, nr_irqs 178 arch/arm/mach-orion5x/rd88f5181l-ge-setup.c .nr_irqs = ORION5X_NR_IRQS, nr_irqs 284 arch/arm/mach-orion5x/rd88f5182-setup.c .nr_irqs = ORION5X_NR_IRQS, nr_irqs 115 arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c .nr_irqs = ORION5X_NR_IRQS, nr_irqs 358 arch/arm/mach-orion5x/terastation_pro2-setup.c .nr_irqs = ORION5X_NR_IRQS, nr_irqs 323 arch/arm/mach-orion5x/ts209-setup.c .nr_irqs = ORION5X_NR_IRQS, nr_irqs 312 arch/arm/mach-orion5x/ts409-setup.c .nr_irqs = ORION5X_NR_IRQS, nr_irqs 571 arch/arm/mach-orion5x/ts78xx-setup.c .nr_irqs = ORION5X_NR_IRQS, nr_irqs 172 arch/arm/mach-orion5x/wnr854t-setup.c .nr_irqs = ORION5X_NR_IRQS, nr_irqs 260 arch/arm/mach-orion5x/wrt350n-v2-setup.c .nr_irqs = ORION5X_NR_IRQS, nr_irqs 814 arch/arm/mach-pxa/balloon3.c .nr_irqs = BALLOON3_NR_IRQS, nr_irqs 153 arch/arm/mach-pxa/capc7117.c .nr_irqs = PXA_NR_IRQS, nr_irqs 528 arch/arm/mach-pxa/cm-x2xx.c .nr_irqs = CMX2XX_NR_IRQS, nr_irqs 875 arch/arm/mach-pxa/cm-x300.c .nr_irqs = PXA_NR_IRQS, nr_irqs 313 arch/arm/mach-pxa/colibri-pxa270.c .nr_irqs = PXA_NR_IRQS, nr_irqs 324 arch/arm/mach-pxa/colibri-pxa270.c .nr_irqs = PXA_NR_IRQS, nr_irqs 186 arch/arm/mach-pxa/colibri-pxa300.c .nr_irqs = PXA_NR_IRQS, nr_irqs 256 arch/arm/mach-pxa/colibri-pxa320.c .nr_irqs = PXA_NR_IRQS, nr_irqs 769 arch/arm/mach-pxa/corgi.c .nr_irqs = PXA_NR_IRQS, nr_irqs 782 arch/arm/mach-pxa/corgi.c .nr_irqs = PXA_NR_IRQS, nr_irqs 795 arch/arm/mach-pxa/corgi.c .nr_irqs = PXA_NR_IRQS, nr_irqs 284 arch/arm/mach-pxa/csb726.c .nr_irqs = PXA_NR_IRQS, nr_irqs 1269 arch/arm/mach-pxa/em-x270.c .nr_irqs = PXA_NR_IRQS, nr_irqs 1280 arch/arm/mach-pxa/em-x270.c .nr_irqs = PXA_NR_IRQS, nr_irqs 175 arch/arm/mach-pxa/eseries.c .nr_irqs = ESERIES_NR_IRQS, nr_irqs 226 arch/arm/mach-pxa/eseries.c .nr_irqs = ESERIES_NR_IRQS, nr_irqs 350 arch/arm/mach-pxa/eseries.c .nr_irqs = ESERIES_NR_IRQS, nr_irqs 546 arch/arm/mach-pxa/eseries.c .nr_irqs = ESERIES_NR_IRQS, nr_irqs 745 arch/arm/mach-pxa/eseries.c .nr_irqs = ESERIES_NR_IRQS, nr_irqs 960 arch/arm/mach-pxa/eseries.c .nr_irqs = ESERIES_NR_IRQS, nr_irqs 840 arch/arm/mach-pxa/ezx.c .nr_irqs = EZX_NR_IRQS, nr_irqs 908 arch/arm/mach-pxa/ezx.c .nr_irqs = EZX_NR_IRQS, nr_irqs 976 arch/arm/mach-pxa/ezx.c .nr_irqs = EZX_NR_IRQS, nr_irqs 1139 arch/arm/mach-pxa/ezx.c .nr_irqs = EZX_NR_IRQS, nr_irqs 1207 arch/arm/mach-pxa/ezx.c .nr_irqs = EZX_NR_IRQS, nr_irqs 1249 arch/arm/mach-pxa/ezx.c .nr_irqs = EZX_NR_IRQS, nr_irqs 231 arch/arm/mach-pxa/gumstix.c .nr_irqs = PXA_NR_IRQS, nr_irqs 204 arch/arm/mach-pxa/h5000.c .nr_irqs = PXA_NR_IRQS, nr_irqs 160 arch/arm/mach-pxa/himalaya.c .nr_irqs = PXA_NR_IRQS, nr_irqs 909 arch/arm/mach-pxa/hx4700.c .nr_irqs = HX4700_NR_IRQS, nr_irqs 191 arch/arm/mach-pxa/icontrol.c .nr_irqs = PXA_NR_IRQS, nr_irqs 281 arch/arm/mach-pxa/idp.c .nr_irqs = PXA_NR_IRQS, nr_irqs 449 arch/arm/mach-pxa/littleton.c .nr_irqs = LITTLETON_NR_IRQS, nr_irqs 513 arch/arm/mach-pxa/lpd270.c .nr_irqs = LPD270_NR_IRQS, nr_irqs 631 arch/arm/mach-pxa/lubbock.c .nr_irqs = LUBBOCK_NR_IRQS, nr_irqs 1041 arch/arm/mach-pxa/magician.c .nr_irqs = MAGICIAN_NR_IRQS, nr_irqs 720 arch/arm/mach-pxa/mainstone.c .nr_irqs = MAINSTONE_NR_IRQS, nr_irqs 777 arch/arm/mach-pxa/mioa701.c .nr_irqs = PXA_NR_IRQS, nr_irqs 95 arch/arm/mach-pxa/mp900.c .nr_irqs = PXA_NR_IRQS, nr_irqs 371 arch/arm/mach-pxa/palmld.c .nr_irqs = PXA_NR_IRQS, nr_irqs 220 arch/arm/mach-pxa/palmt5.c .nr_irqs = PXA_NR_IRQS, nr_irqs 522 arch/arm/mach-pxa/palmtc.c .nr_irqs = PXA_NR_IRQS, nr_irqs 377 arch/arm/mach-pxa/palmte2.c .nr_irqs = PXA_NR_IRQS, nr_irqs 527 arch/arm/mach-pxa/palmtreo.c .nr_irqs = PXA_NR_IRQS, nr_irqs 541 arch/arm/mach-pxa/palmtreo.c .nr_irqs = PXA_NR_IRQS, nr_irqs 376 arch/arm/mach-pxa/palmtx.c .nr_irqs = PXA_NR_IRQS, nr_irqs 426 arch/arm/mach-pxa/palmz72.c .nr_irqs = PXA_NR_IRQS, nr_irqs 260 arch/arm/mach-pxa/pcm027.c .nr_irqs = PCM027_NR_IRQS, nr_irqs 465 arch/arm/mach-pxa/poodle.c .nr_irqs = POODLE_NR_IRQS, /* 4 for LoCoMo */ nr_irqs 598 arch/arm/mach-pxa/saar.c .nr_irqs = PXA_NR_IRQS, nr_irqs 1021 arch/arm/mach-pxa/spitz.c .nr_irqs = PXA_NR_IRQS, nr_irqs 1034 arch/arm/mach-pxa/spitz.c .nr_irqs = PXA_NR_IRQS, nr_irqs 1047 arch/arm/mach-pxa/spitz.c .nr_irqs = PXA_NR_IRQS, nr_irqs 1005 arch/arm/mach-pxa/stargate2.c .nr_irqs = PXA_NR_IRQS, nr_irqs 1018 arch/arm/mach-pxa/stargate2.c .nr_irqs = STARGATE_NR_IRQS, nr_irqs 502 arch/arm/mach-pxa/tavorevb.c .nr_irqs = PXA_NR_IRQS, nr_irqs 942 arch/arm/mach-pxa/tosa.c .nr_irqs = TOSA_NR_IRQS, nr_irqs 558 arch/arm/mach-pxa/trizeps4.c .nr_irqs = PXA_NR_IRQS, nr_irqs 570 arch/arm/mach-pxa/trizeps4.c .nr_irqs = PXA_NR_IRQS, nr_irqs 1017 arch/arm/mach-pxa/viper.c .nr_irqs = PXA_NR_IRQS, nr_irqs 729 arch/arm/mach-pxa/vpac270.c .nr_irqs = PXA_NR_IRQS, nr_irqs 184 arch/arm/mach-pxa/xcep.c .nr_irqs = PXA_NR_IRQS, nr_irqs 736 arch/arm/mach-pxa/z2.c .nr_irqs = PXA_NR_IRQS, nr_irqs 950 arch/arm/mach-pxa/zeus.c .nr_irqs = ZEUS_NR_IRQS, nr_irqs 458 arch/arm/mach-pxa/zylonite.c .nr_irqs = ZYLONITE_NR_IRQS, nr_irqs 15 arch/arm/mach-s3c64xx/irq-uart.h extern void s3c_init_uart_irqs(struct s3c_uart_irq *irq, unsigned int nr_irqs); nr_irqs 227 arch/arm/mach-s3c64xx/mach-anw6410.c .nr_irqs = S3C64XX_NR_IRQS, nr_irqs 877 arch/arm/mach-s3c64xx/mach-crag6410.c .nr_irqs = S3C64XX_NR_IRQS, nr_irqs 280 arch/arm/mach-s3c64xx/mach-hmt.c .nr_irqs = S3C64XX_NR_IRQS, nr_irqs 361 arch/arm/mach-s3c64xx/mach-mini6410.c .nr_irqs = S3C64XX_NR_IRQS, nr_irqs 97 arch/arm/mach-s3c64xx/mach-ncp.c .nr_irqs = S3C64XX_NR_IRQS, nr_irqs 329 arch/arm/mach-s3c64xx/mach-real6410.c .nr_irqs = S3C64XX_NR_IRQS, nr_irqs 150 arch/arm/mach-s3c64xx/mach-smartq5.c .nr_irqs = S3C64XX_NR_IRQS, nr_irqs 166 arch/arm/mach-s3c64xx/mach-smartq7.c .nr_irqs = S3C64XX_NR_IRQS, nr_irqs 87 arch/arm/mach-s3c64xx/mach-smdk6400.c .nr_irqs = S3C64XX_NR_IRQS, nr_irqs 703 arch/arm/mach-s3c64xx/mach-smdk6410.c .nr_irqs = S3C64XX_NR_IRQS, nr_irqs 768 arch/arm/mach-sa1100/assabet.c .nr_irqs = SA1100_NR_IRQS, nr_irqs 330 arch/arm/mach-sa1100/badge4.c .nr_irqs = SA1100_NR_IRQS, nr_irqs 175 arch/arm/mach-sa1100/cerf.c .nr_irqs = SA1100_NR_IRQS, nr_irqs 431 arch/arm/mach-sa1100/collie.c .nr_irqs = SA1100_NR_IRQS, nr_irqs 133 arch/arm/mach-sa1100/h3100.c .nr_irqs = SA1100_NR_IRQS, nr_irqs 140 arch/arm/mach-sa1100/h3600.c .nr_irqs = SA1100_NR_IRQS, nr_irqs 178 arch/arm/mach-sa1100/hackkit.c .nr_irqs = SA1100_NR_IRQS, nr_irqs 371 arch/arm/mach-sa1100/jornada720.c .nr_irqs = SA1100_NR_IRQS, nr_irqs 171 arch/arm/mach-sa1100/lart.c .nr_irqs = SA1100_NR_IRQS, nr_irqs 130 arch/arm/mach-sa1100/nanoengine.c .nr_irqs = SA1100_NR_IRQS, nr_irqs 142 arch/arm/mach-sa1100/pleb.c .nr_irqs = SA1100_NR_IRQS, nr_irqs 142 arch/arm/mach-sa1100/shannon.c .nr_irqs = SA1100_NR_IRQS, nr_irqs 418 arch/arm/mach-sa1100/simpad.c .nr_irqs = SA1100_NR_IRQS, nr_irqs 307 arch/mips/pci/pci-xtalk-bridge.c unsigned int nr_irqs, void *arg) nr_irqs 313 arch/mips/pci/pci-xtalk-bridge.c if (nr_irqs > 1 || !info) nr_irqs 320 arch/mips/pci/pci-xtalk-bridge.c ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, arg); nr_irqs 334 arch/mips/pci/pci-xtalk-bridge.c unsigned int nr_irqs) nr_irqs 338 arch/mips/pci/pci-xtalk-bridge.c if (nr_irqs) nr_irqs 342 arch/mips/pci/pci-xtalk-bridge.c irq_domain_free_irqs_top(domain, virq, nr_irqs); nr_irqs 119 arch/mips/sgi-ip27/ip27-irq.c unsigned int nr_irqs, void *arg) nr_irqs 127 arch/mips/sgi-ip27/ip27-irq.c if (nr_irqs > 1 || !info) nr_irqs 158 arch/mips/sgi-ip27/ip27-irq.c unsigned int virq, unsigned int nr_irqs) nr_irqs 162 arch/mips/sgi-ip27/ip27-irq.c if (nr_irqs > 1) nr_irqs 114 arch/powerpc/platforms/cell/axon_msi.c if (msi < nr_irqs && irq_get_chip_data(msi) == msic) { nr_irqs 172 arch/s390/kernel/irq.c if (index < nr_irqs) { nr_irqs 133 arch/sh/boards/board-polaris.c .nr_irqs = ARRAY_SIZE(ipr_irq_table), nr_irqs 88 arch/sh/boards/mach-se/770x/irq.c .nr_irqs = ARRAY_SIZE(ipr_irq_table), nr_irqs 38 arch/sh/boards/mach-se/7751/irq.c .nr_irqs = ARRAY_SIZE(ipr_irq_table), nr_irqs 22 arch/sh/include/asm/hw_irq.h unsigned int nr_irqs; nr_irqs 59 arch/sh/kernel/cpu/irq/ipr.c for (i = 0; i < desc->nr_irqs; i++) { nr_irqs 360 arch/unicore32/kernel/irq.c if (unlikely(irq >= nr_irqs)) { nr_irqs 43 arch/x86/include/asm/irqdomain.h unsigned int nr_irqs, void *arg); nr_irqs 45 arch/x86/include/asm/irqdomain.h unsigned int nr_irqs); nr_irqs 1197 arch/x86/kernel/acpi/boot.c acpi_parse_int_src_ovr, nr_irqs); nr_irqs 1218 arch/x86/kernel/acpi/boot.c acpi_parse_nmi_src, nr_irqs); nr_irqs 2975 arch/x86/kernel/apic/io_apic.c unsigned int nr_irqs, void *arg) nr_irqs 2984 arch/x86/kernel/apic/io_apic.c if (!info || nr_irqs > 1) nr_irqs 3000 arch/x86/kernel/apic/io_apic.c ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, info); nr_irqs 3033 arch/x86/kernel/apic/io_apic.c unsigned int nr_irqs) nr_irqs 3038 arch/x86/kernel/apic/io_apic.c BUG_ON(nr_irqs != 1); nr_irqs 3047 arch/x86/kernel/apic/io_apic.c irq_domain_free_irqs_top(domain, virq, nr_irqs); nr_irqs 479 arch/x86/kernel/apic/vector.c unsigned int virq, unsigned int nr_irqs) nr_irqs 486 arch/x86/kernel/apic/vector.c for (i = 0; i < nr_irqs; i++) { nr_irqs 529 arch/x86/kernel/apic/vector.c unsigned int nr_irqs, void *arg) nr_irqs 540 arch/x86/kernel/apic/vector.c if ((info->flags & X86_IRQ_ALLOC_CONTIGUOUS_VECTORS) && nr_irqs > 1) nr_irqs 543 arch/x86/kernel/apic/vector.c for (i = 0; i < nr_irqs; i++) { nr_irqs 644 arch/x86/kernel/apic/vector.c if (nr_irqs > (NR_VECTORS * nr_cpu_ids)) nr_irqs 645 arch/x86/kernel/apic/vector.c nr_irqs = NR_VECTORS * nr_cpu_ids; nr_irqs 657 arch/x86/kernel/apic/vector.c if (nr < nr_irqs) nr_irqs 658 arch/x86/kernel/apic/vector.c nr_irqs = nr; nr_irqs 215 arch/x86/kernel/devicetree.c unsigned int nr_irqs, void *arg) nr_irqs 234 arch/x86/kernel/devicetree.c return mp_irqdomain_alloc(domain, virq, nr_irqs, &tmp); nr_irqs 76 arch/x86/platform/uv/uv_irq.c unsigned int nr_irqs, void *arg) nr_irqs 83 arch/x86/platform/uv/uv_irq.c if (nr_irqs > 1 || !info || info->type != X86_IRQ_ALLOC_TYPE_UV) nr_irqs 91 arch/x86/platform/uv/uv_irq.c ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, arg); nr_irqs 110 arch/x86/platform/uv/uv_irq.c unsigned int nr_irqs) nr_irqs 114 arch/x86/platform/uv/uv_irq.c BUG_ON(nr_irqs != 1); nr_irqs 118 arch/x86/platform/uv/uv_irq.c irq_domain_free_irqs_top(domain, virq, nr_irqs); nr_irqs 397 drivers/base/platform-msi.c unsigned int nr_irqs) nr_irqs 402 drivers/base/platform-msi.c err = platform_msi_alloc_descs_with_irq(data->dev, virq, nr_irqs, data); nr_irqs 407 drivers/base/platform-msi.c virq, nr_irqs, &data->arg); nr_irqs 409 drivers/base/platform-msi.c platform_msi_domain_free(domain, virq, nr_irqs); nr_irqs 233 drivers/char/hpet.c if (irq >= nr_irqs) { nr_irqs 578 drivers/clocksource/exynos_mct.c u32 nr_irqs, i; nr_irqs 591 drivers/clocksource/exynos_mct.c nr_irqs = of_irq_count(np); nr_irqs 592 drivers/clocksource/exynos_mct.c for (i = MCT_L0_IRQ; i < nr_irqs; i++) nr_irqs 663 drivers/dma/dw-edma/dw-edma-core.c for (j = 0; (alloc || dw->nr_irqs == 1) && j < cnt; j++, i++) { nr_irqs 688 drivers/dma/dw-edma/dw-edma-core.c if (dw->nr_irqs == 1) nr_irqs 753 drivers/dma/dw-edma/dw-edma-core.c static inline void dw_edma_dec_irq_alloc(int *nr_irqs, u32 *alloc, u16 cnt) nr_irqs 755 drivers/dma/dw-edma/dw-edma-core.c if (*nr_irqs && *alloc < cnt) { nr_irqs 757 drivers/dma/dw-edma/dw-edma-core.c (*nr_irqs)--; nr_irqs 779 drivers/dma/dw-edma/dw-edma-core.c if (dw->nr_irqs < 1) nr_irqs 782 drivers/dma/dw-edma/dw-edma-core.c if (dw->nr_irqs == 1) { nr_irqs 788 drivers/dma/dw-edma/dw-edma-core.c dw->nr_irqs = 0; nr_irqs 796 drivers/dma/dw-edma/dw-edma-core.c int tmp = dw->nr_irqs; nr_irqs 814 drivers/dma/dw-edma/dw-edma-core.c dw->nr_irqs = i; nr_irqs 822 drivers/dma/dw-edma/dw-edma-core.c dw->nr_irqs = i; nr_irqs 886 drivers/dma/dw-edma/dw-edma-core.c for (i = (dw->nr_irqs - 1); i >= 0; i--) nr_irqs 889 drivers/dma/dw-edma/dw-edma-core.c dw->nr_irqs = 0; nr_irqs 906 drivers/dma/dw-edma/dw-edma-core.c for (i = (dw->nr_irqs - 1); i >= 0; i--) nr_irqs 120 drivers/dma/dw-edma/dw-edma-core.h int nr_irqs; nr_irqs 63 drivers/dma/dw-edma/dw-edma-pcie.c int err, nr_irqs; nr_irqs 119 drivers/dma/dw-edma/dw-edma-pcie.c nr_irqs = pci_alloc_irq_vectors(pdev, 1, pdata->irqs, nr_irqs 121 drivers/dma/dw-edma/dw-edma-pcie.c if (nr_irqs < 1) { nr_irqs 123 drivers/dma/dw-edma/dw-edma-pcie.c nr_irqs); nr_irqs 153 drivers/dma/dw-edma/dw-edma-pcie.c dw->nr_irqs = nr_irqs; nr_irqs 173 drivers/dma/dw-edma/dw-edma-pcie.c pci_dbg(pdev, "Nr. IRQs:\t%u\n", dw->nr_irqs); nr_irqs 181 drivers/dma/dw-edma/dw-edma-pcie.c dw->irq = devm_kcalloc(dev, nr_irqs, sizeof(*dw->irq), GFP_KERNEL); nr_irqs 165 drivers/gpio/gpio-lpc18xx.c unsigned int nr_irqs, void *data) nr_irqs 172 drivers/gpio/gpio-lpc18xx.c if (nr_irqs != 1) nr_irqs 429 drivers/gpio/gpio-thunderx.c unsigned int nr_irqs, void *arg) nr_irqs 264 drivers/gpio/gpio-uniphier.c unsigned int nr_irqs, void *arg) nr_irqs 272 drivers/gpio/gpio-uniphier.c if (WARN_ON(nr_irqs != 1)) nr_irqs 520 drivers/gpio/gpio-vr41xx.c if (irq < 0 || irq >= nr_irqs) nr_irqs 178 drivers/gpio/gpio-xgene-sb.c unsigned int nr_irqs, void *data) nr_irqs 187 drivers/gpio/gpio-xgene-sb.c for (i = 0; i < nr_irqs; i++) nr_irqs 205 drivers/gpio/gpio-xgene-sb.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, nr_irqs 1870 drivers/gpio/gpiolib.c unsigned int nr_irqs, nr_irqs 1887 drivers/gpio/gpiolib.c WARN_ON(nr_irqs != 1); nr_irqs 4233 drivers/iommu/amd_iommu.c unsigned int nr_irqs, void *arg) nr_irqs 4244 drivers/iommu/amd_iommu.c if (nr_irqs > 1 && info->type != X86_IRQ_ALLOC_TYPE_MSI && nr_irqs 4259 drivers/iommu/amd_iommu.c ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, arg); nr_irqs 4288 drivers/iommu/amd_iommu.c index = alloc_irq_index(devid, nr_irqs, align, info->msi_dev); nr_irqs 4290 drivers/iommu/amd_iommu.c index = alloc_irq_index(devid, nr_irqs, false, NULL); nr_irqs 4299 drivers/iommu/amd_iommu.c for (i = 0; i < nr_irqs; i++) { nr_irqs 4337 drivers/iommu/amd_iommu.c for (i = 0; i < nr_irqs; i++) nr_irqs 4340 drivers/iommu/amd_iommu.c irq_domain_free_irqs_common(domain, virq, nr_irqs); nr_irqs 4345 drivers/iommu/amd_iommu.c unsigned int nr_irqs) nr_irqs 4352 drivers/iommu/amd_iommu.c for (i = 0; i < nr_irqs; i++) { nr_irqs 4362 drivers/iommu/amd_iommu.c irq_domain_free_irqs_common(domain, virq, nr_irqs); nr_irqs 69 drivers/iommu/hyperv-iommu.c unsigned int virq, unsigned int nr_irqs, nr_irqs 77 drivers/iommu/hyperv-iommu.c if (!info || info->type != X86_IRQ_ALLOC_TYPE_IOAPIC || nr_irqs > 1) nr_irqs 80 drivers/iommu/hyperv-iommu.c ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, arg); nr_irqs 86 drivers/iommu/hyperv-iommu.c irq_domain_free_irqs_common(domain, virq, nr_irqs); nr_irqs 117 drivers/iommu/hyperv-iommu.c unsigned int virq, unsigned int nr_irqs) nr_irqs 119 drivers/iommu/hyperv-iommu.c irq_domain_free_irqs_common(domain, virq, nr_irqs); nr_irqs 1322 drivers/iommu/intel_irq_remapping.c unsigned int virq, unsigned int nr_irqs) nr_irqs 1329 drivers/iommu/intel_irq_remapping.c for (i = 0; i < nr_irqs; i++) { nr_irqs 1344 drivers/iommu/intel_irq_remapping.c unsigned int virq, unsigned int nr_irqs, nr_irqs 1356 drivers/iommu/intel_irq_remapping.c if (nr_irqs > 1 && info->type != X86_IRQ_ALLOC_TYPE_MSI && nr_irqs 1367 drivers/iommu/intel_irq_remapping.c ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, arg); nr_irqs 1377 drivers/iommu/intel_irq_remapping.c index = alloc_irte(iommu, &data->irq_2_iommu, nr_irqs); nr_irqs 1385 drivers/iommu/intel_irq_remapping.c for (i = 0; i < nr_irqs; i++) { nr_irqs 1415 drivers/iommu/intel_irq_remapping.c irq_domain_free_irqs_common(domain, virq, nr_irqs); nr_irqs 1420 drivers/iommu/intel_irq_remapping.c unsigned int virq, unsigned int nr_irqs) nr_irqs 1422 drivers/iommu/intel_irq_remapping.c intel_free_irq_resources(domain, virq, nr_irqs); nr_irqs 1423 drivers/iommu/intel_irq_remapping.c irq_domain_free_irqs_common(domain, virq, nr_irqs); nr_irqs 147 drivers/irqchip/irq-alpine-msi.c unsigned int nr_irqs, void *args) nr_irqs 152 drivers/irqchip/irq-alpine-msi.c sgi = alpine_msix_allocate_sgi(priv, nr_irqs); nr_irqs 156 drivers/irqchip/irq-alpine-msi.c for (i = 0; i < nr_irqs; i++) { nr_irqs 170 drivers/irqchip/irq-alpine-msi.c alpine_msix_free_sgi(priv, sgi, nr_irqs); nr_irqs 176 drivers/irqchip/irq-alpine-msi.c unsigned int nr_irqs) nr_irqs 181 drivers/irqchip/irq-alpine-msi.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); nr_irqs 182 drivers/irqchip/irq-alpine-msi.c alpine_msix_free_sgi(priv, d->hwirq, nr_irqs); nr_irqs 230 drivers/irqchip/irq-armada-370-xp.c unsigned int nr_irqs, void *args) nr_irqs 237 drivers/irqchip/irq-armada-370-xp.c 0, nr_irqs, 0); nr_irqs 243 drivers/irqchip/irq-armada-370-xp.c bitmap_set(msi_used, hwirq, nr_irqs); nr_irqs 246 drivers/irqchip/irq-armada-370-xp.c for (i = 0; i < nr_irqs; i++) { nr_irqs 257 drivers/irqchip/irq-armada-370-xp.c unsigned int virq, unsigned int nr_irqs) nr_irqs 262 drivers/irqchip/irq-armada-370-xp.c bitmap_clear(msi_used, d->hwirq, nr_irqs); nr_irqs 378 drivers/irqchip/irq-armada-370-xp.c int nr_irqs, i; nr_irqs 381 drivers/irqchip/irq-armada-370-xp.c nr_irqs = (control >> 2) & 0x3ff; nr_irqs 383 drivers/irqchip/irq-armada-370-xp.c for (i = 0; i < nr_irqs; i++) nr_irqs 650 drivers/irqchip/irq-armada-370-xp.c int nr_irqs, i; nr_irqs 672 drivers/irqchip/irq-armada-370-xp.c nr_irqs = (control >> 2) & 0x3ff; nr_irqs 674 drivers/irqchip/irq-armada-370-xp.c for (i = 0; i < nr_irqs; i++) nr_irqs 678 drivers/irqchip/irq-armada-370-xp.c irq_domain_add_linear(node, nr_irqs, nr_irqs 112 drivers/irqchip/irq-crossbar.c unsigned int nr_irqs, void *data) nr_irqs 124 drivers/irqchip/irq-crossbar.c if ((hwirq + nr_irqs) > cb->max_crossbar_sources) nr_irqs 127 drivers/irqchip/irq-crossbar.c for (i = 0; i < nr_irqs; i++) { nr_irqs 153 drivers/irqchip/irq-crossbar.c unsigned int nr_irqs) nr_irqs 158 drivers/irqchip/irq-crossbar.c for (i = 0; i < nr_irqs; i++) { nr_irqs 168 drivers/irqchip/irq-gic-v2m.c int nr_irqs) nr_irqs 172 drivers/irqchip/irq-gic-v2m.c get_count_order(nr_irqs)); nr_irqs 177 drivers/irqchip/irq-gic-v2m.c unsigned int nr_irqs, void *args) nr_irqs 186 drivers/irqchip/irq-gic-v2m.c get_count_order(nr_irqs)); nr_irqs 204 drivers/irqchip/irq-gic-v2m.c for (i = 0; i < nr_irqs; i++) { nr_irqs 216 drivers/irqchip/irq-gic-v2m.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); nr_irqs 217 drivers/irqchip/irq-gic-v2m.c gicv2m_unalloc_msi(v2m, hwirq, nr_irqs); nr_irqs 222 drivers/irqchip/irq-gic-v2m.c unsigned int virq, unsigned int nr_irqs) nr_irqs 227 drivers/irqchip/irq-gic-v2m.c gicv2m_unalloc_msi(v2m, d->hwirq, nr_irqs); nr_irqs 228 drivers/irqchip/irq-gic-v2m.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); nr_irqs 1590 drivers/irqchip/irq-gic-v3-its.c static unsigned long *its_lpi_alloc(int nr_irqs, u32 *base, int *nr_ids) nr_irqs 1596 drivers/irqchip/irq-gic-v3-its.c err = alloc_lpi_range(nr_irqs, base); nr_irqs 1600 drivers/irqchip/irq-gic-v3-its.c nr_irqs /= 2; nr_irqs 1601 drivers/irqchip/irq-gic-v3-its.c } while (nr_irqs > 0); nr_irqs 1603 drivers/irqchip/irq-gic-v3-its.c if (!nr_irqs) nr_irqs 1609 drivers/irqchip/irq-gic-v3-its.c bitmap = kcalloc(BITS_TO_LONGS(nr_irqs), sizeof (long), GFP_ATOMIC); nr_irqs 1613 drivers/irqchip/irq-gic-v3-its.c *nr_ids = nr_irqs; nr_irqs 2579 drivers/irqchip/irq-gic-v3-its.c unsigned int nr_irqs, void *args) nr_irqs 2588 drivers/irqchip/irq-gic-v3-its.c err = its_alloc_device_irq(its_dev, nr_irqs, &hwirq); nr_irqs 2596 drivers/irqchip/irq-gic-v3-its.c for (i = 0; i < nr_irqs; i++) { nr_irqs 2652 drivers/irqchip/irq-gic-v3-its.c unsigned int nr_irqs) nr_irqs 2661 drivers/irqchip/irq-gic-v3-its.c get_count_order(nr_irqs)); nr_irqs 2663 drivers/irqchip/irq-gic-v3-its.c for (i = 0; i < nr_irqs; i++) { nr_irqs 2691 drivers/irqchip/irq-gic-v3-its.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); nr_irqs 3053 drivers/irqchip/irq-gic-v3-its.c unsigned int nr_irqs) nr_irqs 3058 drivers/irqchip/irq-gic-v3-its.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); nr_irqs 3060 drivers/irqchip/irq-gic-v3-its.c for (i = 0; i < nr_irqs; i++) { nr_irqs 3079 drivers/irqchip/irq-gic-v3-its.c unsigned int nr_irqs, void *args) nr_irqs 3088 drivers/irqchip/irq-gic-v3-its.c bitmap = its_lpi_alloc(roundup_pow_of_two(nr_irqs), &base, &nr_ids); nr_irqs 3092 drivers/irqchip/irq-gic-v3-its.c if (nr_ids < nr_irqs) { nr_irqs 3108 drivers/irqchip/irq-gic-v3-its.c for (i = 0; i < nr_irqs; i++) { nr_irqs 76 drivers/irqchip/irq-gic-v3-mbi.c int nr_irqs) nr_irqs 80 drivers/irqchip/irq-gic-v3-mbi.c get_count_order(nr_irqs)); nr_irqs 85 drivers/irqchip/irq-gic-v3-mbi.c unsigned int nr_irqs, void *args) nr_irqs 95 drivers/irqchip/irq-gic-v3-mbi.c get_count_order(nr_irqs)); nr_irqs 113 drivers/irqchip/irq-gic-v3-mbi.c for (i = 0; i < nr_irqs; i++) { nr_irqs 125 drivers/irqchip/irq-gic-v3-mbi.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); nr_irqs 126 drivers/irqchip/irq-gic-v3-mbi.c mbi_free_msi(mbi, hwirq, nr_irqs); nr_irqs 131 drivers/irqchip/irq-gic-v3-mbi.c unsigned int virq, unsigned int nr_irqs) nr_irqs 136 drivers/irqchip/irq-gic-v3-mbi.c mbi_free_msi(mbi, d->hwirq, nr_irqs); nr_irqs 137 drivers/irqchip/irq-gic-v3-mbi.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); nr_irqs 1341 drivers/irqchip/irq-gic-v3.c unsigned int nr_irqs, void *arg) nr_irqs 1352 drivers/irqchip/irq-gic-v3.c for (i = 0; i < nr_irqs; i++) { nr_irqs 1362 drivers/irqchip/irq-gic-v3.c unsigned int nr_irqs) nr_irqs 1366 drivers/irqchip/irq-gic-v3.c for (i = 0; i < nr_irqs; i++) { nr_irqs 1046 drivers/irqchip/irq-gic.c unsigned int nr_irqs, void *arg) nr_irqs 1057 drivers/irqchip/irq-gic.c for (i = 0; i < nr_irqs; i++) { nr_irqs 56 drivers/irqchip/irq-hip04.c unsigned int nr_irqs; nr_irqs 236 drivers/irqchip/irq-hip04.c unsigned int nr_irqs = intc->nr_irqs; nr_irqs 246 drivers/irqchip/irq-hip04.c for (i = 32; i < nr_irqs; i += 2) nr_irqs 249 drivers/irqchip/irq-hip04.c gic_dist_config(base, nr_irqs, NULL); nr_irqs 365 drivers/irqchip/irq-hip04.c int nr_irqs, irq_base, i; nr_irqs 387 drivers/irqchip/irq-hip04.c nr_irqs = readl_relaxed(hip04_data.dist_base + GIC_DIST_CTR) & 0x1f; nr_irqs 388 drivers/irqchip/irq-hip04.c nr_irqs = (nr_irqs + 1) * 32; nr_irqs 389 drivers/irqchip/irq-hip04.c if (nr_irqs > HIP04_MAX_IRQS) nr_irqs 390 drivers/irqchip/irq-hip04.c nr_irqs = HIP04_MAX_IRQS; nr_irqs 391 drivers/irqchip/irq-hip04.c hip04_data.nr_irqs = nr_irqs; nr_irqs 393 drivers/irqchip/irq-hip04.c nr_irqs -= hwirq_base; /* calculate # of irqs to allocate */ nr_irqs 395 drivers/irqchip/irq-hip04.c irq_base = irq_alloc_descs(-1, hwirq_base, nr_irqs, numa_node_id()); nr_irqs 401 drivers/irqchip/irq-hip04.c hip04_data.domain = irq_domain_add_legacy(node, nr_irqs, irq_base, nr_irqs 162 drivers/irqchip/irq-imx-gpcv2.c unsigned int irq, unsigned int nr_irqs, nr_irqs 179 drivers/irqchip/irq-imx-gpcv2.c for (i = 0; i < nr_irqs; i++) { nr_irqs 186 drivers/irqchip/irq-imx-gpcv2.c return irq_domain_alloc_irqs_parent(domain, irq, nr_irqs, nr_irqs 154 drivers/irqchip/irq-ixp4xx.c unsigned int irq, unsigned int nr_irqs, nr_irqs 168 drivers/irqchip/irq-ixp4xx.c for (i = 0; i < nr_irqs; i++) { nr_irqs 221 drivers/irqchip/irq-ixp4xx.c int nr_irqs; nr_irqs 228 drivers/irqchip/irq-ixp4xx.c .nr_irqs = 6, nr_irqs 233 drivers/irqchip/irq-ixp4xx.c .nr_irqs = 11, nr_irqs 238 drivers/irqchip/irq-ixp4xx.c .nr_irqs = 2, nr_irqs 244 drivers/irqchip/irq-ixp4xx.c .nr_irqs = 10, nr_irqs 260 drivers/irqchip/irq-ixp4xx.c int nr_irqs; nr_irqs 278 drivers/irqchip/irq-ixp4xx.c nr_irqs = 64; nr_irqs 280 drivers/irqchip/irq-ixp4xx.c nr_irqs = 32; nr_irqs 288 drivers/irqchip/irq-ixp4xx.c ixi->domain = irq_domain_create_linear(fwnode, nr_irqs, nr_irqs 345 drivers/irqchip/irq-ixp4xx.c chunk->irq, chunk->irq + chunk->nr_irqs - 1, nr_irqs 346 drivers/irqchip/irq-ixp4xx.c chunk->hwirq, chunk->hwirq + chunk->nr_irqs - 1); nr_irqs 353 drivers/irqchip/irq-ixp4xx.c chunk->nr_irqs, nr_irqs 138 drivers/irqchip/irq-ls-scfg-msi.c unsigned int nr_irqs, nr_irqs 145 drivers/irqchip/irq-ls-scfg-msi.c WARN_ON(nr_irqs != 1); nr_irqs 170 drivers/irqchip/irq-ls-scfg-msi.c unsigned int virq, unsigned int nr_irqs) nr_irqs 197 drivers/irqchip/irq-mbigen.c unsigned int nr_irqs, nr_irqs 210 drivers/irqchip/irq-mbigen.c err = platform_msi_domain_alloc(domain, virq, nr_irqs); nr_irqs 216 drivers/irqchip/irq-mbigen.c for (i = 0; i < nr_irqs; i++) nr_irqs 224 drivers/irqchip/irq-mbigen.c unsigned int nr_irqs) nr_irqs 226 drivers/irqchip/irq-mbigen.c platform_msi_domain_free(domain, virq, nr_irqs); nr_irqs 292 drivers/irqchip/irq-meson-gpio.c unsigned int nr_irqs, nr_irqs 302 drivers/irqchip/irq-meson-gpio.c if (WARN_ON(nr_irqs != 1)) nr_irqs 329 drivers/irqchip/irq-meson-gpio.c unsigned int nr_irqs) nr_irqs 335 drivers/irqchip/irq-meson-gpio.c if (WARN_ON(nr_irqs != 1)) nr_irqs 182 drivers/irqchip/irq-mips-cpu.c unsigned int nr_irqs, void *arg) nr_irqs 188 drivers/irqchip/irq-mips-cpu.c for (i = 0; i < nr_irqs; i++) { nr_irqs 528 drivers/irqchip/irq-mips-gic.c unsigned int nr_irqs, void *arg) nr_irqs 542 drivers/irqchip/irq-mips-gic.c unsigned int nr_irqs) nr_irqs 569 drivers/irqchip/irq-mips-gic.c unsigned int nr_irqs, void *arg) nr_irqs 580 drivers/irqchip/irq-mips-gic.c for (i = base_hwirq; i < nr_irqs; i++) { nr_irqs 584 drivers/irqchip/irq-mips-gic.c bitmap_clear(ipi_available, base_hwirq, nr_irqs); nr_irqs 616 drivers/irqchip/irq-mips-gic.c bitmap_set(ipi_available, base_hwirq, nr_irqs); nr_irqs 621 drivers/irqchip/irq-mips-gic.c unsigned int nr_irqs) nr_irqs 631 drivers/irqchip/irq-mips-gic.c bitmap_set(ipi_available, base_hwirq, nr_irqs); nr_irqs 39 drivers/irqchip/irq-mmp.c int nr_irqs; nr_irqs 257 drivers/irqchip/irq-mmp.c icu_data[0].nr_irqs = 64; nr_irqs 280 drivers/irqchip/irq-mmp.c icu_data[0].nr_irqs = 64; nr_irqs 288 drivers/irqchip/irq-mmp.c icu_data[0].nr_irqs; nr_irqs 290 drivers/irqchip/irq-mmp.c icu_data[1].nr_irqs = 2; nr_irqs 292 drivers/irqchip/irq-mmp.c icu_data[1].virq_base = icu_data[0].virq_base + icu_data[0].nr_irqs; nr_irqs 293 drivers/irqchip/irq-mmp.c icu_data[1].domain = irq_domain_add_legacy(NULL, icu_data[1].nr_irqs, nr_irqs 299 drivers/irqchip/irq-mmp.c icu_data[2].nr_irqs = 2; nr_irqs 301 drivers/irqchip/irq-mmp.c icu_data[2].virq_base = icu_data[1].virq_base + icu_data[1].nr_irqs; nr_irqs 302 drivers/irqchip/irq-mmp.c icu_data[2].domain = irq_domain_add_legacy(NULL, icu_data[2].nr_irqs, nr_irqs 308 drivers/irqchip/irq-mmp.c icu_data[3].nr_irqs = 3; nr_irqs 310 drivers/irqchip/irq-mmp.c icu_data[3].virq_base = icu_data[2].virq_base + icu_data[2].nr_irqs; nr_irqs 311 drivers/irqchip/irq-mmp.c icu_data[3].domain = irq_domain_add_legacy(NULL, icu_data[3].nr_irqs, nr_irqs 317 drivers/irqchip/irq-mmp.c icu_data[4].nr_irqs = 5; nr_irqs 319 drivers/irqchip/irq-mmp.c icu_data[4].virq_base = icu_data[3].virq_base + icu_data[3].nr_irqs; nr_irqs 320 drivers/irqchip/irq-mmp.c icu_data[4].domain = irq_domain_add_legacy(NULL, icu_data[4].nr_irqs, nr_irqs 326 drivers/irqchip/irq-mmp.c icu_data[5].nr_irqs = 15; nr_irqs 328 drivers/irqchip/irq-mmp.c icu_data[5].virq_base = icu_data[4].virq_base + icu_data[4].nr_irqs; nr_irqs 329 drivers/irqchip/irq-mmp.c icu_data[5].domain = irq_domain_add_legacy(NULL, icu_data[5].nr_irqs, nr_irqs 335 drivers/irqchip/irq-mmp.c icu_data[6].nr_irqs = 2; nr_irqs 337 drivers/irqchip/irq-mmp.c icu_data[6].virq_base = icu_data[5].virq_base + icu_data[5].nr_irqs; nr_irqs 338 drivers/irqchip/irq-mmp.c icu_data[6].domain = irq_domain_add_legacy(NULL, icu_data[6].nr_irqs, nr_irqs 344 drivers/irqchip/irq-mmp.c icu_data[7].nr_irqs = 2; nr_irqs 346 drivers/irqchip/irq-mmp.c icu_data[7].virq_base = icu_data[6].virq_base + icu_data[6].nr_irqs; nr_irqs 347 drivers/irqchip/irq-mmp.c icu_data[7].domain = irq_domain_add_legacy(NULL, icu_data[7].nr_irqs, nr_irqs 351 drivers/irqchip/irq-mmp.c end = icu_data[7].virq_base + icu_data[7].nr_irqs; nr_irqs 375 drivers/irqchip/irq-mmp.c int ret, nr_irqs, irq, i = 0; nr_irqs 377 drivers/irqchip/irq-mmp.c ret = of_property_read_u32(node, "mrvl,intc-nr-irqs", &nr_irqs); nr_irqs 390 drivers/irqchip/irq-mmp.c icu_data[0].domain = irq_domain_add_linear(node, nr_irqs, nr_irqs 393 drivers/irqchip/irq-mmp.c for (irq = 0; irq < nr_irqs; irq++) { nr_irqs 402 drivers/irqchip/irq-mmp.c icu_data[0].nr_irqs = nr_irqs; nr_irqs 486 drivers/irqchip/irq-mmp.c u32 nr_irqs, mfp_irq; nr_irqs 494 drivers/irqchip/irq-mmp.c &nr_irqs); nr_irqs 520 drivers/irqchip/irq-mmp.c icu_data[i].domain = irq_domain_add_linear(node, nr_irqs, nr_irqs 523 drivers/irqchip/irq-mmp.c for (irq = 0; irq < nr_irqs; irq++) { nr_irqs 532 drivers/irqchip/irq-mmp.c icu_data[i].nr_irqs = nr_irqs; nr_irqs 130 drivers/irqchip/irq-mtk-cirq.c unsigned int nr_irqs, void *arg) nr_irqs 142 drivers/irqchip/irq-mtk-cirq.c if (WARN_ON(nr_irqs != 1)) nr_irqs 150 drivers/irqchip/irq-mtk-cirq.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, nr_irqs 92 drivers/irqchip/irq-mtk-sysirq.c unsigned int nr_irqs, void *arg) nr_irqs 107 drivers/irqchip/irq-mtk-sysirq.c for (i = 0; i < nr_irqs; i++) nr_irqs 113 drivers/irqchip/irq-mtk-sysirq.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, &gic_fwspec); nr_irqs 81 drivers/irqchip/irq-mvebu-gicp.c unsigned int nr_irqs, void *args) nr_irqs 121 drivers/irqchip/irq-mvebu-gicp.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); nr_irqs 130 drivers/irqchip/irq-mvebu-gicp.c unsigned int virq, unsigned int nr_irqs) nr_irqs 140 drivers/irqchip/irq-mvebu-gicp.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); nr_irqs 197 drivers/irqchip/irq-mvebu-icu.c unsigned int nr_irqs, void *args) nr_irqs 224 drivers/irqchip/irq-mvebu-icu.c err = platform_msi_domain_alloc(domain, virq, nr_irqs); nr_irqs 248 drivers/irqchip/irq-mvebu-icu.c platform_msi_domain_free(domain, virq, nr_irqs); nr_irqs 256 drivers/irqchip/irq-mvebu-icu.c unsigned int nr_irqs) nr_irqs 263 drivers/irqchip/irq-mvebu-icu.c platform_msi_domain_free(domain, virq, nr_irqs); nr_irqs 79 drivers/irqchip/irq-mvebu-odmi.c unsigned int nr_irqs, void *args) nr_irqs 126 drivers/irqchip/irq-mvebu-odmi.c unsigned int virq, unsigned int nr_irqs) nr_irqs 135 drivers/irqchip/irq-mvebu-odmi.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); nr_irqs 168 drivers/irqchip/irq-mvebu-sei.c unsigned int nr_irqs, void *arg) nr_irqs 181 drivers/irqchip/irq-mvebu-sei.c unsigned int nr_irqs) nr_irqs 185 drivers/irqchip/irq-mvebu-sei.c for (i = 0; i < nr_irqs; i++) { nr_irqs 209 drivers/irqchip/irq-mvebu-sei.c unsigned int nr_irqs, void *arg) nr_irqs 249 drivers/irqchip/irq-mvebu-sei.c unsigned int virq, unsigned int nr_irqs, nr_irqs 258 drivers/irqchip/irq-mvebu-sei.c if (nr_irqs != 1) nr_irqs 291 drivers/irqchip/irq-mvebu-sei.c unsigned int virq, unsigned int nr_irqs) nr_irqs 296 drivers/irqchip/irq-mvebu-sei.c if (nr_irqs != 1 || d->hwirq >= sei->caps->cp_range.size) { nr_irqs 60 drivers/irqchip/irq-nvic.c unsigned int nr_irqs, void *arg) nr_irqs 71 drivers/irqchip/irq-nvic.c for (i = 0; i < nr_irqs; i++) nr_irqs 139 drivers/irqchip/irq-partition-percpu.c unsigned int nr_irqs, void *arg) nr_irqs 147 drivers/irqchip/irq-partition-percpu.c BUG_ON(nr_irqs != 1); nr_irqs 166 drivers/irqchip/irq-partition-percpu.c unsigned int nr_irqs) nr_irqs 170 drivers/irqchip/irq-partition-percpu.c BUG_ON(nr_irqs != 1); nr_irqs 103 drivers/irqchip/irq-renesas-rza1.c unsigned int nr_irqs, void *arg) nr_irqs 122 drivers/irqchip/irq-renesas-rza1.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, &spec); nr_irqs 215 drivers/irqchip/irq-sifive-plic.c u32 nr_irqs; nr_irqs 227 drivers/irqchip/irq-sifive-plic.c of_property_read_u32(node, "riscv,ndev", &nr_irqs); nr_irqs 228 drivers/irqchip/irq-sifive-plic.c if (WARN_ON(!nr_irqs)) nr_irqs 238 drivers/irqchip/irq-sifive-plic.c plic_irqdomain = irq_domain_add_linear(node, nr_irqs + 1, nr_irqs 293 drivers/irqchip/irq-sifive-plic.c for (hwirq = 1; hwirq <= nr_irqs; hwirq++) nr_irqs 299 drivers/irqchip/irq-sifive-plic.c nr_irqs, nr_handlers, nr_contexts); nr_irqs 145 drivers/irqchip/irq-sni-exiu.c unsigned int nr_irqs, void *data) nr_irqs 164 drivers/irqchip/irq-sni-exiu.c WARN_ON(nr_irqs != 1); nr_irqs 168 drivers/irqchip/irq-sni-exiu.c return irq_domain_alloc_irqs_parent(dom, virq, nr_irqs, &parent_fwspec); nr_irqs 393 drivers/irqchip/irq-stm32-exti.c unsigned int nr_irqs, void *data) nr_irqs 406 drivers/irqchip/irq-stm32-exti.c unsigned int nr_irqs) nr_irqs 621 drivers/irqchip/irq-stm32-exti.c unsigned int nr_irqs, void *data) nr_irqs 719 drivers/irqchip/irq-stm32-exti.c int nr_irqs, ret, i; nr_irqs 768 drivers/irqchip/irq-stm32-exti.c nr_irqs = of_irq_count(node); nr_irqs 769 drivers/irqchip/irq-stm32-exti.c for (i = 0; i < nr_irqs; i++) { nr_irqs 238 drivers/irqchip/irq-tegra.c unsigned int nr_irqs, void *data) nr_irqs 255 drivers/irqchip/irq-tegra.c for (i = 0; i < nr_irqs; i++) { nr_irqs 265 drivers/irqchip/irq-tegra.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, nr_irqs 457 drivers/irqchip/irq-ti-sci-inta.c unsigned int virq, unsigned int nr_irqs) nr_irqs 476 drivers/irqchip/irq-ti-sci-inta.c unsigned int virq, unsigned int nr_irqs, nr_irqs 89 drivers/irqchip/irq-ti-sci-intr.c unsigned int virq, unsigned int nr_irqs) nr_irqs 165 drivers/irqchip/irq-ti-sci-intr.c unsigned int virq, unsigned int nr_irqs, nr_irqs 109 drivers/irqchip/irq-uniphier-aidet.c unsigned int virq, unsigned int nr_irqs, nr_irqs 117 drivers/irqchip/irq-uniphier-aidet.c if (nr_irqs != 1) nr_irqs 125 drivers/irqchip/irq-vf610-mscm-ir.c unsigned int nr_irqs, void *arg) nr_irqs 139 drivers/irqchip/irq-vf610-mscm-ir.c for (i = 0; i < nr_irqs; i++) nr_irqs 156 drivers/irqchip/irq-vf610-mscm-ir.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, nr_irqs 192 drivers/irqchip/qcom-pdc.c unsigned int nr_irqs, void *data) nr_irqs 225 drivers/irqchip/qcom-pdc.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, nr_irqs 47 drivers/irqchip/spear-shirq.c u32 nr_irqs; nr_irqs 90 drivers/irqchip/spear-shirq.c .nr_irqs = 9, nr_irqs 106 drivers/irqchip/spear-shirq.c .nr_irqs = 8, nr_irqs 114 drivers/irqchip/spear-shirq.c .nr_irqs = 5, nr_irqs 122 drivers/irqchip/spear-shirq.c .nr_irqs = 1, nr_irqs 130 drivers/irqchip/spear-shirq.c .nr_irqs = 3, nr_irqs 150 drivers/irqchip/spear-shirq.c .nr_irqs = 7, nr_irqs 156 drivers/irqchip/spear-shirq.c .nr_irqs = 3, nr_irqs 164 drivers/irqchip/spear-shirq.c .nr_irqs = 1, nr_irqs 172 drivers/irqchip/spear-shirq.c .nr_irqs = 11, nr_irqs 211 drivers/irqchip/spear-shirq.c for (i = 0; i < shirq->nr_irqs; i++) { nr_irqs 221 drivers/irqchip/spear-shirq.c int i, parent_irq, virq_base, hwirq = 0, nr_irqs = 0; nr_irqs 232 drivers/irqchip/spear-shirq.c nr_irqs += shirq_blocks[i]->nr_irqs; nr_irqs 234 drivers/irqchip/spear-shirq.c virq_base = irq_alloc_descs(-1, 0, nr_irqs, 0); nr_irqs 240 drivers/irqchip/spear-shirq.c shirq_domain = irq_domain_add_legacy(np, nr_irqs, virq_base, 0, nr_irqs 254 drivers/irqchip/spear-shirq.c hwirq += shirq_blocks[i]->nr_irqs; nr_irqs 260 drivers/irqchip/spear-shirq.c irq_free_descs(virq_base, nr_irqs); nr_irqs 575 drivers/mfd/88pm860x-core.c int nr_irqs, irq_base = -1; nr_irqs 619 drivers/mfd/88pm860x-core.c nr_irqs = ARRAY_SIZE(pm860x_irqs); nr_irqs 620 drivers/mfd/88pm860x-core.c chip->irq_base = irq_alloc_descs(irq_base, 0, nr_irqs, 0); nr_irqs 627 drivers/mfd/88pm860x-core.c irq_domain_add_legacy(node, nr_irqs, chip->irq_base, 0, nr_irqs 141 drivers/mfd/motorola-cpcap.c int irq_start, int nr_irqs) nr_irqs 146 drivers/mfd/motorola-cpcap.c for (i = irq_start; i < irq_start + nr_irqs; i++) { nr_irqs 152 drivers/mfd/motorola-cpcap.c chip->num_irqs = nr_irqs; nr_irqs 381 drivers/mfd/qcom-pm8xxx.c unsigned int nr_irqs, void *data) nr_irqs 393 drivers/mfd/qcom-pm8xxx.c for (i = 0; i < nr_irqs; i++) nr_irqs 677 drivers/mfd/twl4030-irq.c int irq_base, irq_end, nr_irqs; nr_irqs 685 drivers/mfd/twl4030-irq.c nr_irqs = TWL4030_PWR_NR_IRQS + TWL4030_CORE_NR_IRQS; nr_irqs 687 drivers/mfd/twl4030-irq.c irq_base = irq_alloc_descs(-1, 0, nr_irqs, 0); nr_irqs 693 drivers/mfd/twl4030-irq.c irq_domain_add_legacy(node, nr_irqs, irq_base, 0, nr_irqs 368 drivers/mfd/twl6030-irq.c int nr_irqs; nr_irqs 379 drivers/mfd/twl6030-irq.c nr_irqs = TWL6030_NR_IRQS; nr_irqs 415 drivers/mfd/twl6030-irq.c irq_domain_add_linear(node, nr_irqs, nr_irqs 1303 drivers/net/ethernet/3com/3c59x.c if (dev->irq <= 0 || dev->irq >= nr_irqs) nr_irqs 174 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c int nr_irqs, num_aeqs, num_ceqs; nr_irqs 180 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c nr_irqs = MAX_IRQS(HINIC_MAX_QPS, num_aeqs, num_ceqs); nr_irqs 181 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c if (nr_irqs > HINIC_HWIF_NUM_IRQS(hwif)) nr_irqs 182 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c nr_irqs = HINIC_HWIF_NUM_IRQS(hwif); nr_irqs 184 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c msix_entries_size = nr_irqs * sizeof(*hwdev->msix_entries); nr_irqs 190 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c for (i = 0; i < nr_irqs; i++) nr_irqs 193 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c err = pci_enable_msix_exact(pdev, hwdev->msix_entries, nr_irqs); nr_irqs 382 drivers/net/hamradio/baycom_ser_fdx.c dev->irq < 2 || dev->irq > nr_irqs) { nr_irqs 385 drivers/net/hamradio/baycom_ser_fdx.c 0xffff-SER12_EXTENT, nr_irqs); nr_irqs 1470 drivers/net/hamradio/scc.c for (k = 0; k < nr_irqs; k++) nr_irqs 1735 drivers/net/hamradio/scc.c if (hwcfg.irq < 0 || hwcfg.irq >= nr_irqs) nr_irqs 2140 drivers/net/hamradio/scc.c for (k = 0; k < nr_irqs ; k++) nr_irqs 323 drivers/net/wan/sbni.c if (pci_irq_line <= 0 || pci_irq_line >= nr_irqs) nr_irqs 453 drivers/of/irq.c int nr_irqs) nr_irqs 457 drivers/of/irq.c for (i = 0; i < nr_irqs; i++, res++) nr_irqs 207 drivers/pci/controller/dwc/pcie-designware-host.c unsigned int virq, unsigned int nr_irqs, nr_irqs 218 drivers/pci/controller/dwc/pcie-designware-host.c order_base_2(nr_irqs)); nr_irqs 225 drivers/pci/controller/dwc/pcie-designware-host.c for (i = 0; i < nr_irqs; i++) nr_irqs 235 drivers/pci/controller/dwc/pcie-designware-host.c unsigned int virq, unsigned int nr_irqs) nr_irqs 244 drivers/pci/controller/dwc/pcie-designware-host.c order_base_2(nr_irqs)); nr_irqs 687 drivers/pci/controller/pci-aardvark.c unsigned int nr_irqs, void *args) nr_irqs 694 drivers/pci/controller/pci-aardvark.c 0, nr_irqs, 0); nr_irqs 700 drivers/pci/controller/pci-aardvark.c bitmap_set(pcie->msi_used, hwirq, nr_irqs); nr_irqs 703 drivers/pci/controller/pci-aardvark.c for (i = 0; i < nr_irqs; i++) nr_irqs 713 drivers/pci/controller/pci-aardvark.c unsigned int virq, unsigned int nr_irqs) nr_irqs 719 drivers/pci/controller/pci-aardvark.c bitmap_clear(pcie->msi_used, d->hwirq, nr_irqs); nr_irqs 195 drivers/pci/controller/pci-xgene-msi.c unsigned int nr_irqs, void *args) nr_irqs 222 drivers/pci/controller/pci-xgene-msi.c unsigned int virq, unsigned int nr_irqs) nr_irqs 235 drivers/pci/controller/pci-xgene-msi.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); nr_irqs 117 drivers/pci/controller/pcie-altera-msi.c unsigned int nr_irqs, void *args) nr_irqs 123 drivers/pci/controller/pcie-altera-msi.c WARN_ON(nr_irqs != 1); nr_irqs 148 drivers/pci/controller/pcie-altera-msi.c unsigned int virq, unsigned int nr_irqs) nr_irqs 97 drivers/pci/controller/pcie-iproc-msi.c int nr_irqs; nr_irqs 148 drivers/pci/controller/pcie-iproc-msi.c return (hwirq % msi->nr_irqs); nr_irqs 242 drivers/pci/controller/pcie-iproc-msi.c unsigned int virq, unsigned int nr_irqs, nr_irqs 262 drivers/pci/controller/pcie-iproc-msi.c for (i = 0; i < nr_irqs; i++) { nr_irqs 273 drivers/pci/controller/pcie-iproc-msi.c unsigned int virq, unsigned int nr_irqs) nr_irqs 286 drivers/pci/controller/pcie-iproc-msi.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); nr_irqs 402 drivers/pci/controller/pcie-iproc-msi.c for (eq = 0; eq < msi->nr_irqs; eq++) { nr_irqs 424 drivers/pci/controller/pcie-iproc-msi.c for (eq = 0; eq < msi->nr_irqs; eq++) { nr_irqs 470 drivers/pci/controller/pcie-iproc-msi.c for (i = cpu; i < msi->nr_irqs; i += msi->nr_cpus) { nr_irqs 482 drivers/pci/controller/pcie-iproc-msi.c for (i = cpu; i < msi->nr_irqs; i += msi->nr_cpus) { nr_irqs 536 drivers/pci/controller/pcie-iproc-msi.c msi->nr_irqs = of_irq_count(node); nr_irqs 537 drivers/pci/controller/pcie-iproc-msi.c if (!msi->nr_irqs) { nr_irqs 542 drivers/pci/controller/pcie-iproc-msi.c if (msi->nr_irqs > NR_HW_IRQS) { nr_irqs 544 drivers/pci/controller/pcie-iproc-msi.c msi->nr_irqs); nr_irqs 545 drivers/pci/controller/pcie-iproc-msi.c msi->nr_irqs = NR_HW_IRQS; nr_irqs 548 drivers/pci/controller/pcie-iproc-msi.c if (msi->nr_irqs < msi->nr_cpus) { nr_irqs 554 drivers/pci/controller/pcie-iproc-msi.c if (msi->nr_irqs % msi->nr_cpus != 0) { nr_irqs 555 drivers/pci/controller/pcie-iproc-msi.c msi->nr_irqs -= msi->nr_irqs % msi->nr_cpus; nr_irqs 557 drivers/pci/controller/pcie-iproc-msi.c msi->nr_irqs); nr_irqs 569 drivers/pci/controller/pcie-iproc-msi.c msi->nr_eq_region = msi->nr_irqs; nr_irqs 570 drivers/pci/controller/pcie-iproc-msi.c msi->nr_msi_region = msi->nr_irqs; nr_irqs 580 drivers/pci/controller/pcie-iproc-msi.c msi->nr_msi_vecs = msi->nr_irqs * EQ_LEN; nr_irqs 586 drivers/pci/controller/pcie-iproc-msi.c msi->grps = devm_kcalloc(pcie->dev, msi->nr_irqs, sizeof(*msi->grps), nr_irqs 591 drivers/pci/controller/pcie-iproc-msi.c for (i = 0; i < msi->nr_irqs; i++) { nr_irqs 639 drivers/pci/controller/pcie-iproc-msi.c for (i = 0; i < msi->nr_irqs; i++) { nr_irqs 666 drivers/pci/controller/pcie-iproc-msi.c for (i = 0; i < msi->nr_irqs; i++) { nr_irqs 436 drivers/pci/controller/pcie-mediatek.c unsigned int nr_irqs, void *args) nr_irqs 441 drivers/pci/controller/pcie-mediatek.c WARN_ON(nr_irqs != 1); nr_irqs 462 drivers/pci/controller/pcie-mediatek.c unsigned int virq, unsigned int nr_irqs) nr_irqs 477 drivers/pci/controller/pcie-mediatek.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); nr_irqs 760 drivers/pci/controller/pcie-mobiveil.c unsigned int nr_irqs, void *args) nr_irqs 766 drivers/pci/controller/pcie-mobiveil.c WARN_ON(nr_irqs != 1); nr_irqs 786 drivers/pci/controller/pcie-mobiveil.c unsigned int nr_irqs) nr_irqs 136 drivers/pci/controller/pcie-tango.c unsigned int nr_irqs, void *args) nr_irqs 157 drivers/pci/controller/pcie-tango.c unsigned int nr_irqs) nr_irqs 477 drivers/pci/controller/pcie-xilinx-nwl.c unsigned int nr_irqs, void *args) nr_irqs 486 drivers/pci/controller/pcie-xilinx-nwl.c get_count_order(nr_irqs)); nr_irqs 492 drivers/pci/controller/pcie-xilinx-nwl.c for (i = 0; i < nr_irqs; i++) { nr_irqs 502 drivers/pci/controller/pcie-xilinx-nwl.c unsigned int nr_irqs) nr_irqs 510 drivers/pci/controller/pcie-xilinx-nwl.c get_count_order(nr_irqs)); nr_irqs 315 drivers/pcmcia/at91_cf.c cf->socket.pci_irq = nr_irqs + 1; nr_irqs 631 drivers/pcmcia/vrc4171_card.c if (irq >= 0 && irq < nr_irqs) nr_irqs 104 drivers/perf/arm-cci.c int nr_irqs; nr_irqs 836 drivers/perf/arm-cci.c if (cci_pmu->nr_irqs < 1) { nr_irqs 848 drivers/perf/arm-cci.c for (i = 0; i < cci_pmu->nr_irqs; i++) { nr_irqs 867 drivers/perf/arm-cci.c for (i = 0; i < cci_pmu->nr_irqs; i++) { nr_irqs 1584 drivers/perf/arm-cci.c static bool is_duplicate_irq(int irq, int *irqs, int nr_irqs) nr_irqs 1588 drivers/perf/arm-cci.c for (i = 0; i < nr_irqs; i++) nr_irqs 1662 drivers/perf/arm-cci.c cci_pmu->nr_irqs = 0; nr_irqs 1668 drivers/perf/arm-cci.c if (is_duplicate_irq(irq, cci_pmu->irqs, cci_pmu->nr_irqs)) nr_irqs 1671 drivers/perf/arm-cci.c cci_pmu->irqs[cci_pmu->nr_irqs++] = irq; nr_irqs 716 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c unsigned int nr_irqs, void *data) nr_irqs 730 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c for (i = 0; i < nr_irqs; i++) nr_irqs 740 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, nr_irqs 415 drivers/pinctrl/stm32/pinctrl-stm32.c unsigned int nr_irqs, void *data) nr_irqs 431 drivers/pinctrl/stm32/pinctrl-stm32.c return irq_domain_alloc_irqs_parent(d, virq, nr_irqs, &parent_fwspec); nr_irqs 295 drivers/scsi/aha152x.c #define IRQ_MAX (nr_irqs-1) nr_irqs 10554 drivers/scsi/lpfc/lpfc_init.c int nr_irqs, i; nr_irqs 10557 drivers/scsi/lpfc/lpfc_init.c nr_irqs = LPFC_MSIX_VECTORS; nr_irqs 10559 drivers/scsi/lpfc/lpfc_init.c nr_irqs = 1; nr_irqs 10561 drivers/scsi/lpfc/lpfc_init.c for (i = 0; i < nr_irqs; i++) nr_irqs 25 drivers/sh/intc/virq-debugfs.c for (i = 1; i < nr_irqs; i++) { nr_irqs 758 drivers/spmi/spmi-pmic-arb.c unsigned int virq, unsigned int nr_irqs, nr_irqs 771 drivers/spmi/spmi-pmic-arb.c for (i = 0; i < nr_irqs; i++) nr_irqs 3026 drivers/tty/serial/8250/8250_port.c if (ser->irq >= nr_irqs || ser->irq < 0 || nr_irqs 537 drivers/tty/serial/amba-pl010.c if (ser->irq < 0 || ser->irq >= nr_irqs) nr_irqs 2130 drivers/tty/serial/amba-pl011.c if (ser->irq < 0 || ser->irq >= nr_irqs) nr_irqs 667 drivers/tty/serial/cpm_uart/cpm_uart_core.c if (ser->irq < 0 || ser->irq >= nr_irqs) nr_irqs 876 drivers/tty/serial/serial_core.c if ((new_info->irq >= nr_irqs) || (new_info->irq < 0) || nr_irqs 1074 drivers/tty/serial/ucc_uart.c if (ser->irq < 0 || ser->irq >= nr_irqs) nr_irqs 250 drivers/xen/events/events_base.c if (WARN(irq >= nr_irqs, "Invalid irq %d!\n", irq)) nr_irqs 14 fs/proc/interrupts.c return (*pos <= nr_irqs) ? pos : NULL; nr_irqs 20 fs/proc/interrupts.c if (*pos > nr_irqs) nr_irqs 104 fs/proc/stat.c show_irq_gap(p, nr_irqs - next); nr_irqs 216 fs/proc/stat.c size += 2 * nr_irqs; nr_irqs 116 include/linux/irqdomain.h unsigned int nr_irqs, void *arg); nr_irqs 118 include/linux/irqdomain.h unsigned int nr_irqs); nr_irqs 277 include/linux/irqdomain.h extern int irq_domain_alloc_descs(int virq, unsigned int nr_irqs, nr_irqs 466 include/linux/irqdomain.h unsigned int nr_irqs, int node, void *arg, nr_irqs 469 include/linux/irqdomain.h extern void irq_domain_free_irqs(unsigned int virq, unsigned int nr_irqs); nr_irqs 474 include/linux/irqdomain.h unsigned int nr_irqs, int node, void *arg) nr_irqs 476 include/linux/irqdomain.h return __irq_domain_alloc_irqs(domain, -1, nr_irqs, node, arg, false, nr_irqs 482 include/linux/irqdomain.h unsigned int nr_irqs, void *arg); nr_irqs 491 include/linux/irqdomain.h unsigned int nr_irqs); nr_irqs 493 include/linux/irqdomain.h unsigned int virq, unsigned int nr_irqs); nr_irqs 500 include/linux/irqdomain.h unsigned int nr_irqs, void *arg); nr_irqs 504 include/linux/irqdomain.h unsigned int nr_irqs); nr_irqs 541 include/linux/irqdomain.h unsigned int nr_irqs, int node, void *arg) nr_irqs 547 include/linux/irqdomain.h unsigned int nr_irqs) { } nr_irqs 8 include/linux/irqnr.h extern int nr_irqs; nr_irqs 13 include/linux/irqnr.h for (irq = 0, desc = irq_to_desc(irq); irq < nr_irqs; \ nr_irqs 21 include/linux/irqnr.h for (irq = nr_irqs - 1, desc = irq_to_desc(irq); irq >= 0; \ nr_irqs 28 include/linux/irqnr.h for (irq = irq_get_next_irq(0); irq < nr_irqs; \ nr_irqs 32 include/linux/irqnr.h for (irq = 0; irq < nr_irqs; irq++) nr_irqs 361 include/linux/msi.h unsigned int nr_irqs); nr_irqs 49 include/linux/of_irq.h struct resource *res, int nr_irqs); nr_irqs 72 include/linux/of_irq.h struct resource *res, int nr_irqs) nr_irqs 26 kernel/irq/ipi.c unsigned int nr_irqs, offset; nr_irqs 40 kernel/irq/ipi.c nr_irqs = cpumask_weight(dest); nr_irqs 41 kernel/irq/ipi.c if (!nr_irqs) { nr_irqs 53 kernel/irq/ipi.c nr_irqs = 1; nr_irqs 78 kernel/irq/ipi.c virq = irq_domain_alloc_descs(-1, nr_irqs, 0, NUMA_NO_NODE, NULL); nr_irqs 84 kernel/irq/ipi.c virq = __irq_domain_alloc_irqs(domain, virq, nr_irqs, NUMA_NO_NODE, nr_irqs 92 kernel/irq/ipi.c for (i = 0; i < nr_irqs; i++) { nr_irqs 101 kernel/irq/ipi.c irq_free_descs(virq, nr_irqs); nr_irqs 120 kernel/irq/ipi.c unsigned int nr_irqs; nr_irqs 143 kernel/irq/ipi.c nr_irqs = cpumask_weight(dest); nr_irqs 145 kernel/irq/ipi.c nr_irqs = 1; nr_irqs 148 kernel/irq/ipi.c irq_domain_free_irqs(irq, nr_irqs); nr_irqs 130 kernel/irq/irqdesc.c int nr_irqs = NR_IRQS; nr_irqs 131 kernel/irq/irqdesc.c EXPORT_SYMBOL_GPL(nr_irqs); nr_irqs 515 kernel/irq/irqdesc.c nr_irqs = nr; nr_irqs 529 kernel/irq/irqdesc.c NR_IRQS, nr_irqs, initcnt); nr_irqs 531 kernel/irq/irqdesc.c if (WARN_ON(nr_irqs > IRQ_BITMAP_BITS)) nr_irqs 532 kernel/irq/irqdesc.c nr_irqs = IRQ_BITMAP_BITS; nr_irqs 537 kernel/irq/irqdesc.c if (initcnt > nr_irqs) nr_irqs 538 kernel/irq/irqdesc.c nr_irqs = initcnt; nr_irqs 677 kernel/irq/irqdesc.c if (unlikely(!irq || irq >= nr_irqs)) { nr_irqs 740 kernel/irq/irqdesc.c if (from >= nr_irqs || (from + cnt) > nr_irqs) nr_irqs 795 kernel/irq/irqdesc.c if (start + cnt > nr_irqs) { nr_irqs 866 kernel/irq/irqdesc.c return find_next_bit(allocated_irqs, nr_irqs, offset); nr_irqs 1019 kernel/irq/irqdomain.c hint = hwirq % nr_irqs; nr_irqs 1124 kernel/irq/irqdomain.c static void irq_domain_free_irq_data(unsigned int virq, unsigned int nr_irqs) nr_irqs 1129 kernel/irq/irqdomain.c for (i = 0; i < nr_irqs; i++) { nr_irqs 1144 kernel/irq/irqdomain.c unsigned int virq, unsigned int nr_irqs) nr_irqs 1151 kernel/irq/irqdomain.c for (i = 0; i < nr_irqs; i++) { nr_irqs 1252 kernel/irq/irqdomain.c unsigned int nr_irqs) nr_irqs 1257 kernel/irq/irqdomain.c for (i = 0; i < nr_irqs; i++) { nr_irqs 1262 kernel/irq/irqdomain.c irq_domain_free_irqs_parent(domain, virq, nr_irqs); nr_irqs 1273 kernel/irq/irqdomain.c unsigned int nr_irqs) nr_irqs 1277 kernel/irq/irqdomain.c for (i = 0; i < nr_irqs; i++) { nr_irqs 1281 kernel/irq/irqdomain.c irq_domain_free_irqs_common(domain, virq, nr_irqs); nr_irqs 1286 kernel/irq/irqdomain.c unsigned int nr_irqs) nr_irqs 1289 kernel/irq/irqdomain.c domain->ops->free(domain, irq_base, nr_irqs); nr_irqs 1294 kernel/irq/irqdomain.c unsigned int nr_irqs, void *arg) nr_irqs 1301 kernel/irq/irqdomain.c return domain->ops->alloc(domain, irq_base, nr_irqs, arg); nr_irqs 1327 kernel/irq/irqdomain.c unsigned int nr_irqs, int node, void *arg, nr_irqs 1341 kernel/irq/irqdomain.c virq = irq_domain_alloc_descs(irq_base, nr_irqs, 0, node, nr_irqs 1345 kernel/irq/irqdomain.c irq_base, nr_irqs); nr_irqs 1350 kernel/irq/irqdomain.c if (irq_domain_alloc_irq_data(domain, virq, nr_irqs)) { nr_irqs 1357 kernel/irq/irqdomain.c ret = irq_domain_alloc_irqs_hierarchy(domain, virq, nr_irqs, arg); nr_irqs 1362 kernel/irq/irqdomain.c for (i = 0; i < nr_irqs; i++) nr_irqs 1369 kernel/irq/irqdomain.c irq_domain_free_irq_data(virq, nr_irqs); nr_irqs 1371 kernel/irq/irqdomain.c irq_free_descs(virq, nr_irqs); nr_irqs 1550 kernel/irq/irqdomain.c void irq_domain_free_irqs(unsigned int virq, unsigned int nr_irqs) nr_irqs 1560 kernel/irq/irqdomain.c for (i = 0; i < nr_irqs; i++) nr_irqs 1562 kernel/irq/irqdomain.c irq_domain_free_irqs_hierarchy(data->domain, virq, nr_irqs); nr_irqs 1565 kernel/irq/irqdomain.c irq_domain_free_irq_data(virq, nr_irqs); nr_irqs 1566 kernel/irq/irqdomain.c irq_free_descs(virq, nr_irqs); nr_irqs 1579 kernel/irq/irqdomain.c unsigned int irq_base, unsigned int nr_irqs, nr_irqs 1586 kernel/irq/irqdomain.c nr_irqs, arg); nr_irqs 1599 kernel/irq/irqdomain.c unsigned int irq_base, unsigned int nr_irqs) nr_irqs 1604 kernel/irq/irqdomain.c irq_domain_free_irqs_hierarchy(domain->parent, irq_base, nr_irqs); nr_irqs 139 kernel/irq/msi.c unsigned int nr_irqs, void *arg) nr_irqs 150 kernel/irq/msi.c ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, arg); nr_irqs 155 kernel/irq/msi.c for (i = 0; i < nr_irqs; i++) { nr_irqs 162 kernel/irq/msi.c irq_domain_free_irqs_top(domain, virq, nr_irqs); nr_irqs 171 kernel/irq/msi.c unsigned int nr_irqs) nr_irqs 177 kernel/irq/msi.c for (i = 0; i < nr_irqs; i++) nr_irqs 180 kernel/irq/msi.c irq_domain_free_irqs_top(domain, virq, nr_irqs); nr_irqs 457 kernel/irq/proc.c # define ACTUAL_NR_IRQS nr_irqs nr_irqs 477 kernel/irq/proc.c for (prec = 3, j = 1000; prec < 10 && j <= nr_irqs; ++prec) nr_irqs 35 kernel/irq/resend.c while (!bitmap_empty(irqs_resend, nr_irqs)) { nr_irqs 36 kernel/irq/resend.c irq = find_first_bit(irqs_resend, nr_irqs); nr_irqs 425 virt/kvm/arm/vgic/vgic-its.c int nr_irqs, i; nr_irqs 429 virt/kvm/arm/vgic/vgic-its.c nr_irqs = vgic_copy_lpi_list(vcpu->kvm, vcpu, &intids); nr_irqs 430 virt/kvm/arm/vgic/vgic-its.c if (nr_irqs < 0) nr_irqs 431 virt/kvm/arm/vgic/vgic-its.c return nr_irqs; nr_irqs 433 virt/kvm/arm/vgic/vgic-its.c for (i = 0; i < nr_irqs; i++) { nr_irqs 607 virt/kvm/arm/vgic/vgic-mmio.c int nr_irqs = vcpu->kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS; nr_irqs 612 virt/kvm/arm/vgic/vgic-mmio.c if ((intid + i) < VGIC_NR_SGIS || (intid + i) >= nr_irqs) nr_irqs 629 virt/kvm/arm/vgic/vgic-mmio.c int nr_irqs = vcpu->kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS; nr_irqs 636 virt/kvm/arm/vgic/vgic-mmio.c if ((intid + i) < VGIC_NR_SGIS || (intid + i) >= nr_irqs) nr_irqs 759 virt/kvm/arm/vgic/vgic-mmio.c int flags, nr_irqs = kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS; nr_irqs 780 virt/kvm/arm/vgic/vgic-mmio.c return VGIC_ADDR_TO_INTID(addr, region->bits_per_irq) < nr_irqs; nr_irqs 104 virt/kvm/arm/vgic/vgic-mmio.h int nr_irqs, bool offset_private);