hwirq              39 arch/arc/include/asm/smp.h extern int smp_ipi_irq_setup(int cpu, irq_hw_number_t hwirq);
hwirq             101 arch/arc/kernel/intc-arcv2.c 	write_aux_reg(AUX_IRQ_SELECT, data->hwirq);
hwirq             107 arch/arc/kernel/intc-arcv2.c 	write_aux_reg(AUX_IRQ_SELECT, data->hwirq);
hwirq             114 arch/arc/kernel/intc-arcv2.c 	write_aux_reg(AUX_IRQ_SELECT, data->hwirq);
hwirq              69 arch/arc/kernel/intc-compact.c 	ienb &= ~(1 << data->hwirq);
hwirq              78 arch/arc/kernel/intc-compact.c 	ienb |= (1 << data->hwirq);
hwirq              40 arch/arc/kernel/irq.c void arch_do_IRQ(unsigned int hwirq, struct pt_regs *regs)
hwirq              42 arch/arc/kernel/irq.c 	handle_domain_irq(NULL, hwirq, regs);
hwirq             223 arch/arc/kernel/mcip.c static void idu_irq_mask_raw(irq_hw_number_t hwirq)
hwirq             228 arch/arc/kernel/mcip.c 	__mcip_cmd_data(CMD_IDU_SET_MASK, hwirq, 1);
hwirq             234 arch/arc/kernel/mcip.c 	idu_irq_mask_raw(data->hwirq);
hwirq             242 arch/arc/kernel/mcip.c 	__mcip_cmd_data(CMD_IDU_SET_MASK, data->hwirq, 0);
hwirq             251 arch/arc/kernel/mcip.c 	__mcip_cmd(CMD_IDU_ACK_CIRQ, data->hwirq);
hwirq             260 arch/arc/kernel/mcip.c 	__mcip_cmd_data(CMD_IDU_SET_MASK, data->hwirq, 1);
hwirq             261 arch/arc/kernel/mcip.c 	__mcip_cmd(CMD_IDU_ACK_CIRQ, data->hwirq);
hwirq             281 arch/arc/kernel/mcip.c 	idu_set_dest(data->hwirq, destination_bits);
hwirq             288 arch/arc/kernel/mcip.c 	idu_set_mode(data->hwirq, false, 0, true, distribution_mode);
hwirq             308 arch/arc/kernel/mcip.c 	idu_set_mode(data->hwirq, true,
hwirq             359 arch/arc/kernel/mcip.c static int idu_irq_map(struct irq_domain *d, unsigned int virq, irq_hw_number_t hwirq)
hwirq             404 arch/arc/kernel/smp.c int smp_ipi_irq_setup(int cpu, irq_hw_number_t hwirq)
hwirq             407 arch/arc/kernel/smp.c 	unsigned int virq = irq_find_mapping(NULL, hwirq);
hwirq             410 arch/arc/kernel/smp.c 		panic("Cannot find virq for root domain and hwirq=%lu", hwirq);
hwirq             126 arch/arm/common/sa1111.c 	unsigned int	hwirq[6];
hwirq             135 arch/arm/common/sa1111.c 		.hwirq = {
hwirq             149 arch/arm/common/sa1111.c 		.hwirq = {
hwirq             165 arch/arm/common/sa1111.c 		.hwirq = {
hwirq             174 arch/arm/common/sa1111.c 		.hwirq = {
hwirq             183 arch/arm/common/sa1111.c 		.hwirq = {
hwirq             194 arch/arm/common/sa1111.c static int sa1111_map_irq(struct sa1111 *sachip, irq_hw_number_t hwirq)
hwirq             196 arch/arm/common/sa1111.c 	return irq_create_mapping(sachip->irqdomain, hwirq);
hwirq             361 arch/arm/common/sa1111.c 	irq_hw_number_t hwirq)
hwirq             366 arch/arm/common/sa1111.c 	if (hwirq > SSPROR && hwirq < AUDXMTDMADONEA)
hwirq             757 arch/arm/common/sa1111.c 	for (i = 0; i < ARRAY_SIZE(info->hwirq); i++)
hwirq             758 arch/arm/common/sa1111.c 		dev->hwirq[i] = info->hwirq[i];
hwirq            1333 arch/arm/common/sa1111.c 	if (num >= ARRAY_SIZE(sadev->hwirq))
hwirq            1335 arch/arm/common/sa1111.c 	return sa1111_map_irq(sachip, sadev->hwirq[num]);
hwirq             393 arch/arm/include/asm/hardware/sa1111.h 	unsigned int	hwirq[6];
hwirq              53 arch/arm/mach-dove/irq.c 		unsigned int hwirq = 1 + __fls(stat);
hwirq              54 arch/arm/mach-dove/irq.c 		handle_IRQ(hwirq, regs);
hwirq              60 arch/arm/mach-dove/irq.c 		unsigned int hwirq = 33 + __fls(stat);
hwirq              61 arch/arm/mach-dove/irq.c 		handle_IRQ(hwirq, regs);
hwirq              46 arch/arm/mach-exynos/suspend.c 	unsigned int hwirq;
hwirq             111 arch/arm/mach-exynos/suspend.c 		if (wkup_irq->hwirq == data->hwirq) {
hwirq             138 arch/arm/mach-exynos/suspend.c 				       unsigned long *hwirq,
hwirq             149 arch/arm/mach-exynos/suspend.c 		*hwirq = fwspec->param[1];
hwirq             163 arch/arm/mach-exynos/suspend.c 	irq_hw_number_t hwirq;
hwirq             171 arch/arm/mach-exynos/suspend.c 	hwirq = fwspec->param[1];
hwirq             174 arch/arm/mach-exynos/suspend.c 		irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i,
hwirq             112 arch/arm/mach-imx/3ds_debugboard.c 	u32 expio = d->hwirq;
hwirq             121 arch/arm/mach-imx/3ds_debugboard.c 	u32 expio = d->hwirq;
hwirq             131 arch/arm/mach-imx/3ds_debugboard.c 	u32 expio = d->hwirq;
hwirq              51 arch/arm/mach-imx/avic.c static int avic_set_irq_fiq(unsigned int hwirq, unsigned int type)
hwirq              55 arch/arm/mach-imx/avic.c 	if (hwirq >= AVIC_NUM_IRQS)
hwirq              58 arch/arm/mach-imx/avic.c 	if (hwirq < AVIC_NUM_IRQS / 2) {
hwirq              59 arch/arm/mach-imx/avic.c 		irqt = imx_readl(avic_base + AVIC_INTTYPEL) & ~(1 << hwirq);
hwirq              60 arch/arm/mach-imx/avic.c 		imx_writel(irqt | (!!type << hwirq), avic_base + AVIC_INTTYPEL);
hwirq              62 arch/arm/mach-imx/avic.c 		hwirq -= AVIC_NUM_IRQS / 2;
hwirq              63 arch/arm/mach-imx/avic.c 		irqt = imx_readl(avic_base + AVIC_INTTYPEH) & ~(1 << hwirq);
hwirq              64 arch/arm/mach-imx/avic.c 		imx_writel(irqt | (!!type << hwirq), avic_base + AVIC_INTTYPEH);
hwirq              85 arch/arm/mach-imx/avic.c 	int idx = d->hwirq >> 5;
hwirq              91 arch/arm/mach-imx/avic.c 		u8 offs = d->hwirq < AVIC_NUM_IRQS / 2 ?
hwirq             107 arch/arm/mach-imx/avic.c 	int idx = d->hwirq >> 5;
hwirq             112 arch/arm/mach-imx/avic.c 		u8 offs = d->hwirq < AVIC_NUM_IRQS / 2 ?
hwirq              97 arch/arm/mach-imx/common.h void imx_gpc_hwirq_mask(unsigned int hwirq);
hwirq              98 arch/arm/mach-imx/common.h void imx_gpc_hwirq_unmask(unsigned int hwirq);
hwirq              91 arch/arm/mach-imx/gpc.c 	unsigned int idx = d->hwirq / 32;
hwirq              94 arch/arm/mach-imx/gpc.c 	mask = 1 << d->hwirq % 32;
hwirq             126 arch/arm/mach-imx/gpc.c void imx_gpc_hwirq_unmask(unsigned int hwirq)
hwirq             131 arch/arm/mach-imx/gpc.c 	reg = gpc_base + GPC_IMR1 + hwirq / 32 * 4;
hwirq             133 arch/arm/mach-imx/gpc.c 	val &= ~(1 << hwirq % 32);
hwirq             137 arch/arm/mach-imx/gpc.c void imx_gpc_hwirq_mask(unsigned int hwirq)
hwirq             142 arch/arm/mach-imx/gpc.c 	reg = gpc_base + GPC_IMR1 + hwirq / 32 * 4;
hwirq             144 arch/arm/mach-imx/gpc.c 	val |= 1 << (hwirq % 32);
hwirq             150 arch/arm/mach-imx/gpc.c 	imx_gpc_hwirq_unmask(d->hwirq);
hwirq             156 arch/arm/mach-imx/gpc.c 	imx_gpc_hwirq_mask(d->hwirq);
hwirq             175 arch/arm/mach-imx/gpc.c 				    unsigned long *hwirq,
hwirq             186 arch/arm/mach-imx/gpc.c 		*hwirq = fwspec->param[1];
hwirq             200 arch/arm/mach-imx/gpc.c 	irq_hw_number_t hwirq;
hwirq             208 arch/arm/mach-imx/gpc.c 	hwirq = fwspec->param[1];
hwirq             209 arch/arm/mach-imx/gpc.c 	if (hwirq >= GPC_MAX_IRQS)
hwirq             213 arch/arm/mach-imx/gpc.c 		irq_domain_set_hwirq_and_chip(domain, irq + i, hwirq + i,
hwirq             172 arch/arm/mach-imx/mach-mx31ads.c 	u32 expio = d->hwirq;
hwirq             184 arch/arm/mach-imx/mach-mx31ads.c 	u32 expio = d->hwirq;
hwirq             195 arch/arm/mach-imx/mach-mx31ads.c 	u32 expio = d->hwirq;
hwirq              52 arch/arm/mach-imx/tzic.c static int tzic_set_irq_fiq(unsigned int hwirq, unsigned int type)
hwirq              56 arch/arm/mach-imx/tzic.c 	index = hwirq >> 5;
hwirq              59 arch/arm/mach-imx/tzic.c 	mask = 1U << (hwirq & 0x1F);
hwirq              76 arch/arm/mach-imx/tzic.c 	int idx = d->hwirq >> 5;
hwirq              83 arch/arm/mach-imx/tzic.c 	int idx = d->hwirq >> 5;
hwirq              37 arch/arm/mach-mv78xx0/irq.c 		unsigned int hwirq = __fls(stat);
hwirq              38 arch/arm/mach-mv78xx0/irq.c 		handle_IRQ(hwirq, regs);
hwirq              44 arch/arm/mach-mv78xx0/irq.c 		unsigned int hwirq = 32 + __fls(stat);
hwirq              45 arch/arm/mach-mv78xx0/irq.c 		handle_IRQ(hwirq, regs);
hwirq              51 arch/arm/mach-mv78xx0/irq.c 		unsigned int hwirq = 64 + __fls(stat);
hwirq              52 arch/arm/mach-mv78xx0/irq.c 		handle_IRQ(hwirq, regs);
hwirq             138 arch/arm/mach-omap2/omap-wakeupgen.c 	_wakeupgen_clear(d->hwirq, irq_target_cpu[d->hwirq]);
hwirq             151 arch/arm/mach-omap2/omap-wakeupgen.c 	_wakeupgen_set(d->hwirq, irq_target_cpu[d->hwirq]);
hwirq             179 arch/arm/mach-omap2/omap-wakeupgen.c 	if (inverted && d->hwirq != SYS_NIRQ1_EXT_SYS_IRQ_1 &&
hwirq             180 arch/arm/mach-omap2/omap-wakeupgen.c 	    d->hwirq != SYS_NIRQ2_EXT_SYS_IRQ_2)
hwirq             182 arch/arm/mach-omap2/omap-wakeupgen.c 			d->hwirq);
hwirq             489 arch/arm/mach-omap2/omap-wakeupgen.c 				      unsigned long *hwirq,
hwirq             500 arch/arm/mach-omap2/omap-wakeupgen.c 		*hwirq = fwspec->param[1];
hwirq             514 arch/arm/mach-omap2/omap-wakeupgen.c 	irq_hw_number_t hwirq;
hwirq             522 arch/arm/mach-omap2/omap-wakeupgen.c 	hwirq = fwspec->param[1];
hwirq             523 arch/arm/mach-omap2/omap-wakeupgen.c 	if (hwirq >= MAX_IRQS)
hwirq             527 arch/arm/mach-omap2/omap-wakeupgen.c 		irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i,
hwirq              37 arch/arm/mach-orion5x/irq.c 		unsigned int hwirq = 1 + __fls(stat);
hwirq              38 arch/arm/mach-orion5x/irq.c 		handle_IRQ(hwirq, regs);
hwirq              83 arch/arm/mach-pxa/pxa_cplds_irqs.c 				   irq_hw_number_t hwirq)
hwirq              29 arch/arm/mach-s3c24xx/irq-pm.c 	unsigned long irqbit = 1 << data->hwirq;
hwirq              35 arch/arm/mach-s3c24xx/irq-pm.c 		state ? "enabled" : "disabled", data->hwirq);
hwirq             359 arch/arm/plat-orion/gpio.c 	pin = d->hwirq - ochip->secondary_irq_base;
hwirq              34 arch/c6x/kernel/irq.c 	unsigned int prio = data->hwirq;
hwirq              43 arch/c6x/kernel/irq.c 	unsigned int prio = data->hwirq;
hwirq             245 arch/c6x/platforms/megamod-pic.c 		irq_hw_number_t hwirq;
hwirq             258 arch/c6x/platforms/megamod-pic.c 		hwirq = irq_data->hwirq;
hwirq             264 arch/c6x/platforms/megamod-pic.c 		if (hwirq < 4 || hwirq >= NR_PRIORITY_IRQS) {
hwirq             266 arch/c6x/platforms/megamod-pic.c 			       np, i, hwirq);
hwirq             271 arch/c6x/platforms/megamod-pic.c 		mapping[hwirq - 4] = i;
hwirq             274 arch/c6x/platforms/megamod-pic.c 			 np, i, hwirq);
hwirq              98 arch/mips/ath25/ar2315.c 	ar2315_rst_reg_mask(AR2315_IMR, 0, BIT(d->hwirq));
hwirq             103 arch/mips/ath25/ar2315.c 	ar2315_rst_reg_mask(AR2315_IMR, BIT(d->hwirq), 0);
hwirq             101 arch/mips/ath25/ar5312.c 	ar5312_rst_reg_mask(AR5312_IMR, 0, BIT(d->hwirq));
hwirq             107 arch/mips/ath25/ar5312.c 	ar5312_rst_reg_mask(AR5312_IMR, BIT(d->hwirq), 0);
hwirq            2341 arch/mips/cavium-octeon/octeon-irq.c 	unsigned int hwirq, type, intsn_major;
hwirq            2346 arch/mips/cavium-octeon/octeon-irq.c 	hwirq = intspec[0];
hwirq            2349 arch/mips/cavium-octeon/octeon-irq.c 	if (hwirq >= (1 << 20))
hwirq            2352 arch/mips/cavium-octeon/octeon-irq.c 	intsn_major = hwirq >> 12;
hwirq            2360 arch/mips/cavium-octeon/octeon-irq.c 	isc.u64 =  cvmx_read_csr(ciu3_info->ciu3_addr + CIU3_ISC_CTL(hwirq));
hwirq            2376 arch/mips/cavium-octeon/octeon-irq.c 	*out_hwirq = hwirq;
hwirq              79 arch/mips/lantiq/irq.c 	unsigned long offset = d->hwirq - MIPS_CPU_IRQ_CASCADE;
hwirq              97 arch/mips/lantiq/irq.c 	unsigned long offset = d->hwirq - MIPS_CPU_IRQ_CASCADE;
hwirq             116 arch/mips/lantiq/irq.c 	unsigned long offset = d->hwirq - MIPS_CPU_IRQ_CASCADE;
hwirq             132 arch/mips/lantiq/irq.c 	unsigned long offset = d->hwirq - MIPS_CPU_IRQ_CASCADE;
hwirq             159 arch/mips/lantiq/irq.c 		if (d->hwirq == ltq_eiu_irq[i]) {
hwirq             186 arch/mips/lantiq/irq.c 					type, d->hwirq);
hwirq             191 arch/mips/lantiq/irq.c 				irq_set_handler(d->hwirq, handle_edge_irq);
hwirq             210 arch/mips/lantiq/irq.c 		if (d->hwirq == ltq_eiu_irq[i]) {
hwirq             232 arch/mips/lantiq/irq.c 		if (d->hwirq == ltq_eiu_irq[i]) {
hwirq             289 arch/mips/lantiq/irq.c 	irq_hw_number_t hwirq;
hwirq             301 arch/mips/lantiq/irq.c 	hwirq = irq + MIPS_CPU_IRQ_CASCADE + (INT_NUM_IM_OFFSET * module);
hwirq             302 arch/mips/lantiq/irq.c 	generic_handle_irq(irq_linear_revmap(ltq_domain, hwirq));
hwirq             354 arch/mips/pci/pci-ar2315.c 	ar2315_pci_reg_mask(apc, AR2315_PCI_IMR, BIT(d->hwirq), 0);
hwirq             360 arch/mips/pci/pci-ar2315.c 	u32 m = BIT(d->hwirq);
hwirq             370 arch/mips/pci/pci-ar2315.c 	ar2315_pci_reg_mask(apc, AR2315_PCI_IMR, 0, BIT(d->hwirq));
hwirq             161 arch/mips/pci/pci-rt3883.c 	rt3883_pci_w32(rpc, t | BIT(d->hwirq), RT3883_PCI_REG_PCIENA);
hwirq             174 arch/mips/pci/pci-rt3883.c 	rt3883_pci_w32(rpc, t & ~BIT(d->hwirq), RT3883_PCI_REG_PCIENA);
hwirq             280 arch/mips/pci/pci-xtalk-bridge.c 	int bit = d->parent_data->hwirq;
hwirq             281 arch/mips/pci/pci-xtalk-bridge.c 	int pin = d->hwirq;
hwirq             350 arch/mips/pci/pci-xtalk-bridge.c 	int bit = irqd->parent_data->hwirq;
hwirq             351 arch/mips/pci/pci-xtalk-bridge.c 	int pin = irqd->hwirq;
hwirq             387 arch/mips/pci/pci-xtalk-bridge.c 	bridge_clr(data->bc, b_int_enable, (1 << irqd->hwirq));
hwirq              71 arch/mips/ralink/irq.c 	rt_intc_w32(BIT(d->hwirq), INTC_REG_ENABLE);
hwirq              76 arch/mips/ralink/irq.c 	rt_intc_w32(BIT(d->hwirq), INTC_REG_DISABLE);
hwirq              55 arch/mips/sgi-ip27/ip27-irq.c 	set_bit(d->hwirq, mask);
hwirq              65 arch/mips/sgi-ip27/ip27-irq.c 	clear_bit(d->hwirq, mask);
hwirq              18 arch/nios2/kernel/irq.c asmlinkage void do_IRQ(int hwirq, struct pt_regs *regs)
hwirq              24 arch/nios2/kernel/irq.c 	irq = irq_find_mapping(NULL, hwirq);
hwirq              33 arch/nios2/kernel/irq.c 	ienable |= (1 << d->hwirq);
hwirq              39 arch/nios2/kernel/irq.c 	ienable &= ~(1 << d->hwirq);
hwirq              23 arch/powerpc/include/asm/msi_bitmap.h void msi_bitmap_reserve_hwirq(struct msi_bitmap *bmp, unsigned int hwirq);
hwirq              21 arch/powerpc/include/asm/pnv-ocxl.h extern int pnv_ocxl_get_xsl_irq(struct pci_dev *dev, int *hwirq);
hwirq              29 arch/powerpc/include/asm/pnv-pci.h int pnv_cxl_ioda_msi_setup(struct pci_dev *dev, unsigned int hwirq,
hwirq              32 arch/powerpc/include/asm/pnv-pci.h void pnv_cxl_release_hwirqs(struct pci_dev *dev, int hwirq, int num);
hwirq             690 arch/powerpc/kernel/irq.c 	return WARN_ON(!irq_data) ? 0 : irq_data->hwirq;
hwirq            5081 arch/powerpc/kvm/book3s_hv.c 	irq_map->r_hwirq = desc->irq_data.hwirq;
hwirq            5089 arch/powerpc/kvm/book3s_hv.c 		kvmppc_xics_set_mapped(kvm, guest_gsi, desc->irq_data.hwirq);
hwirq             769 arch/powerpc/kvm/book3s_hv_rm_xics.c static void icp_eoi(struct irq_chip *c, u32 hwirq, __be32 xirr, bool *again)
hwirq             778 arch/powerpc/kvm/book3s_hv_rm_xics.c 		plpar_hcall_raw(H_EOI, retbuf, hwirq);
hwirq             782 arch/powerpc/kvm/book3s_hv_rm_xics.c 	rc = pnv_opal_pci_msi_eoi(c, hwirq);
hwirq              41 arch/powerpc/platforms/4xx/hsta_msi.c 	int irq, hwirq;
hwirq              58 arch/powerpc/platforms/4xx/hsta_msi.c 		hwirq = ppc4xx_hsta_msi.irq_map[irq];
hwirq              59 arch/powerpc/platforms/4xx/hsta_msi.c 		if (!hwirq) {
hwirq              75 arch/powerpc/platforms/4xx/hsta_msi.c 		pr_debug("%s: Setup irq %d (0x%0llx)\n", __func__, hwirq,
hwirq              78 arch/powerpc/platforms/4xx/hsta_msi.c 		if (irq_set_msi_desc(hwirq, entry)) {
hwirq              81 arch/powerpc/platforms/4xx/hsta_msi.c 			__func__, hwirq);
hwirq              85 arch/powerpc/platforms/4xx/hsta_msi.c 		pci_write_msi_msg(hwirq, &msg);
hwirq              91 arch/powerpc/platforms/4xx/hsta_msi.c static int hsta_find_hwirq_offset(int hwirq)
hwirq              97 arch/powerpc/platforms/4xx/hsta_msi.c 		if (ppc4xx_hsta_msi.irq_map[irq] == hwirq)
hwirq             113 arch/powerpc/platforms/4xx/msi.c 	irq_hw_number_t hwirq;
hwirq             120 arch/powerpc/platforms/4xx/msi.c 		hwirq = virq_to_hw(entry->irq);
hwirq             123 arch/powerpc/platforms/4xx/msi.c 		msi_bitmap_free_hwirqs(&msi_data->bitmap, hwirq, 1);
hwirq             109 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	unsigned int irq_line, hwirq = irqd_to_hwirq(d);
hwirq             112 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	irq_line = fpga_irqs[hwirq].irq_line;
hwirq             116 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	mask |= (1 << (hwirq + 16));
hwirq             124 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	unsigned int hwirq = irqd_to_hwirq(d);
hwirq             128 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	irq_line = fpga_irqs[hwirq].irq_line;
hwirq             132 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	mask &= ~(1 << hwirq);
hwirq             140 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	unsigned int hwirq = irqd_to_hwirq(d);
hwirq             144 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	irq_line = fpga_irqs[hwirq].irq_line;
hwirq             148 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	mask &= ~(1 << hwirq);
hwirq             149 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	mask |= (1 << (hwirq + 16));
hwirq             157 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	unsigned int hwirq = irqd_to_hwirq(d);
hwirq             161 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	irq_line = fpga_irqs[hwirq].irq_line;
hwirq             165 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	mask |= (1 << hwirq);
hwirq             173 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	unsigned int hwirq = irqd_to_hwirq(d);
hwirq             177 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	irq_line = fpga_irqs[hwirq].irq_line;
hwirq             181 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	mask |= (1 << (hwirq + 16));
hwirq             190 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	unsigned int hwirq = irqd_to_hwirq(d);
hwirq             194 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	if (fpga_irqs[hwirq].type != IRQ_TYPE_NONE)
hwirq             210 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 		mask |= (1 << hwirq);
hwirq             212 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 		mask &= ~(1 << hwirq);
hwirq             229 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 		irq_hw_number_t hwirq)
hwirq             137 arch/powerpc/platforms/8xx/cpm1.c 	unsigned int sirq = 0, hwirq, eirq;
hwirq             163 arch/powerpc/platforms/8xx/cpm1.c 	hwirq = (unsigned int)virq_to_hw(sirq);
hwirq             166 arch/powerpc/platforms/8xx/cpm1.c 		((hwirq/2) << 13) | CICR_HP_MASK);
hwirq              98 arch/powerpc/platforms/embedded6xx/flipper-pic.c 			   irq_hw_number_t hwirq)
hwirq              96 arch/powerpc/platforms/embedded6xx/hlwd-pic.c 			   irq_hw_number_t hwirq)
hwirq              61 arch/powerpc/platforms/pasemi/msi.c 	irq_hw_number_t hwirq;
hwirq              69 arch/powerpc/platforms/pasemi/msi.c 		hwirq = virq_to_hw(entry->irq);
hwirq              72 arch/powerpc/platforms/pasemi/msi.c 		msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq, ALLOC_CHUNK);
hwirq              83 arch/powerpc/platforms/pasemi/msi.c 	int hwirq;
hwirq              99 arch/powerpc/platforms/pasemi/msi.c 		hwirq = msi_bitmap_alloc_hwirqs(&msi_mpic->msi_bitmap,
hwirq             101 arch/powerpc/platforms/pasemi/msi.c 		if (hwirq < 0) {
hwirq             103 arch/powerpc/platforms/pasemi/msi.c 			return hwirq;
hwirq             106 arch/powerpc/platforms/pasemi/msi.c 		virq = irq_create_mapping(msi_mpic->irqhost, hwirq);
hwirq             109 arch/powerpc/platforms/pasemi/msi.c 				  hwirq);
hwirq             110 arch/powerpc/platforms/pasemi/msi.c 			msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq,
hwirq             126 arch/powerpc/platforms/pasemi/msi.c 			 "addr 0x%x\n", virq, hwirq, msg.address_lo);
hwirq             131 arch/powerpc/platforms/pasemi/msi.c 		msg.data = hwirq-0x200;
hwirq             372 arch/powerpc/platforms/powernv/ocxl.c int pnv_ocxl_get_xsl_irq(struct pci_dev *dev, int *hwirq)
hwirq             376 arch/powerpc/platforms/powernv/ocxl.c 	rc = of_property_read_u32(dev->dev.of_node, "ibm,opal-xsl-irq", hwirq);
hwirq             492 arch/powerpc/platforms/powernv/ocxl.c 	u32 hwirq;
hwirq             494 arch/powerpc/platforms/powernv/ocxl.c 	hwirq = xive_native_alloc_irq();
hwirq             495 arch/powerpc/platforms/powernv/ocxl.c 	if (!hwirq)
hwirq             498 arch/powerpc/platforms/powernv/ocxl.c 	rc = opal_xive_get_irq_info(hwirq, &flags, NULL, &trigger_page, NULL,
hwirq             501 arch/powerpc/platforms/powernv/ocxl.c 		xive_native_free_irq(hwirq);
hwirq             504 arch/powerpc/platforms/powernv/ocxl.c 	*irq = hwirq;
hwirq              49 arch/powerpc/platforms/powernv/opal-irqchip.c 		int virq, hwirq;
hwirq              51 arch/powerpc/platforms/powernv/opal-irqchip.c 		hwirq = fls64(e) - 1;
hwirq              52 arch/powerpc/platforms/powernv/opal-irqchip.c 		e &= ~BIT_ULL(hwirq);
hwirq              55 arch/powerpc/platforms/powernv/opal-irqchip.c 		virq = irq_find_mapping(opal_event_irqchip.domain, hwirq);
hwirq              82 arch/powerpc/platforms/powernv/opal-irqchip.c 	clear_bit(d->hwirq, &opal_event_irqchip.mask);
hwirq              87 arch/powerpc/platforms/powernv/opal-irqchip.c 	set_bit(d->hwirq, &opal_event_irqchip.mask);
hwirq             116 arch/powerpc/platforms/powernv/opal-irqchip.c 			irq_hw_number_t hwirq)
hwirq              42 arch/powerpc/platforms/powernv/pci-cxl.c 	int hwirq = msi_bitmap_alloc_hwirqs(&phb->msi_bmp, num);
hwirq              44 arch/powerpc/platforms/powernv/pci-cxl.c 	if (hwirq < 0) {
hwirq              49 arch/powerpc/platforms/powernv/pci-cxl.c 	return phb->msi_base + hwirq;
hwirq              53 arch/powerpc/platforms/powernv/pci-cxl.c void pnv_cxl_release_hwirqs(struct pci_dev *dev, int hwirq, int num)
hwirq              58 arch/powerpc/platforms/powernv/pci-cxl.c 	msi_bitmap_free_hwirqs(&phb->msi_bmp, hwirq - phb->msi_base, num);
hwirq              67 arch/powerpc/platforms/powernv/pci-cxl.c 	int i, hwirq;
hwirq              75 arch/powerpc/platforms/powernv/pci-cxl.c 		hwirq = irqs->offset[i] - phb->msi_base;
hwirq              76 arch/powerpc/platforms/powernv/pci-cxl.c 		msi_bitmap_free_hwirqs(&phb->msi_bmp, hwirq,
hwirq              87 arch/powerpc/platforms/powernv/pci-cxl.c 	int i, hwirq, try;
hwirq              95 arch/powerpc/platforms/powernv/pci-cxl.c 			hwirq = msi_bitmap_alloc_hwirqs(&phb->msi_bmp, try);
hwirq              96 arch/powerpc/platforms/powernv/pci-cxl.c 			if (hwirq >= 0)
hwirq             103 arch/powerpc/platforms/powernv/pci-cxl.c 		irqs->offset[i] = phb->msi_base + hwirq;
hwirq             128 arch/powerpc/platforms/powernv/pci-cxl.c int pnv_cxl_ioda_msi_setup(struct pci_dev *dev, unsigned int hwirq,
hwirq             133 arch/powerpc/platforms/powernv/pci-cxl.c 	unsigned int xive_num = hwirq - phb->msi_base;
hwirq             145 arch/powerpc/platforms/powernv/pci-cxl.c 			pci_name(dev), rc, phb->msi_base, hwirq, xive_num);
hwirq            2800 arch/powerpc/platforms/powernv/pci-ioda.c 				  unsigned int hwirq, unsigned int virq,
hwirq            2804 arch/powerpc/platforms/powernv/pci-ioda.c 	unsigned int xive_num = hwirq - phb->msi_base;
hwirq            2859 arch/powerpc/platforms/powernv/pci-ioda.c 		 pci_name(dev), is_64 ? "64" : "32", hwirq, xive_num,
hwirq             165 arch/powerpc/platforms/powernv/pci.c 	int hwirq;
hwirq             181 arch/powerpc/platforms/powernv/pci.c 		hwirq = msi_bitmap_alloc_hwirqs(&phb->msi_bmp, 1);
hwirq             182 arch/powerpc/platforms/powernv/pci.c 		if (hwirq < 0) {
hwirq             187 arch/powerpc/platforms/powernv/pci.c 		virq = irq_create_mapping(NULL, phb->msi_base + hwirq);
hwirq             191 arch/powerpc/platforms/powernv/pci.c 			msi_bitmap_free_hwirqs(&phb->msi_bmp, hwirq, 1);
hwirq             194 arch/powerpc/platforms/powernv/pci.c 		rc = phb->msi_setup(phb, pdev, phb->msi_base + hwirq,
hwirq             199 arch/powerpc/platforms/powernv/pci.c 			msi_bitmap_free_hwirqs(&phb->msi_bmp, hwirq, 1);
hwirq             213 arch/powerpc/platforms/powernv/pci.c 	irq_hw_number_t hwirq;
hwirq             221 arch/powerpc/platforms/powernv/pci.c 		hwirq = virq_to_hw(entry->irq);
hwirq             224 arch/powerpc/platforms/powernv/pci.c 		msi_bitmap_free_hwirqs(&phb->msi_bmp, hwirq - phb->msi_base, 1);
hwirq             109 arch/powerpc/platforms/powernv/pci.h 			 unsigned int hwirq, unsigned int virq,
hwirq             659 arch/powerpc/platforms/ps3/interrupt.c 	irq_hw_number_t hwirq)
hwirq             661 arch/powerpc/platforms/ps3/interrupt.c 	DBG("%s:%d: hwirq %lu, virq %u\n", __func__, __LINE__, hwirq,
hwirq             373 arch/powerpc/platforms/pseries/msi.c 	int hwirq, virq, i, quota, rc;
hwirq             455 arch/powerpc/platforms/pseries/msi.c 		hwirq = rtas_query_irq_number(pdn, i++);
hwirq             456 arch/powerpc/platforms/pseries/msi.c 		if (hwirq < 0) {
hwirq             458 arch/powerpc/platforms/pseries/msi.c 			return hwirq;
hwirq             461 arch/powerpc/platforms/pseries/msi.c 		virq = irq_create_mapping(NULL, hwirq);
hwirq             464 arch/powerpc/platforms/pseries/msi.c 			pr_debug("rtas_msi: Failed mapping hwirq %d\n", hwirq);
hwirq              68 arch/powerpc/sysdev/fsl_msi.c 	irq_hw_number_t hwirq = irqd_to_hwirq(irqd);
hwirq              71 arch/powerpc/sysdev/fsl_msi.c 	srs = (hwirq >> msi_data->srs_shift) & MSI_SRS_MASK;
hwirq             105 arch/powerpc/sysdev/fsl_msi.c 	int rc, hwirq;
hwirq             116 arch/powerpc/sysdev/fsl_msi.c 	for (hwirq = 0; hwirq < NR_MSI_IRQS_MAX; hwirq++)
hwirq             117 arch/powerpc/sysdev/fsl_msi.c 		msi_bitmap_reserve_hwirq(&msi_data->bitmap, hwirq);
hwirq             126 arch/powerpc/sysdev/fsl_msi.c 	irq_hw_number_t hwirq;
hwirq             131 arch/powerpc/sysdev/fsl_msi.c 		hwirq = virq_to_hw(entry->irq);
hwirq             135 arch/powerpc/sysdev/fsl_msi.c 		msi_bitmap_free_hwirqs(&msi_data->bitmap, hwirq, 1);
hwirq             141 arch/powerpc/sysdev/fsl_msi.c static void fsl_compose_msi_msg(struct pci_dev *pdev, int hwirq,
hwirq             169 arch/powerpc/sysdev/fsl_msi.c 		msg->data = __swab32(hwirq);
hwirq             171 arch/powerpc/sysdev/fsl_msi.c 		msg->data = hwirq;
hwirq             174 arch/powerpc/sysdev/fsl_msi.c 		 (hwirq >> msi_data->srs_shift) & MSI_SRS_MASK,
hwirq             175 arch/powerpc/sysdev/fsl_msi.c 		 (hwirq >> msi_data->ibs_shift) & MSI_IBS_MASK);
hwirq             183 arch/powerpc/sysdev/fsl_msi.c 	int rc, hwirq = -ENOMEM;
hwirq             235 arch/powerpc/sysdev/fsl_msi.c 			hwirq = msi_bitmap_alloc_hwirqs(&msi_data->bitmap, 1);
hwirq             236 arch/powerpc/sysdev/fsl_msi.c 			if (hwirq >= 0)
hwirq             240 arch/powerpc/sysdev/fsl_msi.c 		if (hwirq < 0) {
hwirq             241 arch/powerpc/sysdev/fsl_msi.c 			rc = hwirq;
hwirq             246 arch/powerpc/sysdev/fsl_msi.c 		virq = irq_create_mapping(msi_data->irqhost, hwirq);
hwirq             249 arch/powerpc/sysdev/fsl_msi.c 			dev_err(&pdev->dev, "fail mapping hwirq %i\n", hwirq);
hwirq             250 arch/powerpc/sysdev/fsl_msi.c 			msi_bitmap_free_hwirqs(&msi_data->bitmap, hwirq, 1);
hwirq             257 arch/powerpc/sysdev/fsl_msi.c 		fsl_compose_msi_msg(pdev, hwirq, &msg, msi_data);
hwirq             114 arch/powerpc/sysdev/ge/ge_pic.c 	unsigned int hwirq = irqd_to_hwirq(d);
hwirq             119 arch/powerpc/sysdev/ge/ge_pic.c 	mask &= ~(1 << hwirq);
hwirq             135 arch/powerpc/sysdev/ge/ge_pic.c 	unsigned int hwirq = irqd_to_hwirq(d);
hwirq             140 arch/powerpc/sysdev/ge/ge_pic.c 	mask |= (1 << hwirq);
hwirq             157 arch/powerpc/sysdev/ge/ge_pic.c 			  irq_hw_number_t hwirq)
hwirq             232 arch/powerpc/sysdev/ge/ge_pic.c 	int hwirq;
hwirq             241 arch/powerpc/sysdev/ge/ge_pic.c 		for (hwirq = GEF_PIC_NUM_IRQS - 1; hwirq > -1; hwirq--) {
hwirq             242 arch/powerpc/sysdev/ge/ge_pic.c 			if (active & (0x1 << hwirq))
hwirq             246 arch/powerpc/sysdev/ge/ge_pic.c 			(irq_hw_number_t)hwirq);
hwirq              10 arch/powerpc/sysdev/mpic.h extern void mpic_msi_reserve_hwirq(struct mpic *mpic, irq_hw_number_t hwirq);
hwirq              15 arch/powerpc/sysdev/mpic.h 					  irq_hw_number_t hwirq)
hwirq              17 arch/powerpc/sysdev/mpic_msi.c void mpic_msi_reserve_hwirq(struct mpic *mpic, irq_hw_number_t hwirq)
hwirq              23 arch/powerpc/sysdev/mpic_msi.c 	msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, hwirq);
hwirq              29 arch/powerpc/sysdev/mpic_msi.c 	irq_hw_number_t hwirq;
hwirq              63 arch/powerpc/sysdev/mpic_msi.c 						oirq.args_count, &hwirq, &flags);
hwirq              64 arch/powerpc/sysdev/mpic_msi.c 			msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, hwirq);
hwirq              61 arch/powerpc/sysdev/mpic_u3msi.c static u64 find_ht_magic_addr(struct pci_dev *pdev, unsigned int hwirq)
hwirq              75 arch/powerpc/sysdev/mpic_u3msi.c static u64 find_u4_magic_addr(struct pci_dev *pdev, unsigned int hwirq)
hwirq              97 arch/powerpc/sysdev/mpic_u3msi.c 		return 0xf8004000 | (hwirq << 4);
hwirq             105 arch/powerpc/sysdev/mpic_u3msi.c 	irq_hw_number_t hwirq;
hwirq             111 arch/powerpc/sysdev/mpic_u3msi.c 		hwirq = virq_to_hw(entry->irq);
hwirq             114 arch/powerpc/sysdev/mpic_u3msi.c 		msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq, 1);
hwirq             126 arch/powerpc/sysdev/mpic_u3msi.c 	int hwirq;
hwirq             140 arch/powerpc/sysdev/mpic_u3msi.c 		hwirq = msi_bitmap_alloc_hwirqs(&msi_mpic->msi_bitmap, 1);
hwirq             141 arch/powerpc/sysdev/mpic_u3msi.c 		if (hwirq < 0) {
hwirq             143 arch/powerpc/sysdev/mpic_u3msi.c 			return hwirq;
hwirq             146 arch/powerpc/sysdev/mpic_u3msi.c 		addr = find_ht_magic_addr(pdev, hwirq);
hwirq             148 arch/powerpc/sysdev/mpic_u3msi.c 			addr = find_u4_magic_addr(pdev, hwirq);
hwirq             152 arch/powerpc/sysdev/mpic_u3msi.c 		virq = irq_create_mapping(msi_mpic->irqhost, hwirq);
hwirq             154 arch/powerpc/sysdev/mpic_u3msi.c 			pr_debug("u3msi: failed mapping hwirq 0x%x\n", hwirq);
hwirq             155 arch/powerpc/sysdev/mpic_u3msi.c 			msi_bitmap_free_hwirqs(&msi_mpic->msi_bitmap, hwirq, 1);
hwirq             164 arch/powerpc/sysdev/mpic_u3msi.c 			  virq, hwirq, (unsigned long)addr);
hwirq             167 arch/powerpc/sysdev/mpic_u3msi.c 			  virq, hwirq, (unsigned long)addr);
hwirq             168 arch/powerpc/sysdev/mpic_u3msi.c 		msg.data = hwirq;
hwirq             171 arch/powerpc/sysdev/mpic_u3msi.c 		hwirq++;
hwirq              52 arch/powerpc/sysdev/msi_bitmap.c void msi_bitmap_reserve_hwirq(struct msi_bitmap *bmp, unsigned int hwirq)
hwirq              56 arch/powerpc/sysdev/msi_bitmap.c 	pr_debug("msi_bitmap: reserving hwirq 0x%x\n", hwirq);
hwirq              59 arch/powerpc/sysdev/msi_bitmap.c 	bitmap_allocate_region(bmp->bitmap, hwirq, 0);
hwirq             211 arch/powerpc/sysdev/xics/xics-common.c 		irq = desc->irq_data.hwirq;
hwirq            2635 arch/powerpc/xmon/xmon.c 		unsigned int hwirq;
hwirq            2640 arch/powerpc/xmon/xmon.c 		hwirq = (unsigned int)irqd_to_hwirq(d);
hwirq            2642 arch/powerpc/xmon/xmon.c 		if (hwirq)
hwirq            2643 arch/powerpc/xmon/xmon.c 			dump_one_xive_irq(hwirq, d);
hwirq             237 arch/s390/pci/pci_irq.c 	unsigned int hwirq, msi_vecs, cpu;
hwirq             273 arch/s390/pci/pci_irq.c 	hwirq = bit;
hwirq             276 arch/s390/pci/pci_irq.c 		if (hwirq - bit >= msi_vecs)
hwirq             288 arch/s390/pci/pci_irq.c 		msg.data = hwirq - bit;
hwirq             294 arch/s390/pci/pci_irq.c 				airq_iv_set_data(zpci_ibv[cpu], hwirq, irq);
hwirq             298 arch/s390/pci/pci_irq.c 			airq_iv_set_data(zdev->aibv, hwirq, irq);
hwirq             302 arch/s390/pci/pci_irq.c 		hwirq++;
hwirq              86 arch/sh/boards/mach-x3proto/gpio.c 				irq_hw_number_t hwirq)
hwirq            3007 arch/x86/kernel/apic/io_apic.c 	irq_data->hwirq = info->ioapic_pin;
hwirq            3043 arch/x86/kernel/apic/io_apic.c 				      (int)irq_data->hwirq);
hwirq            3066 arch/x86/kernel/apic/io_apic.c 			  (int)irq_data->hwirq);
hwirq             334 arch/x86/kernel/apic/msi.c 			 irq_hw_number_t hwirq, msi_alloc_info_t *arg)
hwirq             431 arch/x86/kernel/apic/msi.c 			 irq_hw_number_t hwirq, msi_alloc_info_t *arg)
hwirq             557 arch/x86/kernel/apic/vector.c 		irqd->hwirq = virq + i;
hwirq              24 arch/xtensa/include/asm/irq.h #define XTENSA_PIC_LINUX_IRQ(hwirq) ((hwirq) + 1)
hwirq              34 arch/xtensa/kernel/irq.c asmlinkage void do_IRQ(int hwirq, struct pt_regs *regs)
hwirq              36 arch/xtensa/kernel/irq.c 	int irq = irq_find_mapping(NULL, hwirq);
hwirq            1112 drivers/acpi/arm64/iort.c static void __init acpi_iort_register_irq(int hwirq, const char *name,
hwirq            1116 drivers/acpi/arm64/iort.c 	int irq = acpi_register_gsi(NULL, hwirq, trigger,
hwirq            1120 drivers/acpi/arm64/iort.c 		pr_err("could not register gsi hwirq %d name [%s]\n", hwirq,
hwirq             146 drivers/acpi/irq.c 					    u32 hwirq, u8 triggering,
hwirq             155 drivers/acpi/irq.c 	ctx->fwspec->param[0] = hwirq;
hwirq              51 drivers/base/platform-msi.c 	arg->hwirq = platform_msi_calc_hwirq(desc);
hwirq              56 drivers/base/platform-msi.c 			     unsigned int virq, irq_hw_number_t hwirq,
hwirq              59 drivers/base/platform-msi.c 	return irq_domain_set_hwirq_and_chip(domain, virq, hwirq,
hwirq             216 drivers/base/regmap/regmap-irq.c 	const struct regmap_irq *irq_data = irq_to_regmap_irq(d, data->hwirq);
hwirq             247 drivers/base/regmap/regmap-irq.c 	const struct regmap_irq *irq_data = irq_to_regmap_irq(d, data->hwirq);
hwirq             256 drivers/base/regmap/regmap-irq.c 	const struct regmap_irq *irq_data = irq_to_regmap_irq(d, data->hwirq);
hwirq             303 drivers/base/regmap/regmap-irq.c 	const struct regmap_irq *irq_data = irq_to_regmap_irq(d, data->hwirq);
hwirq             824 drivers/base/regmap/regmap-irq.c 	int hwirq;
hwirq             832 drivers/base/regmap/regmap-irq.c 	for (hwirq = 0; hwirq < d->chip->num_irqs; hwirq++) {
hwirq             834 drivers/base/regmap/regmap-irq.c 		if (!d->chip->irqs[hwirq].mask)
hwirq             841 drivers/base/regmap/regmap-irq.c 		virq = irq_find_mapping(d->domain, hwirq);
hwirq             125 drivers/bcma/driver_gpio.c 	int hwirq, err;
hwirq             130 drivers/bcma/driver_gpio.c 	hwirq = bcma_core_irq(cc->core, 0);
hwirq             131 drivers/bcma/driver_gpio.c 	err = request_irq(hwirq, bcma_gpio_irq_handler, IRQF_SHARED, "gpio",
hwirq             145 drivers/bcma/driver_gpio.c 		free_irq(hwirq, cc);
hwirq              38 drivers/bus/fsl-mc/fsl-mc-msi.c 	arg->hwirq = fsl_mc_domain_calc_hwirq(to_fsl_mc_device(desc->dev),
hwirq             645 drivers/bus/moxtet.c 	moxtet->irq.masked |= BIT(d->hwirq);
hwirq             652 drivers/bus/moxtet.c 	moxtet->irq.masked &= ~BIT(d->hwirq);
hwirq             658 drivers/bus/moxtet.c 	struct moxtet_irqpos *pos = &moxtet->irq.position[d->hwirq];
hwirq             140 drivers/clocksource/jcore-pit.c 	unsigned long hwirq;
hwirq             212 drivers/clocksource/jcore-pit.c 	hwirq = irq_get_irq_data(pit_irq)->hwirq;
hwirq             213 drivers/clocksource/jcore-pit.c 	irqprio = (hwirq >> 2) & PIT_PRIO_MASK;
hwirq             215 drivers/clocksource/jcore-pit.c 		   | (hwirq << PIT_IRQ_SHIFT)
hwirq            2088 drivers/edac/altera_edac.c 		     BIT(d->hwirq));
hwirq            2096 drivers/edac/altera_edac.c 		     BIT(d->hwirq));
hwirq            2100 drivers/edac/altera_edac.c 				    irq_hw_number_t hwirq)
hwirq             335 drivers/gpio/gpio-adnp.c 	unsigned int reg = d->hwirq >> adnp->reg_shift;
hwirq             336 drivers/gpio/gpio-adnp.c 	unsigned int pos = d->hwirq & 7;
hwirq             345 drivers/gpio/gpio-adnp.c 	unsigned int reg = d->hwirq >> adnp->reg_shift;
hwirq             346 drivers/gpio/gpio-adnp.c 	unsigned int pos = d->hwirq & 7;
hwirq             355 drivers/gpio/gpio-adnp.c 	unsigned int reg = d->hwirq >> adnp->reg_shift;
hwirq             356 drivers/gpio/gpio-adnp.c 	unsigned int pos = d->hwirq & 7;
hwirq             196 drivers/gpio/gpio-adp5588.c 	dev->irq_mask[ADP5588_BANK(d->hwirq)] &= ~ADP5588_BIT(d->hwirq);
hwirq             204 drivers/gpio/gpio-adp5588.c 	dev->irq_mask[ADP5588_BANK(d->hwirq)] |= ADP5588_BIT(d->hwirq);
hwirq             211 drivers/gpio/gpio-adp5588.c 	uint16_t gpio = d->hwirq;
hwirq             342 drivers/gpio/gpio-bcm-kona.c 	unsigned gpio = d->hwirq;
hwirq             363 drivers/gpio/gpio-bcm-kona.c 	unsigned gpio = d->hwirq;
hwirq             385 drivers/gpio/gpio-bcm-kona.c 	unsigned gpio = d->hwirq;
hwirq             407 drivers/gpio/gpio-bcm-kona.c 	unsigned gpio = d->hwirq;
hwirq             469 drivers/gpio/gpio-bcm-kona.c 			int hwirq = GPIO_PER_BANK * bank_id + bit;
hwirq             472 drivers/gpio/gpio-bcm-kona.c 						 hwirq);
hwirq             491 drivers/gpio/gpio-bcm-kona.c 	return gpiochip_reqres_irq(&kona_gpio->gpio_chip, d->hwirq);
hwirq             498 drivers/gpio/gpio-bcm-kona.c 	gpiochip_relres_irq(&kona_gpio->gpio_chip, d->hwirq);
hwirq             524 drivers/gpio/gpio-bcm-kona.c 				 irq_hw_number_t hwirq)
hwirq             102 drivers/gpio/gpio-brcmstb.c static int brcmstb_gpio_hwirq_to_offset(irq_hw_number_t hwirq,
hwirq             105 drivers/gpio/gpio-brcmstb.c 	return hwirq - (bank->gc.base - bank->parent_priv->gpio_base);
hwirq             109 drivers/gpio/gpio-brcmstb.c 		unsigned int hwirq, bool enable)
hwirq             113 drivers/gpio/gpio-brcmstb.c 	u32 mask = BIT(brcmstb_gpio_hwirq_to_offset(hwirq, bank));
hwirq             131 drivers/gpio/gpio-brcmstb.c 	int hwirq = offset + (gc->base - priv->gpio_base);
hwirq             133 drivers/gpio/gpio-brcmstb.c 	if (hwirq >= priv->num_gpios)
hwirq             135 drivers/gpio/gpio-brcmstb.c 	return irq_create_mapping(priv->irq_domain, hwirq);
hwirq             145 drivers/gpio/gpio-brcmstb.c 	brcmstb_gpio_set_imask(bank, d->hwirq, false);
hwirq             153 drivers/gpio/gpio-brcmstb.c 	brcmstb_gpio_set_imask(bank, d->hwirq, true);
hwirq             161 drivers/gpio/gpio-brcmstb.c 	u32 mask = BIT(brcmstb_gpio_hwirq_to_offset(d->hwirq, bank));
hwirq             171 drivers/gpio/gpio-brcmstb.c 	u32 mask = BIT(brcmstb_gpio_hwirq_to_offset(d->hwirq, bank));
hwirq             247 drivers/gpio/gpio-brcmstb.c 	u32 mask = BIT(brcmstb_gpio_hwirq_to_offset(d->hwirq, bank));
hwirq             310 drivers/gpio/gpio-brcmstb.c 		struct brcmstb_gpio_priv *priv, irq_hw_number_t hwirq)
hwirq             318 drivers/gpio/gpio-brcmstb.c 		if (hwirq < i)
hwirq             333 drivers/gpio/gpio-brcmstb.c 		irq_hw_number_t hwirq)
hwirq             337 drivers/gpio/gpio-brcmstb.c 		brcmstb_gpio_hwirq_to_bank(priv, hwirq);
hwirq             345 drivers/gpio/gpio-brcmstb.c 		irq, (int)hwirq, bank->id);
hwirq              72 drivers/gpio/gpio-cadence.c 	iowrite32(BIT(d->hwirq), cgpio->regs + CDNS_GPIO_IRQ_DIS);
hwirq              80 drivers/gpio/gpio-cadence.c 	iowrite32(BIT(d->hwirq), cgpio->regs + CDNS_GPIO_IRQ_EN);
hwirq              90 drivers/gpio/gpio-cadence.c 	u32 mask = BIT(d->hwirq);
hwirq             128 drivers/gpio/gpio-cadence.c 	int hwirq;
hwirq             135 drivers/gpio/gpio-cadence.c 	for_each_set_bit(hwirq, &status, chip->ngpio)
hwirq             136 drivers/gpio/gpio-cadence.c 		generic_handle_irq(irq_find_mapping(chip->irq.domain, hwirq));
hwirq             191 drivers/gpio/gpio-crystalcove.c 	if (data->hwirq >= CRYSTALCOVE_GPIO_NUM)
hwirq             228 drivers/gpio/gpio-crystalcove.c 	int gpio = data->hwirq;
hwirq             244 drivers/gpio/gpio-crystalcove.c 	if (data->hwirq < CRYSTALCOVE_GPIO_NUM) {
hwirq             255 drivers/gpio/gpio-crystalcove.c 	if (data->hwirq < CRYSTALCOVE_GPIO_NUM) {
hwirq             196 drivers/gpio/gpio-dwapb.c 		int hwirq = fls(irq_status) - 1;
hwirq             197 drivers/gpio/gpio-dwapb.c 		int gpio_irq = irq_find_mapping(gpio->domain, hwirq);
hwirq             200 drivers/gpio/gpio-dwapb.c 		irq_status &= ~BIT(hwirq);
hwirq             204 drivers/gpio/gpio-dwapb.c 			dwapb_toggle_trigger(gpio, hwirq);
hwirq             231 drivers/gpio/gpio-dwapb.c 	val |= BIT(d->hwirq);
hwirq             246 drivers/gpio/gpio-dwapb.c 	val &= ~BIT(d->hwirq);
hwirq             281 drivers/gpio/gpio-dwapb.c 	int bit = d->hwirq;
hwirq             333 drivers/gpio/gpio-dwapb.c 		ctx->wake_en |= BIT(d->hwirq);
hwirq             335 drivers/gpio/gpio-dwapb.c 		ctx->wake_en &= ~BIT(d->hwirq);
hwirq             391 drivers/gpio/gpio-dwapb.c 	unsigned int hwirq, ngpio = gc->ngpio;
hwirq             467 drivers/gpio/gpio-dwapb.c 	for (hwirq = 0 ; hwirq < ngpio ; hwirq++)
hwirq             468 drivers/gpio/gpio-dwapb.c 		irq_create_mapping(gpio->domain, hwirq);
hwirq             478 drivers/gpio/gpio-dwapb.c 	irq_hw_number_t hwirq;
hwirq             483 drivers/gpio/gpio-dwapb.c 	for (hwirq = 0 ; hwirq < ngpio ; hwirq++)
hwirq             484 drivers/gpio/gpio-dwapb.c 		irq_dispose_mapping(irq_find_mapping(gpio->domain, hwirq));
hwirq             246 drivers/gpio/gpio-em.c 				 irq_hw_number_t hwirq)
hwirq             250 drivers/gpio/gpio-em.c 	pr_debug("gio: map hw irq = %d, irq = %d\n", (int)hwirq, irq);
hwirq             121 drivers/gpio/gpio-grgpio.c 	u32 mask = BIT(d->hwirq);
hwirq             164 drivers/gpio/gpio-grgpio.c 	int offset = d->hwirq;
hwirq             177 drivers/gpio/gpio-grgpio.c 	int offset = d->hwirq;
hwirq             231 drivers/gpio/gpio-grgpio.c 			  irq_hw_number_t hwirq)
hwirq             237 drivers/gpio/gpio-grgpio.c 	int offset = hwirq;
hwirq              65 drivers/gpio/gpio-hlwd.c 	int hwirq;
hwirq             100 drivers/gpio/gpio-hlwd.c 	for_each_set_bit(hwirq, &pending, 32) {
hwirq             101 drivers/gpio/gpio-hlwd.c 		int irq = irq_find_mapping(hlwd->gpioc.irq.domain, hwirq);
hwirq             114 drivers/gpio/gpio-hlwd.c 	iowrite32be(BIT(data->hwirq), hlwd->regs + HW_GPIOB_INTFLAG);
hwirq             126 drivers/gpio/gpio-hlwd.c 	mask &= ~BIT(data->hwirq);
hwirq             140 drivers/gpio/gpio-hlwd.c 	mask |= BIT(data->hwirq);
hwirq             151 drivers/gpio/gpio-hlwd.c static void hlwd_gpio_irq_setup_emulation(struct hlwd_gpio *hlwd, int hwirq,
hwirq             158 drivers/gpio/gpio-hlwd.c 	state = ioread32be(hlwd->regs + HW_GPIOB_IN) & BIT(hwirq);
hwirq             159 drivers/gpio/gpio-hlwd.c 	level &= ~BIT(hwirq);
hwirq             160 drivers/gpio/gpio-hlwd.c 	level |= state ^ BIT(hwirq);
hwirq             163 drivers/gpio/gpio-hlwd.c 	hlwd->edge_emulation |= BIT(hwirq);
hwirq             164 drivers/gpio/gpio-hlwd.c 	hlwd->rising_edge &= ~BIT(hwirq);
hwirq             165 drivers/gpio/gpio-hlwd.c 	hlwd->falling_edge &= ~BIT(hwirq);
hwirq             167 drivers/gpio/gpio-hlwd.c 		hlwd->rising_edge |= BIT(hwirq);
hwirq             169 drivers/gpio/gpio-hlwd.c 		hlwd->falling_edge |= BIT(hwirq);
hwirq             181 drivers/gpio/gpio-hlwd.c 	hlwd->edge_emulation &= ~BIT(data->hwirq);
hwirq             186 drivers/gpio/gpio-hlwd.c 		level |= BIT(data->hwirq);
hwirq             191 drivers/gpio/gpio-hlwd.c 		level &= ~BIT(data->hwirq);
hwirq             197 drivers/gpio/gpio-hlwd.c 		hlwd_gpio_irq_setup_emulation(hlwd, data->hwirq, flow_type);
hwirq              67 drivers/gpio/gpio-ixp4xx.c 	__raw_writel(BIT(d->hwirq), g->base + IXP4XX_REG_GPIS);
hwirq              76 drivers/gpio/gpio-ixp4xx.c 	if (!(g->irq_edge & BIT(d->hwirq)))
hwirq              86 drivers/gpio/gpio-ixp4xx.c 	int line = d->hwirq;
hwirq              96 drivers/gpio/gpio-ixp4xx.c 		g->irq_edge |= BIT(d->hwirq);
hwirq             101 drivers/gpio/gpio-ixp4xx.c 		g->irq_edge |= BIT(d->hwirq);
hwirq             106 drivers/gpio/gpio-ixp4xx.c 		g->irq_edge |= BIT(d->hwirq);
hwirq             111 drivers/gpio/gpio-ixp4xx.c 		g->irq_edge &= ~BIT(d->hwirq);
hwirq             116 drivers/gpio/gpio-ixp4xx.c 		g->irq_edge &= ~BIT(d->hwirq);
hwirq             147 drivers/gpio/gpio-ixp4xx.c 	val |= BIT(d->hwirq);
hwirq              83 drivers/gpio/gpio-lpc18xx.c 		lpc18xx_gpio_pin_ic_set(ic, d->hwirq,
hwirq              87 drivers/gpio/gpio-lpc18xx.c 		lpc18xx_gpio_pin_ic_set(ic, d->hwirq,
hwirq             103 drivers/gpio/gpio-lpc18xx.c 		lpc18xx_gpio_pin_ic_set(ic, d->hwirq,
hwirq             107 drivers/gpio/gpio-lpc18xx.c 		lpc18xx_gpio_pin_ic_set(ic, d->hwirq,
hwirq             123 drivers/gpio/gpio-lpc18xx.c 		lpc18xx_gpio_pin_ic_set(ic, d->hwirq,
hwirq             138 drivers/gpio/gpio-lpc18xx.c 		lpc18xx_gpio_pin_ic_isel(ic, d->hwirq, true);
hwirq             139 drivers/gpio/gpio-lpc18xx.c 		lpc18xx_gpio_pin_ic_set(ic, d->hwirq,
hwirq             142 drivers/gpio/gpio-lpc18xx.c 		lpc18xx_gpio_pin_ic_isel(ic, d->hwirq, true);
hwirq             143 drivers/gpio/gpio-lpc18xx.c 		lpc18xx_gpio_pin_ic_set(ic, d->hwirq,
hwirq             146 drivers/gpio/gpio-lpc18xx.c 		lpc18xx_gpio_pin_ic_isel(ic, d->hwirq, false);
hwirq             169 drivers/gpio/gpio-lpc18xx.c 	irq_hw_number_t hwirq;
hwirq             175 drivers/gpio/gpio-lpc18xx.c 	hwirq = fwspec->param[0];
hwirq             176 drivers/gpio/gpio-lpc18xx.c 	if (hwirq >= NR_LPC18XX_GPIO_PIN_IC_IRQS)
hwirq             185 drivers/gpio/gpio-lpc18xx.c 	parent_fwspec.param[0] = hwirq + 32;
hwirq             194 drivers/gpio/gpio-lpc18xx.c 	return irq_domain_set_hwirq_and_chip(domain, virq, hwirq,
hwirq             139 drivers/gpio/gpio-lynxpoint.c 	u32 hwirq = irqd_to_hwirq(d);
hwirq             142 drivers/gpio/gpio-lynxpoint.c 	unsigned long reg = lp_gpio_reg(&lg->chip, hwirq, LP_CONFIG1);
hwirq             144 drivers/gpio/gpio-lynxpoint.c 	if (hwirq >= lg->chip.ngpio)
hwirq             271 drivers/gpio/gpio-lynxpoint.c 	u32 hwirq = irqd_to_hwirq(d);
hwirq             272 drivers/gpio/gpio-lynxpoint.c 	unsigned long reg = lp_gpio_reg(&lg->chip, hwirq, LP_INT_ENABLE);
hwirq             276 drivers/gpio/gpio-lynxpoint.c 	outl(inl(reg) | BIT(hwirq % 32), reg);
hwirq             284 drivers/gpio/gpio-lynxpoint.c 	u32 hwirq = irqd_to_hwirq(d);
hwirq             285 drivers/gpio/gpio-lynxpoint.c 	unsigned long reg = lp_gpio_reg(&lg->chip, hwirq, LP_INT_ENABLE);
hwirq             289 drivers/gpio/gpio-lynxpoint.c 	outl(inl(reg) & ~BIT(hwirq % 32), reg);
hwirq             353 drivers/gpio/gpio-max732x.c 	chip->irq_mask_cur &= ~(1 << d->hwirq);
hwirq             361 drivers/gpio/gpio-max732x.c 	chip->irq_mask_cur |= 1 << d->hwirq;
hwirq             396 drivers/gpio/gpio-max732x.c 	uint16_t off = d->hwirq;
hwirq             150 drivers/gpio/gpio-mb86s7x.c 		if (irq_get_irq_data(irq)->hwirq == offset)
hwirq             272 drivers/gpio/gpio-mpc8xxx.c 				irq_hw_number_t hwirq)
hwirq             113 drivers/gpio/gpio-mt7621.c 	int pin = d->hwirq;
hwirq             134 drivers/gpio/gpio-mt7621.c 	int pin = d->hwirq;
hwirq             155 drivers/gpio/gpio-mt7621.c 	int pin = d->hwirq;
hwirq             497 drivers/gpio/gpio-mvebu.c 	pin = d->hwirq;
hwirq             176 drivers/gpio/gpio-mxc.c 	u32 gpio_idx = d->hwirq;
hwirq             326 drivers/gpio/gpio-mxc.c 	u32 gpio_idx = d->hwirq;
hwirq              73 drivers/gpio/gpio-mxs.c 	u32 pin_mask = 1 << d->hwirq;
hwirq             427 drivers/gpio/gpio-omap.c 	unsigned offset = d->hwirq;
hwirq             627 drivers/gpio/gpio-omap.c 	unsigned offset = d->hwirq;
hwirq             646 drivers/gpio/gpio-omap.c 	unsigned offset = d->hwirq;
hwirq             676 drivers/gpio/gpio-omap.c 	unsigned offset = d->hwirq;
hwirq             688 drivers/gpio/gpio-omap.c 	unsigned offset = d->hwirq;
hwirq             569 drivers/gpio/gpio-pca953x.c 	chip->irq_mask[d->hwirq / BANK_SZ] &= ~BIT(d->hwirq % BANK_SZ);
hwirq             577 drivers/gpio/gpio-pca953x.c 	chip->irq_mask[d->hwirq / BANK_SZ] |= BIT(d->hwirq % BANK_SZ);
hwirq             643 drivers/gpio/gpio-pca953x.c 	int bank_nb = d->hwirq / BANK_SZ;
hwirq             644 drivers/gpio/gpio-pca953x.c 	u8 mask = BIT(d->hwirq % BANK_SZ);
hwirq             669 drivers/gpio/gpio-pca953x.c 	u8 mask = BIT(d->hwirq % BANK_SZ);
hwirq             671 drivers/gpio/gpio-pca953x.c 	chip->irq_trig_raise[d->hwirq / BANK_SZ] &= ~mask;
hwirq             672 drivers/gpio/gpio-pca953x.c 	chip->irq_trig_fall[d->hwirq / BANK_SZ] &= ~mask;
hwirq             207 drivers/gpio/gpio-pcf857x.c 	gpio->irq_enabled |= (1 << data->hwirq);
hwirq             214 drivers/gpio/gpio-pcf857x.c 	gpio->irq_enabled &= ~(1 << data->hwirq);
hwirq             105 drivers/gpio/gpio-rcar.c 						  unsigned int hwirq,
hwirq             120 drivers/gpio/gpio-rcar.c 	gpio_rcar_modify_bit(p, POSNEG, hwirq, !active_high_rising_edge);
hwirq             123 drivers/gpio/gpio-rcar.c 	gpio_rcar_modify_bit(p, EDGLEVEL, hwirq, !level_trigger);
hwirq             127 drivers/gpio/gpio-rcar.c 		gpio_rcar_modify_bit(p, BOTHEDGE, hwirq, both);
hwirq             130 drivers/gpio/gpio-rcar.c 	gpio_rcar_modify_bit(p, IOINTSEL, hwirq, true);
hwirq             134 drivers/gpio/gpio-rcar.c 		gpio_rcar_write(p, INTCLR, BIT(hwirq));
hwirq             143 drivers/gpio/gpio-rcar.c 	unsigned int hwirq = irqd_to_hwirq(d);
hwirq             145 drivers/gpio/gpio-rcar.c 	dev_dbg(p->dev, "sense irq = %d, type = %d\n", hwirq, type);
hwirq             149 drivers/gpio/gpio-rcar.c 		gpio_rcar_config_interrupt_input_mode(p, hwirq, true, true,
hwirq             153 drivers/gpio/gpio-rcar.c 		gpio_rcar_config_interrupt_input_mode(p, hwirq, false, true,
hwirq             157 drivers/gpio/gpio-rcar.c 		gpio_rcar_config_interrupt_input_mode(p, hwirq, true, false,
hwirq             161 drivers/gpio/gpio-rcar.c 		gpio_rcar_config_interrupt_input_mode(p, hwirq, false, false,
hwirq             167 drivers/gpio/gpio-rcar.c 		gpio_rcar_config_interrupt_input_mode(p, hwirq, true, false,
hwirq             125 drivers/gpio/gpio-sa1100.c 	unsigned int mask = BIT(d->hwirq);
hwirq             154 drivers/gpio/gpio-sa1100.c 	writel_relaxed(BIT(d->hwirq), sgc->membase + R_GEDR);
hwirq             160 drivers/gpio/gpio-sa1100.c 	unsigned int mask = BIT(d->hwirq);
hwirq             170 drivers/gpio/gpio-sa1100.c 	unsigned int mask = BIT(d->hwirq);
hwirq             180 drivers/gpio/gpio-sa1100.c 	int ret = sa11x0_gpio_set_wake(d->hwirq, on);
hwirq             183 drivers/gpio/gpio-sa1100.c 			sgc->irqwake |= BIT(d->hwirq);
hwirq             185 drivers/gpio/gpio-sa1100.c 			sgc->irqwake &= ~BIT(d->hwirq);
hwirq             203 drivers/gpio/gpio-sa1100.c 		unsigned int irq, irq_hw_number_t hwirq)
hwirq             105 drivers/gpio/gpio-siox.c 	ddata->irq_status &= ~(1 << d->hwirq);
hwirq             116 drivers/gpio/gpio-siox.c 	ddata->irq_enable &= ~(1 << d->hwirq);
hwirq             127 drivers/gpio/gpio-siox.c 	ddata->irq_enable |= 1 << d->hwirq;
hwirq             138 drivers/gpio/gpio-siox.c 	ddata->irq_type[d->hwirq] = type;
hwirq              52 drivers/gpio/gpio-sodaville.c 	if (d->hwirq < 8)
hwirq              61 drivers/gpio/gpio-sodaville.c 		reg &= ~BIT(4 * (d->hwirq % 8));
hwirq              65 drivers/gpio/gpio-sodaville.c 		reg |= BIT(4 * (d->hwirq % 8));
hwirq             141 drivers/gpio/gpio-stmpe.c 	int offset = d->hwirq;
hwirq             229 drivers/gpio/gpio-stmpe.c 	int offset = d->hwirq;
hwirq             240 drivers/gpio/gpio-stmpe.c 	int offset = d->hwirq;
hwirq             158 drivers/gpio/gpio-tc3589x.c 	int offset = d->hwirq;
hwirq             223 drivers/gpio/gpio-tc3589x.c 	int offset = d->hwirq;
hwirq             234 drivers/gpio/gpio-tc3589x.c 	int offset = d->hwirq;
hwirq             277 drivers/gpio/gpio-tegra.c 	unsigned int gpio = d->hwirq;
hwirq             286 drivers/gpio/gpio-tegra.c 	unsigned int gpio = d->hwirq;
hwirq             295 drivers/gpio/gpio-tegra.c 	unsigned int gpio = d->hwirq;
hwirq             302 drivers/gpio/gpio-tegra.c 	unsigned int gpio = d->hwirq, port = GPIO_PORT(gpio), lvl_type;
hwirq             366 drivers/gpio/gpio-tegra.c 	unsigned int gpio = d->hwirq;
hwirq             496 drivers/gpio/gpio-tegra.c 	unsigned int gpio = d->hwirq;
hwirq             242 drivers/gpio/gpio-tegra186.c 	base = tegra186_gpio_get_base(gpio, data->hwirq);
hwirq             255 drivers/gpio/gpio-tegra186.c 	base = tegra186_gpio_get_base(gpio, data->hwirq);
hwirq             270 drivers/gpio/gpio-tegra186.c 	base = tegra186_gpio_get_base(gpio, data->hwirq);
hwirq             285 drivers/gpio/gpio-tegra186.c 	base = tegra186_gpio_get_base(gpio, data->hwirq);
hwirq             373 drivers/gpio/gpio-tegra186.c 					  unsigned long *hwirq,
hwirq             394 drivers/gpio/gpio-tegra186.c 	*hwirq = offset + pin;
hwirq             414 drivers/gpio/gpio-thunderx.c 				       irq_hw_number_t *hwirq,
hwirq             423 drivers/gpio/gpio-thunderx.c 	*hwirq = fwspec->param[0];
hwirq             109 drivers/gpio/gpio-tqmx86.c 	unsigned int offset = (data->hwirq - TQMX86_NGPO);
hwirq             126 drivers/gpio/gpio-tqmx86.c 	unsigned int offset = (data->hwirq - TQMX86_NGPO);
hwirq             146 drivers/gpio/gpio-tqmx86.c 	unsigned int offset = (data->hwirq - TQMX86_NGPO);
hwirq              37 drivers/gpio/gpio-ts5500.c 	u8 hwirq;
hwirq             273 drivers/gpio/gpio-ts5500.c 		return priv->hwirq;
hwirq             284 drivers/gpio/gpio-ts5500.c 	if (priv->hwirq == 7)
hwirq             286 drivers/gpio/gpio-ts5500.c 	else if (priv->hwirq == 6)
hwirq             288 drivers/gpio/gpio-ts5500.c 	else if (priv->hwirq == 1)
hwirq             302 drivers/gpio/gpio-ts5500.c 	if (priv->hwirq == 7)
hwirq             304 drivers/gpio/gpio-ts5500.c 	else if (priv->hwirq == 6)
hwirq             306 drivers/gpio/gpio-ts5500.c 	else if (priv->hwirq == 1)
hwirq             310 drivers/gpio/gpio-ts5500.c 			priv->hwirq);
hwirq             335 drivers/gpio/gpio-ts5500.c 	priv->hwirq = res->start;
hwirq             411 drivers/gpio/gpio-ts5500.c 		dev_err(dev, "invalid interrupt %d\n", priv->hwirq);
hwirq             187 drivers/gpio/gpio-uniphier.c 	u32 mask = BIT(data->hwirq);
hwirq             197 drivers/gpio/gpio-uniphier.c 	u32 mask = BIT(data->hwirq);
hwirq             207 drivers/gpio/gpio-uniphier.c 	u32 mask = BIT(data->hwirq);
hwirq             223 drivers/gpio/gpio-uniphier.c 					      unsigned int hwirq)
hwirq             241 drivers/gpio/gpio-uniphier.c 		if (base <= hwirq && hwirq < base + size)
hwirq             242 drivers/gpio/gpio-uniphier.c 			return hwirq - base + parent_base;
hwirq             268 drivers/gpio/gpio-uniphier.c 	irq_hw_number_t hwirq;
hwirq             275 drivers/gpio/gpio-uniphier.c 	ret = uniphier_gpio_irq_domain_translate(domain, arg, &hwirq, &type);
hwirq             279 drivers/gpio/gpio-uniphier.c 	ret = uniphier_gpio_irq_get_parent_hwirq(priv, hwirq);
hwirq             290 drivers/gpio/gpio-uniphier.c 	ret = irq_domain_set_hwirq_and_chip(domain, virq, hwirq,
hwirq             304 drivers/gpio/gpio-uniphier.c 	return gpiochip_lock_as_irq(chip, data->hwirq + UNIPHIER_GPIO_IRQ_OFFSET);
hwirq             313 drivers/gpio/gpio-uniphier.c 	gpiochip_unlock_as_irq(chip, data->hwirq + UNIPHIER_GPIO_IRQ_OFFSET);
hwirq             162 drivers/gpio/gpio-vf610.c 	int gpio = d->hwirq;
hwirq             193 drivers/gpio/gpio-vf610.c 	port->irqc[d->hwirq] = irqc;
hwirq             207 drivers/gpio/gpio-vf610.c 	void __iomem *pcr_base = port->base + PORT_PCR(d->hwirq);
hwirq             216 drivers/gpio/gpio-vf610.c 	void __iomem *pcr_base = port->base + PORT_PCR(d->hwirq);
hwirq             218 drivers/gpio/gpio-vf610.c 	vf610_gpio_writel(port->irqc[d->hwirq] << PORT_PCR_IRQC_OFFSET,
hwirq             134 drivers/gpio/gpio-vr41xx.c 			data->hwirq);
hwirq             146 drivers/gpio/gpio-vr41xx.c 	gpiochip_unlock_as_irq(&vr41xx_gpio_chip, data->hwirq);
hwirq             240 drivers/gpio/gpio-wcove.c 	if (data->hwirq >= WCOVE_GPIO_NUM)
hwirq             277 drivers/gpio/gpio-wcove.c 	int gpio = data->hwirq;
hwirq             293 drivers/gpio/gpio-wcove.c 	if (data->hwirq >= WCOVE_GPIO_NUM)
hwirq             305 drivers/gpio/gpio-wcove.c 	if (data->hwirq >= WCOVE_GPIO_NUM)
hwirq              58 drivers/gpio/gpio-xgene-sb.c #define HWIRQ_TO_GPIO(priv, hwirq) ((hwirq) + (priv)->irq_start)
hwirq              77 drivers/gpio/gpio-xgene-sb.c 	int gpio = HWIRQ_TO_GPIO(priv, d->hwirq);
hwirq              96 drivers/gpio/gpio-xgene-sb.c 			d->hwirq, lvl_type);
hwirq             134 drivers/gpio/gpio-xgene-sb.c 	u32 gpio = HWIRQ_TO_GPIO(priv, irq_data->hwirq);
hwirq             154 drivers/gpio/gpio-xgene-sb.c 	u32 gpio = HWIRQ_TO_GPIO(priv, irq_data->hwirq);
hwirq             163 drivers/gpio/gpio-xgene-sb.c 		unsigned long *hwirq,
hwirq             171 drivers/gpio/gpio-xgene-sb.c 	*hwirq = fwspec->param[0];
hwirq             183 drivers/gpio/gpio-xgene-sb.c 	irq_hw_number_t hwirq;
hwirq             186 drivers/gpio/gpio-xgene-sb.c 	hwirq = fwspec->param[0];
hwirq             188 drivers/gpio/gpio-xgene-sb.c 		irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i,
hwirq             196 drivers/gpio/gpio-xgene-sb.c 		parent_fwspec.param[1] = hwirq + priv->parent_irq_base - 32;
hwirq             200 drivers/gpio/gpio-xgene-sb.c 		parent_fwspec.param[0] = hwirq + priv->parent_irq_base;
hwirq             237 drivers/gpio/gpio-xgene-sb.c 		priv->parent_irq_base = irq_get_irq_data(ret)->hwirq;
hwirq             129 drivers/gpio/gpio-xlp.c 	xlp_gpio_set_reg(priv->gpio_intr_en, d->hwirq, 0x0);
hwirq             130 drivers/gpio/gpio-xlp.c 	__clear_bit(d->hwirq, priv->gpio_enabled_mask);
hwirq             141 drivers/gpio/gpio-xlp.c 	xlp_gpio_set_reg(priv->gpio_intr_en, d->hwirq, 0x0);
hwirq             142 drivers/gpio/gpio-xlp.c 	xlp_gpio_set_reg(priv->gpio_intr_stat, d->hwirq, 0x1);
hwirq             143 drivers/gpio/gpio-xlp.c 	__clear_bit(d->hwirq, priv->gpio_enabled_mask);
hwirq             154 drivers/gpio/gpio-xlp.c 	xlp_gpio_set_reg(priv->gpio_intr_en, d->hwirq, 0x1);
hwirq             155 drivers/gpio/gpio-xlp.c 	__set_bit(d->hwirq, priv->gpio_enabled_mask);
hwirq             186 drivers/gpio/gpio-xlp.c 	xlp_gpio_set_reg(priv->gpio_intr_type, d->hwirq, irq_type);
hwirq             187 drivers/gpio/gpio-xlp.c 	xlp_gpio_set_reg(priv->gpio_intr_pol, d->hwirq, pol);
hwirq             392 drivers/gpio/gpio-zynq.c 	device_pin_num = irq_data->hwirq;
hwirq             413 drivers/gpio/gpio-zynq.c 	device_pin_num = irq_data->hwirq;
hwirq             433 drivers/gpio/gpio-zynq.c 	device_pin_num = irq_data->hwirq;
hwirq             484 drivers/gpio/gpio-zynq.c 	device_pin_num = irq_data->hwirq;
hwirq             563 drivers/gpio/gpio-zynq.c 	return gpiochip_reqres_irq(chip, d->hwirq);
hwirq             570 drivers/gpio/gpio-zynq.c 	gpiochip_relres_irq(chip, d->hwirq);
hwirq            1847 drivers/gpio/gpiolib.c 						   unsigned long *hwirq,
hwirq            1852 drivers/gpio/gpiolib.c 		return irq_domain_translate_twocell(d, fwspec, hwirq, type);
hwirq            1859 drivers/gpio/gpiolib.c 		ret = irq_domain_translate_twocell(d, fwspec, hwirq, type);
hwirq            1874 drivers/gpio/gpiolib.c 	irq_hw_number_t hwirq;
hwirq            1889 drivers/gpio/gpiolib.c 	ret = gc->irq.child_irq_domain_ops.translate(d, fwspec, &hwirq, &type);
hwirq            1893 drivers/gpio/gpiolib.c 	chip_info(gc, "allocate IRQ %d, hwirq %lu\n", irq,  hwirq);
hwirq            1895 drivers/gpio/gpiolib.c 	ret = girq->child_to_parent_hwirq(gc, hwirq, type,
hwirq            1898 drivers/gpio/gpiolib.c 		chip_err(gc, "can't look up hwirq %lu\n", hwirq);
hwirq            1909 drivers/gpio/gpiolib.c 			    hwirq,
hwirq            1932 drivers/gpio/gpiolib.c 			 parent_hwirq, hwirq);
hwirq            2046 drivers/gpio/gpiolib.c 		     irq_hw_number_t hwirq)
hwirq            2051 drivers/gpio/gpiolib.c 	if (!gpiochip_irqchip_irq_valid(chip, hwirq))
hwirq            2069 drivers/gpio/gpiolib.c 		ret = irq_set_parent(irq, chip->irq.map[hwirq]);
hwirq            2123 drivers/gpio/gpiolib.c 	return gpiochip_lock_as_irq(chip, data->hwirq);
hwirq            2141 drivers/gpio/gpiolib.c 	return gpiochip_unlock_as_irq(chip, data->hwirq);
hwirq            2172 drivers/gpio/gpiolib.c 	return gpiochip_reqres_irq(chip, d->hwirq);
hwirq            2179 drivers/gpio/gpiolib.c 	gpiochip_relres_irq(chip, d->hwirq);
hwirq            2186 drivers/gpio/gpiolib.c 	gpiochip_enable_irq(chip, d->hwirq);
hwirq            2208 drivers/gpio/gpiolib.c 	gpiochip_disable_irq(chip, d->hwirq);
hwirq             600 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 				unsigned int irq, irq_hw_number_t hwirq)
hwirq             602 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c 	if (hwirq >= AMDGPU_MAX_IRQ_SRC_ID)
hwirq              76 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c 		irq_hw_number_t hwirq = fls(interrupts) - 1;
hwirq              81 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c 					   hwirq);
hwirq              83 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c 			DRM_ERROR("couldn't find irq mapping for %lu\n", hwirq);
hwirq              90 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c 				  hwirq, mapping, rc);
hwirq              94 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c 		interrupts &= ~(1 << hwirq);
hwirq             106 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c 	clear_bit(irqd->hwirq, &dpu_mdss->irq_controller.enabled_mask);
hwirq             117 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c 	set_bit(irqd->hwirq, &dpu_mdss->irq_controller.enabled_mask);
hwirq             131 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c 		unsigned int irq, irq_hw_number_t hwirq)
hwirq              51 drivers/gpu/drm/msm/disp/mdp5/mdp5_mdss.c 		irq_hw_number_t hwirq = fls(intr) - 1;
hwirq              54 drivers/gpu/drm/msm/disp/mdp5/mdp5_mdss.c 				mdp5_mdss->irqcontroller.domain, hwirq));
hwirq              55 drivers/gpu/drm/msm/disp/mdp5/mdp5_mdss.c 		intr &= ~(1 << hwirq);
hwirq              77 drivers/gpu/drm/msm/disp/mdp5/mdp5_mdss.c 	clear_bit(irqd->hwirq, &mdp5_mdss->irqcontroller.enabled_mask);
hwirq              86 drivers/gpu/drm/msm/disp/mdp5/mdp5_mdss.c 	set_bit(irqd->hwirq, &mdp5_mdss->irqcontroller.enabled_mask);
hwirq              97 drivers/gpu/drm/msm/disp/mdp5/mdp5_mdss.c 				 irq_hw_number_t hwirq)
hwirq             101 drivers/gpu/drm/msm/disp/mdp5/mdp5_mdss.c 	if (!(VALID_IRQS & (1 << hwirq)))
hwirq            1076 drivers/hid/hid-cp2112.c 	__clear_bit(d->hwirq, &dev->irq_mask);
hwirq            1084 drivers/hid/hid-cp2112.c 	__set_bit(d->hwirq, &dev->irq_mask);
hwirq            1247 drivers/i2c/i2c-core-base.c 	irq_hw_number_t hwirq;
hwirq            1252 drivers/i2c/i2c-core-base.c 	for (hwirq = 0 ; hwirq < I2C_ADDR_7BITS_COUNT ; hwirq++)
hwirq            1253 drivers/i2c/i2c-core-base.c 		irq_dispose_mapping(irq_find_mapping(domain, hwirq));
hwirq             351 drivers/iio/adc/stm32-adc-core.c 				irq_hw_number_t hwirq)
hwirq             407 drivers/iio/adc/stm32-adc-core.c 	int hwirq;
hwirq             410 drivers/iio/adc/stm32-adc-core.c 	for (hwirq = 0; hwirq < STM32_ADC_MAX_ADCS; hwirq++)
hwirq             411 drivers/iio/adc/stm32-adc-core.c 		irq_dispose_mapping(irq_find_mapping(priv->domain, hwirq));
hwirq            4322 drivers/iommu/amd_iommu.c 		irq_data->hwirq = (devid << 16) + i;
hwirq            1404 drivers/iommu/intel_irq_remapping.c 		irq_data->hwirq = (index << 16) + i;
hwirq              53 drivers/irqchip/exynos-combiner.c 	u32 mask = 1 << (data->hwirq % 32);
hwirq              60 drivers/irqchip/exynos-combiner.c 	u32 mask = 1 << (data->hwirq % 32);
hwirq             115 drivers/irqchip/irq-al-fic.c 	u32 hwirq;
hwirq             122 drivers/irqchip/irq-al-fic.c 	for_each_set_bit(hwirq, &pending, NR_FIC_IRQS) {
hwirq             123 drivers/irqchip/irq-al-fic.c 		irq = irq_find_mapping(domain, hwirq);
hwirq             135 drivers/irqchip/irq-al-fic.c 	writel_relaxed(BIT(data->hwirq), fic->base + AL_FIC_SET_CAUSE);
hwirq              97 drivers/irqchip/irq-alpine-msi.c 	msg_addr |= (data->hwirq << 3);
hwirq             182 drivers/irqchip/irq-alpine-msi.c 	alpine_msix_free_sgi(priv, d->hwirq, nr_irqs);
hwirq             174 drivers/irqchip/irq-armada-370-xp.c 	irq_hw_number_t hwirq = irqd_to_hwirq(d);
hwirq             176 drivers/irqchip/irq-armada-370-xp.c 	if (!is_percpu_irq(hwirq))
hwirq             177 drivers/irqchip/irq-armada-370-xp.c 		writel(hwirq, main_int_base +
hwirq             180 drivers/irqchip/irq-armada-370-xp.c 		writel(hwirq, per_cpu_int_base +
hwirq             186 drivers/irqchip/irq-armada-370-xp.c 	irq_hw_number_t hwirq = irqd_to_hwirq(d);
hwirq             188 drivers/irqchip/irq-armada-370-xp.c 	if (!is_percpu_irq(hwirq))
hwirq             189 drivers/irqchip/irq-armada-370-xp.c 		writel(hwirq, main_int_base +
hwirq             192 drivers/irqchip/irq-armada-370-xp.c 		writel(hwirq, per_cpu_int_base +
hwirq             214 drivers/irqchip/irq-armada-370-xp.c 	msg->data = 0xf00 | (data->hwirq + PCI_MSI_DOORBELL_START);
hwirq             232 drivers/irqchip/irq-armada-370-xp.c 	int hwirq, i;
hwirq             236 drivers/irqchip/irq-armada-370-xp.c 	hwirq = bitmap_find_next_zero_area(msi_used, PCI_MSI_DOORBELL_NR,
hwirq             238 drivers/irqchip/irq-armada-370-xp.c 	if (hwirq >= PCI_MSI_DOORBELL_NR) {
hwirq             243 drivers/irqchip/irq-armada-370-xp.c 	bitmap_set(msi_used, hwirq, nr_irqs);
hwirq             247 drivers/irqchip/irq-armada-370-xp.c 		irq_domain_set_info(domain, virq + i, hwirq + i,
hwirq             253 drivers/irqchip/irq-armada-370-xp.c 	return hwirq;
hwirq             262 drivers/irqchip/irq-armada-370-xp.c 	bitmap_clear(msi_used, d->hwirq, nr_irqs);
hwirq             319 drivers/irqchip/irq-armada-370-xp.c 	irq_hw_number_t hwirq = irqd_to_hwirq(d);
hwirq             328 drivers/irqchip/irq-armada-370-xp.c 	reg = readl(main_int_base + ARMADA_370_XP_INT_SOURCE_CTL(hwirq));
hwirq             330 drivers/irqchip/irq-armada-370-xp.c 	writel(reg, main_int_base + ARMADA_370_XP_INT_SOURCE_CTL(hwirq));
hwirq              53 drivers/irqchip/irq-aspeed-i2c-ic.c 					unsigned int irq, irq_hw_number_t hwirq)
hwirq             110 drivers/irqchip/irq-aspeed-vic.c 	unsigned int sidx = d->hwirq >> 5;
hwirq             111 drivers/irqchip/irq-aspeed-vic.c 	unsigned int sbit = 1u << (d->hwirq & 0x1f);
hwirq             121 drivers/irqchip/irq-aspeed-vic.c 	unsigned int sidx = d->hwirq >> 5;
hwirq             122 drivers/irqchip/irq-aspeed-vic.c 	unsigned int sbit = 1u << (d->hwirq & 0x1f);
hwirq             130 drivers/irqchip/irq-aspeed-vic.c 	unsigned int sidx = d->hwirq >> 5;
hwirq             131 drivers/irqchip/irq-aspeed-vic.c 	unsigned int sbit = 1u << (d->hwirq & 0x1f);
hwirq             140 drivers/irqchip/irq-aspeed-vic.c 	unsigned int sidx = d->hwirq >> 5;
hwirq             141 drivers/irqchip/irq-aspeed-vic.c 	unsigned int sbit = 1u << (d->hwirq & 0x1f);
hwirq             160 drivers/irqchip/irq-aspeed-vic.c 		    irq_hw_number_t hwirq)
hwirq             163 drivers/irqchip/irq-aspeed-vic.c 	unsigned int sidx = hwirq >> 5;
hwirq             164 drivers/irqchip/irq-aspeed-vic.c 	unsigned int sbit = 1u << (hwirq & 0x1f);
hwirq              63 drivers/irqchip/irq-ath79-misc.c 	unsigned int irq = d->hwirq;
hwirq              76 drivers/irqchip/irq-ath79-misc.c 	unsigned int irq = d->hwirq;
hwirq              89 drivers/irqchip/irq-ath79-misc.c 	unsigned int irq = d->hwirq;
hwirq              17 drivers/irqchip/irq-ativic32.c 	__nds32__mtsr_dsb(BIT(data->hwirq), NDS32_SR_INT_PEND2);
hwirq              23 drivers/irqchip/irq-ativic32.c 	__nds32__mtsr_dsb(int_mask2 & (~(BIT(data->hwirq))), NDS32_SR_INT_MASK2);
hwirq              29 drivers/irqchip/irq-ativic32.c 	__nds32__mtsr_dsb(int_mask2 | (BIT(data->hwirq)), NDS32_SR_INT_MASK2);
hwirq              36 drivers/irqchip/irq-ativic32.c 	u32 bit = 1 << data->hwirq;
hwirq              40 drivers/irqchip/irq-ativic32.c 			__assign_bit(data->hwirq, &irq_orig_bit, true);
hwirq              42 drivers/irqchip/irq-ativic32.c 			__assign_bit(data->hwirq, &irq_orig_bit, false);
hwirq              44 drivers/irqchip/irq-ativic32.c 		__assign_bit(data->hwirq, &int_mask, true);
hwirq              45 drivers/irqchip/irq-ativic32.c 		__assign_bit(data->hwirq, &wake_mask, true);
hwirq              49 drivers/irqchip/irq-ativic32.c 			__assign_bit(data->hwirq, &int_mask, false);
hwirq              51 drivers/irqchip/irq-ativic32.c 		__assign_bit(data->hwirq, &wake_mask, false);
hwirq              52 drivers/irqchip/irq-ativic32.c 		__assign_bit(data->hwirq, &irq_orig_bit, false);
hwirq             108 drivers/irqchip/irq-ativic32.c 	irq_hw_number_t hwirq = get_intr_src();
hwirq             109 drivers/irqchip/irq-ativic32.c 	handle_domain_irq(root_domain, hwirq, regs);
hwirq             116 drivers/irqchip/irq-atmel-aic-common.c 	u32 hwirq;
hwirq             123 drivers/irqchip/irq-atmel-aic-common.c 	of_property_for_each_u32(node, "atmel,external-irqs", prop, p, hwirq) {
hwirq             124 drivers/irqchip/irq-atmel-aic-common.c 		gc = irq_get_domain_generic_chip(domain, hwirq);
hwirq             127 drivers/irqchip/irq-atmel-aic-common.c 				hwirq, domain->revmap_size);
hwirq             132 drivers/irqchip/irq-atmel-aic-common.c 		aic->ext_irqs |= (1 << (hwirq % 32));
hwirq              95 drivers/irqchip/irq-atmel-aic.c 	smr = irq_reg_readl(gc, AT91_AIC_SMR(d->hwirq));
hwirq             100 drivers/irqchip/irq-atmel-aic.c 	irq_reg_writel(gc, smr, AT91_AIC_SMR(d->hwirq));
hwirq              97 drivers/irqchip/irq-atmel-aic5.c 	irq_reg_writel(gc, d->hwirq, AT91_AIC5_SSR);
hwirq             114 drivers/irqchip/irq-atmel-aic5.c 	irq_reg_writel(gc, d->hwirq, AT91_AIC5_SSR);
hwirq             127 drivers/irqchip/irq-atmel-aic5.c 	irq_reg_writel(bgc, d->hwirq, AT91_AIC5_SSR);
hwirq             142 drivers/irqchip/irq-atmel-aic5.c 	irq_reg_writel(bgc, d->hwirq, AT91_AIC5_SSR);
hwirq              93 drivers/irqchip/irq-bcm2835.c 	writel_relaxed(HWIRQ_BIT(d->hwirq), intc.disable[HWIRQ_BANK(d->hwirq)]);
hwirq              98 drivers/irqchip/irq-bcm2835.c 	writel_relaxed(HWIRQ_BIT(d->hwirq), intc.enable[HWIRQ_BANK(d->hwirq)]);
hwirq             231 drivers/irqchip/irq-bcm2835.c 	u32 hwirq;
hwirq             233 drivers/irqchip/irq-bcm2835.c 	while ((hwirq = get_next_armctrl_hwirq()) != ~0)
hwirq             234 drivers/irqchip/irq-bcm2835.c 		handle_domain_irq(intc.domain, hwirq, regs);
hwirq             239 drivers/irqchip/irq-bcm2835.c 	u32 hwirq;
hwirq             241 drivers/irqchip/irq-bcm2835.c 	while ((hwirq = get_next_armctrl_hwirq()) != ~0)
hwirq             242 drivers/irqchip/irq-bcm2835.c 		generic_handle_irq(irq_linear_revmap(intc.domain, hwirq));
hwirq              45 drivers/irqchip/irq-bcm2836.c 					     d->hwirq - LOCAL_IRQ_CNTPSIRQ,
hwirq              52 drivers/irqchip/irq-bcm2836.c 					       d->hwirq - LOCAL_IRQ_CNTPSIRQ,
hwirq             141 drivers/irqchip/irq-bcm2836.c 		u32 hwirq = ffs(stat) - 1;
hwirq             143 drivers/irqchip/irq-bcm2836.c 		handle_domain_irq(intc.domain, hwirq, regs);
hwirq             134 drivers/irqchip/irq-bcm6345-l1.c 		irq_hw_number_t hwirq;
hwirq             140 drivers/irqchip/irq-bcm6345-l1.c 		for_each_set_bit(hwirq, &pending, IRQS_PER_WORD) {
hwirq             141 drivers/irqchip/irq-bcm6345-l1.c 			irq = irq_linear_revmap(intc->domain, base + hwirq);
hwirq             155 drivers/irqchip/irq-bcm6345-l1.c 	u32 word = d->hwirq / IRQS_PER_WORD;
hwirq             156 drivers/irqchip/irq-bcm6345-l1.c 	u32 mask = BIT(d->hwirq % IRQS_PER_WORD);
hwirq             167 drivers/irqchip/irq-bcm6345-l1.c 	u32 word = d->hwirq / IRQS_PER_WORD;
hwirq             168 drivers/irqchip/irq-bcm6345-l1.c 	u32 mask = BIT(d->hwirq % IRQS_PER_WORD);
hwirq             201 drivers/irqchip/irq-bcm6345-l1.c 	u32 word = d->hwirq / IRQS_PER_WORD;
hwirq             202 drivers/irqchip/irq-bcm6345-l1.c 	u32 mask = BIT(d->hwirq % IRQS_PER_WORD);
hwirq             132 drivers/irqchip/irq-bcm7038-l1.c 		int hwirq;
hwirq             139 drivers/irqchip/irq-bcm7038-l1.c 		for_each_set_bit(hwirq, &pending, IRQS_PER_WORD) {
hwirq             141 drivers/irqchip/irq-bcm7038-l1.c 							    base + hwirq));
hwirq             151 drivers/irqchip/irq-bcm7038-l1.c 	u32 word = d->hwirq / IRQS_PER_WORD;
hwirq             152 drivers/irqchip/irq-bcm7038-l1.c 	u32 mask = BIT(d->hwirq % IRQS_PER_WORD);
hwirq             162 drivers/irqchip/irq-bcm7038-l1.c 	u32 word = d->hwirq / IRQS_PER_WORD;
hwirq             163 drivers/irqchip/irq-bcm7038-l1.c 	u32 mask = BIT(d->hwirq % IRQS_PER_WORD);
hwirq             176 drivers/irqchip/irq-bcm7038-l1.c 	__bcm7038_l1_unmask(d, intc->affinity[d->hwirq]);
hwirq             186 drivers/irqchip/irq-bcm7038-l1.c 	__bcm7038_l1_mask(d, intc->affinity[d->hwirq]);
hwirq             196 drivers/irqchip/irq-bcm7038-l1.c 	irq_hw_number_t hw = d->hwirq;
hwirq              69 drivers/irqchip/irq-bcm7120-l2.c 		int hwirq;
hwirq              77 drivers/irqchip/irq-bcm7120-l2.c 		for_each_set_bit(hwirq, &pending, IRQS_PER_WORD) {
hwirq              79 drivers/irqchip/irq-bcm7120-l2.c 					   base + hwirq));
hwirq              93 drivers/irqchip/irq-clps711x.c 	irq_hw_number_t hwirq = irqd_to_hwirq(d);
hwirq              95 drivers/irqchip/irq-clps711x.c 	writel_relaxed(0, clps711x_intc->base + clps711x_irqs[hwirq].eoi);
hwirq             100 drivers/irqchip/irq-clps711x.c 	irq_hw_number_t hwirq = irqd_to_hwirq(d);
hwirq             101 drivers/irqchip/irq-clps711x.c 	void __iomem *intmr = clps711x_intc->intmr[hwirq / 16];
hwirq             105 drivers/irqchip/irq-clps711x.c 	tmp &= ~(1 << (hwirq % 16));
hwirq             111 drivers/irqchip/irq-clps711x.c 	irq_hw_number_t hwirq = irqd_to_hwirq(d);
hwirq             112 drivers/irqchip/irq-clps711x.c 	void __iomem *intmr = clps711x_intc->intmr[hwirq / 16];
hwirq             116 drivers/irqchip/irq-clps711x.c 	tmp |= 1 << (hwirq % 16);
hwirq              75 drivers/irqchip/irq-crossbar.c 			    irq_hw_number_t hwirq)
hwirq              87 drivers/irqchip/irq-crossbar.c 			cb->irq_map[i] = hwirq;
hwirq             106 drivers/irqchip/irq-crossbar.c 		cb->write(i, hwirq);
hwirq             115 drivers/irqchip/irq-crossbar.c 	irq_hw_number_t hwirq;
hwirq             123 drivers/irqchip/irq-crossbar.c 	hwirq = fwspec->param[1];
hwirq             124 drivers/irqchip/irq-crossbar.c 	if ((hwirq + nr_irqs) > cb->max_crossbar_sources)
hwirq             128 drivers/irqchip/irq-crossbar.c 		int err = allocate_gic_irq(d, virq + i, hwirq + i);
hwirq             133 drivers/irqchip/irq-crossbar.c 		irq_domain_set_hwirq_and_chip(d, virq + i, hwirq + i,
hwirq             162 drivers/irqchip/irq-crossbar.c 		cb->irq_map[d->hwirq] = IRQ_FREE;
hwirq             163 drivers/irqchip/irq-crossbar.c 		cb->write(d->hwirq, cb->safe_map);
hwirq             170 drivers/irqchip/irq-crossbar.c 				     unsigned long *hwirq,
hwirq             181 drivers/irqchip/irq-crossbar.c 		*hwirq = fwspec->param[1];
hwirq             135 drivers/irqchip/irq-csky-apb-intc.c static inline bool handle_irq_perbit(struct pt_regs *regs, u32 hwirq,
hwirq             138 drivers/irqchip/irq-csky-apb-intc.c 	if (hwirq == 0)
hwirq             141 drivers/irqchip/irq-csky-apb-intc.c 	handle_domain_irq(root_domain, irq_base + __fls(hwirq), regs);
hwirq              85 drivers/irqchip/irq-csky-mpintc.c 	setup_trigger(d->hwirq, __trigger[d->hwirq]);
hwirq              87 drivers/irqchip/irq-csky-mpintc.c 	writel_relaxed(d->hwirq, reg_base + INTCL_SENR);
hwirq              94 drivers/irqchip/irq-csky-mpintc.c 	writel_relaxed(d->hwirq, reg_base + INTCL_CENR);
hwirq             101 drivers/irqchip/irq-csky-mpintc.c 	writel_relaxed(d->hwirq, reg_base + INTCL_CACR);
hwirq             108 drivers/irqchip/irq-csky-mpintc.c 		__trigger[d->hwirq] = 0;
hwirq             111 drivers/irqchip/irq-csky-mpintc.c 		__trigger[d->hwirq] = 1;
hwirq             114 drivers/irqchip/irq-csky-mpintc.c 		__trigger[d->hwirq] = 2;
hwirq             117 drivers/irqchip/irq-csky-mpintc.c 		__trigger[d->hwirq] = 3;
hwirq             132 drivers/irqchip/irq-csky-mpintc.c 	unsigned int offset = 4 * (d->hwirq - COMM_IRQ_BASE);
hwirq             176 drivers/irqchip/irq-csky-mpintc.c 			      irq_hw_number_t hwirq)
hwirq             178 drivers/irqchip/irq-csky-mpintc.c 	if (hwirq < COMM_IRQ_BASE) {
hwirq              57 drivers/irqchip/irq-davinci-cp-intc.c 	davinci_cp_intc_write(d->hwirq, DAVINCI_CP_INTC_SYS_STAT_IDX_CLR);
hwirq              64 drivers/irqchip/irq-davinci-cp-intc.c 	davinci_cp_intc_write(d->hwirq, DAVINCI_CP_INTC_SYS_ENABLE_IDX_CLR);
hwirq              70 drivers/irqchip/irq-davinci-cp-intc.c 	davinci_cp_intc_write(d->hwirq, DAVINCI_CP_INTC_SYS_ENABLE_IDX_SET);
hwirq              78 drivers/irqchip/irq-davinci-cp-intc.c 	reg = BIT_WORD(d->hwirq);
hwirq              79 drivers/irqchip/irq-davinci-cp-intc.c 	mask = BIT_MASK(d->hwirq);
hwirq              39 drivers/irqchip/irq-digicolor.c 	u32 status, hwirq;
hwirq              44 drivers/irqchip/irq-digicolor.c 			hwirq = ffs(status) - 1;
hwirq              48 drivers/irqchip/irq-digicolor.c 				hwirq = ffs(status) - 1 + 32;
hwirq              53 drivers/irqchip/irq-digicolor.c 		handle_domain_irq(digicolor_irq_domain, hwirq, regs);
hwirq              42 drivers/irqchip/irq-dw-apb-ictl.c 			u32 hwirq = ffs(stat) - 1;
hwirq              43 drivers/irqchip/irq-dw-apb-ictl.c 			u32 virq = irq_find_mapping(d, gc->irq_base + hwirq);
hwirq              46 drivers/irqchip/irq-dw-apb-ictl.c 			stat &= ~(1 << hwirq);
hwirq             142 drivers/irqchip/irq-ftintc010.c 				irq_hw_number_t hwirq)
hwirq              99 drivers/irqchip/irq-gic-v2m.c static phys_addr_t gicv2m_get_msi_addr(struct v2m_data *v2m, int hwirq)
hwirq             102 drivers/irqchip/irq-gic-v2m.c 		return v2m->res.start | ((hwirq - 32) << 3);
hwirq             110 drivers/irqchip/irq-gic-v2m.c 	phys_addr_t addr = gicv2m_get_msi_addr(v2m, data->hwirq);
hwirq             118 drivers/irqchip/irq-gic-v2m.c 		msg->data = data->hwirq;
hwirq             136 drivers/irqchip/irq-gic-v2m.c 				       irq_hw_number_t hwirq)
hwirq             146 drivers/irqchip/irq-gic-v2m.c 		fwspec.param[1] = hwirq - 32;
hwirq             151 drivers/irqchip/irq-gic-v2m.c 		fwspec.param[0] = hwirq;
hwirq             167 drivers/irqchip/irq-gic-v2m.c static void gicv2m_unalloc_msi(struct v2m_data *v2m, unsigned int hwirq,
hwirq             171 drivers/irqchip/irq-gic-v2m.c 	bitmap_release_region(v2m->bm, hwirq - v2m->spi_start,
hwirq             181 drivers/irqchip/irq-gic-v2m.c 	int hwirq, offset, i, err = 0;
hwirq             197 drivers/irqchip/irq-gic-v2m.c 	hwirq = v2m->spi_start + offset;
hwirq             200 drivers/irqchip/irq-gic-v2m.c 				    gicv2m_get_msi_addr(v2m, hwirq));
hwirq             205 drivers/irqchip/irq-gic-v2m.c 		err = gicv2m_irq_gic_domain_alloc(domain, virq + i, hwirq + i);
hwirq             209 drivers/irqchip/irq-gic-v2m.c 		irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i,
hwirq             217 drivers/irqchip/irq-gic-v2m.c 	gicv2m_unalloc_msi(v2m, hwirq, nr_irqs);
hwirq             227 drivers/irqchip/irq-gic-v2m.c 	gicv2m_unalloc_msi(v2m, d->hwirq, nr_irqs);
hwirq            1052 drivers/irqchip/irq-gic-v3-its.c 	return d->hwirq - its_dev->event_map.lpi_base;
hwirq            1057 drivers/irqchip/irq-gic-v3-its.c 	irq_hw_number_t hwirq;
hwirq            1068 drivers/irqchip/irq-gic-v3-its.c 		hwirq = map->vintid;
hwirq            1075 drivers/irqchip/irq-gic-v3-its.c 		hwirq = d->hwirq;
hwirq            1078 drivers/irqchip/irq-gic-v3-its.c 	cfg = va + hwirq - 8192;
hwirq            1375 drivers/irqchip/irq-gic-v3-its.c 	its_send_mapti(its_dev, d->hwirq, event);
hwirq            2478 drivers/irqchip/irq-gic-v3-its.c static int its_alloc_device_irq(struct its_device *dev, int nvecs, irq_hw_number_t *hwirq)
hwirq            2489 drivers/irqchip/irq-gic-v3-its.c 	*hwirq = dev->event_map.lpi_base + idx;
hwirq            2556 drivers/irqchip/irq-gic-v3-its.c 				    irq_hw_number_t hwirq)
hwirq            2564 drivers/irqchip/irq-gic-v3-its.c 		fwspec.param[1] = hwirq;
hwirq            2569 drivers/irqchip/irq-gic-v3-its.c 		fwspec.param[0] = hwirq;
hwirq            2584 drivers/irqchip/irq-gic-v3-its.c 	irq_hw_number_t hwirq;
hwirq            2588 drivers/irqchip/irq-gic-v3-its.c 	err = its_alloc_device_irq(its_dev, nr_irqs, &hwirq);
hwirq            2597 drivers/irqchip/irq-gic-v3-its.c 		err = its_irq_gic_domain_alloc(domain, virq + i, hwirq + i);
hwirq            2602 drivers/irqchip/irq-gic-v3-its.c 					      hwirq + i, &its_irq_chip, its_dev);
hwirq            2605 drivers/irqchip/irq-gic-v3-its.c 			 (int)(hwirq + i - its_dev->event_map.lpi_base),
hwirq            2606 drivers/irqchip/irq-gic-v3-its.c 			 (int)(hwirq + i), virq + i);
hwirq            2637 drivers/irqchip/irq-gic-v3-its.c 	its_send_mapti(its_dev, d->hwirq, event);
hwirq            3067 drivers/irqchip/irq-gic-v3-its.c 		clear_bit(data->hwirq, vm->db_bitmap);
hwirq              43 drivers/irqchip/irq-gic-v3-mbi.c 				       irq_hw_number_t hwirq)
hwirq              64 drivers/irqchip/irq-gic-v3-mbi.c 	fwspec.param[1] = hwirq - 32;
hwirq              75 drivers/irqchip/irq-gic-v3-mbi.c static void mbi_free_msi(struct mbi_range *mbi, unsigned int hwirq,
hwirq              79 drivers/irqchip/irq-gic-v3-mbi.c 	bitmap_release_region(mbi->bm, hwirq - mbi->spi_start,
hwirq              89 drivers/irqchip/irq-gic-v3-mbi.c 	int hwirq, offset, i, err = 0;
hwirq             106 drivers/irqchip/irq-gic-v3-mbi.c 	hwirq = mbi->spi_start + offset;
hwirq             114 drivers/irqchip/irq-gic-v3-mbi.c 		err = mbi_irq_gic_domain_alloc(domain, virq + i, hwirq + i);
hwirq             118 drivers/irqchip/irq-gic-v3-mbi.c 		irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i,
hwirq             126 drivers/irqchip/irq-gic-v3-mbi.c 	mbi_free_msi(mbi, hwirq, nr_irqs);
hwirq             136 drivers/irqchip/irq-gic-v3-mbi.c 	mbi_free_msi(mbi, d->hwirq, nr_irqs);
hwirq             149 drivers/irqchip/irq-gic-v3-mbi.c 	msg[0].data = data->parent_data->hwirq;
hwirq             209 drivers/irqchip/irq-gic-v3-mbi.c 	msg[1].data = data->parent_data->hwirq;
hwirq             113 drivers/irqchip/irq-gic-v3.c static enum gic_intid_range __get_intid_range(irq_hw_number_t hwirq)
hwirq             115 drivers/irqchip/irq-gic-v3.c 	switch (hwirq) {
hwirq             133 drivers/irqchip/irq-gic-v3.c 	return __get_intid_range(d->hwirq);
hwirq             138 drivers/irqchip/irq-gic-v3.c 	return d->hwirq;
hwirq             248 drivers/irqchip/irq-gic-v3.c 		*index = d->hwirq;
hwirq             256 drivers/irqchip/irq-gic-v3.c 		*index = d->hwirq - EPPI_BASE_INTID + 32;
hwirq             259 drivers/irqchip/irq-gic-v3.c 		*index = d->hwirq - ESPI_BASE_INTID;
hwirq             288 drivers/irqchip/irq-gic-v3.c 	*index = d->hwirq;
hwirq             365 drivers/irqchip/irq-gic-v3.c 	if (d->hwirq >= 8192) /* PPI/SPI only */
hwirq             392 drivers/irqchip/irq-gic-v3.c 	if (d->hwirq >= 8192) /* PPI/SPI only */
hwirq             429 drivers/irqchip/irq-gic-v3.c 		return d->hwirq - 16;
hwirq             431 drivers/irqchip/irq-gic-v3.c 		return d->hwirq - EPPI_BASE_INTID + 16;
hwirq            1281 drivers/irqchip/irq-gic-v3.c 				    unsigned long *hwirq,
hwirq            1290 drivers/irqchip/irq-gic-v3.c 			*hwirq = fwspec->param[1] + 32;
hwirq            1293 drivers/irqchip/irq-gic-v3.c 			*hwirq = fwspec->param[1] + 16;
hwirq            1296 drivers/irqchip/irq-gic-v3.c 			*hwirq = fwspec->param[1] + ESPI_BASE_INTID;
hwirq            1299 drivers/irqchip/irq-gic-v3.c 			*hwirq = fwspec->param[1] + EPPI_BASE_INTID;
hwirq            1302 drivers/irqchip/irq-gic-v3.c 			*hwirq = fwspec->param[1];
hwirq            1305 drivers/irqchip/irq-gic-v3.c 			*hwirq = fwspec->param[1];
hwirq            1307 drivers/irqchip/irq-gic-v3.c 				*hwirq += EPPI_BASE_INTID - 16;
hwirq            1309 drivers/irqchip/irq-gic-v3.c 				*hwirq += 16;
hwirq            1330 drivers/irqchip/irq-gic-v3.c 		*hwirq = fwspec->param[0];
hwirq            1344 drivers/irqchip/irq-gic-v3.c 	irq_hw_number_t hwirq;
hwirq            1348 drivers/irqchip/irq-gic-v3.c 	ret = gic_irq_domain_translate(domain, fwspec, &hwirq, &type);
hwirq            1353 drivers/irqchip/irq-gic-v3.c 		ret = gic_irq_domain_map(domain, virq + i, hwirq + i);
hwirq            1406 drivers/irqchip/irq-gic-v3.c 				      unsigned long *hwirq,
hwirq            1424 drivers/irqchip/irq-gic-v3.c 	*hwirq = ret;
hwirq             173 drivers/irqchip/irq-gic.c 	return d->hwirq;
hwirq            1001 drivers/irqchip/irq-gic.c 				    unsigned long *hwirq,
hwirq            1009 drivers/irqchip/irq-gic.c 		*hwirq = fwspec->param[1] + 16;
hwirq            1016 drivers/irqchip/irq-gic.c 			*hwirq += 16;
hwirq            1029 drivers/irqchip/irq-gic.c 		*hwirq = fwspec->param[0];
hwirq            1049 drivers/irqchip/irq-gic.c 	irq_hw_number_t hwirq;
hwirq            1053 drivers/irqchip/irq-gic.c 	ret = gic_irq_domain_translate(domain, fwspec, &hwirq, &type);
hwirq            1058 drivers/irqchip/irq-gic.c 		ret = gic_irq_domain_map(domain, virq + i, hwirq + i);
hwirq              37 drivers/irqchip/irq-goldfish-pic.c 	u32 pending, hwirq, virq;
hwirq              43 drivers/irqchip/irq-goldfish-pic.c 		hwirq = __fls(pending);
hwirq              44 drivers/irqchip/irq-goldfish-pic.c 		virq = irq_linear_revmap(gfpic->irq_domain, hwirq);
hwirq              46 drivers/irqchip/irq-goldfish-pic.c 		pending &= ~(1 << hwirq);
hwirq              85 drivers/irqchip/irq-hip04.c 	return d->hwirq;
hwirq             339 drivers/irqchip/irq-i8259.c 	int hwirq = i8259_poll();
hwirq             342 drivers/irqchip/irq-i8259.c 	if (hwirq < 0)
hwirq             345 drivers/irqchip/irq-i8259.c 	irq = irq_linear_revmap(domain, hwirq);
hwirq             154 drivers/irqchip/irq-imgpdc.c 	unsigned int syswake = hwirq_to_syswake(data->hwirq);
hwirq             200 drivers/irqchip/irq-imgpdc.c 	irq_hw_number_t hw = data->hwirq;
hwirq              76 drivers/irqchip/irq-imx-gpcv2.c 	unsigned int idx = d->hwirq / 32;
hwirq              81 drivers/irqchip/irq-imx-gpcv2.c 	mask = BIT(d->hwirq % 32);
hwirq             102 drivers/irqchip/irq-imx-gpcv2.c 	reg = gpcv2_idx_to_reg(cd, d->hwirq / 32);
hwirq             104 drivers/irqchip/irq-imx-gpcv2.c 	val &= ~BIT(d->hwirq % 32);
hwirq             118 drivers/irqchip/irq-imx-gpcv2.c 	reg = gpcv2_idx_to_reg(cd, d->hwirq / 32);
hwirq             120 drivers/irqchip/irq-imx-gpcv2.c 	val |= BIT(d->hwirq % 32);
hwirq             142 drivers/irqchip/irq-imx-gpcv2.c 				      unsigned long *hwirq,
hwirq             153 drivers/irqchip/irq-imx-gpcv2.c 		*hwirq = fwspec->param[1];
hwirq             167 drivers/irqchip/irq-imx-gpcv2.c 	irq_hw_number_t hwirq;
hwirq             172 drivers/irqchip/irq-imx-gpcv2.c 	err = imx_gpcv2_domain_translate(domain, fwspec, &hwirq, &type);
hwirq             176 drivers/irqchip/irq-imx-gpcv2.c 	if (hwirq >= GPC_MAX_IRQS)
hwirq             180 drivers/irqchip/irq-imx-gpcv2.c 		irq_domain_set_hwirq_and_chip(domain, irq + i, hwirq + i,
hwirq              48 drivers/irqchip/irq-imx-irqsteer.c 	int idx = imx_irqsteer_get_reg_index(data, d->hwirq);
hwirq              54 drivers/irqchip/irq-imx-irqsteer.c 	val |= BIT(d->hwirq % 32);
hwirq              62 drivers/irqchip/irq-imx-irqsteer.c 	int idx = imx_irqsteer_get_reg_index(data, d->hwirq);
hwirq              68 drivers/irqchip/irq-imx-irqsteer.c 	val &= ~BIT(d->hwirq % 32);
hwirq              80 drivers/irqchip/irq-imx-irqsteer.c 				irq_hw_number_t hwirq)
hwirq             109 drivers/irqchip/irq-imx-irqsteer.c 	int hwirq;
hwirq             115 drivers/irqchip/irq-imx-irqsteer.c 	hwirq = imx_irqsteer_get_hwirq_base(data, irq);
hwirq             116 drivers/irqchip/irq-imx-irqsteer.c 	if (hwirq < 0) {
hwirq             122 drivers/irqchip/irq-imx-irqsteer.c 	for (i = 0; i < 2; i++, hwirq += 32) {
hwirq             123 drivers/irqchip/irq-imx-irqsteer.c 		int idx = imx_irqsteer_get_reg_index(data, hwirq);
hwirq             127 drivers/irqchip/irq-imx-irqsteer.c 		if (hwirq >= data->reg_num * 32)
hwirq             134 drivers/irqchip/irq-imx-irqsteer.c 			virq = irq_find_mapping(data->domain, pos + hwirq);
hwirq              78 drivers/irqchip/irq-ixp4xx.c 	if (ixi->is_356 && d->hwirq >= 32) {
hwirq              80 drivers/irqchip/irq-ixp4xx.c 		val &= ~BIT(d->hwirq - 32);
hwirq              84 drivers/irqchip/irq-ixp4xx.c 		val &= ~BIT(d->hwirq);
hwirq              98 drivers/irqchip/irq-ixp4xx.c 	if (ixi->is_356 && d->hwirq >= 32) {
hwirq             100 drivers/irqchip/irq-ixp4xx.c 		val |= BIT(d->hwirq - 32);
hwirq             104 drivers/irqchip/irq-ixp4xx.c 		val |= BIT(d->hwirq);
hwirq             131 drivers/irqchip/irq-ixp4xx.c 				       unsigned long *hwirq,
hwirq             136 drivers/irqchip/irq-ixp4xx.c 		*hwirq = fwspec->param[0];
hwirq             144 drivers/irqchip/irq-ixp4xx.c 		*hwirq = fwspec->param[0];
hwirq             158 drivers/irqchip/irq-ixp4xx.c 	irq_hw_number_t hwirq;
hwirq             164 drivers/irqchip/irq-ixp4xx.c 	ret = ixp4xx_irq_domain_translate(d, fwspec, &hwirq, &type);
hwirq             177 drivers/irqchip/irq-ixp4xx.c 				    hwirq + i,
hwirq             220 drivers/irqchip/irq-ixp4xx.c 	int hwirq;
hwirq             227 drivers/irqchip/irq-ixp4xx.c 		.hwirq = 0,
hwirq             232 drivers/irqchip/irq-ixp4xx.c 		.hwirq = 8,
hwirq             237 drivers/irqchip/irq-ixp4xx.c 		.hwirq = 30,
hwirq             243 drivers/irqchip/irq-ixp4xx.c 		.hwirq = 32,
hwirq             346 drivers/irqchip/irq-ixp4xx.c 			chunk->hwirq, chunk->hwirq + chunk->nr_irqs - 1);
hwirq             348 drivers/irqchip/irq-ixp4xx.c 		fwspec.param[0] = chunk->hwirq;
hwirq              47 drivers/irqchip/irq-jcore-aic.c 				   irq_hw_number_t hwirq)
hwirq              70 drivers/irqchip/irq-keystone.c 	kirq->mask |= BIT(d->hwirq);
hwirq              71 drivers/irqchip/irq-keystone.c 	dev_dbg(kirq->dev, "mask %lu [%x]\n", d->hwirq, kirq->mask);
hwirq              78 drivers/irqchip/irq-keystone.c 	kirq->mask &= ~BIT(d->hwirq);
hwirq              79 drivers/irqchip/irq-keystone.c 	dev_dbg(kirq->dev, "unmask %lu [%x]\n", d->hwirq, kirq->mask);
hwirq             206 drivers/irqchip/irq-keystone.c 	int hwirq;
hwirq             210 drivers/irqchip/irq-keystone.c 	for (hwirq = 0; hwirq < KEYSTONE_N_IRQ; hwirq++)
hwirq             211 drivers/irqchip/irq-keystone.c 		irq_dispose_mapping(irq_find_mapping(kirq->irqd, hwirq));
hwirq              48 drivers/irqchip/irq-lpc32xx.c 	u32 val, mask = BIT(d->hwirq);
hwirq              57 drivers/irqchip/irq-lpc32xx.c 	u32 val, mask = BIT(d->hwirq);
hwirq              66 drivers/irqchip/irq-lpc32xx.c 	u32 mask = BIT(d->hwirq);
hwirq              74 drivers/irqchip/irq-lpc32xx.c 	u32 val, mask = BIT(d->hwirq);
hwirq             124 drivers/irqchip/irq-lpc32xx.c 	u32 hwirq = lpc32xx_ic_read(ic, LPC32XX_INTC_STAT), irq;
hwirq             126 drivers/irqchip/irq-lpc32xx.c 	while (hwirq) {
hwirq             127 drivers/irqchip/irq-lpc32xx.c 		irq = __ffs(hwirq);
hwirq             128 drivers/irqchip/irq-lpc32xx.c 		hwirq &= ~BIT(irq);
hwirq             137 drivers/irqchip/irq-lpc32xx.c 	u32 hwirq = lpc32xx_ic_read(ic, LPC32XX_INTC_STAT), irq;
hwirq             141 drivers/irqchip/irq-lpc32xx.c 	while (hwirq) {
hwirq             142 drivers/irqchip/irq-lpc32xx.c 		irq = __ffs(hwirq);
hwirq             143 drivers/irqchip/irq-lpc32xx.c 		hwirq &= ~BIT(irq);
hwirq              91 drivers/irqchip/irq-ls-scfg-msi.c 	msg->data = data->hwirq;
hwirq             176 drivers/irqchip/irq-ls-scfg-msi.c 	pos = d->hwirq;
hwirq             197 drivers/irqchip/irq-ls-scfg-msi.c 	int pos, size, virq, hwirq;
hwirq             207 drivers/irqchip/irq-ls-scfg-msi.c 		hwirq = ((msir->bit_end - pos) << msi_data->cfg->ibs_shift) |
hwirq             209 drivers/irqchip/irq-ls-scfg-msi.c 		virq = irq_find_mapping(msi_data->parent, hwirq);
hwirq             245 drivers/irqchip/irq-ls-scfg-msi.c 	int virq, i, hwirq;
hwirq             281 drivers/irqchip/irq-ls-scfg-msi.c 			hwirq = i << msi_data->cfg->ibs_shift | msir->index;
hwirq             282 drivers/irqchip/irq-ls-scfg-msi.c 			bitmap_clear(msi_data->used, hwirq, 1);
hwirq             292 drivers/irqchip/irq-ls-scfg-msi.c 	int i, hwirq;
hwirq             298 drivers/irqchip/irq-ls-scfg-msi.c 		hwirq = i << msi_data->cfg->ibs_shift | msir->index;
hwirq             299 drivers/irqchip/irq-ls-scfg-msi.c 		bitmap_set(msi_data->used, hwirq, 1);
hwirq              67 drivers/irqchip/irq-mbigen.c static inline unsigned int get_mbigen_vec_reg(irq_hw_number_t hwirq)
hwirq              71 drivers/irqchip/irq-mbigen.c 	hwirq -= RESERVED_IRQ_PER_MBIGEN_CHIP;
hwirq              72 drivers/irqchip/irq-mbigen.c 	nid = hwirq / IRQS_PER_MBIGEN_NODE + 1;
hwirq              73 drivers/irqchip/irq-mbigen.c 	pin = hwirq % IRQS_PER_MBIGEN_NODE;
hwirq              79 drivers/irqchip/irq-mbigen.c static inline void get_mbigen_type_reg(irq_hw_number_t hwirq,
hwirq              84 drivers/irqchip/irq-mbigen.c 	hwirq -= RESERVED_IRQ_PER_MBIGEN_CHIP;
hwirq              85 drivers/irqchip/irq-mbigen.c 	nid = hwirq / IRQS_PER_MBIGEN_NODE + 1;
hwirq              86 drivers/irqchip/irq-mbigen.c 	irq_ofst = hwirq % IRQS_PER_MBIGEN_NODE;
hwirq              95 drivers/irqchip/irq-mbigen.c static inline void get_mbigen_clear_reg(irq_hw_number_t hwirq,
hwirq              98 drivers/irqchip/irq-mbigen.c 	unsigned int ofst = (hwirq / 32) * 4;
hwirq             100 drivers/irqchip/irq-mbigen.c 	*mask = 1 << (hwirq % 32);
hwirq             109 drivers/irqchip/irq-mbigen.c 	get_mbigen_clear_reg(data->hwirq, &mask, &addr);
hwirq             124 drivers/irqchip/irq-mbigen.c 	get_mbigen_type_reg(data->hwirq, &mask, &addr);
hwirq             156 drivers/irqchip/irq-mbigen.c 	base += get_mbigen_vec_reg(d->hwirq);
hwirq             170 drivers/irqchip/irq-mbigen.c 				    unsigned long *hwirq,
hwirq             181 drivers/irqchip/irq-mbigen.c 			*hwirq = fwspec->param[0];
hwirq             201 drivers/irqchip/irq-mbigen.c 	irq_hw_number_t hwirq;
hwirq             206 drivers/irqchip/irq-mbigen.c 	err = mbigen_domain_translate(domain, fwspec, &hwirq, &type);
hwirq             217 drivers/irqchip/irq-mbigen.c 		irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i,
hwirq             110 drivers/irqchip/irq-meson-gpio.c 			       unsigned long  hwirq,
hwirq             135 drivers/irqchip/irq-meson-gpio.c 				   hwirq << REG_PIN_SEL_SHIFT(idx));
hwirq             148 drivers/irqchip/irq-meson-gpio.c 		 hwirq, idx, **channel_hwirq);
hwirq             262 drivers/irqchip/irq-meson-gpio.c 					   unsigned long *hwirq,
hwirq             266 drivers/irqchip/irq-meson-gpio.c 		*hwirq	= fwspec->param[0];
hwirq             276 drivers/irqchip/irq-meson-gpio.c 					   u32 hwirq,
hwirq             284 drivers/irqchip/irq-meson-gpio.c 	fwspec.param[1] = hwirq;
hwirq             297 drivers/irqchip/irq-meson-gpio.c 	unsigned long hwirq;
hwirq             305 drivers/irqchip/irq-meson-gpio.c 	ret = meson_gpio_irq_domain_translate(domain, fwspec, &hwirq, &type);
hwirq             309 drivers/irqchip/irq-meson-gpio.c 	ret = meson_gpio_irq_request_channel(ctl, hwirq, &channel_hwirq);
hwirq             321 drivers/irqchip/irq-meson-gpio.c 	irq_domain_set_hwirq_and_chip(domain, virq, hwirq,
hwirq              42 drivers/irqchip/irq-mips-cpu.c 	set_c0_status(IE_SW0 << d->hwirq);
hwirq              48 drivers/irqchip/irq-mips-cpu.c 	clear_c0_status(IE_SW0 << d->hwirq);
hwirq              71 drivers/irqchip/irq-mips-cpu.c 	clear_c0_cause(C_SW0 << d->hwirq);
hwirq              84 drivers/irqchip/irq-mips-cpu.c 	clear_c0_cause(C_SW0 << d->hwirq);
hwirq              93 drivers/irqchip/irq-mips-cpu.c 	irq_hw_number_t hwirq = irqd_to_hwirq(d);
hwirq             104 drivers/irqchip/irq-mips-cpu.c 	write_vpe_c0_cause(read_vpe_c0_cause() | (C_SW0 << hwirq));
hwirq             185 drivers/irqchip/irq-mips-cpu.c 	unsigned int i, hwirq;
hwirq             189 drivers/irqchip/irq-mips-cpu.c 		hwirq = find_first_zero_bit(state->allocated, 2);
hwirq             190 drivers/irqchip/irq-mips-cpu.c 		if (hwirq == 2)
hwirq             192 drivers/irqchip/irq-mips-cpu.c 		bitmap_set(state->allocated, hwirq, 1);
hwirq             194 drivers/irqchip/irq-mips-cpu.c 		ret = irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq,
hwirq             110 drivers/irqchip/irq-mips-gic.c 	irq_hw_number_t hwirq = GIC_HWIRQ_TO_SHARED(irqd_to_hwirq(d));
hwirq             112 drivers/irqchip/irq-mips-gic.c 	write_gic_wedge(GIC_WEDGE_RW | hwirq);
hwirq             178 drivers/irqchip/irq-mips-gic.c 	unsigned int intr = GIC_HWIRQ_TO_SHARED(d->hwirq);
hwirq             186 drivers/irqchip/irq-mips-gic.c 	unsigned int intr = GIC_HWIRQ_TO_SHARED(d->hwirq);
hwirq             198 drivers/irqchip/irq-mips-gic.c 	unsigned int irq = GIC_HWIRQ_TO_SHARED(d->hwirq);
hwirq             208 drivers/irqchip/irq-mips-gic.c 	irq = GIC_HWIRQ_TO_SHARED(d->hwirq);
hwirq             259 drivers/irqchip/irq-mips-gic.c 	unsigned int irq = GIC_HWIRQ_TO_SHARED(d->hwirq);
hwirq             329 drivers/irqchip/irq-mips-gic.c 	int intr = GIC_HWIRQ_TO_LOCAL(d->hwirq);
hwirq             336 drivers/irqchip/irq-mips-gic.c 	int intr = GIC_HWIRQ_TO_LOCAL(d->hwirq);
hwirq             353 drivers/irqchip/irq-mips-gic.c 	intr = GIC_HWIRQ_TO_LOCAL(d->hwirq);
hwirq             371 drivers/irqchip/irq-mips-gic.c 	intr = GIC_HWIRQ_TO_LOCAL(d->hwirq);
hwirq             388 drivers/irqchip/irq-mips-gic.c 	intr = GIC_HWIRQ_TO_LOCAL(d->hwirq);
hwirq             453 drivers/irqchip/irq-mips-gic.c 			      irq_hw_number_t hwirq)
hwirq             461 drivers/irqchip/irq-mips-gic.c 	if (hwirq >= GIC_SHARED_HWIRQ_BASE) {
hwirq             463 drivers/irqchip/irq-mips-gic.c 		if (test_bit(GIC_HWIRQ_TO_SHARED(hwirq), ipi_resrv))
hwirq             466 drivers/irqchip/irq-mips-gic.c 		err = irq_domain_set_hwirq_and_chip(d, virq, hwirq,
hwirq             473 drivers/irqchip/irq-mips-gic.c 		return gic_shared_irq_domain_map(d, virq, hwirq, 0);
hwirq             476 drivers/irqchip/irq-mips-gic.c 	intr = GIC_HWIRQ_TO_LOCAL(hwirq);
hwirq             493 drivers/irqchip/irq-mips-gic.c 		err = irq_domain_set_hwirq_and_chip(d, virq, hwirq,
hwirq             503 drivers/irqchip/irq-mips-gic.c 		err = irq_domain_set_hwirq_and_chip(d, virq, hwirq,
hwirq             531 drivers/irqchip/irq-mips-gic.c 	irq_hw_number_t hwirq;
hwirq             534 drivers/irqchip/irq-mips-gic.c 		hwirq = GIC_SHARED_TO_HWIRQ(fwspec->param[1]);
hwirq             536 drivers/irqchip/irq-mips-gic.c 		hwirq = GIC_LOCAL_TO_HWIRQ(fwspec->param[1]);
hwirq             538 drivers/irqchip/irq-mips-gic.c 	return gic_irq_domain_map(d, virq, hwirq);
hwirq             572 drivers/irqchip/irq-mips-gic.c 	irq_hw_number_t hwirq, base_hwirq;
hwirq             589 drivers/irqchip/irq-mips-gic.c 		hwirq = GIC_SHARED_TO_HWIRQ(base_hwirq + i);
hwirq             591 drivers/irqchip/irq-mips-gic.c 		ret = irq_domain_set_hwirq_and_chip(d, virq + i, hwirq,
hwirq             597 drivers/irqchip/irq-mips-gic.c 		ret = irq_domain_set_hwirq_and_chip(d->parent, virq + i, hwirq,
hwirq             607 drivers/irqchip/irq-mips-gic.c 		ret = gic_shared_irq_domain_map(d, virq + i, hwirq, cpu);
hwirq              71 drivers/irqchip/irq-mmp.c 	int hwirq;
hwirq              74 drivers/irqchip/irq-mmp.c 	hwirq = d->irq - data->virq_base;
hwirq              76 drivers/irqchip/irq-mmp.c 		r = readl_relaxed(mmp_icu_base + (hwirq << 2));
hwirq              79 drivers/irqchip/irq-mmp.c 		writel_relaxed(r, mmp_icu_base + (hwirq << 2));
hwirq              83 drivers/irqchip/irq-mmp.c 			&& (hwirq == data->clr_mfp_hwirq))
hwirq              86 drivers/irqchip/irq-mmp.c 		r = readl_relaxed(data->reg_mask) | (1 << hwirq);
hwirq              95 drivers/irqchip/irq-mmp.c 	int hwirq;
hwirq              98 drivers/irqchip/irq-mmp.c 	hwirq = d->irq - data->virq_base;
hwirq             100 drivers/irqchip/irq-mmp.c 		r = readl_relaxed(mmp_icu_base + (hwirq << 2));
hwirq             103 drivers/irqchip/irq-mmp.c 		writel_relaxed(r, mmp_icu_base + (hwirq << 2));
hwirq             110 drivers/irqchip/irq-mmp.c 			r = readl_relaxed(mmp_icu2_base + (hwirq << 2));
hwirq             112 drivers/irqchip/irq-mmp.c 			writel_relaxed(r, mmp_icu2_base + (hwirq << 2));
hwirq             115 drivers/irqchip/irq-mmp.c 		r = readl_relaxed(data->reg_mask) | (1 << hwirq);
hwirq             124 drivers/irqchip/irq-mmp.c 	int hwirq;
hwirq             127 drivers/irqchip/irq-mmp.c 	hwirq = d->irq - data->virq_base;
hwirq             129 drivers/irqchip/irq-mmp.c 		r = readl_relaxed(mmp_icu_base + (hwirq << 2));
hwirq             132 drivers/irqchip/irq-mmp.c 		writel_relaxed(r, mmp_icu_base + (hwirq << 2));
hwirq             134 drivers/irqchip/irq-mmp.c 		r = readl_relaxed(data->reg_mask) & ~(1 << hwirq);
hwirq             227 drivers/irqchip/irq-mmp.c 	int hwirq;
hwirq             229 drivers/irqchip/irq-mmp.c 	hwirq = readl_relaxed(mmp_icu_base + PJ1_INT_SEL);
hwirq             230 drivers/irqchip/irq-mmp.c 	if (!(hwirq & SEL_INT_PENDING))
hwirq             232 drivers/irqchip/irq-mmp.c 	hwirq &= SEL_INT_NUM_MASK;
hwirq             233 drivers/irqchip/irq-mmp.c 	handle_domain_irq(icu_data[0].domain, hwirq, regs);
hwirq             238 drivers/irqchip/irq-mmp.c 	int hwirq;
hwirq             240 drivers/irqchip/irq-mmp.c 	hwirq = readl_relaxed(mmp_icu_base + PJ4_INT_SEL);
hwirq             241 drivers/irqchip/irq-mmp.c 	if (!(hwirq & SEL_INT_PENDING))
hwirq             243 drivers/irqchip/irq-mmp.c 	hwirq &= SEL_INT_NUM_MASK;
hwirq             244 drivers/irqchip/irq-mmp.c 	handle_domain_irq(icu_data[0].domain, hwirq, regs);
hwirq              52 drivers/irqchip/irq-mscc-ocelot.c 		u32 hwirq = __fls(reg);
hwirq              54 drivers/irqchip/irq-mscc-ocelot.c 		generic_handle_irq(irq_find_mapping(d, hwirq));
hwirq              55 drivers/irqchip/irq-mscc-ocelot.c 		reg &= ~(BIT(hwirq));
hwirq              43 drivers/irqchip/irq-mtk-cirq.c 	unsigned int cirq_num = data->hwirq;
hwirq             105 drivers/irqchip/irq-mtk-cirq.c 				     unsigned long *hwirq,
hwirq             121 drivers/irqchip/irq-mtk-cirq.c 		*hwirq = fwspec->param[1] - cirq_data->ext_irq_start;
hwirq             133 drivers/irqchip/irq-mtk-cirq.c 	irq_hw_number_t hwirq;
hwirq             138 drivers/irqchip/irq-mtk-cirq.c 	ret = mtk_cirq_domain_translate(domain, fwspec, &hwirq, &type);
hwirq             145 drivers/irqchip/irq-mtk-cirq.c 	irq_domain_set_hwirq_and_chip(domain, virq, hwirq,
hwirq              28 drivers/irqchip/irq-mtk-sysirq.c 	irq_hw_number_t hwirq = data->hwirq;
hwirq              30 drivers/irqchip/irq-mtk-sysirq.c 	u8 intpol_idx = chip_data->intpol_idx[hwirq];
hwirq              37 drivers/irqchip/irq-mtk-sysirq.c 	reg_index = chip_data->which_word[hwirq];
hwirq              38 drivers/irqchip/irq-mtk-sysirq.c 	offset = hwirq & 0x1f;
hwirq              72 drivers/irqchip/irq-mtk-sysirq.c 				       unsigned long *hwirq,
hwirq              83 drivers/irqchip/irq-mtk-sysirq.c 		*hwirq = fwspec->param[1];
hwirq              95 drivers/irqchip/irq-mtk-sysirq.c 	irq_hw_number_t hwirq;
hwirq             106 drivers/irqchip/irq-mtk-sysirq.c 	hwirq = fwspec->param[1];
hwirq             108 drivers/irqchip/irq-mtk-sysirq.c 		irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i,
hwirq              62 drivers/irqchip/irq-mvebu-gicp.c 	msg[0].data = data->hwirq;
hwirq              65 drivers/irqchip/irq-mvebu-gicp.c 	msg[1].data = data->hwirq;
hwirq              85 drivers/irqchip/irq-mvebu-gicp.c 	unsigned int hwirq;
hwirq              89 drivers/irqchip/irq-mvebu-gicp.c 	hwirq = find_first_zero_bit(gicp->spi_bitmap, gicp->spi_cnt);
hwirq              90 drivers/irqchip/irq-mvebu-gicp.c 	if (hwirq == gicp->spi_cnt) {
hwirq              94 drivers/irqchip/irq-mvebu-gicp.c 	__set_bit(hwirq, gicp->spi_bitmap);
hwirq             100 drivers/irqchip/irq-mvebu-gicp.c 	fwspec.param[1] = gicp_idx_to_spi(gicp, hwirq) - 32;
hwirq             113 drivers/irqchip/irq-mvebu-gicp.c 	ret = irq_domain_set_hwirq_and_chip(domain, virq, hwirq,
hwirq             124 drivers/irqchip/irq-mvebu-gicp.c 	__clear_bit(hwirq, gicp->spi_bitmap);
hwirq             135 drivers/irqchip/irq-mvebu-gicp.c 	if (d->hwirq >= gicp->spi_cnt) {
hwirq             136 drivers/irqchip/irq-mvebu-gicp.c 		dev_err(gicp->dev, "Invalid hwirq %lu\n", d->hwirq);
hwirq             143 drivers/irqchip/irq-mvebu-gicp.c 	__clear_bit(d->hwirq, gicp->spi_bitmap);
hwirq             113 drivers/irqchip/irq-mvebu-icu.c 	writel_relaxed(icu_int, icu->base + ICU_INT_CFG(d->hwirq));
hwirq             124 drivers/irqchip/irq-mvebu-icu.c 	if (d->hwirq == ICU_SATA0_ICU_ID || d->hwirq == ICU_SATA1_ICU_ID) {
hwirq             152 drivers/irqchip/irq-mvebu-icu.c 			       unsigned long *hwirq, unsigned int *type)
hwirq             166 drivers/irqchip/irq-mvebu-icu.c 		*hwirq = fwspec->param[1];
hwirq             174 drivers/irqchip/irq-mvebu-icu.c 		*hwirq = fwspec->param[0];
hwirq             187 drivers/irqchip/irq-mvebu-icu.c 	if (*hwirq >= ICU_MAX_IRQS) {
hwirq             188 drivers/irqchip/irq-mvebu-icu.c 		dev_err(icu->dev, "invalid interrupt number %ld\n", *hwirq);
hwirq             200 drivers/irqchip/irq-mvebu-icu.c 	unsigned long hwirq;
hwirq             211 drivers/irqchip/irq-mvebu-icu.c 	err = mvebu_icu_irq_domain_translate(domain, fwspec, &hwirq,
hwirq             238 drivers/irqchip/irq-mvebu-icu.c 	err = irq_domain_set_hwirq_and_chip(domain, virq, hwirq,
hwirq              56 drivers/irqchip/irq-mvebu-odmi.c 	if (WARN_ON(d->hwirq >= odmis_count * NODMIS_PER_FRAME))
hwirq              59 drivers/irqchip/irq-mvebu-odmi.c 	odmi = &odmis[d->hwirq >> NODMIS_SHIFT];
hwirq              60 drivers/irqchip/irq-mvebu-odmi.c 	odmin = d->hwirq & NODMIS_MASK;
hwirq              84 drivers/irqchip/irq-mvebu-odmi.c 	unsigned int hwirq, odmin;
hwirq              88 drivers/irqchip/irq-mvebu-odmi.c 	hwirq = find_first_zero_bit(odmis_bm, NODMIS_PER_FRAME * odmis_count);
hwirq              89 drivers/irqchip/irq-mvebu-odmi.c 	if (hwirq >= NODMIS_PER_FRAME * odmis_count) {
hwirq              94 drivers/irqchip/irq-mvebu-odmi.c 	__set_bit(hwirq, odmis_bm);
hwirq              97 drivers/irqchip/irq-mvebu-odmi.c 	odmi = &odmis[hwirq >> NODMIS_SHIFT];
hwirq              98 drivers/irqchip/irq-mvebu-odmi.c 	odmin = hwirq & NODMIS_MASK;
hwirq             119 drivers/irqchip/irq-mvebu-odmi.c 	irq_domain_set_hwirq_and_chip(domain, virq, hwirq,
hwirq             130 drivers/irqchip/irq-mvebu-odmi.c 	if (d->hwirq >= odmis_count * NODMIS_PER_FRAME) {
hwirq             131 drivers/irqchip/irq-mvebu-odmi.c 		pr_err("Failed to teardown msi. Invalid hwirq %lu\n", d->hwirq);
hwirq             139 drivers/irqchip/irq-mvebu-odmi.c 	__clear_bit(d->hwirq, odmis_bm);
hwirq              46 drivers/irqchip/irq-mvebu-pic.c 	writel(1 << d->hwirq, pic->base + PIC_CAUSE);
hwirq              55 drivers/irqchip/irq-mvebu-pic.c 	reg |= (1 << d->hwirq);
hwirq              65 drivers/irqchip/irq-mvebu-pic.c 	reg &= ~(1 << d->hwirq);
hwirq              70 drivers/irqchip/irq-mvebu-pic.c 			     irq_hw_number_t hwirq)
hwirq              59 drivers/irqchip/irq-mvebu-sei.c 	u32 reg_idx = SEI_IRQ_REG_IDX(d->hwirq);
hwirq              61 drivers/irqchip/irq-mvebu-sei.c 	writel_relaxed(BIT(SEI_IRQ_REG_BIT(d->hwirq)),
hwirq              68 drivers/irqchip/irq-mvebu-sei.c 	u32 reg, reg_idx = SEI_IRQ_REG_IDX(d->hwirq);
hwirq              74 drivers/irqchip/irq-mvebu-sei.c 	reg |= BIT(SEI_IRQ_REG_BIT(d->hwirq));
hwirq              82 drivers/irqchip/irq-mvebu-sei.c 	u32 reg, reg_idx = SEI_IRQ_REG_IDX(d->hwirq);
hwirq              88 drivers/irqchip/irq-mvebu-sei.c 	reg &= ~BIT(SEI_IRQ_REG_BIT(d->hwirq));
hwirq             144 drivers/irqchip/irq-mvebu-sei.c 	msg->data = data->hwirq + sei->caps->cp_range.first;
hwirq             199 drivers/irqchip/irq-mvebu-sei.c 				  unsigned long *hwirq,
hwirq             202 drivers/irqchip/irq-mvebu-sei.c 	*hwirq = fwspec->param[0];
hwirq             213 drivers/irqchip/irq-mvebu-sei.c 	unsigned long hwirq;
hwirq             217 drivers/irqchip/irq-mvebu-sei.c 	mvebu_sei_ap_translate(domain, arg, &hwirq, &type);
hwirq             221 drivers/irqchip/irq-mvebu-sei.c 	fwspec.param[0] = hwirq + sei->caps->ap_range.first;
hwirq             227 drivers/irqchip/irq-mvebu-sei.c 	irq_domain_set_info(domain, virq, hwirq,
hwirq             241 drivers/irqchip/irq-mvebu-sei.c static void mvebu_sei_cp_release_irq(struct mvebu_sei *sei, unsigned long hwirq)
hwirq             244 drivers/irqchip/irq-mvebu-sei.c 	clear_bit(hwirq, sei->cp_msi_bitmap);
hwirq             254 drivers/irqchip/irq-mvebu-sei.c 	unsigned long hwirq;
hwirq             262 drivers/irqchip/irq-mvebu-sei.c 	hwirq = find_first_zero_bit(sei->cp_msi_bitmap,
hwirq             264 drivers/irqchip/irq-mvebu-sei.c 	if (hwirq < sei->caps->cp_range.size)
hwirq             265 drivers/irqchip/irq-mvebu-sei.c 		set_bit(hwirq, sei->cp_msi_bitmap);
hwirq             268 drivers/irqchip/irq-mvebu-sei.c 	if (hwirq == sei->caps->cp_range.size)
hwirq             273 drivers/irqchip/irq-mvebu-sei.c 	fwspec.param[0] = hwirq + sei->caps->cp_range.first;
hwirq             279 drivers/irqchip/irq-mvebu-sei.c 	irq_domain_set_info(domain, virq, hwirq,
hwirq             286 drivers/irqchip/irq-mvebu-sei.c 	mvebu_sei_cp_release_irq(sei, hwirq);
hwirq             296 drivers/irqchip/irq-mvebu-sei.c 	if (nr_irqs != 1 || d->hwirq >= sei->caps->cp_range.size) {
hwirq             297 drivers/irqchip/irq-mvebu-sei.c 		dev_err(sei->dev, "Invalid hwirq %lu\n", d->hwirq);
hwirq             301 drivers/irqchip/irq-mvebu-sei.c 	mvebu_sei_cp_release_irq(sei, d->hwirq);
hwirq             339 drivers/irqchip/irq-mvebu-sei.c 			unsigned long hwirq;
hwirq             342 drivers/irqchip/irq-mvebu-sei.c 			hwirq = idx * SEI_IRQ_COUNT_PER_REG + bit;
hwirq             343 drivers/irqchip/irq-mvebu-sei.c 			virq = irq_find_mapping(sei->sei_domain, hwirq);
hwirq             350 drivers/irqchip/irq-mvebu-sei.c 				 "Spurious IRQ detected (hwirq %lu)\n", hwirq);
hwirq              68 drivers/irqchip/irq-mxs.c 	return bit << ((d->hwirq & 3) << 3);
hwirq              75 drivers/irqchip/irq-mxs.c 	return icoll_priv.intr + ((d->hwirq >> 2) * 0x10);
hwirq              92 drivers/irqchip/irq-mxs.c 			icoll_priv.intr + CLR_REG + HW_ICOLL_INTERRUPTn(d->hwirq));
hwirq              98 drivers/irqchip/irq-mxs.c 			icoll_priv.intr + SET_REG + HW_ICOLL_INTERRUPTn(d->hwirq));
hwirq             109 drivers/irqchip/irq-mxs.c 	__raw_writel(ASM9260_BM_CLEAR_BIT(d->hwirq),
hwirq             111 drivers/irqchip/irq-mxs.c 		     ASM9260_HW_ICOLL_CLEARn(d->hwirq));
hwirq              41 drivers/irqchip/irq-nvic.c nvic_handle_irq(irq_hw_number_t hwirq, struct pt_regs *regs)
hwirq              43 drivers/irqchip/irq-nvic.c 	unsigned int irq = irq_linear_revmap(nvic_irq_domain, hwirq);
hwirq              50 drivers/irqchip/irq-nvic.c 				     unsigned long *hwirq, unsigned int *type)
hwirq              54 drivers/irqchip/irq-nvic.c 	*hwirq = fwspec->param[0];
hwirq              63 drivers/irqchip/irq-nvic.c 	irq_hw_number_t hwirq;
hwirq              67 drivers/irqchip/irq-nvic.c 	ret = nvic_irq_domain_translate(domain, fwspec, &hwirq, &type);
hwirq              72 drivers/irqchip/irq-nvic.c 		irq_map_generic_chip(domain, virq + i, hwirq + i);
hwirq              28 drivers/irqchip/irq-or1k-pic.c 	mtspr(SPR_PICMR, mfspr(SPR_PICMR) & ~(1UL << data->hwirq));
hwirq              33 drivers/irqchip/irq-or1k-pic.c 	mtspr(SPR_PICMR, mfspr(SPR_PICMR) | (1UL << data->hwirq));
hwirq              38 drivers/irqchip/irq-or1k-pic.c 	mtspr(SPR_PICSR, (1UL << data->hwirq));
hwirq              43 drivers/irqchip/irq-or1k-pic.c 	mtspr(SPR_PICMR, mfspr(SPR_PICMR) & ~(1UL << data->hwirq));
hwirq              44 drivers/irqchip/irq-or1k-pic.c 	mtspr(SPR_PICSR, (1UL << data->hwirq));
hwirq              55 drivers/irqchip/irq-or1k-pic.c 	mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->hwirq));
hwirq              60 drivers/irqchip/irq-or1k-pic.c 	mtspr(SPR_PICMR, mfspr(SPR_PICMR) & ~(1UL << data->hwirq));
hwirq              61 drivers/irqchip/irq-or1k-pic.c 	mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->hwirq));
hwirq             103 drivers/irqchip/irq-or1k-pic.c 	int hwirq;
hwirq             105 drivers/irqchip/irq-or1k-pic.c 	hwirq = ffs(mfspr(SPR_PICSR) >> first);
hwirq             106 drivers/irqchip/irq-or1k-pic.c 	if (!hwirq)
hwirq             109 drivers/irqchip/irq-or1k-pic.c 		hwirq = hwirq + first - 1;
hwirq             111 drivers/irqchip/irq-or1k-pic.c 	return hwirq;
hwirq              44 drivers/irqchip/irq-orion.c 			u32 hwirq = __fls(stat);
hwirq              46 drivers/irqchip/irq-orion.c 					  gc->irq_base + hwirq, regs);
hwirq              47 drivers/irqchip/irq-orion.c 			stat &= ~(1 << hwirq);
hwirq             118 drivers/irqchip/irq-orion.c 		u32 hwirq = __fls(stat);
hwirq             120 drivers/irqchip/irq-orion.c 		generic_handle_irq(irq_find_mapping(d, gc->irq_base + hwirq));
hwirq             121 drivers/irqchip/irq-orion.c 		stat &= ~(1 << hwirq);
hwirq              26 drivers/irqchip/irq-partition-percpu.c 				unsigned int cpu, unsigned int hwirq)
hwirq              28 drivers/irqchip/irq-partition-percpu.c 	return cpumask_test_cpu(cpu, &part->parts[hwirq].mask);
hwirq              37 drivers/irqchip/irq-partition-percpu.c 	if (partition_check_cpu(part, smp_processor_id(), d->hwirq) &&
hwirq              48 drivers/irqchip/irq-partition-percpu.c 	if (partition_check_cpu(part, smp_processor_id(), d->hwirq) &&
hwirq              61 drivers/irqchip/irq-partition-percpu.c 	if (partition_check_cpu(part, smp_processor_id(), d->hwirq) &&
hwirq              76 drivers/irqchip/irq-partition-percpu.c 	if (partition_check_cpu(part, smp_processor_id(), d->hwirq) &&
hwirq             101 drivers/irqchip/irq-partition-percpu.c 	seq_printf(p, " %5s-%lu", chip->name, data->hwirq);
hwirq             118 drivers/irqchip/irq-partition-percpu.c 	int hwirq;
hwirq             122 drivers/irqchip/irq-partition-percpu.c 	for_each_set_bit(hwirq, part->bitmap, part->nr_parts) {
hwirq             123 drivers/irqchip/irq-partition-percpu.c 		if (partition_check_cpu(part, cpu, hwirq))
hwirq             127 drivers/irqchip/irq-partition-percpu.c 	if (unlikely(hwirq == part->nr_parts)) {
hwirq             131 drivers/irqchip/irq-partition-percpu.c 		irq = irq_find_mapping(part->domain, hwirq);
hwirq             142 drivers/irqchip/irq-partition-percpu.c 	irq_hw_number_t hwirq;
hwirq             148 drivers/irqchip/irq-partition-percpu.c 	ret = domain->ops->translate(domain, fwspec, &hwirq, &type);
hwirq             154 drivers/irqchip/irq-partition-percpu.c 	set_bit(hwirq, part->bitmap);
hwirq             157 drivers/irqchip/irq-partition-percpu.c 	irq_set_percpu_devid_partition(virq, &part->parts[hwirq].mask);
hwirq             158 drivers/irqchip/irq-partition-percpu.c 	irq_domain_set_info(domain, virq, hwirq, &partition_irq_chip, part,
hwirq              45 drivers/irqchip/irq-pic32-evic.c 	unsigned int irq, hwirq;
hwirq              47 drivers/irqchip/irq-pic32-evic.c 	hwirq = readl(evic_base + REG_INTSTAT) & 0xFF;
hwirq              48 drivers/irqchip/irq-pic32-evic.c 	irq = irq_linear_revmap(evic_irq_domain, hwirq);
hwirq              89 drivers/irqchip/irq-pic32-evic.c 		if (priv->ext_irqs[i] == data->hwirq) {
hwirq             196 drivers/irqchip/irq-pic32-evic.c 	u32 hwirq;
hwirq             200 drivers/irqchip/irq-pic32-evic.c 	of_property_for_each_u32(node, pname, prop, p, hwirq) {
hwirq             207 drivers/irqchip/irq-pic32-evic.c 		priv->ext_irqs[i] = hwirq;
hwirq              32 drivers/irqchip/irq-rda-intc.c 	writel_relaxed(BIT(d->hwirq), rda_intc_base + RDA_INTC_MASK_CLR);
hwirq              37 drivers/irqchip/irq-rda-intc.c 	writel_relaxed(BIT(d->hwirq), rda_intc_base + RDA_INTC_MASK_SET);
hwirq              52 drivers/irqchip/irq-rda-intc.c 	u32 hwirq;
hwirq              55 drivers/irqchip/irq-rda-intc.c 		hwirq = __fls(stat);
hwirq              56 drivers/irqchip/irq-rda-intc.c 		handle_domain_irq(rda_irq_domain, hwirq, regs);
hwirq              57 drivers/irqchip/irq-rda-intc.c 		stat &= ~BIT(hwirq);
hwirq             107 drivers/irqchip/irq-renesas-rza1.c 	unsigned int hwirq = fwspec->param[0];
hwirq             112 drivers/irqchip/irq-renesas-rza1.c 	ret = irq_domain_set_hwirq_and_chip(domain, virq, hwirq, &priv->chip,
hwirq             118 drivers/irqchip/irq-renesas-rza1.c 	spec.param_count = priv->map[hwirq].args_count;
hwirq             120 drivers/irqchip/irq-renesas-rza1.c 		spec.param[i] = priv->map[hwirq].args[i];
hwirq             126 drivers/irqchip/irq-renesas-rza1.c 			       struct irq_fwspec *fwspec, unsigned long *hwirq,
hwirq             132 drivers/irqchip/irq-renesas-rza1.c 	*hwirq = fwspec->param[0];
hwirq             215 drivers/irqchip/irq-s3c24xx.c 	if ((data->hwirq >= 4) && (data->hwirq <= 7)) {
hwirq             218 drivers/irqchip/irq-s3c24xx.c 		gpcon_offset = (data->hwirq) * 2;
hwirq             219 drivers/irqchip/irq-s3c24xx.c 		extint_offset = (data->hwirq) * 4;
hwirq             220 drivers/irqchip/irq-s3c24xx.c 	} else if ((data->hwirq >= 8) && (data->hwirq <= 15)) {
hwirq             223 drivers/irqchip/irq-s3c24xx.c 		gpcon_offset = (data->hwirq - 8) * 2;
hwirq             224 drivers/irqchip/irq-s3c24xx.c 		extint_offset = (data->hwirq - 8) * 4;
hwirq             225 drivers/irqchip/irq-s3c24xx.c 	} else if ((data->hwirq >= 16) && (data->hwirq <= 23)) {
hwirq             228 drivers/irqchip/irq-s3c24xx.c 		gpcon_offset = (data->hwirq - 8) * 2;
hwirq             229 drivers/irqchip/irq-s3c24xx.c 		extint_offset = (data->hwirq - 16) * 4;
hwirq             244 drivers/irqchip/irq-s3c24xx.c 	if (data->hwirq <= 3) {
hwirq             247 drivers/irqchip/irq-s3c24xx.c 		gpcon_offset = (data->hwirq) * 2;
hwirq             248 drivers/irqchip/irq-s3c24xx.c 		extint_offset = (data->hwirq) * 4;
hwirq              39 drivers/irqchip/irq-sa11x0.c 	reg &= ~BIT(d->hwirq);
hwirq              48 drivers/irqchip/irq-sa11x0.c 	reg |= BIT(d->hwirq);
hwirq              54 drivers/irqchip/irq-sa11x0.c 	return sa11x0_sc_set_wake(d->hwirq, on);
hwirq              66 drivers/irqchip/irq-sa11x0.c 		unsigned int irq, irq_hw_number_t hwirq)
hwirq              73 drivers/irqchip/irq-sifive-plic.c 				int hwirq, int enable)
hwirq              75 drivers/irqchip/irq-sifive-plic.c 	u32 __iomem *reg = handler->enable_base + (hwirq / 32) * sizeof(u32);
hwirq              76 drivers/irqchip/irq-sifive-plic.c 	u32 hwirq_mask = 1 << (hwirq % 32);
hwirq              87 drivers/irqchip/irq-sifive-plic.c 				   int hwirq, int enable)
hwirq              91 drivers/irqchip/irq-sifive-plic.c 	writel(enable, plic_regs + PRIORITY_BASE + hwirq * PRIORITY_PER_ID);
hwirq              96 drivers/irqchip/irq-sifive-plic.c 			plic_toggle(handler, hwirq, enable);
hwirq             106 drivers/irqchip/irq-sifive-plic.c 	plic_irq_toggle(cpumask_of(cpu), d->hwirq, 1);
hwirq             111 drivers/irqchip/irq-sifive-plic.c 	plic_irq_toggle(cpu_possible_mask, d->hwirq, 0);
hwirq             128 drivers/irqchip/irq-sifive-plic.c 	plic_irq_toggle(cpu_possible_mask, d->hwirq, 0);
hwirq             129 drivers/irqchip/irq-sifive-plic.c 	plic_irq_toggle(cpumask_of(cpu), d->hwirq, 1);
hwirq             141 drivers/irqchip/irq-sifive-plic.c 	writel(d->hwirq, handler->hart_base + CONTEXT_CLAIM);
hwirq             155 drivers/irqchip/irq-sifive-plic.c 			      irq_hw_number_t hwirq)
hwirq             180 drivers/irqchip/irq-sifive-plic.c 	irq_hw_number_t hwirq;
hwirq             185 drivers/irqchip/irq-sifive-plic.c 	while ((hwirq = readl(claim))) {
hwirq             186 drivers/irqchip/irq-sifive-plic.c 		int irq = irq_find_mapping(plic_irqdomain, hwirq);
hwirq             190 drivers/irqchip/irq-sifive-plic.c 					hwirq);
hwirq             246 drivers/irqchip/irq-sifive-plic.c 		irq_hw_number_t hwirq;
hwirq             293 drivers/irqchip/irq-sifive-plic.c 		for (hwirq = 1; hwirq <= nr_irqs; hwirq++)
hwirq             294 drivers/irqchip/irq-sifive-plic.c 			plic_toggle(handler, hwirq, 0);
hwirq              44 drivers/irqchip/irq-sni-exiu.c 	writel(BIT(d->hwirq), data->base + EIREQCLR);
hwirq              53 drivers/irqchip/irq-sni-exiu.c 	val = readl_relaxed(data->base + EIMASK) | BIT(d->hwirq);
hwirq              63 drivers/irqchip/irq-sni-exiu.c 	val = readl_relaxed(data->base + EIMASK) & ~BIT(d->hwirq);
hwirq              74 drivers/irqchip/irq-sni-exiu.c 	writel_relaxed(BIT(d->hwirq), data->base + EIREQCLR);
hwirq              76 drivers/irqchip/irq-sni-exiu.c 	val = readl_relaxed(data->base + EIMASK) & ~BIT(d->hwirq);
hwirq              88 drivers/irqchip/irq-sni-exiu.c 		val |= BIT(d->hwirq);
hwirq              90 drivers/irqchip/irq-sni-exiu.c 		val &= ~BIT(d->hwirq);
hwirq              95 drivers/irqchip/irq-sni-exiu.c 		val &= ~BIT(d->hwirq);
hwirq              97 drivers/irqchip/irq-sni-exiu.c 		val |= BIT(d->hwirq);
hwirq             100 drivers/irqchip/irq-sni-exiu.c 	writel_relaxed(BIT(d->hwirq), data->base + EIREQCLR);
hwirq             121 drivers/irqchip/irq-sni-exiu.c 				 unsigned long *hwirq,
hwirq             133 drivers/irqchip/irq-sni-exiu.c 		*hwirq = fwspec->param[1] - info->spi_base;
hwirq             138 drivers/irqchip/irq-sni-exiu.c 		*hwirq = fwspec->param[0];
hwirq             150 drivers/irqchip/irq-sni-exiu.c 	irq_hw_number_t hwirq;
hwirq             159 drivers/irqchip/irq-sni-exiu.c 		hwirq = fwspec->param[1] - info->spi_base;
hwirq             161 drivers/irqchip/irq-sni-exiu.c 		hwirq = fwspec->param[0];
hwirq             162 drivers/irqchip/irq-sni-exiu.c 		parent_fwspec.param[0] = hwirq + info->spi_base + 32;
hwirq             165 drivers/irqchip/irq-sni-exiu.c 	irq_domain_set_hwirq_and_chip(dom, virq, hwirq, &exiu_irq_chip, info);
hwirq             200 drivers/irqchip/irq-stm32-exti.c 			     irq_hw_number_t hwirq)
hwirq             210 drivers/irqchip/irq-stm32-exti.c 		if (desc_irq->exti == hwirq)
hwirq             258 drivers/irqchip/irq-stm32-exti.c 	u32 mask = BIT(d->hwirq % IRQS_PER_BANK);
hwirq             396 drivers/irqchip/irq-stm32-exti.c 	irq_hw_number_t hwirq;
hwirq             398 drivers/irqchip/irq-stm32-exti.c 	hwirq = fwspec->param[0];
hwirq             400 drivers/irqchip/irq-stm32-exti.c 	irq_map_generic_chip(d, virq, hwirq);
hwirq             441 drivers/irqchip/irq-stm32-exti.c 	val |= BIT(d->hwirq % IRQS_PER_BANK);
hwirq             454 drivers/irqchip/irq-stm32-exti.c 	val &= ~BIT(d->hwirq % IRQS_PER_BANK);
hwirq             538 drivers/irqchip/irq-stm32-exti.c 	u32 mask = BIT(d->hwirq % IRQS_PER_BANK);
hwirq             627 drivers/irqchip/irq-stm32-exti.c 	irq_hw_number_t hwirq;
hwirq             630 drivers/irqchip/irq-stm32-exti.c 	hwirq = fwspec->param[0];
hwirq             631 drivers/irqchip/irq-stm32-exti.c 	bank  = hwirq / IRQS_PER_BANK;
hwirq             634 drivers/irqchip/irq-stm32-exti.c 	irq_domain_set_hwirq_and_chip(dm, virq, hwirq,
hwirq             637 drivers/irqchip/irq-stm32-exti.c 	p_irq = stm32_exti_to_irq(host_data->drv_data, hwirq);
hwirq             183 drivers/irqchip/irq-sun4i.c 	u32 hwirq;
hwirq             195 drivers/irqchip/irq-sun4i.c 	hwirq = readl(irq_ic_data->irq_base + SUN4I_IRQ_VECTOR_REG) >> 2;
hwirq             196 drivers/irqchip/irq-sun4i.c 	if (hwirq == 0 &&
hwirq             202 drivers/irqchip/irq-sun4i.c 		handle_domain_irq(irq_ic_data->irq_domain, hwirq, regs);
hwirq             203 drivers/irqchip/irq-sun4i.c 		hwirq = readl(irq_ic_data->irq_base +
hwirq             205 drivers/irqchip/irq-sun4i.c 	} while (hwirq != 0);
hwirq              58 drivers/irqchip/irq-tango.c 	unsigned int hwirq;
hwirq              62 drivers/irqchip/irq-tango.c 		hwirq = __ffs(status);
hwirq              63 drivers/irqchip/irq-tango.c 		virq = irq_find_mapping(dom, base + hwirq);
hwirq              66 drivers/irqchip/irq-tango.c 		status &= ~BIT(hwirq);
hwirq              87 drivers/irqchip/irq-tegra.c 	mask = BIT(d->hwirq % 32);
hwirq             118 drivers/irqchip/irq-tegra.c 	u32 irq = d->hwirq;
hwirq             217 drivers/irqchip/irq-tegra.c 					unsigned long *hwirq,
hwirq             228 drivers/irqchip/irq-tegra.c 		*hwirq = fwspec->param[1];
hwirq             243 drivers/irqchip/irq-tegra.c 	irq_hw_number_t hwirq;
hwirq             251 drivers/irqchip/irq-tegra.c 	hwirq = fwspec->param[1];
hwirq             252 drivers/irqchip/irq-tegra.c 	if (hwirq >= (num_ictlrs * 32))
hwirq             256 drivers/irqchip/irq-tegra.c 		int ictlr = (hwirq + i) / 32;
hwirq             258 drivers/irqchip/irq-tegra.c 		irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i,
hwirq              29 drivers/irqchip/irq-ti-sci-inta.c #define HWIRQ_TO_DEVID(hwirq)	(((hwirq) >> (TI_SCI_DEV_ID_SHIFT)) & \
hwirq              31 drivers/irqchip/irq-ti-sci-inta.c #define HWIRQ_TO_IRQID(hwirq)	((hwirq) & (TI_SCI_IRQ_ID_MASK))
hwirq              53 drivers/irqchip/irq-ti-sci-inta.c 	u32 hwirq;
hwirq             123 drivers/irqchip/irq-ti-sci-inta.c 		virq = irq_find_mapping(domain, vint_desc->events[bit].hwirq);
hwirq             186 drivers/irqchip/irq-ti-sci-inta.c 							      u32 hwirq)
hwirq             193 drivers/irqchip/irq-ti-sci-inta.c 	dev_id = HWIRQ_TO_DEVID(hwirq);
hwirq             194 drivers/irqchip/irq-ti-sci-inta.c 	dev_index = HWIRQ_TO_IRQID(hwirq);
hwirq             197 drivers/irqchip/irq-ti-sci-inta.c 	event_desc->hwirq = hwirq;
hwirq             230 drivers/irqchip/irq-ti-sci-inta.c 							    u32 hwirq)
hwirq             259 drivers/irqchip/irq-ti-sci-inta.c 	event_desc = ti_sci_inta_alloc_event(vint_desc, free_bit, hwirq);
hwirq             289 drivers/irqchip/irq-ti-sci-inta.c 				 u32 hwirq)
hwirq             299 drivers/irqchip/irq-ti-sci-inta.c 						 HWIRQ_TO_DEVID(hwirq),
hwirq             300 drivers/irqchip/irq-ti-sci-inta.c 						 HWIRQ_TO_IRQID(hwirq),
hwirq             309 drivers/irqchip/irq-ti-sci-inta.c 	event_desc->hwirq = 0;
hwirq             330 drivers/irqchip/irq-ti-sci-inta.c 	event_desc = ti_sci_inta_alloc_irq(data->domain, data->hwirq);
hwirq             351 drivers/irqchip/irq-ti-sci-inta.c 	ti_sci_inta_free_irq(event_desc, data->hwirq);
hwirq             481 drivers/irqchip/irq-ti-sci-inta.c 	irq_domain_set_info(domain, virq, arg->hwirq, &ti_sci_inta_irq_chip,
hwirq             503 drivers/irqchip/irq-ti-sci-inta.c 	arg->hwirq = TO_HWIRQ(pdev->id, desc->inta.dev_index);
hwirq              24 drivers/irqchip/irq-ti-sci-intr.c #define HWIRQ_TO_DEVID(hwirq)	(((hwirq) >> (TI_SCI_DEV_ID_SHIFT)) & \
hwirq              26 drivers/irqchip/irq-ti-sci-intr.c #define HWIRQ_TO_IRQID(hwirq)	((hwirq) & (TI_SCI_IRQ_ID_MASK))
hwirq              68 drivers/irqchip/irq-ti-sci-intr.c 					    unsigned long *hwirq,
hwirq              76 drivers/irqchip/irq-ti-sci-intr.c 	*hwirq = TO_HWIRQ(fwspec->param[0], fwspec->param[1]);
hwirq              97 drivers/irqchip/irq-ti-sci-intr.c 	irq_index = HWIRQ_TO_IRQID(data->hwirq);
hwirq              98 drivers/irqchip/irq-ti-sci-intr.c 	dev_id = HWIRQ_TO_DEVID(data->hwirq);
hwirq             101 drivers/irqchip/irq-ti-sci-intr.c 					   intr->dst_id, parent_data->hwirq);
hwirq             102 drivers/irqchip/irq-ti-sci-intr.c 	ti_sci_release_resource(intr->dst_irq, parent_data->hwirq);
hwirq             116 drivers/irqchip/irq-ti-sci-intr.c 				     unsigned int virq, u32 hwirq)
hwirq             124 drivers/irqchip/irq-ti-sci-intr.c 	dev_id = HWIRQ_TO_DEVID(hwirq);
hwirq             125 drivers/irqchip/irq-ti-sci-intr.c 	irq_index = HWIRQ_TO_IRQID(hwirq);
hwirq             169 drivers/irqchip/irq-ti-sci-intr.c 	unsigned long hwirq;
hwirq             173 drivers/irqchip/irq-ti-sci-intr.c 	err = ti_sci_intr_irq_domain_translate(domain, fwspec, &hwirq, &flags);
hwirq             177 drivers/irqchip/irq-ti-sci-intr.c 	err = ti_sci_intr_alloc_gic_irq(domain, virq, hwirq);
hwirq             181 drivers/irqchip/irq-ti-sci-intr.c 	irq_domain_set_hwirq_and_chip(domain, virq, hwirq,
hwirq              36 drivers/irqchip/irq-ts4800.c 	u16 mask = 1 << d->hwirq;
hwirq              45 drivers/irqchip/irq-ts4800.c 	u16 mask = 1 << d->hwirq;
hwirq              51 drivers/irqchip/irq-ts4800.c 				irq_hw_number_t hwirq)
hwirq              80 drivers/irqchip/irq-uniphier-aidet.c 	uniphier_aidet_detconf_update(priv, data->hwirq, val);
hwirq             113 drivers/irqchip/irq-uniphier-aidet.c 	irq_hw_number_t hwirq;
hwirq             120 drivers/irqchip/irq-uniphier-aidet.c 	ret = uniphier_aidet_domain_translate(domain, arg, &hwirq, &type);
hwirq             138 drivers/irqchip/irq-uniphier-aidet.c 	if (hwirq >= UNIPHIER_AIDET_NR_IRQS)
hwirq             141 drivers/irqchip/irq-uniphier-aidet.c 	ret = irq_domain_set_hwirq_and_chip(domain, virq, hwirq,
hwirq             151 drivers/irqchip/irq-uniphier-aidet.c 	parent_fwspec.param[1] = hwirq;
hwirq              57 drivers/irqchip/irq-versatile-fpga.c 	u32 mask = 1 << d->hwirq;
hwirq              65 drivers/irqchip/irq-versatile-fpga.c 	u32 mask = 1 << d->hwirq;
hwirq             130 drivers/irqchip/irq-versatile-fpga.c 		irq_hw_number_t hwirq)
hwirq             135 drivers/irqchip/irq-versatile-fpga.c 	if (!(f->valid & BIT(hwirq)))
hwirq              88 drivers/irqchip/irq-vf610-mscm-ir.c 	irq_hw_number_t hwirq = data->hwirq;
hwirq              92 drivers/irqchip/irq-vf610-mscm-ir.c 	irsprc = readw_relaxed(chip_data->mscm_ir_base + MSCM_IRSPRC(hwirq));
hwirq              98 drivers/irqchip/irq-vf610-mscm-ir.c 		       chip_data->mscm_ir_base + MSCM_IRSPRC(hwirq));
hwirq             105 drivers/irqchip/irq-vf610-mscm-ir.c 	irq_hw_number_t hwirq = data->hwirq;
hwirq             108 drivers/irqchip/irq-vf610-mscm-ir.c 	writew_relaxed(0x0, chip_data->mscm_ir_base + MSCM_IRSPRC(hwirq));
hwirq             128 drivers/irqchip/irq-vf610-mscm-ir.c 	irq_hw_number_t hwirq;
hwirq             138 drivers/irqchip/irq-vf610-mscm-ir.c 	hwirq = fwspec->param[0];
hwirq             140 drivers/irqchip/irq-vf610-mscm-ir.c 		irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i,
hwirq             162 drivers/irqchip/irq-vf610-mscm-ir.c 					  unsigned long *hwirq,
hwirq             167 drivers/irqchip/irq-vf610-mscm-ir.c 	*hwirq = fwspec->param[0];
hwirq             182 drivers/irqchip/irq-vic.c 			     irq_hw_number_t hwirq)
hwirq             187 drivers/irqchip/irq-vic.c 	if (!(v->valid_sources & (1 << hwirq)))
hwirq             217 drivers/irqchip/irq-vic.c 	u32 stat, hwirq;
hwirq             224 drivers/irqchip/irq-vic.c 		hwirq = ffs(stat) - 1;
hwirq             225 drivers/irqchip/irq-vic.c 		generic_handle_irq(irq_find_mapping(vic->domain, hwirq));
hwirq             306 drivers/irqchip/irq-vic.c 	unsigned int irq = d->hwirq;
hwirq             315 drivers/irqchip/irq-vic.c 	unsigned int irq = d->hwirq;
hwirq             322 drivers/irqchip/irq-vic.c 	unsigned int irq = d->hwirq;
hwirq             344 drivers/irqchip/irq-vic.c 	unsigned int off = d->hwirq;
hwirq              74 drivers/irqchip/irq-vt8500.c 	void __iomem *stat_reg = base + VT8500_ICIS + (d->hwirq < 32 ? 0 : 4);
hwirq              78 drivers/irqchip/irq-vt8500.c 	edge = readb(base + VT8500_ICDC + d->hwirq) & VT8500_EDGE;
hwirq              82 drivers/irqchip/irq-vt8500.c 		status |= (1 << (d->hwirq & 0x1f));
hwirq              85 drivers/irqchip/irq-vt8500.c 		dctr = readb(base + VT8500_ICDC + d->hwirq);
hwirq              87 drivers/irqchip/irq-vt8500.c 		writeb(dctr, base + VT8500_ICDC + d->hwirq);
hwirq              97 drivers/irqchip/irq-vt8500.c 	dctr = readb(base + VT8500_ICDC + d->hwirq);
hwirq              99 drivers/irqchip/irq-vt8500.c 	writeb(dctr, base + VT8500_ICDC + d->hwirq);
hwirq             108 drivers/irqchip/irq-vt8500.c 	dctr = readb(base + VT8500_ICDC + d->hwirq);
hwirq             127 drivers/irqchip/irq-vt8500.c 	writeb(dctr, base + VT8500_ICDC + d->hwirq);
hwirq              63 drivers/irqchip/irq-xilinx-intc.c 	unsigned long mask = 1 << d->hwirq;
hwirq              65 drivers/irqchip/irq-xilinx-intc.c 	pr_debug("irq-xilinx: enable_or_unmask: %ld\n", d->hwirq);
hwirq              79 drivers/irqchip/irq-xilinx-intc.c 	pr_debug("irq-xilinx: disable: %ld\n", d->hwirq);
hwirq              80 drivers/irqchip/irq-xilinx-intc.c 	xintc_write(CIE, 1 << d->hwirq);
hwirq              85 drivers/irqchip/irq-xilinx-intc.c 	pr_debug("irq-xilinx: ack: %ld\n", d->hwirq);
hwirq              86 drivers/irqchip/irq-xilinx-intc.c 	xintc_write(IAR, 1 << d->hwirq);
hwirq              91 drivers/irqchip/irq-xilinx-intc.c 	unsigned long mask = 1 << d->hwirq;
hwirq              93 drivers/irqchip/irq-xilinx-intc.c 	pr_debug("irq-xilinx: disable_and_ack: %ld\n", d->hwirq);
hwirq             108 drivers/irqchip/irq-xilinx-intc.c 	unsigned int hwirq, irq = -1;
hwirq             110 drivers/irqchip/irq-xilinx-intc.c 	hwirq = xintc_read(IVR);
hwirq             111 drivers/irqchip/irq-xilinx-intc.c 	if (hwirq != -1U)
hwirq             112 drivers/irqchip/irq-xilinx-intc.c 		irq = irq_find_mapping(xintc_irqc->root_domain, hwirq);
hwirq             114 drivers/irqchip/irq-xilinx-intc.c 	pr_debug("irq-xilinx: hwirq=%d, irq=%d\n", hwirq, irq);
hwirq              71 drivers/irqchip/irq-xtensa-mx.c 	unsigned int mask = 1u << d->hwirq;
hwirq              75 drivers/irqchip/irq-xtensa-mx.c 		unsigned int ext_irq = xtensa_get_ext_irq_no(d->hwirq);
hwirq              89 drivers/irqchip/irq-xtensa-mx.c 	unsigned int mask = 1u << d->hwirq;
hwirq              93 drivers/irqchip/irq-xtensa-mx.c 		unsigned int ext_irq = xtensa_get_ext_irq_no(d->hwirq);
hwirq             117 drivers/irqchip/irq-xtensa-mx.c 	xtensa_set_sr(1 << d->hwirq, intclear);
hwirq             122 drivers/irqchip/irq-xtensa-mx.c 	unsigned int mask = 1u << d->hwirq;
hwirq             136 drivers/irqchip/irq-xtensa-mx.c 	set_er(mask, MIROUT(d->hwirq - HW_IRQ_MX_BASE));
hwirq              46 drivers/irqchip/irq-xtensa-pic.c 	cached_irq_mask &= ~(1 << d->hwirq);
hwirq              52 drivers/irqchip/irq-xtensa-pic.c 	cached_irq_mask |= 1 << d->hwirq;
hwirq              68 drivers/irqchip/irq-xtensa-pic.c 	xtensa_set_sr(1 << d->hwirq, intclear);
hwirq              73 drivers/irqchip/irq-xtensa-pic.c 	unsigned int mask = 1u << d->hwirq;
hwirq              57 drivers/irqchip/qcom-irq-combiner.c 		int hwirq;
hwirq              72 drivers/irqchip/qcom-irq-combiner.c 			hwirq = irq_nr(reg, bit);
hwirq              73 drivers/irqchip/qcom-irq-combiner.c 			virq = irq_find_mapping(combiner->domain, hwirq);
hwirq              86 drivers/irqchip/qcom-irq-combiner.c 	struct combiner_reg *reg = combiner->regs + data->hwirq / REG_SIZE;
hwirq              88 drivers/irqchip/qcom-irq-combiner.c 	clear_bit(data->hwirq % REG_SIZE, &reg->enabled);
hwirq              94 drivers/irqchip/qcom-irq-combiner.c 	struct combiner_reg *reg = combiner->regs + data->hwirq / REG_SIZE;
hwirq              96 drivers/irqchip/qcom-irq-combiner.c 	set_bit(data->hwirq % REG_SIZE, &reg->enabled);
hwirq             106 drivers/irqchip/qcom-irq-combiner.c 				   irq_hw_number_t hwirq)
hwirq             120 drivers/irqchip/qcom-irq-combiner.c 				  unsigned long *hwirq, unsigned int *type)
hwirq             131 drivers/irqchip/qcom-irq-combiner.c 		*hwirq = fws->param[0];
hwirq              52 drivers/irqchip/qcom-pdc.c 	int pin_out = d->hwirq;
hwirq             114 drivers/irqchip/qcom-pdc.c 	int pin_out = d->hwirq;
hwirq             177 drivers/irqchip/qcom-pdc.c 			      unsigned long *hwirq, unsigned int *type)
hwirq             183 drivers/irqchip/qcom-pdc.c 		*hwirq = fwspec->param[0];
hwirq             196 drivers/irqchip/qcom-pdc.c 	irq_hw_number_t hwirq, parent_hwirq;
hwirq             200 drivers/irqchip/qcom-pdc.c 	ret = qcom_pdc_translate(domain, fwspec, &hwirq, &type);
hwirq             204 drivers/irqchip/qcom-pdc.c 	parent_hwirq = get_parent_hwirq(hwirq);
hwirq             208 drivers/irqchip/qcom-pdc.c 	ret  = irq_domain_set_hwirq_and_chip(domain, virq, hwirq,
hwirq             221 drivers/irqchip/spear-shirq.c 	int i, parent_irq, virq_base, hwirq = 0, nr_irqs = 0;
hwirq             250 drivers/irqchip/spear-shirq.c 				hwirq);
hwirq             254 drivers/irqchip/spear-shirq.c 		hwirq += shirq_blocks[i]->nr_irqs;
hwirq            1260 drivers/memory/omap-gpmc.c static int gpmc_irq_endis(unsigned long hwirq, bool endis)
hwirq            1265 drivers/memory/omap-gpmc.c 	if (hwirq >= GPMC_NR_NAND_IRQS)
hwirq            1266 drivers/memory/omap-gpmc.c 		hwirq += 8 - GPMC_NR_NAND_IRQS;
hwirq            1270 drivers/memory/omap-gpmc.c 		regval |= BIT(hwirq);
hwirq            1272 drivers/memory/omap-gpmc.c 		regval &= ~BIT(hwirq);
hwirq            1280 drivers/memory/omap-gpmc.c 	gpmc_irq_endis(p->hwirq, false);
hwirq            1285 drivers/memory/omap-gpmc.c 	gpmc_irq_endis(p->hwirq, true);
hwirq            1290 drivers/memory/omap-gpmc.c 	gpmc_irq_endis(d->hwirq, false);
hwirq            1295 drivers/memory/omap-gpmc.c 	gpmc_irq_endis(d->hwirq, true);
hwirq            1298 drivers/memory/omap-gpmc.c static void gpmc_irq_edge_config(unsigned long hwirq, bool rising_edge)
hwirq            1303 drivers/memory/omap-gpmc.c 	if (hwirq < GPMC_NR_NAND_IRQS)
hwirq            1307 drivers/memory/omap-gpmc.c 	hwirq += 8 - GPMC_NR_NAND_IRQS;
hwirq            1311 drivers/memory/omap-gpmc.c 		regval &= ~BIT(hwirq);
hwirq            1313 drivers/memory/omap-gpmc.c 		regval |= BIT(hwirq);
hwirq            1320 drivers/memory/omap-gpmc.c 	unsigned int hwirq = d->hwirq;
hwirq            1323 drivers/memory/omap-gpmc.c 	if (hwirq >= GPMC_NR_NAND_IRQS)
hwirq            1324 drivers/memory/omap-gpmc.c 		hwirq += 8 - GPMC_NR_NAND_IRQS;
hwirq            1327 drivers/memory/omap-gpmc.c 	gpmc_write_reg(GPMC_IRQSTATUS, BIT(hwirq));
hwirq            1333 drivers/memory/omap-gpmc.c 	if (d->hwirq < GPMC_NR_NAND_IRQS)
hwirq            1338 drivers/memory/omap-gpmc.c 		gpmc_irq_edge_config(d->hwirq, false);
hwirq            1340 drivers/memory/omap-gpmc.c 		gpmc_irq_edge_config(d->hwirq, true);
hwirq            1372 drivers/memory/omap-gpmc.c 	int hwirq, virq;
hwirq            1382 drivers/memory/omap-gpmc.c 	for (hwirq = 0; hwirq < gpmc->nirqs; hwirq++) {
hwirq            1384 drivers/memory/omap-gpmc.c 		if (hwirq == GPMC_NR_NAND_IRQS)
hwirq            1387 drivers/memory/omap-gpmc.c 		if (regvalx & BIT(hwirq)) {
hwirq            1388 drivers/memory/omap-gpmc.c 			virq = irq_find_mapping(gpmc_irq_domain, hwirq);
hwirq            1392 drivers/memory/omap-gpmc.c 					 hwirq, virq);
hwirq            1446 drivers/memory/omap-gpmc.c 	int hwirq;
hwirq            1450 drivers/memory/omap-gpmc.c 	for (hwirq = 0; hwirq < gpmc->nirqs; hwirq++)
hwirq            1451 drivers/memory/omap-gpmc.c 		irq_dispose_mapping(irq_find_mapping(gpmc_irq_domain, hwirq));
hwirq             536 drivers/mfd/88pm860x-core.c 	pm860x_irqs[data->hwirq].enable = pm860x_irqs[data->hwirq].offs;
hwirq             541 drivers/mfd/88pm860x-core.c 	pm860x_irqs[data->hwirq].enable = 0;
hwirq             387 drivers/mfd/ab8500-core.c 	int offset = data->hwirq;
hwirq             407 drivers/mfd/ab8500-core.c 	int offset = data->hwirq;
hwirq             557 drivers/mfd/ab8500-core.c 				irq_hw_number_t hwirq)
hwirq            2586 drivers/mfd/db8500-prcmu.c 	mb0_transfer.req.dbb_irqs &= ~prcmu_irq_bit[d->hwirq];
hwirq            2600 drivers/mfd/db8500-prcmu.c 	mb0_transfer.req.dbb_irqs |= prcmu_irq_bit[d->hwirq];
hwirq            2663 drivers/mfd/db8500-prcmu.c 				irq_hw_number_t hwirq)
hwirq              47 drivers/mfd/fsl-imx25-tsadc.c 				 irq_hw_number_t hwirq)
hwirq              66 drivers/mfd/lp8788-irq.c 	irqd->enabled[data->hwirq] = 1;
hwirq              73 drivers/mfd/lp8788-irq.c 	irqd->enabled[data->hwirq] = 0;
hwirq              86 drivers/mfd/lp8788-irq.c 	enum lp8788_int_id irq = data->hwirq;
hwirq             132 drivers/mfd/lp8788-irq.c 			irq_hw_number_t hwirq)
hwirq             131 drivers/mfd/max8997-irq.c 	return &max8997_irqs[data->hwirq];
hwirq              97 drivers/mfd/max8998-irq.c 	return &max8998_irqs[data->hwirq];
hwirq              39 drivers/mfd/mt6397-irq.c 	int shift = data->hwirq & 0xf;
hwirq              40 drivers/mfd/mt6397-irq.c 	int reg = data->hwirq >> 4;
hwirq              48 drivers/mfd/mt6397-irq.c 	int shift = data->hwirq & 0xf;
hwirq              49 drivers/mfd/mt6397-irq.c 	int reg = data->hwirq >> 4;
hwirq              58 drivers/mfd/mt6397-irq.c 	int shift = irq_data->hwirq & 0xf;
hwirq              59 drivers/mfd/mt6397-irq.c 	int reg = irq_data->hwirq >> 4;
hwirq             373 drivers/mfd/qcom-pm8xxx.c 				  irq_hw_number_t hwirq, unsigned int type)
hwirq             375 drivers/mfd/qcom-pm8xxx.c 	irq_domain_set_info(domain, irq, hwirq, chip->pm_irq_data->irq_chip,
hwirq             385 drivers/mfd/qcom-pm8xxx.c 	irq_hw_number_t hwirq;
hwirq             389 drivers/mfd/qcom-pm8xxx.c 	ret = irq_domain_translate_twocell(domain, fwspec, &hwirq, &type);
hwirq             394 drivers/mfd/qcom-pm8xxx.c 		pm8xxx_irq_domain_map(chip, domain, virq + i, hwirq + i, type);
hwirq             186 drivers/mfd/stmfx.c 	stmfx->irq_src &= ~BIT(data->hwirq % 8);
hwirq             193 drivers/mfd/stmfx.c 	stmfx->irq_src |= BIT(data->hwirq % 8);
hwirq             234 drivers/mfd/stmfx.c 			 irq_hw_number_t hwirq)
hwirq             258 drivers/mfd/stmfx.c 	int hwirq;
hwirq             260 drivers/mfd/stmfx.c 	for (hwirq = 0; hwirq < STMFX_REG_IRQ_SRC_MAX; hwirq++)
hwirq             261 drivers/mfd/stmfx.c 		irq_dispose_mapping(irq_find_mapping(stmfx->irq_domain, hwirq));
hwirq            1165 drivers/mfd/stmpe.c 	int offset = data->hwirq;
hwirq            1175 drivers/mfd/stmpe.c 	int offset = data->hwirq;
hwirq            1191 drivers/mfd/stmpe.c                                 irq_hw_number_t hwirq)
hwirq             210 drivers/mfd/tc3589x.c 				irq_hw_number_t hwirq)
hwirq              68 drivers/mfd/tps65217.c 	u8 mask = BIT(data->hwirq) << TPS65217_INT_SHIFT;
hwirq              76 drivers/mfd/tps65217.c 	u8 mask = BIT(data->hwirq) << TPS65217_INT_SHIFT;
hwirq             238 drivers/mfd/tps6586x.c 	unsigned int __irq = irq_data->hwirq;
hwirq             249 drivers/mfd/tps6586x.c 	unsigned int __irq = irq_data->hwirq;
hwirq             334 drivers/mfd/twl6030-irq.c 			      irq_hw_number_t hwirq)
hwirq             373 drivers/mfd/wm831x-irq.c 							     data->hwirq);
hwirq             382 drivers/mfd/wm831x-irq.c 							     data->hwirq);
hwirq             392 drivers/mfd/wm831x-irq.c 	irq = data->hwirq;
hwirq             185 drivers/misc/cxl/api.c 	irq_hw_number_t hwirq;
hwirq             197 drivers/misc/cxl/api.c 		hwirq = cxl_find_afu_irq(ctx, 0);
hwirq             198 drivers/misc/cxl/api.c 		if (hwirq)
hwirq             199 drivers/misc/cxl/api.c 			cxl_map_irq(ctx->afu->adapter, hwirq, cxl_ops->psl_interrupt, ctx, "psl");
hwirq             214 drivers/misc/cxl/api.c 	irq_hw_number_t hwirq;
hwirq             218 drivers/misc/cxl/api.c 		hwirq = cxl_find_afu_irq(ctx, 0);
hwirq             219 drivers/misc/cxl/api.c 		if (hwirq) {
hwirq             220 drivers/misc/cxl/api.c 			virq = irq_find_mapping(NULL, hwirq);
hwirq             233 drivers/misc/cxl/api.c 	irq_hw_number_t hwirq;
hwirq             238 drivers/misc/cxl/api.c 	hwirq = cxl_find_afu_irq(ctx, num);
hwirq             239 drivers/misc/cxl/api.c 	if (!hwirq)
hwirq             242 drivers/misc/cxl/api.c 	return cxl_map_irq(ctx->afu->adapter, hwirq, handler, cookie, name);
hwirq             248 drivers/misc/cxl/api.c 	irq_hw_number_t hwirq;
hwirq             251 drivers/misc/cxl/api.c 	hwirq = cxl_find_afu_irq(ctx, num);
hwirq             252 drivers/misc/cxl/api.c 	if (!hwirq)
hwirq             255 drivers/misc/cxl/api.c 	virq = irq_find_mapping(NULL, hwirq);
hwirq             713 drivers/misc/cxl/cxl.h void cxl_pci_release_one_irq(struct cxl *adapter, int hwirq);
hwirq             716 drivers/misc/cxl/cxl.h int cxl_pci_setup_irq(struct cxl *adapter, unsigned int hwirq, unsigned int virq);
hwirq             984 drivers/misc/cxl/cxl.h unsigned int cxl_map_irq(struct cxl *adapter, irq_hw_number_t hwirq,
hwirq            1067 drivers/misc/cxl/cxl.h 	void (*release_one_irq)(struct cxl *adapter, int hwirq);
hwirq            1072 drivers/misc/cxl/cxl.h 	int (*setup_irq)(struct cxl *adapter, unsigned int hwirq,
hwirq             381 drivers/misc/cxl/guest.c 	irq_hw_number_t hwirq;
hwirq             387 drivers/misc/cxl/guest.c 		hwirq = ctx->irqs.offset[r];
hwirq             388 drivers/misc/cxl/guest.c 		for (i = 0; i < ctx->irqs.range[r]; hwirq++, i++) {
hwirq             389 drivers/misc/cxl/guest.c 			virq = irq_find_mapping(NULL, hwirq);
hwirq             397 drivers/misc/cxl/guest.c 	irq_hw_number_t hwirq;
hwirq             403 drivers/misc/cxl/guest.c 		hwirq = ctx->irqs.offset[r];
hwirq             404 drivers/misc/cxl/guest.c 		for (i = 0; i < ctx->irqs.range[r]; hwirq++, i++) {
hwirq             405 drivers/misc/cxl/guest.c 			virq = irq_find_mapping(NULL, hwirq);
hwirq             173 drivers/misc/cxl/irq.c 	irq_hw_number_t hwirq = irqd_to_hwirq(irq_get_irq_data(irq));
hwirq             191 drivers/misc/cxl/irq.c 		irq_off = hwirq - ctx->irqs.offset[r];
hwirq             201 drivers/misc/cxl/irq.c 		     ctx->pe, irq, hwirq);
hwirq             205 drivers/misc/cxl/irq.c 	trace_cxl_afu_irq(ctx, afu_irq, irq, hwirq);
hwirq             207 drivers/misc/cxl/irq.c 	       afu_irq, ctx->pe, irq, hwirq);
hwirq             223 drivers/misc/cxl/irq.c unsigned int cxl_map_irq(struct cxl *adapter, irq_hw_number_t hwirq,
hwirq             230 drivers/misc/cxl/irq.c 	virq = irq_create_mapping(NULL, hwirq);
hwirq             237 drivers/misc/cxl/irq.c 		cxl_ops->setup_irq(adapter, hwirq, virq);
hwirq             239 drivers/misc/cxl/irq.c 	pr_devel("hwirq %#lx mapped to virq %u\n", hwirq, virq);
hwirq             262 drivers/misc/cxl/irq.c 	int hwirq, virq;
hwirq             264 drivers/misc/cxl/irq.c 	if ((hwirq = cxl_ops->alloc_one_irq(adapter)) < 0)
hwirq             265 drivers/misc/cxl/irq.c 		return hwirq;
hwirq             267 drivers/misc/cxl/irq.c 	if (!(virq = cxl_map_irq(adapter, hwirq, handler, cookie, name)))
hwirq             270 drivers/misc/cxl/irq.c 	*dest_hwirq = hwirq;
hwirq             276 drivers/misc/cxl/irq.c 	cxl_ops->release_one_irq(adapter, hwirq);
hwirq             358 drivers/misc/cxl/irq.c 	irq_hw_number_t hwirq;
hwirq             366 drivers/misc/cxl/irq.c 		hwirq = ctx->irqs.offset[r];
hwirq             367 drivers/misc/cxl/irq.c 		for (i = 0; i < ctx->irqs.range[r]; hwirq++, i++) {
hwirq             382 drivers/misc/cxl/irq.c 			cxl_map_irq(ctx->afu->adapter, hwirq, handler, ctx,
hwirq             403 drivers/misc/cxl/irq.c 	irq_hw_number_t hwirq;
hwirq             408 drivers/misc/cxl/irq.c 		hwirq = ctx->irqs.offset[r];
hwirq             409 drivers/misc/cxl/irq.c 		for (i = 0; i < ctx->irqs.range[r]; hwirq++, i++) {
hwirq             410 drivers/misc/cxl/irq.c 			virq = irq_find_mapping(NULL, hwirq);
hwirq             655 drivers/misc/cxl/pci.c int cxl_pci_setup_irq(struct cxl *adapter, unsigned int hwirq,
hwirq             660 drivers/misc/cxl/pci.c 	return pnv_cxl_ioda_msi_setup(dev, hwirq, virq);
hwirq             705 drivers/misc/cxl/pci.c void cxl_pci_release_one_irq(struct cxl *adapter, int hwirq)
hwirq             709 drivers/misc/cxl/pci.c 	return pnv_cxl_release_hwirqs(dev, hwirq, 1);
hwirq             130 drivers/misc/cxl/trace.h 	TP_PROTO(struct cxl_context *ctx, int afu_irq, int virq, irq_hw_number_t hwirq),
hwirq             132 drivers/misc/cxl/trace.h 	TP_ARGS(ctx, afu_irq, virq, hwirq),
hwirq             140 drivers/misc/cxl/trace.h 		__field(irq_hw_number_t, hwirq)
hwirq             149 drivers/misc/cxl/trace.h 		__entry->hwirq = hwirq;
hwirq             158 drivers/misc/cxl/trace.h 		__entry->hwirq
hwirq             272 drivers/misc/ocxl/link.c 	int hwirq;
hwirq             274 drivers/misc/ocxl/link.c 	rc = pnv_ocxl_get_xsl_irq(dev, &hwirq);
hwirq             293 drivers/misc/ocxl/link.c 	spa->virq = irq_create_mapping(NULL, hwirq);
hwirq             301 drivers/misc/ocxl/link.c 	dev_dbg(&dev->dev, "hwirq %d mapped to virq %d\n", hwirq, spa->virq);
hwirq             129 drivers/net/dsa/mv88e6xxx/chip.c 	unsigned int n = d->hwirq;
hwirq             137 drivers/net/dsa/mv88e6xxx/chip.c 	unsigned int n = d->hwirq;
hwirq             230 drivers/net/dsa/mv88e6xxx/chip.c 				       irq_hw_number_t hwirq)
hwirq             981 drivers/net/dsa/mv88e6xxx/global2.c 	unsigned int n = d->hwirq;
hwirq             989 drivers/net/dsa/mv88e6xxx/global2.c 	unsigned int n = d->hwirq;
hwirq            1049 drivers/net/dsa/mv88e6xxx/global2.c 				       irq_hw_number_t hwirq)
hwirq             469 drivers/net/dsa/rtl8366rb.c 			     irq_hw_number_t hwirq)
hwirq            1883 drivers/net/usb/lan78xx.c 		   irq_hw_number_t hwirq)
hwirq             223 drivers/pci/controller/dwc/pci-dra7xx.c 				irq_hw_number_t hwirq)
hwirq             154 drivers/pci/controller/dwc/pci-keystone.c 	u32 irq = data->hwirq;
hwirq             183 drivers/pci/controller/dwc/pci-keystone.c 	msg->data = data->hwirq;
hwirq             186 drivers/pci/controller/dwc/pci-keystone.c 		(int)data->hwirq, msg->address_hi, msg->address_lo);
hwirq             199 drivers/pci/controller/dwc/pci-keystone.c 	u32 irq = data->hwirq;
hwirq             223 drivers/pci/controller/dwc/pci-keystone.c 	u32 irq = data->hwirq;
hwirq             579 drivers/pci/controller/dwc/pci-keystone.c 	unsigned int irq = desc->irq_data.hwirq;
hwirq             684 drivers/pci/controller/dwc/pci-keystone.c 			ks_pcie->msi_host_irq = irq_data->hwirq;
hwirq             135 drivers/pci/controller/dwc/pcie-designware-host.c 	msg->data = d->hwirq;
hwirq             138 drivers/pci/controller/dwc/pcie-designware-host.c 		(int)d->hwirq, msg->address_hi, msg->address_lo);
hwirq             155 drivers/pci/controller/dwc/pcie-designware-host.c 	ctrl = d->hwirq / MAX_MSI_IRQS_PER_CTRL;
hwirq             157 drivers/pci/controller/dwc/pcie-designware-host.c 	bit = d->hwirq % MAX_MSI_IRQS_PER_CTRL;
hwirq             174 drivers/pci/controller/dwc/pcie-designware-host.c 	ctrl = d->hwirq / MAX_MSI_IRQS_PER_CTRL;
hwirq             176 drivers/pci/controller/dwc/pcie-designware-host.c 	bit = d->hwirq % MAX_MSI_IRQS_PER_CTRL;
hwirq             190 drivers/pci/controller/dwc/pcie-designware-host.c 	ctrl = d->hwirq / MAX_MSI_IRQS_PER_CTRL;
hwirq             192 drivers/pci/controller/dwc/pcie-designware-host.c 	bit = d->hwirq % MAX_MSI_IRQS_PER_CTRL;
hwirq             243 drivers/pci/controller/dwc/pcie-designware-host.c 	bitmap_release_region(pp->msi_irq_in_use, d->hwirq,
hwirq             217 drivers/pci/controller/dwc/pcie-uniphier.c 				  irq_hw_number_t hwirq)
hwirq             690 drivers/pci/controller/pci-aardvark.c 	int hwirq, i;
hwirq             693 drivers/pci/controller/pci-aardvark.c 	hwirq = bitmap_find_next_zero_area(pcie->msi_used, MSI_IRQ_NUM,
hwirq             695 drivers/pci/controller/pci-aardvark.c 	if (hwirq >= MSI_IRQ_NUM) {
hwirq             700 drivers/pci/controller/pci-aardvark.c 	bitmap_set(pcie->msi_used, hwirq, nr_irqs);
hwirq             704 drivers/pci/controller/pci-aardvark.c 		irq_domain_set_info(domain, virq + i, hwirq + i,
hwirq             709 drivers/pci/controller/pci-aardvark.c 	return hwirq;
hwirq             719 drivers/pci/controller/pci-aardvark.c 	bitmap_clear(pcie->msi_used, d->hwirq, nr_irqs);
hwirq             731 drivers/pci/controller/pci-aardvark.c 	irq_hw_number_t hwirq = irqd_to_hwirq(d);
hwirq             735 drivers/pci/controller/pci-aardvark.c 	mask |= PCIE_ISR1_INTX_ASSERT(hwirq);
hwirq             742 drivers/pci/controller/pci-aardvark.c 	irq_hw_number_t hwirq = irqd_to_hwirq(d);
hwirq             746 drivers/pci/controller/pci-aardvark.c 	mask &= ~PCIE_ISR1_INTX_ASSERT(hwirq);
hwirq             751 drivers/pci/controller/pci-aardvark.c 			     unsigned int virq, irq_hw_number_t hwirq)
hwirq             331 drivers/pci/controller/pci-ftpci100.c 			       irq_hw_number_t hwirq)
hwirq            1691 drivers/pci/controller/pci-tegra.c 	int hwirq;
hwirq            1693 drivers/pci/controller/pci-tegra.c 	hwirq = tegra_msi_alloc(msi);
hwirq            1694 drivers/pci/controller/pci-tegra.c 	if (hwirq < 0)
hwirq            1695 drivers/pci/controller/pci-tegra.c 		return hwirq;
hwirq            1697 drivers/pci/controller/pci-tegra.c 	irq = irq_create_mapping(msi->domain, hwirq);
hwirq            1699 drivers/pci/controller/pci-tegra.c 		tegra_msi_free(msi, hwirq);
hwirq            1707 drivers/pci/controller/pci-tegra.c 	msg.data = hwirq;
hwirq            1719 drivers/pci/controller/pci-tegra.c 	irq_hw_number_t hwirq = irqd_to_hwirq(d);
hwirq            1722 drivers/pci/controller/pci-tegra.c 	tegra_msi_free(msi, hwirq);
hwirq            1734 drivers/pci/controller/pci-tegra.c 			 irq_hw_number_t hwirq)
hwirq             126 drivers/pci/controller/pci-xgene-msi.c static u32 hwirq_to_reg_set(unsigned long hwirq)
hwirq             128 drivers/pci/controller/pci-xgene-msi.c 	return (hwirq / (NR_HW_IRQS * IRQS_PER_IDX));
hwirq             131 drivers/pci/controller/pci-xgene-msi.c static u32 hwirq_to_group(unsigned long hwirq)
hwirq             133 drivers/pci/controller/pci-xgene-msi.c 	return (hwirq % NR_HW_IRQS);
hwirq             136 drivers/pci/controller/pci-xgene-msi.c static u32 hwirq_to_msi_data(unsigned long hwirq)
hwirq             138 drivers/pci/controller/pci-xgene-msi.c 	return ((hwirq / NR_HW_IRQS) % IRQS_PER_IDX);
hwirq             144 drivers/pci/controller/pci-xgene-msi.c 	u32 reg_set = hwirq_to_reg_set(data->hwirq);
hwirq             145 drivers/pci/controller/pci-xgene-msi.c 	u32 group = hwirq_to_group(data->hwirq);
hwirq             150 drivers/pci/controller/pci-xgene-msi.c 	msg->data = hwirq_to_msi_data(data->hwirq);
hwirq             162 drivers/pci/controller/pci-xgene-msi.c static int hwirq_to_cpu(unsigned long hwirq)
hwirq             164 drivers/pci/controller/pci-xgene-msi.c 	return (hwirq % xgene_msi_ctrl.num_cpus);
hwirq             167 drivers/pci/controller/pci-xgene-msi.c static unsigned long hwirq_to_canonical_hwirq(unsigned long hwirq)
hwirq             169 drivers/pci/controller/pci-xgene-msi.c 	return (hwirq - hwirq_to_cpu(hwirq));
hwirq             178 drivers/pci/controller/pci-xgene-msi.c 	curr_cpu = hwirq_to_cpu(irqdata->hwirq);
hwirq             183 drivers/pci/controller/pci-xgene-msi.c 	irqdata->hwirq = hwirq_to_canonical_hwirq(irqdata->hwirq) + target_cpu;
hwirq             226 drivers/pci/controller/pci-xgene-msi.c 	u32 hwirq;
hwirq             230 drivers/pci/controller/pci-xgene-msi.c 	hwirq = hwirq_to_canonical_hwirq(d->hwirq);
hwirq             231 drivers/pci/controller/pci-xgene-msi.c 	bitmap_clear(msi->bitmap, hwirq, msi->num_cpus);
hwirq              94 drivers/pci/controller/pcie-altera-msi.c 	phys_addr_t addr = msi->vector_phy + (data->hwirq * sizeof(u32));
hwirq              98 drivers/pci/controller/pcie-altera-msi.c 	msg->data = data->hwirq;
hwirq             101 drivers/pci/controller/pcie-altera-msi.c 		(int)data->hwirq, msg->address_hi, msg->address_lo);
hwirq             156 drivers/pci/controller/pcie-altera-msi.c 	if (!test_bit(d->hwirq, msi->used)) {
hwirq             158 drivers/pci/controller/pcie-altera-msi.c 			d->hwirq);
hwirq             160 drivers/pci/controller/pcie-altera-msi.c 		__clear_bit(d->hwirq, msi->used);
hwirq             162 drivers/pci/controller/pcie-altera-msi.c 		mask &= ~(1 << d->hwirq);
hwirq             631 drivers/pci/controller/pcie-altera.c 				irq_hw_number_t hwirq)
hwirq             146 drivers/pci/controller/pcie-iproc-msi.c static inline u32 hwirq_to_group(struct iproc_msi *msi, unsigned long hwirq)
hwirq             148 drivers/pci/controller/pcie-iproc-msi.c 	return (hwirq % msi->nr_irqs);
hwirq             152 drivers/pci/controller/pcie-iproc-msi.c 						 unsigned long hwirq)
hwirq             155 drivers/pci/controller/pcie-iproc-msi.c 		return hwirq_to_group(msi, hwirq) * MSI_MEM_REGION_SIZE;
hwirq             157 drivers/pci/controller/pcie-iproc-msi.c 		return hwirq_to_group(msi, hwirq) * sizeof(u32);
hwirq             195 drivers/pci/controller/pcie-iproc-msi.c static inline int hwirq_to_cpu(struct iproc_msi *msi, unsigned long hwirq)
hwirq             197 drivers/pci/controller/pcie-iproc-msi.c 	return (hwirq % msi->nr_cpus);
hwirq             201 drivers/pci/controller/pcie-iproc-msi.c 						     unsigned long hwirq)
hwirq             203 drivers/pci/controller/pcie-iproc-msi.c 	return (hwirq - hwirq_to_cpu(msi, hwirq));
hwirq             213 drivers/pci/controller/pcie-iproc-msi.c 	curr_cpu = hwirq_to_cpu(msi, data->hwirq);
hwirq             218 drivers/pci/controller/pcie-iproc-msi.c 	data->hwirq = hwirq_to_canonical_hwirq(msi, data->hwirq) + target_cpu;
hwirq             229 drivers/pci/controller/pcie-iproc-msi.c 	addr = msi->msi_addr + iproc_msi_addr_offset(msi, data->hwirq);
hwirq             232 drivers/pci/controller/pcie-iproc-msi.c 	msg->data = data->hwirq << 5;
hwirq             246 drivers/pci/controller/pcie-iproc-msi.c 	int hwirq, i;
hwirq             251 drivers/pci/controller/pcie-iproc-msi.c 	hwirq = bitmap_find_next_zero_area(msi->bitmap, msi->nr_msi_vecs, 0,
hwirq             253 drivers/pci/controller/pcie-iproc-msi.c 	if (hwirq < msi->nr_msi_vecs) {
hwirq             254 drivers/pci/controller/pcie-iproc-msi.c 		bitmap_set(msi->bitmap, hwirq, msi->nr_cpus);
hwirq             263 drivers/pci/controller/pcie-iproc-msi.c 		irq_domain_set_info(domain, virq + i, hwirq + i,
hwirq             269 drivers/pci/controller/pcie-iproc-msi.c 	return hwirq;
hwirq             277 drivers/pci/controller/pcie-iproc-msi.c 	unsigned int hwirq;
hwirq             281 drivers/pci/controller/pcie-iproc-msi.c 	hwirq = hwirq_to_canonical_hwirq(msi, data->hwirq);
hwirq             282 drivers/pci/controller/pcie-iproc-msi.c 	bitmap_clear(msi->bitmap, hwirq, msi->nr_cpus);
hwirq             296 drivers/pci/controller/pcie-iproc-msi.c 	u32 *msg, hwirq;
hwirq             301 drivers/pci/controller/pcie-iproc-msi.c 	hwirq = readl(msg);
hwirq             302 drivers/pci/controller/pcie-iproc-msi.c 	hwirq = (hwirq >> 5) + (hwirq & 0x1f);
hwirq             309 drivers/pci/controller/pcie-iproc-msi.c 	return hwirq_to_canonical_hwirq(msi, hwirq);
hwirq             318 drivers/pci/controller/pcie-iproc-msi.c 	unsigned long hwirq;
hwirq             354 drivers/pci/controller/pcie-iproc-msi.c 			hwirq = decode_msi_hwirq(msi, eq, head);
hwirq             355 drivers/pci/controller/pcie-iproc-msi.c 			virq = irq_find_mapping(msi->inner_domain, hwirq);
hwirq             408 drivers/pci/controller/pcie-mediatek.c 	msg->data = data->hwirq;
hwirq             411 drivers/pci/controller/pcie-mediatek.c 		(int)data->hwirq, msg->address_hi, msg->address_lo);
hwirq             423 drivers/pci/controller/pcie-mediatek.c 	u32 hwirq = data->hwirq;
hwirq             425 drivers/pci/controller/pcie-mediatek.c 	writel(1 << hwirq, port->base + PCIE_IMSI_STATUS);
hwirq             469 drivers/pci/controller/pcie-mediatek.c 	if (!test_bit(d->hwirq, port->msi_irq_in_use))
hwirq             471 drivers/pci/controller/pcie-mediatek.c 			d->hwirq);
hwirq             473 drivers/pci/controller/pcie-mediatek.c 		__clear_bit(d->hwirq, port->msi_irq_in_use);
hwirq             558 drivers/pci/controller/pcie-mediatek.c 			     irq_hw_number_t hwirq)
hwirq             674 drivers/pci/controller/pcie-mobiveil.c 	mask = 1 << ((data->hwirq + PAB_INTX_START) - 1);
hwirq             690 drivers/pci/controller/pcie-mobiveil.c 	mask = 1 << ((data->hwirq + PAB_INTX_START) - 1);
hwirq             708 drivers/pci/controller/pcie-mobiveil.c 				  irq_hw_number_t hwirq)
hwirq             736 drivers/pci/controller/pcie-mobiveil.c 	phys_addr_t addr = pcie->pcie_reg_base + (data->hwirq * sizeof(int));
hwirq             740 drivers/pci/controller/pcie-mobiveil.c 	msg->data = data->hwirq;
hwirq             743 drivers/pci/controller/pcie-mobiveil.c 		(int)data->hwirq, msg->address_hi, msg->address_lo);
hwirq             794 drivers/pci/controller/pcie-mobiveil.c 	if (!test_bit(d->hwirq, msi->msi_irq_in_use))
hwirq             796 drivers/pci/controller/pcie-mobiveil.c 			d->hwirq);
hwirq             798 drivers/pci/controller/pcie-mobiveil.c 		__clear_bit(d->hwirq, msi->msi_irq_in_use);
hwirq             778 drivers/pci/controller/pcie-rcar.c 	int hwirq;
hwirq             780 drivers/pci/controller/pcie-rcar.c 	hwirq = rcar_msi_alloc(msi);
hwirq             781 drivers/pci/controller/pcie-rcar.c 	if (hwirq < 0)
hwirq             782 drivers/pci/controller/pcie-rcar.c 		return hwirq;
hwirq             784 drivers/pci/controller/pcie-rcar.c 	irq = irq_find_mapping(msi->domain, hwirq);
hwirq             786 drivers/pci/controller/pcie-rcar.c 		rcar_msi_free(msi, hwirq);
hwirq             794 drivers/pci/controller/pcie-rcar.c 	msg.data = hwirq;
hwirq             809 drivers/pci/controller/pcie-rcar.c 	int hwirq;
hwirq             819 drivers/pci/controller/pcie-rcar.c 	hwirq = rcar_msi_alloc_region(msi, nvec);
hwirq             820 drivers/pci/controller/pcie-rcar.c 	if (hwirq < 0)
hwirq             823 drivers/pci/controller/pcie-rcar.c 	irq = irq_find_mapping(msi->domain, hwirq);
hwirq             846 drivers/pci/controller/pcie-rcar.c 	msg.data = hwirq;
hwirq             858 drivers/pci/controller/pcie-rcar.c 	rcar_msi_free(msi, d->hwirq);
hwirq             870 drivers/pci/controller/pcie-rcar.c 			irq_hw_number_t hwirq)
hwirq             523 drivers/pci/controller/pcie-rockchip-host.c 	u32 hwirq;
hwirq             532 drivers/pci/controller/pcie-rockchip-host.c 		hwirq = ffs(reg) - 1;
hwirq             533 drivers/pci/controller/pcie-rockchip-host.c 		reg &= ~BIT(hwirq);
hwirq             535 drivers/pci/controller/pcie-rockchip-host.c 		virq = irq_find_mapping(rockchip->irq_domain, hwirq);
hwirq             539 drivers/pci/controller/pcie-rockchip-host.c 			dev_err(dev, "unexpected IRQ, INT%d\n", hwirq);
hwirq             703 drivers/pci/controller/pcie-rockchip-host.c 				  irq_hw_number_t hwirq)
hwirq              51 drivers/pci/controller/pcie-tango.c 	u32 offset = (d->hwirq / 32) * 4;
hwirq              52 drivers/pci/controller/pcie-tango.c 	u32 bit = BIT(d->hwirq % 32);
hwirq              61 drivers/pci/controller/pcie-tango.c 	u32 offset = (d->hwirq / 32) * 4;
hwirq              62 drivers/pci/controller/pcie-tango.c 	u32 bit = BIT(d->hwirq % 32);
hwirq              93 drivers/pci/controller/pcie-tango.c 	msg->data = d->hwirq;
hwirq             164 drivers/pci/controller/pcie-tango.c 	__clear_bit(d->hwirq, pcie->used_msi);
hwirq             392 drivers/pci/controller/pcie-xilinx-nwl.c 	mask = 1 << (data->hwirq - 1);
hwirq             408 drivers/pci/controller/pcie-xilinx-nwl.c 	mask = 1 << (data->hwirq - 1);
hwirq             424 drivers/pci/controller/pcie-xilinx-nwl.c 			  irq_hw_number_t hwirq)
hwirq             461 drivers/pci/controller/pcie-xilinx-nwl.c 	msg->data = data->hwirq;
hwirq             509 drivers/pci/controller/pcie-xilinx-nwl.c 	bitmap_release_region(msi->bitmap, data->hwirq,
hwirq             218 drivers/pci/controller/pcie-xilinx.c 	irq_hw_number_t hwirq = irqd_to_hwirq(d);
hwirq             220 drivers/pci/controller/pcie-xilinx.c 	if (!test_bit(hwirq, msi_irq_in_use)) {
hwirq             225 drivers/pci/controller/pcie-xilinx.c 		clear_bit(hwirq, msi_irq_in_use);
hwirq             273 drivers/pci/controller/pcie-xilinx.c 	int hwirq;
hwirq             277 drivers/pci/controller/pcie-xilinx.c 	hwirq = xilinx_pcie_assign_msi();
hwirq             278 drivers/pci/controller/pcie-xilinx.c 	if (hwirq < 0)
hwirq             279 drivers/pci/controller/pcie-xilinx.c 		return hwirq;
hwirq             281 drivers/pci/controller/pcie-xilinx.c 	irq = irq_create_mapping(port->msi_domain, hwirq);
hwirq             322 drivers/pci/controller/pcie-xilinx.c 			       irq_hw_number_t hwirq)
hwirq             365 drivers/pci/controller/pcie-xilinx.c 				irq_hw_number_t hwirq)
hwirq             227 drivers/pci/controller/vmd.c 			unsigned int virq, irq_hw_number_t hwirq,
hwirq            1429 drivers/pci/msi.c 	arg->hwirq = pci_msi_domain_calc_hwirq(msi_desc_to_pci_dev(desc),
hwirq             725 drivers/pinctrl/actions/pinctrl-owl.c 	unsigned int gpio = data->hwirq;
hwirq             754 drivers/pinctrl/actions/pinctrl-owl.c 	unsigned int gpio = data->hwirq;
hwirq             783 drivers/pinctrl/actions/pinctrl-owl.c 	unsigned int gpio = data->hwirq;
hwirq             820 drivers/pinctrl/actions/pinctrl-owl.c 	irq_set_type(pctrl, data->hwirq, type);
hwirq             200 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c 	unsigned gpio = d->hwirq;
hwirq             219 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c 	unsigned gpio = d->hwirq;
hwirq             250 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c 	unsigned gpio = d->hwirq;
hwirq             175 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c 	unsigned gpio = d->hwirq;
hwirq             193 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c 	unsigned gpio = d->hwirq;
hwirq             226 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c 	unsigned gpio = d->hwirq;
hwirq              84 drivers/pinctrl/mediatek/mtk-eint.c static int mtk_eint_flip_edge(struct mtk_eint *eint, int hwirq)
hwirq              88 drivers/pinctrl/mediatek/mtk-eint.c 	u32 mask = BIT(hwirq & 0x1f);
hwirq              89 drivers/pinctrl/mediatek/mtk-eint.c 	u32 port = (hwirq >> 5) & eint->hw->port_mask;
hwirq              92 drivers/pinctrl/mediatek/mtk-eint.c 	curr_level = eint->gpio_xlate->get_gpio_state(eint->pctl, hwirq);
hwirq             103 drivers/pinctrl/mediatek/mtk-eint.c 							      hwirq);
hwirq             112 drivers/pinctrl/mediatek/mtk-eint.c 	u32 mask = BIT(d->hwirq & 0x1f);
hwirq             113 drivers/pinctrl/mediatek/mtk-eint.c 	void __iomem *reg = mtk_eint_get_offset(eint, d->hwirq,
hwirq             116 drivers/pinctrl/mediatek/mtk-eint.c 	eint->cur_mask[d->hwirq >> 5] &= ~mask;
hwirq             124 drivers/pinctrl/mediatek/mtk-eint.c 	u32 mask = BIT(d->hwirq & 0x1f);
hwirq             125 drivers/pinctrl/mediatek/mtk-eint.c 	void __iomem *reg = mtk_eint_get_offset(eint, d->hwirq,
hwirq             128 drivers/pinctrl/mediatek/mtk-eint.c 	eint->cur_mask[d->hwirq >> 5] |= mask;
hwirq             132 drivers/pinctrl/mediatek/mtk-eint.c 	if (eint->dual_edge[d->hwirq])
hwirq             133 drivers/pinctrl/mediatek/mtk-eint.c 		mtk_eint_flip_edge(eint, d->hwirq);
hwirq             149 drivers/pinctrl/mediatek/mtk-eint.c 	u32 mask = BIT(d->hwirq & 0x1f);
hwirq             150 drivers/pinctrl/mediatek/mtk-eint.c 	void __iomem *reg = mtk_eint_get_offset(eint, d->hwirq,
hwirq             159 drivers/pinctrl/mediatek/mtk-eint.c 	u32 mask = BIT(d->hwirq & 0x1f);
hwirq             166 drivers/pinctrl/mediatek/mtk-eint.c 			d->irq, d->hwirq, type);
hwirq             171 drivers/pinctrl/mediatek/mtk-eint.c 		eint->dual_edge[d->hwirq] = 1;
hwirq             173 drivers/pinctrl/mediatek/mtk-eint.c 		eint->dual_edge[d->hwirq] = 0;
hwirq             176 drivers/pinctrl/mediatek/mtk-eint.c 		reg = mtk_eint_get_offset(eint, d->hwirq, eint->regs->pol_clr);
hwirq             179 drivers/pinctrl/mediatek/mtk-eint.c 		reg = mtk_eint_get_offset(eint, d->hwirq, eint->regs->pol_set);
hwirq             184 drivers/pinctrl/mediatek/mtk-eint.c 		reg = mtk_eint_get_offset(eint, d->hwirq, eint->regs->sens_clr);
hwirq             187 drivers/pinctrl/mediatek/mtk-eint.c 		reg = mtk_eint_get_offset(eint, d->hwirq, eint->regs->sens_set);
hwirq             191 drivers/pinctrl/mediatek/mtk-eint.c 	if (eint->dual_edge[d->hwirq])
hwirq             192 drivers/pinctrl/mediatek/mtk-eint.c 		mtk_eint_flip_edge(eint, d->hwirq);
hwirq             200 drivers/pinctrl/mediatek/mtk-eint.c 	int shift = d->hwirq & 0x1f;
hwirq             201 drivers/pinctrl/mediatek/mtk-eint.c 	int reg = d->hwirq >> 5;
hwirq             231 drivers/pinctrl/mediatek/mtk-eint.c 	err = eint->gpio_xlate->get_gpio_n(eint->pctl, d->hwirq,
hwirq             245 drivers/pinctrl/mediatek/mtk-eint.c 	err = eint->gpio_xlate->set_gpio_as_eint(eint->pctl, d->hwirq);
hwirq             260 drivers/pinctrl/mediatek/mtk-eint.c 	eint->gpio_xlate->get_gpio_n(eint->pctl, d->hwirq, &gpio_n,
hwirq             565 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 		val |= (BIT(d->hwirq % GPIO_PER_REG));
hwirq             567 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 		val &= ~(BIT(d->hwirq % GPIO_PER_REG));
hwirq             586 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 		val &= ~(BIT(d->hwirq % GPIO_PER_REG));
hwirq             589 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 		val |= (BIT(d->hwirq % GPIO_PER_REG));
hwirq             598 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 		if (in_val & BIT(d->hwirq % GPIO_PER_REG))
hwirq             599 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 			val |= BIT(d->hwirq % GPIO_PER_REG);	/* falling */
hwirq             601 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 			val &= ~(BIT(d->hwirq % GPIO_PER_REG));	/* rising */
hwirq             668 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 			u32 hwirq = ffs(status) - 1;
hwirq             669 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 			u32 virq = irq_find_mapping(d, hwirq +
hwirq             676 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 					hwirq + i * GPIO_PER_REG)) {
hwirq             682 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 					writel(1 << hwirq,
hwirq             712 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 	d->mask = BIT(d->hwirq % GPIO_PER_REG);
hwirq             217 drivers/pinctrl/nomadik/pinctrl-abx500.c 	int hwirq;
hwirq             231 drivers/pinctrl/nomadik/pinctrl-abx500.c 			hwirq = gpio - cluster->start + cluster->to_irq;
hwirq             232 drivers/pinctrl/nomadik/pinctrl-abx500.c 			return irq_create_mapping(pct->parent->domain, hwirq);
hwirq             618 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	writel(BIT(d->hwirq), nmk_chip->addr + NMK_GPIO_IC);
hwirq             694 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	__nmk_gpio_irq_modify(nmk_chip, d->hwirq, NORMAL, enable);
hwirq             696 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	if (!(nmk_chip->real_wake & BIT(d->hwirq)))
hwirq             697 drivers/pinctrl/nomadik/pinctrl-nomadik.c 		__nmk_gpio_set_wake(nmk_chip, d->hwirq, enable);
hwirq             730 drivers/pinctrl/nomadik/pinctrl-nomadik.c 		__nmk_gpio_set_wake(nmk_chip, d->hwirq, on);
hwirq             733 drivers/pinctrl/nomadik/pinctrl-nomadik.c 		nmk_chip->real_wake |= BIT(d->hwirq);
hwirq             735 drivers/pinctrl/nomadik/pinctrl-nomadik.c 		nmk_chip->real_wake &= ~BIT(d->hwirq);
hwirq             763 drivers/pinctrl/nomadik/pinctrl-nomadik.c 		__nmk_gpio_irq_modify(nmk_chip, d->hwirq, NORMAL, false);
hwirq             766 drivers/pinctrl/nomadik/pinctrl-nomadik.c 		__nmk_gpio_irq_modify(nmk_chip, d->hwirq, WAKE, false);
hwirq             768 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	nmk_chip->edge_rising &= ~BIT(d->hwirq);
hwirq             770 drivers/pinctrl/nomadik/pinctrl-nomadik.c 		nmk_chip->edge_rising |= BIT(d->hwirq);
hwirq             772 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	nmk_chip->edge_falling &= ~BIT(d->hwirq);
hwirq             774 drivers/pinctrl/nomadik/pinctrl-nomadik.c 		nmk_chip->edge_falling |= BIT(d->hwirq);
hwirq             777 drivers/pinctrl/nomadik/pinctrl-nomadik.c 		__nmk_gpio_irq_modify(nmk_chip, d->hwirq, NORMAL, true);
hwirq             780 drivers/pinctrl/nomadik/pinctrl-nomadik.c 		__nmk_gpio_irq_modify(nmk_chip, d->hwirq, WAKE, true);
hwirq             242 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c 	unsigned int gpio = BIT(d->hwirq);
hwirq             290 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c 	unsigned int gpio = d->hwirq;
hwirq             301 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c 	unsigned int gpio = d->hwirq;
hwirq             313 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c 	unsigned int gpio = d->hwirq;
hwirq             323 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c 	unsigned int gpio = d->hwirq;
hwirq             349 drivers/pinctrl/pinctrl-amd.c 	pin_reg = readl(gpio_dev->base + (d->hwirq)*4);
hwirq             352 drivers/pinctrl/pinctrl-amd.c 	writel(pin_reg, gpio_dev->base + (d->hwirq)*4);
hwirq             364 drivers/pinctrl/pinctrl-amd.c 	pin_reg = readl(gpio_dev->base + (d->hwirq)*4);
hwirq             367 drivers/pinctrl/pinctrl-amd.c 	writel(pin_reg, gpio_dev->base + (d->hwirq)*4);
hwirq             379 drivers/pinctrl/pinctrl-amd.c 	pin_reg = readl(gpio_dev->base + (d->hwirq)*4);
hwirq             381 drivers/pinctrl/pinctrl-amd.c 	writel(pin_reg, gpio_dev->base + (d->hwirq)*4);
hwirq             393 drivers/pinctrl/pinctrl-amd.c 	pin_reg = readl(gpio_dev->base + (d->hwirq)*4);
hwirq             395 drivers/pinctrl/pinctrl-amd.c 	writel(pin_reg, gpio_dev->base + (d->hwirq)*4);
hwirq             422 drivers/pinctrl/pinctrl-amd.c 	pin_reg = readl(gpio_dev->base + (d->hwirq)*4);
hwirq             504 drivers/pinctrl/pinctrl-amd.c 	writel(pin_reg_irq_en, gpio_dev->base + (d->hwirq)*4);
hwirq             505 drivers/pinctrl/pinctrl-amd.c 	while ((readl(gpio_dev->base + (d->hwirq)*4) & mask) != mask)
hwirq             507 drivers/pinctrl/pinctrl-amd.c 	writel(pin_reg, gpio_dev->base + (d->hwirq)*4);
hwirq             169 drivers/pinctrl/pinctrl-at91-pio4.c 	struct atmel_pin *pin = atmel_pioctrl->pins[d->hwirq];
hwirq             211 drivers/pinctrl/pinctrl-at91-pio4.c 	struct atmel_pin *pin = atmel_pioctrl->pins[d->hwirq];
hwirq             220 drivers/pinctrl/pinctrl-at91-pio4.c 	struct atmel_pin *pin = atmel_pioctrl->pins[d->hwirq];
hwirq             231 drivers/pinctrl/pinctrl-at91-pio4.c 	int bank = ATMEL_PIO_BANK(d->hwirq);
hwirq             232 drivers/pinctrl/pinctrl-at91-pio4.c 	int line = ATMEL_PIO_LINE(d->hwirq);
hwirq            1533 drivers/pinctrl/pinctrl-at91.c 	unsigned	mask = 1 << d->hwirq;
hwirq            1543 drivers/pinctrl/pinctrl-at91.c 	unsigned	mask = 1 << d->hwirq;
hwirq            1565 drivers/pinctrl/pinctrl-at91.c 	unsigned	mask = 1 << d->hwirq;
hwirq            1622 drivers/pinctrl/pinctrl-at91.c 	unsigned mask = 1 << d->hwirq;
hwirq             424 drivers/pinctrl/pinctrl-coh901.c 	struct u300_gpio_port *port = &gpio->ports[d->hwirq >> 3];
hwirq             425 drivers/pinctrl/pinctrl-coh901.c 	int offset = d->hwirq;
hwirq             461 drivers/pinctrl/pinctrl-coh901.c 	struct u300_gpio_port *port = &gpio->ports[d->hwirq >> 3];
hwirq             462 drivers/pinctrl/pinctrl-coh901.c 	int offset = d->hwirq;
hwirq             467 drivers/pinctrl/pinctrl-coh901.c 		 d->hwirq, port->name, offset);
hwirq             478 drivers/pinctrl/pinctrl-coh901.c 	int offset = d->hwirq;
hwirq            1450 drivers/pinctrl/pinctrl-ingenic.c 	ingenic_gpio_set_bit(jzgc, GPIO_MSK, irqd->hwirq, true);
hwirq            1458 drivers/pinctrl/pinctrl-ingenic.c 	ingenic_gpio_set_bit(jzgc, GPIO_MSK, irqd->hwirq, false);
hwirq            1465 drivers/pinctrl/pinctrl-ingenic.c 	int irq = irqd->hwirq;
hwirq            1479 drivers/pinctrl/pinctrl-ingenic.c 	int irq = irqd->hwirq;
hwirq            1493 drivers/pinctrl/pinctrl-ingenic.c 	int irq = irqd->hwirq;
hwirq            1539 drivers/pinctrl/pinctrl-ingenic.c 		bool high = ingenic_gpio_get_value(jzgc, irqd->hwirq);
hwirq            1544 drivers/pinctrl/pinctrl-ingenic.c 	irq_set_type(jzgc, irqd->hwirq, type);
hwirq             546 drivers/pinctrl/pinctrl-mcp23s08.c 	unsigned int pos = data->hwirq;
hwirq             555 drivers/pinctrl/pinctrl-mcp23s08.c 	unsigned int pos = data->hwirq;
hwirq             564 drivers/pinctrl/pinctrl-mcp23s08.c 	unsigned int pos = data->hwirq;
hwirq             985 drivers/pinctrl/pinctrl-oxnas.c 	u32 mask = BIT(data->hwirq);
hwirq             995 drivers/pinctrl/pinctrl-oxnas.c 	u32 mask = BIT(data->hwirq);
hwirq            1011 drivers/pinctrl/pinctrl-oxnas.c 	u32 mask = BIT(data->hwirq);
hwirq            1026 drivers/pinctrl/pinctrl-oxnas.c 	oxnas_gpio_direction_input(chip, data->hwirq);
hwirq            2021 drivers/pinctrl/pinctrl-pic32.c 	pic32_gpio_direction_input(chip, data->hwirq);
hwirq            2030 drivers/pinctrl/pinctrl-pic32.c 	u32 mask = BIT(data->hwirq);
hwirq            1220 drivers/pinctrl/pinctrl-pistachio.c 	gpio_mask_writel(bank, GPIO_INTERRUPT_STATUS, data->hwirq, 0);
hwirq            1227 drivers/pinctrl/pinctrl-pistachio.c 	gpio_mask_writel(bank, GPIO_INTERRUPT_EN, data->hwirq, 0);
hwirq            1234 drivers/pinctrl/pinctrl-pistachio.c 	gpio_mask_writel(bank, GPIO_INTERRUPT_EN, data->hwirq, 1);
hwirq            1241 drivers/pinctrl/pinctrl-pistachio.c 	pistachio_gpio_direction_input(chip, data->hwirq);
hwirq            1253 drivers/pinctrl/pinctrl-pistachio.c 		gpio_mask_writel(bank, GPIO_INPUT_POLARITY, data->hwirq, 1);
hwirq            1254 drivers/pinctrl/pinctrl-pistachio.c 		gpio_mask_writel(bank, GPIO_INTERRUPT_TYPE, data->hwirq,
hwirq            1256 drivers/pinctrl/pinctrl-pistachio.c 		gpio_mask_writel(bank, GPIO_INTERRUPT_EDGE, data->hwirq,
hwirq            1260 drivers/pinctrl/pinctrl-pistachio.c 		gpio_mask_writel(bank, GPIO_INPUT_POLARITY, data->hwirq, 0);
hwirq            1261 drivers/pinctrl/pinctrl-pistachio.c 		gpio_mask_writel(bank, GPIO_INTERRUPT_TYPE, data->hwirq,
hwirq            1263 drivers/pinctrl/pinctrl-pistachio.c 		gpio_mask_writel(bank, GPIO_INTERRUPT_EDGE, data->hwirq,
hwirq            1267 drivers/pinctrl/pinctrl-pistachio.c 		gpio_mask_writel(bank, GPIO_INTERRUPT_TYPE, data->hwirq,
hwirq            1269 drivers/pinctrl/pinctrl-pistachio.c 		gpio_mask_writel(bank, GPIO_INTERRUPT_EDGE, data->hwirq,
hwirq            1273 drivers/pinctrl/pinctrl-pistachio.c 		gpio_mask_writel(bank, GPIO_INPUT_POLARITY, data->hwirq, 1);
hwirq            1274 drivers/pinctrl/pinctrl-pistachio.c 		gpio_mask_writel(bank, GPIO_INTERRUPT_TYPE, data->hwirq,
hwirq            1278 drivers/pinctrl/pinctrl-pistachio.c 		gpio_mask_writel(bank, GPIO_INPUT_POLARITY, data->hwirq, 0);
hwirq            1279 drivers/pinctrl/pinctrl-pistachio.c 		gpio_mask_writel(bank, GPIO_INTERRUPT_TYPE, data->hwirq,
hwirq            2900 drivers/pinctrl/pinctrl-rockchip.c 	u32 mask = BIT(d->hwirq);
hwirq            2908 drivers/pinctrl/pinctrl-rockchip.c 	ret = rockchip_set_mux(bank, d->hwirq, RK_FUNC_GPIO);
hwirq            1354 drivers/pinctrl/pinctrl-single.c 	irq_hw_number_t hwirq;
hwirq            1464 drivers/pinctrl/pinctrl-single.c 							    pcswi->hwirq));
hwirq            1508 drivers/pinctrl/pinctrl-single.c 			     irq_hw_number_t hwirq)
hwirq            1519 drivers/pinctrl/pinctrl-single.c 	pcswi->reg = pcs->base + hwirq;
hwirq            1520 drivers/pinctrl/pinctrl-single.c 	pcswi->hwirq = hwirq;
hwirq            1282 drivers/pinctrl/pinctrl-st.c 	writel(BIT(d->hwirq), bank->base + REG_PIO_CLR_PMASK);
hwirq            1290 drivers/pinctrl/pinctrl-st.c 	writel(BIT(d->hwirq), bank->base + REG_PIO_SET_PMASK);
hwirq            1297 drivers/pinctrl/pinctrl-st.c 	st_gpio_direction_input(gc, d->hwirq);
hwirq            1299 drivers/pinctrl/pinctrl-st.c 	return gpiochip_lock_as_irq(gc, d->hwirq);
hwirq            1306 drivers/pinctrl/pinctrl-st.c 	gpiochip_unlock_as_irq(gc, d->hwirq);
hwirq            1314 drivers/pinctrl/pinctrl-st.c 	int comp, pin = d->hwirq;
hwirq             417 drivers/pinctrl/pinctrl-stmfx.c 	u32 reg = get_reg(data->hwirq);
hwirq             418 drivers/pinctrl/pinctrl-stmfx.c 	u32 mask = get_mask(data->hwirq);
hwirq             427 drivers/pinctrl/pinctrl-stmfx.c 	u32 reg = get_reg(data->hwirq);
hwirq             428 drivers/pinctrl/pinctrl-stmfx.c 	u32 mask = get_mask(data->hwirq);
hwirq             437 drivers/pinctrl/pinctrl-stmfx.c 	u32 reg = get_reg(data->hwirq);
hwirq             438 drivers/pinctrl/pinctrl-stmfx.c 	u32 mask = get_mask(data->hwirq);
hwirq             483 drivers/pinctrl/pinctrl-stmfx.c 	u32 reg = get_reg(data->hwirq);
hwirq             484 drivers/pinctrl/pinctrl-stmfx.c 	u32 mask = get_mask(data->hwirq);
hwirq             492 drivers/pinctrl/pinctrl-stmfx.c 		if (stmfx_gpio_get(gpio_chip, data->hwirq))
hwirq             490 drivers/pinctrl/pinctrl-sx150x.c 	unsigned int n = d->hwirq;
hwirq             499 drivers/pinctrl/pinctrl-sx150x.c 	unsigned int n = d->hwirq;
hwirq             528 drivers/pinctrl/pinctrl-sx150x.c 	n = d->hwirq;
hwirq             710 drivers/pinctrl/qcom/pinctrl-msm.c 	g = &pctrl->soc->groups[d->hwirq];
hwirq             741 drivers/pinctrl/qcom/pinctrl-msm.c 	clear_bit(d->hwirq, pctrl->enabled_irqs);
hwirq             754 drivers/pinctrl/qcom/pinctrl-msm.c 	g = &pctrl->soc->groups[d->hwirq];
hwirq             774 drivers/pinctrl/qcom/pinctrl-msm.c 	set_bit(d->hwirq, pctrl->enabled_irqs);
hwirq             798 drivers/pinctrl/qcom/pinctrl-msm.c 	g = &pctrl->soc->groups[d->hwirq];
hwirq             809 drivers/pinctrl/qcom/pinctrl-msm.c 	if (test_bit(d->hwirq, pctrl->dual_edge_irqs))
hwirq             823 drivers/pinctrl/qcom/pinctrl-msm.c 	g = &pctrl->soc->groups[d->hwirq];
hwirq             831 drivers/pinctrl/qcom/pinctrl-msm.c 		set_bit(d->hwirq, pctrl->dual_edge_irqs);
hwirq             833 drivers/pinctrl/qcom/pinctrl-msm.c 		clear_bit(d->hwirq, pctrl->dual_edge_irqs);
hwirq             896 drivers/pinctrl/qcom/pinctrl-msm.c 	if (test_bit(d->hwirq, pctrl->dual_edge_irqs))
hwirq             933 drivers/pinctrl/qcom/pinctrl-msm.c 	ret = msm_pinmux_request_gpio(pctrl->pctrl, NULL, d->hwirq);
hwirq             936 drivers/pinctrl/qcom/pinctrl-msm.c 	msm_gpio_direction_input(gc, d->hwirq);
hwirq             938 drivers/pinctrl/qcom/pinctrl-msm.c 	if (gpiochip_lock_as_irq(gc, d->hwirq)) {
hwirq             941 drivers/pinctrl/qcom/pinctrl-msm.c 			d->hwirq);
hwirq             955 drivers/pinctrl/qcom/pinctrl-msm.c 	gpiochip_unlock_as_irq(gc, d->hwirq);
hwirq             932 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c 				      unsigned long *hwirq,
hwirq             943 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c 	*hwirq = fwspec->param[0] - PMIC_GPIO_PHYSICAL_OFFSET;
hwirq             699 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 				   unsigned long *hwirq,
hwirq             709 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	*hwirq = fwspec->param[0] - PM8XXX_GPIO_PHYSICAL_OFFSET;
hwirq             722 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	irq_hw_number_t hwirq;
hwirq             726 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	ret = pm8xxx_domain_translate(domain, fwspec, &hwirq, &type);
hwirq             731 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 		irq_domain_set_info(domain, virq + i, hwirq + i,
hwirq             737 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	parent_fwspec.param[0] = hwirq + 0xc0;
hwirq              62 drivers/pinctrl/samsung/pinctrl-exynos.c 	mask |= 1 << irqd->hwirq;
hwirq              75 drivers/pinctrl/samsung/pinctrl-exynos.c 	writel(1 << irqd->hwirq, bank->eint_base + reg_pend);
hwirq             101 drivers/pinctrl/samsung/pinctrl-exynos.c 	mask &= ~(1 << irqd->hwirq);
hwirq             112 drivers/pinctrl/samsung/pinctrl-exynos.c 	unsigned int shift = EXYNOS_EINT_CON_LEN * irqd->hwirq;
hwirq             158 drivers/pinctrl/samsung/pinctrl-exynos.c 	ret = gpiochip_lock_as_irq(&bank->gpio_chip, irqd->hwirq);
hwirq             162 drivers/pinctrl/samsung/pinctrl-exynos.c 			bank->name, irqd->hwirq);
hwirq             167 drivers/pinctrl/samsung/pinctrl-exynos.c 	shift = irqd->hwirq * bank_type->fld_width[PINCFG_TYPE_FUNC];
hwirq             190 drivers/pinctrl/samsung/pinctrl-exynos.c 	shift = irqd->hwirq * bank_type->fld_width[PINCFG_TYPE_FUNC];
hwirq             202 drivers/pinctrl/samsung/pinctrl-exynos.c 	gpiochip_unlock_as_irq(&bank->gpio_chip, irqd->hwirq);
hwirq             333 drivers/pinctrl/samsung/pinctrl-exynos.c 	unsigned long bit = 1UL << (2 * bank->eint_offset + irqd->hwirq);
hwirq             167 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	int index = bank->eint_offset + data->hwirq;
hwirq             190 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	s3c24xx_eint_set_function(d, bank, data->hwirq);
hwirq             202 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	int parent_irq = eint_data->parents[data->hwirq];
hwirq             213 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	int parent_irq = eint_data->parents[data->hwirq];
hwirq             224 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	int parent_irq = eint_data->parents[data->hwirq];
hwirq             245 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	virq = irq_linear_revmap(eint_data->domains[data->hwirq], data->hwirq);
hwirq             259 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	unsigned long bitval = 1UL << data->hwirq;
hwirq             270 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	mask |= (1UL << data->hwirq);
hwirq             281 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	mask &= ~(1UL << data->hwirq);
hwirq             303 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	virq = irq_linear_revmap(eint_data->domains[data->hwirq], data->hwirq);
hwirq             318 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	unsigned char index = bank->eint_offset + data->hwirq;
hwirq             327 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	unsigned char index = bank->eint_offset + data->hwirq;
hwirq             339 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	unsigned char index = bank->eint_offset + data->hwirq;
hwirq             307 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	unsigned char index = EINT_OFFS(bank->eint_offset) + irqd->hwirq;
hwirq             333 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	unsigned char index = EINT_OFFS(bank->eint_offset) + irqd->hwirq;
hwirq             358 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	shift = EINT_OFFS(bank->eint_offset) + irqd->hwirq;
hwirq             366 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	s3c64xx_irq_set_function(d, bank, irqd->hwirq);
hwirq             519 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 		val |= 1 << ddata->eints[irqd->hwirq];
hwirq             521 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 		val &= ~(1 << ddata->eints[irqd->hwirq]);
hwirq             541 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	writel(1 << ddata->eints[irqd->hwirq],
hwirq             566 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	shift = ddata->eints[irqd->hwirq];
hwirq             578 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	s3c64xx_irq_set_function(d, bank, irqd->hwirq);
hwirq            5643 drivers/pinctrl/sirf/pinctrl-atlas7.c 	bank = atlas7_gpio_to_bank(a7gc, d->hwirq);
hwirq            5644 drivers/pinctrl/sirf/pinctrl-atlas7.c 	pin_in_bank = d->hwirq - bank->gpio_offset;
hwirq            5680 drivers/pinctrl/sirf/pinctrl-atlas7.c 	__atlas7_gpio_irq_mask(a7gc, d->hwirq);
hwirq            5694 drivers/pinctrl/sirf/pinctrl-atlas7.c 	bank = atlas7_gpio_to_bank(a7gc, d->hwirq);
hwirq            5695 drivers/pinctrl/sirf/pinctrl-atlas7.c 	pin_in_bank = d->hwirq - bank->gpio_offset;
hwirq            5718 drivers/pinctrl/sirf/pinctrl-atlas7.c 	bank = atlas7_gpio_to_bank(a7gc, d->hwirq);
hwirq            5719 drivers/pinctrl/sirf/pinctrl-atlas7.c 	pin_in_bank = d->hwirq - bank->gpio_offset;
hwirq             424 drivers/pinctrl/sirf/pinctrl-sirf.c 	struct sirfsoc_gpio_bank *bank = sirfsoc_gpio_to_bank(sgpio, d->hwirq);
hwirq             425 drivers/pinctrl/sirf/pinctrl-sirf.c 	int idx = sirfsoc_gpio_to_bankoff(d->hwirq);
hwirq             463 drivers/pinctrl/sirf/pinctrl-sirf.c 	struct sirfsoc_gpio_bank *bank = sirfsoc_gpio_to_bank(sgpio, d->hwirq);
hwirq             465 drivers/pinctrl/sirf/pinctrl-sirf.c 	__sirfsoc_gpio_irq_mask(sgpio, bank, d->hwirq % SIRFSOC_GPIO_BANK_SIZE);
hwirq             472 drivers/pinctrl/sirf/pinctrl-sirf.c 	struct sirfsoc_gpio_bank *bank = sirfsoc_gpio_to_bank(sgpio, d->hwirq);
hwirq             473 drivers/pinctrl/sirf/pinctrl-sirf.c 	int idx = sirfsoc_gpio_to_bankoff(d->hwirq);
hwirq             493 drivers/pinctrl/sirf/pinctrl-sirf.c 	struct sirfsoc_gpio_bank *bank = sirfsoc_gpio_to_bank(sgpio, d->hwirq);
hwirq             494 drivers/pinctrl/sirf/pinctrl-sirf.c 	int idx = sirfsoc_gpio_to_bankoff(d->hwirq);
hwirq             284 drivers/pinctrl/spear/pinctrl-plgpio.c 	int offset = d->hwirq;
hwirq             303 drivers/pinctrl/spear/pinctrl-plgpio.c 	int offset = d->hwirq;
hwirq             322 drivers/pinctrl/spear/pinctrl-plgpio.c 	int offset = d->hwirq;
hwirq             312 drivers/pinctrl/stm32/pinctrl-stm32.c 	ret = stm32_gpio_direction_input(&bank->gpio_chip, irq_data->hwirq);
hwirq             316 drivers/pinctrl/stm32/pinctrl-stm32.c 	ret = gpiochip_lock_as_irq(&bank->gpio_chip, irq_data->hwirq);
hwirq             319 drivers/pinctrl/stm32/pinctrl-stm32.c 			irq_data->hwirq);
hwirq             330 drivers/pinctrl/stm32/pinctrl-stm32.c 	gpiochip_unlock_as_irq(&bank->gpio_chip, irq_data->hwirq);
hwirq             347 drivers/pinctrl/stm32/pinctrl-stm32.c 				       unsigned long *hwirq,
hwirq             354 drivers/pinctrl/stm32/pinctrl-stm32.c 	*hwirq = fwspec->param[0];
hwirq             380 drivers/pinctrl/stm32/pinctrl-stm32.c 	if (pctl->irqmux_map & BIT(irq_data->hwirq)) {
hwirq             382 drivers/pinctrl/stm32/pinctrl-stm32.c 			irq_data->hwirq);
hwirq             388 drivers/pinctrl/stm32/pinctrl-stm32.c 		pctl->irqmux_map |= BIT(irq_data->hwirq);
hwirq             391 drivers/pinctrl/stm32/pinctrl-stm32.c 	regmap_field_write(pctl->irqmux[irq_data->hwirq], bank->bank_ioport_nr);
hwirq             409 drivers/pinctrl/stm32/pinctrl-stm32.c 	pctl->irqmux_map &= ~BIT(irq_data->hwirq);
hwirq             420 drivers/pinctrl/stm32/pinctrl-stm32.c 	irq_hw_number_t hwirq;
hwirq             422 drivers/pinctrl/stm32/pinctrl-stm32.c 	hwirq = fwspec->param[0];
hwirq             428 drivers/pinctrl/stm32/pinctrl-stm32.c 	irq_domain_set_hwirq_and_chip(d, virq, hwirq, &stm32_gpio_irq_chip,
hwirq             938 drivers/pinctrl/sunxi/pinctrl-sunxi.c 					pctl->irq_array[d->hwirq], "irq");
hwirq             943 drivers/pinctrl/sunxi/pinctrl-sunxi.c 			pctl->irq_array[d->hwirq] - pctl->desc->pin_base);
hwirq             951 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	sunxi_pmx_set(pctl->pctl_dev, pctl->irq_array[d->hwirq], func->muxval);
hwirq             961 drivers/pinctrl/sunxi/pinctrl-sunxi.c 			      pctl->irq_array[d->hwirq] - pctl->desc->pin_base);
hwirq             967 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	u32 reg = sunxi_irq_cfg_reg(pctl->desc, d->hwirq);
hwirq             968 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	u8 index = sunxi_irq_cfg_offset(d->hwirq);
hwirq            1014 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	u32 status_reg = sunxi_irq_status_reg(pctl->desc, d->hwirq);
hwirq            1015 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	u8 status_idx = sunxi_irq_status_offset(d->hwirq);
hwirq            1024 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	u32 reg = sunxi_irq_ctrl_reg(pctl->desc, d->hwirq);
hwirq            1025 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	u8 idx = sunxi_irq_ctrl_offset(d->hwirq);
hwirq            1041 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	u32 reg = sunxi_irq_ctrl_reg(pctl->desc, d->hwirq);
hwirq            1042 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	u8 idx = sunxi_irq_ctrl_offset(d->hwirq);
hwirq             194 drivers/scsi/cxlflash/ocxl_hw.c 	virq = irq_create_mapping(NULL, irq->hwirq);
hwirq             265 drivers/scsi/cxlflash/ocxl_hw.c 	if (irq_find_mapping(NULL, irq->hwirq)) {
hwirq             600 drivers/scsi/cxlflash/ocxl_hw.c 		ocxl_link_free_irq(afu->link_token, ctx->irqs[i].hwirq);
hwirq             620 drivers/scsi/cxlflash/ocxl_hw.c 	int hwirq;
hwirq             643 drivers/scsi/cxlflash/ocxl_hw.c 		rc = ocxl_link_irq_alloc(afu->link_token, &hwirq, &addr);
hwirq             650 drivers/scsi/cxlflash/ocxl_hw.c 		irqs[i].hwirq = hwirq;
hwirq             660 drivers/scsi/cxlflash/ocxl_hw.c 		ocxl_link_free_irq(afu->link_token, irqs[i].hwirq);
hwirq              14 drivers/scsi/cxlflash/ocxl_hw.h 	int hwirq;
hwirq             241 drivers/soc/dove/pmu.c 		u32 hwirq = fls(stat) - 1;
hwirq             243 drivers/soc/dove/pmu.c 		stat &= ~(1 << hwirq);
hwirq             244 drivers/soc/dove/pmu.c 		done &= ~(1 << hwirq);
hwirq             246 drivers/soc/dove/pmu.c 		generic_handle_irq(irq_find_mapping(domain, hwirq));
hwirq            1842 drivers/soc/tegra/pmc.c 				   unsigned long *hwirq,
hwirq            1848 drivers/soc/tegra/pmc.c 	*hwirq = fwspec->param[0];
hwirq            1956 drivers/soc/tegra/pmc.c 	if (WARN_ON(data->hwirq == ULONG_MAX))
hwirq            1959 drivers/soc/tegra/pmc.c 	offset = data->hwirq / 32;
hwirq            1960 drivers/soc/tegra/pmc.c 	bit = data->hwirq % 32;
hwirq            1963 drivers/soc/tegra/pmc.c 	writel(0x1, pmc->wake + WAKE_AOWAKE_STATUS_W(data->hwirq));
hwirq            1976 drivers/soc/tegra/pmc.c 	writel(!!on, pmc->wake + WAKE_AOWAKE_MASK_W(data->hwirq));
hwirq            1987 drivers/soc/tegra/pmc.c 	if (data->hwirq == ULONG_MAX)
hwirq            1990 drivers/soc/tegra/pmc.c 	value = readl(pmc->wake + WAKE_AOWAKE_CNTRL(data->hwirq));
hwirq            2011 drivers/soc/tegra/pmc.c 	writel(value, pmc->wake + WAKE_AOWAKE_CNTRL(data->hwirq));
hwirq             109 drivers/spmi/spmi-pmic-arb.c #define hwirq_to_sid(hwirq)  (((hwirq) >> 28) & 0xF)
hwirq             110 drivers/spmi/spmi-pmic-arb.c #define hwirq_to_per(hwirq)  (((hwirq) >> 20) & 0xFF)
hwirq             111 drivers/spmi/spmi-pmic-arb.c #define hwirq_to_irq(hwirq)  (((hwirq) >> 16) & 0x7)
hwirq             112 drivers/spmi/spmi-pmic-arb.c #define hwirq_to_apid(hwirq) (((hwirq) >> 0)  & 0x1FF)
hwirq             464 drivers/spmi/spmi-pmic-arb.c 	u8 sid = hwirq_to_sid(d->hwirq);
hwirq             465 drivers/spmi/spmi-pmic-arb.c 	u8 per = hwirq_to_per(d->hwirq);
hwirq             476 drivers/spmi/spmi-pmic-arb.c 	u8 sid = hwirq_to_sid(d->hwirq);
hwirq             477 drivers/spmi/spmi-pmic-arb.c 	u8 per = hwirq_to_per(d->hwirq);
hwirq             560 drivers/spmi/spmi-pmic-arb.c 	u8 irq = hwirq_to_irq(d->hwirq);
hwirq             561 drivers/spmi/spmi-pmic-arb.c 	u16 apid = hwirq_to_apid(d->hwirq);
hwirq             572 drivers/spmi/spmi-pmic-arb.c 	u8 irq = hwirq_to_irq(d->hwirq);
hwirq             582 drivers/spmi/spmi-pmic-arb.c 	u8 irq = hwirq_to_irq(d->hwirq);
hwirq             583 drivers/spmi/spmi-pmic-arb.c 	u16 apid = hwirq_to_apid(d->hwirq);
hwirq             606 drivers/spmi/spmi-pmic-arb.c 	u8 irq = hwirq_to_irq(d->hwirq);
hwirq             649 drivers/spmi/spmi-pmic-arb.c 	u8 irq = hwirq_to_irq(d->hwirq);
hwirq             665 drivers/spmi/spmi-pmic-arb.c 	u16 periph = hwirq_to_per(d->hwirq);
hwirq             666 drivers/spmi/spmi-pmic-arb.c 	u16 apid = hwirq_to_apid(d->hwirq);
hwirq             667 drivers/spmi/spmi-pmic-arb.c 	u16 sid = hwirq_to_sid(d->hwirq);
hwirq             668 drivers/spmi/spmi-pmic-arb.c 	u16 irq = hwirq_to_irq(d->hwirq);
hwirq             738 drivers/spmi/spmi-pmic-arb.c 				   irq_hw_number_t hwirq, unsigned int type)
hwirq             743 drivers/spmi/spmi-pmic-arb.c 		virq, hwirq, type);
hwirq             753 drivers/spmi/spmi-pmic-arb.c 	irq_domain_set_info(domain, virq, hwirq, &pmic_arb_irqchip, pmic_arb,
hwirq             763 drivers/spmi/spmi-pmic-arb.c 	irq_hw_number_t hwirq;
hwirq             767 drivers/spmi/spmi-pmic-arb.c 	ret = qpnpint_irq_domain_translate(domain, fwspec, &hwirq, &type);
hwirq             772 drivers/spmi/spmi-pmic-arb.c 		qpnpint_irq_domain_map(pmic_arb, domain, virq + i, hwirq + i,
hwirq             145 drivers/ssb/driver_gpio.c 	int gpio, hwirq, err;
hwirq             164 drivers/ssb/driver_gpio.c 	hwirq = ssb_mips_irq(bus->chipco.dev) + 2;
hwirq             165 drivers/ssb/driver_gpio.c 	err = request_irq(hwirq, ssb_gpio_irq_chipco_handler, IRQF_SHARED,
hwirq             342 drivers/ssb/driver_gpio.c 	int gpio, hwirq, err;
hwirq             361 drivers/ssb/driver_gpio.c 	hwirq = ssb_mips_irq(bus->extif.dev) + 2;
hwirq             362 drivers/ssb/driver_gpio.c 	err = request_irq(hwirq, ssb_gpio_irq_extif_handler, IRQF_SHARED,
hwirq              77 drivers/staging/board/board.c 	unsigned int hwirq = res->start;
hwirq              86 drivers/staging/board/board.c 	irq_data.args[1] = hwirq - irqc_base;
hwirq             109 drivers/staging/board/board.c 	pr_debug("hwirq %u -> virq %u\n", hwirq, virq);
hwirq             226 drivers/staging/greybus/gpio.c static void _gb_gpio_irq_mask(struct gb_gpio_controller *ggc, u8 hwirq)
hwirq             232 drivers/staging/greybus/gpio.c 	request.which = hwirq;
hwirq             240 drivers/staging/greybus/gpio.c static void _gb_gpio_irq_unmask(struct gb_gpio_controller *ggc, u8 hwirq)
hwirq             246 drivers/staging/greybus/gpio.c 	request.which = hwirq;
hwirq             255 drivers/staging/greybus/gpio.c 				  u8 hwirq, u8 type)
hwirq             261 drivers/staging/greybus/gpio.c 	request.which = hwirq;
hwirq             275 drivers/staging/greybus/gpio.c 	struct gb_gpio_line *line = &ggc->lines[d->hwirq];
hwirq             285 drivers/staging/greybus/gpio.c 	struct gb_gpio_line *line = &ggc->lines[d->hwirq];
hwirq             295 drivers/staging/greybus/gpio.c 	struct gb_gpio_line *line = &ggc->lines[d->hwirq];
hwirq             341 drivers/staging/greybus/gpio.c 	struct gb_gpio_line *line = &ggc->lines[d->hwirq];
hwirq             344 drivers/staging/greybus/gpio.c 		_gb_gpio_irq_set_type(ggc, d->hwirq, line->irq_type);
hwirq             350 drivers/staging/greybus/gpio.c 			_gb_gpio_irq_mask(ggc, d->hwirq);
hwirq             352 drivers/staging/greybus/gpio.c 			_gb_gpio_irq_unmask(ggc, d->hwirq);
hwirq            3598 drivers/staging/octeon-usb/octeon-hcd.c 		irq_hw_number_t hwirq = usb_num ? (1 << 6) + 17 : 56;
hwirq            3600 drivers/staging/octeon-usb/octeon-hcd.c 		irq = irq_create_mapping(NULL, hwirq);
hwirq            1154 drivers/thermal/tegra/soctherm.c 	d->irq_enable |= BIT(data->hwirq);
hwirq            1170 drivers/thermal/tegra/soctherm.c 	d->irq_enable &= ~BIT(data->hwirq);
hwirq              25 drivers/vfio/platform/vfio_platform_irq.c 		disable_irq_nosync(irq_ctx->hwirq);
hwirq              85 drivers/vfio/platform/vfio_platform_irq.c 		enable_irq(irq_ctx->hwirq);
hwirq             151 drivers/vfio/platform/vfio_platform_irq.c 		disable_irq_nosync(irq_ctx->hwirq);
hwirq             180 drivers/vfio/platform/vfio_platform_irq.c 		irq_clear_status_flags(irq->hwirq, IRQ_NOAUTOEN);
hwirq             181 drivers/vfio/platform/vfio_platform_irq.c 		free_irq(irq->hwirq, irq);
hwirq             191 drivers/vfio/platform/vfio_platform_irq.c 						irq->hwirq, vdev->name);
hwirq             203 drivers/vfio/platform/vfio_platform_irq.c 	irq_set_status_flags(irq->hwirq, IRQ_NOAUTOEN);
hwirq             204 drivers/vfio/platform/vfio_platform_irq.c 	ret = request_irq(irq->hwirq, handler, 0, irq->name, irq);
hwirq             213 drivers/vfio/platform/vfio_platform_irq.c 		enable_irq(irq->hwirq);
hwirq             244 drivers/vfio/platform/vfio_platform_irq.c 		handler(irq->hwirq, irq);
hwirq             250 drivers/vfio/platform/vfio_platform_irq.c 			handler(irq->hwirq, irq);
hwirq             294 drivers/vfio/platform/vfio_platform_irq.c 		int hwirq = vdev->get_irq(vdev, i);
hwirq             296 drivers/vfio/platform/vfio_platform_irq.c 		if (hwirq < 0)
hwirq             303 drivers/vfio/platform/vfio_platform_irq.c 		if (irq_get_trigger_type(hwirq) & IRQ_TYPE_LEVEL_MASK)
hwirq             308 drivers/vfio/platform/vfio_platform_irq.c 		vdev->irqs[i].hwirq = hwirq;
hwirq              25 drivers/vfio/platform/vfio_platform_private.h 	int			hwirq;
hwirq             310 drivers/watchdog/octeon-wdt-main.c 		int hwirq;
hwirq             314 drivers/watchdog/octeon-wdt-main.c 		hwirq = WD_BLOCK_NUMBER << 12 | 0x200 | coreid;
hwirq             315 drivers/watchdog/octeon-wdt-main.c 		irq = irq_find_mapping(domain, hwirq);
hwirq             350 drivers/watchdog/octeon-wdt-main.c 	int hwirq;
hwirq             368 drivers/watchdog/octeon-wdt-main.c 		hwirq = WD_BLOCK_NUMBER << 12 | 0x200 | core;
hwirq             369 drivers/watchdog/octeon-wdt-main.c 		irq = irq_create_mapping(domain, hwirq);
hwirq              24 include/asm-generic/msi.h 	irq_hw_number_t			hwirq;
hwirq             572 include/linux/gpio/driver.h 		     irq_hw_number_t hwirq);
hwirq             176 include/linux/irq.h 	unsigned long		hwirq;
hwirq             415 include/linux/irq.h 	return d->hwirq;
hwirq             168 include/linux/irqdesc.h int __handle_domain_irq(struct irq_domain *domain, unsigned int hwirq,
hwirq             172 include/linux/irqdesc.h 				    unsigned int hwirq, struct pt_regs *regs)
hwirq             174 include/linux/irqdesc.h 	return __handle_domain_irq(domain, hwirq, true, regs);
hwirq             178 include/linux/irqdesc.h int handle_domain_nmi(struct irq_domain *domain, unsigned int hwirq,
hwirq             278 include/linux/irqdomain.h 				  irq_hw_number_t hwirq, int node,
hwirq             378 include/linux/irqdomain.h 					irq_hw_number_t hwirq);
hwirq             386 include/linux/irqdomain.h 				       irq_hw_number_t hwirq);
hwirq             401 include/linux/irqdomain.h 					     irq_hw_number_t hwirq)
hwirq             403 include/linux/irqdomain.h 	return hwirq < domain->revmap_size ? domain->linear_revmap[hwirq] : 0;
hwirq             406 include/linux/irqdomain.h 				     irq_hw_number_t hwirq);
hwirq             413 include/linux/irqdomain.h 					      irq_hw_number_t hwirq)
hwirq             415 include/linux/irqdomain.h 	return irq_create_strict_mappings(host, hwirq, hwirq, 1);
hwirq             444 include/linux/irqdomain.h 				irq_hw_number_t hwirq, struct irq_chip *chip,
hwirq             485 include/linux/irqdomain.h 					 irq_hw_number_t hwirq,
hwirq             257 include/linux/msi.h 				    unsigned int virq, irq_hw_number_t hwirq,
hwirq              82 kernel/irq/debugfs.c 	seq_printf(m, "%*shwirq:   0x%lx\n", ind + 1, "", data->hwirq);
hwirq             431 kernel/irq/generic-chip.c 	unsigned int hw_irq = data->hwirq;
hwirq             191 kernel/irq/irqdesc.c 		ret = sprintf(buf, "%d\n", (int)desc->irq_data.hwirq);
hwirq             196 kernel/irq/irqdesc.c IRQ_ATTR_RO(hwirq);
hwirq             659 kernel/irq/irqdesc.c int __handle_domain_irq(struct irq_domain *domain, unsigned int hwirq,
hwirq             663 kernel/irq/irqdesc.c 	unsigned int irq = hwirq;
hwirq             670 kernel/irq/irqdesc.c 		irq = irq_find_mapping(domain, hwirq);
hwirq             700 kernel/irq/irqdesc.c int handle_domain_nmi(struct irq_domain *domain, unsigned int hwirq,
hwirq             712 kernel/irq/irqdesc.c 	irq = irq_find_mapping(domain, hwirq);
hwirq             478 kernel/irq/irqdomain.c 				     irq_hw_number_t hwirq)
hwirq             480 kernel/irq/irqdomain.c 	if (hwirq < domain->revmap_size) {
hwirq             481 kernel/irq/irqdomain.c 		domain->linear_revmap[hwirq] = 0;
hwirq             484 kernel/irq/irqdomain.c 		radix_tree_delete(&domain->revmap_tree, hwirq);
hwirq             490 kernel/irq/irqdomain.c 				   irq_hw_number_t hwirq,
hwirq             493 kernel/irq/irqdomain.c 	if (hwirq < domain->revmap_size) {
hwirq             494 kernel/irq/irqdomain.c 		domain->linear_revmap[hwirq] = irq_data->irq;
hwirq             497 kernel/irq/irqdomain.c 		radix_tree_insert(&domain->revmap_tree, hwirq, irq_data);
hwirq             505 kernel/irq/irqdomain.c 	irq_hw_number_t hwirq;
hwirq             511 kernel/irq/irqdomain.c 	hwirq = irq_data->hwirq;
hwirq             526 kernel/irq/irqdomain.c 	irq_data->hwirq = 0;
hwirq             530 kernel/irq/irqdomain.c 	irq_domain_clear_mapping(domain, hwirq);
hwirq             534 kernel/irq/irqdomain.c 			 irq_hw_number_t hwirq)
hwirq             539 kernel/irq/irqdomain.c 	if (WARN(hwirq >= domain->hwirq_max,
hwirq             540 kernel/irq/irqdomain.c 		 "error: hwirq 0x%x is too large for %s\n", (int)hwirq, domain->name))
hwirq             548 kernel/irq/irqdomain.c 	irq_data->hwirq = hwirq;
hwirq             551 kernel/irq/irqdomain.c 		ret = domain->ops->map(domain, virq, hwirq);
hwirq             560 kernel/irq/irqdomain.c 				       domain->name, hwirq, virq, ret);
hwirq             563 kernel/irq/irqdomain.c 			irq_data->hwirq = 0;
hwirq             574 kernel/irq/irqdomain.c 	irq_domain_set_mapping(domain, hwirq, irq_data);
hwirq             651 kernel/irq/irqdomain.c 				irq_hw_number_t hwirq)
hwirq             656 kernel/irq/irqdomain.c 	pr_debug("irq_create_mapping(0x%p, 0x%lx)\n", domain, hwirq);
hwirq             662 kernel/irq/irqdomain.c 		WARN(1, "%s(, %lx) called with NULL domain\n", __func__, hwirq);
hwirq             670 kernel/irq/irqdomain.c 	virq = irq_find_mapping(domain, hwirq);
hwirq             677 kernel/irq/irqdomain.c 	virq = irq_domain_alloc_descs(-1, 1, hwirq, of_node_to_nid(of_node), NULL);
hwirq             683 kernel/irq/irqdomain.c 	if (irq_domain_associate(domain, virq, hwirq)) {
hwirq             689 kernel/irq/irqdomain.c 		hwirq, of_node_full_name(of_node), virq);
hwirq             732 kernel/irq/irqdomain.c 				irq_hw_number_t *hwirq, unsigned int *type)
hwirq             736 kernel/irq/irqdomain.c 		return d->ops->translate(d, fwspec, hwirq, type);
hwirq             741 kernel/irq/irqdomain.c 				     hwirq, type);
hwirq             744 kernel/irq/irqdomain.c 	*hwirq = fwspec->param[0];
hwirq             765 kernel/irq/irqdomain.c 	irq_hw_number_t hwirq;
hwirq             783 kernel/irq/irqdomain.c 	if (irq_domain_translate(domain, fwspec, &hwirq, &type))
hwirq             797 kernel/irq/irqdomain.c 	virq = irq_find_mapping(domain, hwirq);
hwirq             821 kernel/irq/irqdomain.c 			hwirq, of_node_full_name(to_of_node(fwspec->fwnode)));
hwirq             831 kernel/irq/irqdomain.c 		virq = irq_create_mapping(domain, hwirq);
hwirq             894 kernel/irq/irqdomain.c 			      irq_hw_number_t hwirq)
hwirq             904 kernel/irq/irqdomain.c 	if (hwirq < domain->revmap_direct_max_irq) {
hwirq             905 kernel/irq/irqdomain.c 		data = irq_domain_get_irq_data(domain, hwirq);
hwirq             906 kernel/irq/irqdomain.c 		if (data && data->hwirq == hwirq)
hwirq             907 kernel/irq/irqdomain.c 			return hwirq;
hwirq             911 kernel/irq/irqdomain.c 	if (hwirq < domain->revmap_size)
hwirq             912 kernel/irq/irqdomain.c 		return domain->linear_revmap[hwirq];
hwirq             915 kernel/irq/irqdomain.c 	data = radix_tree_lookup(&domain->revmap_tree, hwirq);
hwirq            1010 kernel/irq/irqdomain.c int irq_domain_alloc_descs(int virq, unsigned int cnt, irq_hw_number_t hwirq,
hwirq            1019 kernel/irq/irqdomain.c 		hint = hwirq % nr_irqs;
hwirq            1079 kernel/irq/irqdomain.c 		irq_domain_set_mapping(domain, data->hwirq, data);
hwirq            1100 kernel/irq/irqdomain.c 		irq_hw_number_t hwirq = data->hwirq;
hwirq            1103 kernel/irq/irqdomain.c 		irq_domain_clear_mapping(domain, hwirq);
hwirq            1195 kernel/irq/irqdomain.c 				  irq_hw_number_t hwirq, struct irq_chip *chip,
hwirq            1203 kernel/irq/irqdomain.c 	irq_data->hwirq = hwirq;
hwirq            1223 kernel/irq/irqdomain.c 			 irq_hw_number_t hwirq, struct irq_chip *chip,
hwirq            1227 kernel/irq/irqdomain.c 	irq_domain_set_hwirq_and_chip(domain, virq, hwirq, chip, chip_data);
hwirq            1239 kernel/irq/irqdomain.c 	irq_data->hwirq = 0;
hwirq            1380 kernel/irq/irqdomain.c 	if (d->hwirq < d->domain->revmap_size)
hwirq            1385 kernel/irq/irqdomain.c 	slot = radix_tree_lookup_slot(&d->domain->revmap_tree, d->hwirq);
hwirq            1453 kernel/irq/irqdomain.c 	root_irq_data->hwirq = 0;
hwirq            1467 kernel/irq/irqdomain.c 	irq_domain_set_mapping(domain, root_irq_data->hwirq, root_irq_data);
hwirq            1529 kernel/irq/irqdomain.c 	irq_domain_clear_mapping(domain, root_irq_data->hwirq);
hwirq            1723 kernel/irq/irqdomain.c 			 irq_hw_number_t hwirq, struct irq_chip *chip,
hwirq             143 kernel/irq/msi.c 	irq_hw_number_t hwirq = ops->get_hwirq(info, arg);
hwirq             146 kernel/irq/msi.c 	if (irq_find_mapping(domain, hwirq) > 0)
hwirq             156 kernel/irq/msi.c 		ret = ops->msi_init(domain, info, virq + i, hwirq + i, arg);
hwirq             194 kernel/irq/msi.c 	return arg->hwirq;
hwirq             217 kernel/irq/msi.c 			       unsigned int virq, irq_hw_number_t hwirq,
hwirq             220 kernel/irq/msi.c 	irq_domain_set_hwirq_and_chip(domain, virq, hwirq, info->chip,
hwirq             515 kernel/irq/proc.c 		seq_printf(p, " %*d", prec, (int) desc->irq_data.hwirq);
hwirq            5162 sound/soc/codecs/rt5677.c 	rt5677->irq_en |= rt5677_irq_descs[data->hwirq].enable_mask;
hwirq            5169 sound/soc/codecs/rt5677.c 	rt5677->irq_en &= ~rt5677_irq_descs[data->hwirq].enable_mask;
hwirq             501 virt/kvm/arm/vgic/vgic.c 	irq->hwintid = data->hwirq;