Home
last modified time | relevance | path

Searched refs:irqd_to_hwirq (Results 1 – 25 of 108) sorted by relevance

12345

/kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/
Dmpc52xx_pic.c160 int l2irq = irqd_to_hwirq(d) & MPC52xx_IRQ_L2_MASK; in mpc52xx_extirq_mask()
166 int l2irq = irqd_to_hwirq(d) & MPC52xx_IRQ_L2_MASK; in mpc52xx_extirq_unmask()
172 int l2irq = irqd_to_hwirq(d) & MPC52xx_IRQ_L2_MASK; in mpc52xx_extirq_ack()
179 int l2irq = irqd_to_hwirq(d) & MPC52xx_IRQ_L2_MASK; in mpc52xx_extirq_set_type()
183 (int) irqd_to_hwirq(d), l2irq, flow_type); in mpc52xx_extirq_set_type()
222 int l2irq = irqd_to_hwirq(d) & MPC52xx_IRQ_L2_MASK; in mpc52xx_main_mask()
228 int l2irq = irqd_to_hwirq(d) & MPC52xx_IRQ_L2_MASK; in mpc52xx_main_unmask()
245 int l2irq = irqd_to_hwirq(d) & MPC52xx_IRQ_L2_MASK; in mpc52xx_periph_mask()
251 int l2irq = irqd_to_hwirq(d) & MPC52xx_IRQ_L2_MASK; in mpc52xx_periph_unmask()
268 int l2irq = irqd_to_hwirq(d) & MPC52xx_IRQ_L2_MASK; in mpc52xx_sdma_mask()
[all …]
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-eznps.c59 unsigned int irq = irqd_to_hwirq(irqd); in nps400_irq_mask()
69 unsigned int irq = irqd_to_hwirq(irqd); in nps400_irq_unmask()
78 unsigned int __maybe_unused irq = irqd_to_hwirq(irqd); in nps400_irq_eoi_global()
90 unsigned int __maybe_unused irq = irqd_to_hwirq(irqd); in nps400_irq_ack()
Dirq-ftintc010.c60 mask &= ~BIT(irqd_to_hwirq(d)); in ft010_irq_mask()
70 mask |= BIT(irqd_to_hwirq(d)); in ft010_irq_unmask()
78 writel(BIT(irqd_to_hwirq(d)), FT010_IRQ_CLEAR(f->base)); in ft010_irq_ack()
84 int offset = irqd_to_hwirq(d); in ft010_irq_set_type()
Dirq-renesas-intc-irqpin.c181 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_irq_enable()
190 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_irq_disable()
199 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_shared_irq_enable()
210 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_shared_irq_disable()
221 int irq = p->irq[irqd_to_hwirq(d)].requested_irq; in intc_irqpin_irq_enable_force()
235 int irq = p->irq[irqd_to_hwirq(d)].requested_irq; in intc_irqpin_irq_disable_force()
264 return intc_irqpin_set_sense(p, irqd_to_hwirq(d), in intc_irqpin_irq_set_type()
271 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_irq_set_wake()
Dirq-sun4i.c51 unsigned int irq = irqd_to_hwirq(irqd); in sun4i_irq_ack()
61 unsigned int irq = irqd_to_hwirq(irqd); in sun4i_irq_mask()
74 unsigned int irq = irqd_to_hwirq(irqd); in sun4i_irq_unmask()
Dirq-clps711x.c93 irq_hw_number_t hwirq = irqd_to_hwirq(d); in clps711x_intc_eoi()
100 irq_hw_number_t hwirq = irqd_to_hwirq(d); in clps711x_intc_mask()
111 irq_hw_number_t hwirq = irqd_to_hwirq(d); in clps711x_intc_unmask()
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
Dcpm2_pic.c82 unsigned int irq_nr = irqd_to_hwirq(d); in cpm2_mask_irq()
94 unsigned int irq_nr = irqd_to_hwirq(d); in cpm2_unmask_irq()
106 unsigned int irq_nr = irqd_to_hwirq(d); in cpm2_ack()
117 unsigned int irq_nr = irqd_to_hwirq(d); in cpm2_end_irq()
134 unsigned int src = irqd_to_hwirq(d); in cpm2_set_irq_type()
/kernel/linux/linux-5.10/arch/powerpc/platforms/85xx/
Dsocrates_fpga_pic.c109 unsigned int irq_line, hwirq = irqd_to_hwirq(d); in socrates_fpga_pic_ack()
124 unsigned int hwirq = irqd_to_hwirq(d); in socrates_fpga_pic_mask()
140 unsigned int hwirq = irqd_to_hwirq(d); in socrates_fpga_pic_mask_ack()
157 unsigned int hwirq = irqd_to_hwirq(d); in socrates_fpga_pic_unmask()
173 unsigned int hwirq = irqd_to_hwirq(d); in socrates_fpga_pic_eoi()
190 unsigned int hwirq = irqd_to_hwirq(d); in socrates_fpga_pic_set_type()
/kernel/linux/linux-5.10/arch/powerpc/platforms/embedded6xx/
Dflipper-pic.c47 int irq = irqd_to_hwirq(d); in flipper_pic_mask_and_ack()
58 int irq = irqd_to_hwirq(d); in flipper_pic_ack()
67 int irq = irqd_to_hwirq(d); in flipper_pic_mask()
75 int irq = irqd_to_hwirq(d); in flipper_pic_unmask()
Dhlwd-pic.c44 int irq = irqd_to_hwirq(d); in hlwd_pic_mask_and_ack()
54 int irq = irqd_to_hwirq(d); in hlwd_pic_ack()
62 int irq = irqd_to_hwirq(d); in hlwd_pic_mask()
70 int irq = irqd_to_hwirq(d); in hlwd_pic_unmask()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-em.c79 em_gio_write(p, GIO_IDS, BIT(irqd_to_hwirq(d))); in em_gio_irq_disable()
86 em_gio_write(p, GIO_IEN, BIT(irqd_to_hwirq(d))); in em_gio_irq_enable()
94 ret = gpiochip_lock_as_irq(&p->gpio_chip, irqd_to_hwirq(d)); in em_gio_irq_reqres()
98 irqd_to_hwirq(d)); in em_gio_irq_reqres()
108 gpiochip_unlock_as_irq(&p->gpio_chip, irqd_to_hwirq(d)); in em_gio_irq_relres()
133 offset = irqd_to_hwirq(d); in em_gio_irq_set_type()
Dgpio-ath79.c71 u32 mask = BIT(irqd_to_hwirq(data)); in ath79_gpio_irq_unmask()
82 u32 mask = BIT(irqd_to_hwirq(data)); in ath79_gpio_irq_mask()
93 u32 mask = BIT(irqd_to_hwirq(data)); in ath79_gpio_irq_enable()
105 u32 mask = BIT(irqd_to_hwirq(data)); in ath79_gpio_irq_disable()
118 u32 mask = BIT(irqd_to_hwirq(data)); in ath79_gpio_irq_set_type()
Dgpio-mpc8xxx.c135 | mpc_pin2mask(irqd_to_hwirq(d))); in mpc8xxx_irq_unmask()
150 & ~mpc_pin2mask(irqd_to_hwirq(d))); in mpc8xxx_irq_mask()
161 mpc_pin2mask(irqd_to_hwirq(d))); in mpc8xxx_irq_ack()
176 | mpc_pin2mask(irqd_to_hwirq(d))); in mpc8xxx_irq_set_type()
184 & ~mpc_pin2mask(irqd_to_hwirq(d))); in mpc8xxx_irq_set_type()
199 unsigned long gpio = irqd_to_hwirq(d); in mpc512x_irq_set_type()
Dgpio-sifive.c65 int offset = irqd_to_hwirq(d); in sifive_gpio_irq_set_type()
79 int offset = irqd_to_hwirq(d) % SIFIVE_GPIO_MAX; in sifive_gpio_irq_enable()
105 int offset = irqd_to_hwirq(d) % SIFIVE_GPIO_MAX; in sifive_gpio_irq_disable()
116 int offset = irqd_to_hwirq(d) % SIFIVE_GPIO_MAX; in sifive_gpio_irq_eoi()
Dgpio-rda.c70 u32 offset = irqd_to_hwirq(data); in rda_gpio_irq_mask()
82 u32 offset = irqd_to_hwirq(data); in rda_gpio_irq_ack()
154 u32 offset = irqd_to_hwirq(data); in rda_gpio_irq_unmask()
163 u32 offset = irqd_to_hwirq(data); in rda_gpio_irq_set_type()
Dgpio-sprd.c120 u32 offset = irqd_to_hwirq(data); in sprd_gpio_irq_mask()
128 u32 offset = irqd_to_hwirq(data); in sprd_gpio_irq_ack()
136 u32 offset = irqd_to_hwirq(data); in sprd_gpio_irq_unmask()
145 u32 offset = irqd_to_hwirq(data); in sprd_gpio_irq_set_type()
Dgpio-ftgpio010.c61 writel(BIT(irqd_to_hwirq(d)), g->base + GPIO_INT_CLR); in ftgpio_gpio_ack_irq()
71 val &= ~BIT(irqd_to_hwirq(d)); in ftgpio_gpio_mask_irq()
82 val |= BIT(irqd_to_hwirq(d)); in ftgpio_gpio_unmask_irq()
90 u32 mask = BIT(irqd_to_hwirq(d)); in ftgpio_gpio_set_irq_type()
/kernel/linux/linux-5.10/arch/powerpc/platforms/4xx/
Duic.c53 unsigned int src = irqd_to_hwirq(d); in uic_unmask_irq()
71 unsigned int src = irqd_to_hwirq(d); in uic_mask_irq()
85 unsigned int src = irqd_to_hwirq(d); in uic_ack_irq()
96 unsigned int src = irqd_to_hwirq(d); in uic_mask_ack_irq()
121 unsigned int src = irqd_to_hwirq(d); in uic_set_irq_type()
/kernel/linux/linux-5.10/arch/powerpc/sysdev/xive/
Dcommon.c418 d->irq, irqd_to_hwirq(d), xc->pending_prio); in xive_irq_eoi()
426 xive_do_source_eoi(irqd_to_hwirq(d), xd); in xive_irq_eoi()
606 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_irq_startup()
661 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_irq_shutdown()
697 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_irq_unmask()
720 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_irq_mask()
735 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_irq_set_affinity()
825 d->irq, (u32)irqd_to_hwirq(d), in xive_irq_set_type()
865 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in xive_irq_set_vcpu_affinity()
1118 d->irq, irqd_to_hwirq(d), xc->hw_ipi, xc->pending_prio); in xive_ipi_eoi()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Dspider-pic.c72 void __iomem *cfg = spider_get_irq_config(pic, irqd_to_hwirq(d)); in spider_unmask_irq()
80 void __iomem *cfg = spider_get_irq_config(pic, irqd_to_hwirq(d)); in spider_mask_irq()
88 unsigned int src = irqd_to_hwirq(d); in spider_ack_irq()
107 unsigned int hw = irqd_to_hwirq(d); in spider_set_irq_type()
/kernel/linux/linux-5.10/arch/powerpc/sysdev/xics/
Dics-rtas.c42 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_rtas_unmask_irq()
113 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_rtas_mask_irq()
126 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_rtas_set_affinity()
Dics-opal.c44 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_opal_unmask_irq()
97 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_opal_mask_irq()
110 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_opal_set_affinity()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
Dpic.c76 unsigned int src = irqd_to_hwirq(d); in pmac_mask_and_ack_irq()
98 unsigned int src = irqd_to_hwirq(d); in pmac_ack_irq()
144 unsigned int src = irqd_to_hwirq(d); in pmac_startup_irq()
161 unsigned int src = irqd_to_hwirq(d); in pmac_mask_irq()
172 unsigned int src = irqd_to_hwirq(d); in pmac_unmask_irq()
185 __pmac_retrigger(irqd_to_hwirq(d)); in pmac_retrigger()
/kernel/linux/linux-5.10/drivers/mfd/
Dqcom-pm8xxx.c274 unsigned int pmirq = irqd_to_hwirq(d); in pm8xxx_irq_mask_ack()
286 unsigned int pmirq = irqd_to_hwirq(d); in pm8xxx_irq_unmask()
298 unsigned int pmirq = irqd_to_hwirq(d); in pm8xxx_irq_set_type()
330 unsigned int pmirq = irqd_to_hwirq(d); in pm8xxx_irq_get_irqchip_state()
408 unsigned int pmirq = irqd_to_hwirq(d); in pm8821_irq_mask_ack()
435 unsigned int pmirq = irqd_to_hwirq(d); in pm8821_irq_unmask()
457 int rc, pmirq = irqd_to_hwirq(d); in pm8821_irq_get_irqchip_state()
/kernel/linux/linux-5.10/drivers/staging/hikey9xx/
Dhi6421-spmi-pmic.c161 offset = (irqd_to_hwirq(d) >> 3); in hi6421_spmi_irq_mask()
166 data |= (1 << (irqd_to_hwirq(d) & 0x07)); in hi6421_spmi_irq_mask()
177 offset = (irqd_to_hwirq(d) >> 3); in hi6421_spmi_irq_unmask()
182 data &= ~(1 << (irqd_to_hwirq(d) & 0x07)); in hi6421_spmi_irq_unmask()

12345