Home
last modified time | relevance | path

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

12345

/linux-6.1.9/arch/powerpc/platforms/52xx/
Dmpc52xx_pic.c161 int l2irq = irqd_to_hwirq(d) & MPC52xx_IRQ_L2_MASK; in mpc52xx_extirq_mask()
167 int l2irq = irqd_to_hwirq(d) & MPC52xx_IRQ_L2_MASK; in mpc52xx_extirq_unmask()
173 int l2irq = irqd_to_hwirq(d) & MPC52xx_IRQ_L2_MASK; in mpc52xx_extirq_ack()
180 int l2irq = irqd_to_hwirq(d) & MPC52xx_IRQ_L2_MASK; in mpc52xx_extirq_set_type()
184 (int) irqd_to_hwirq(d), l2irq, flow_type); in mpc52xx_extirq_set_type()
223 int l2irq = irqd_to_hwirq(d) & MPC52xx_IRQ_L2_MASK; in mpc52xx_main_mask()
229 int l2irq = irqd_to_hwirq(d) & MPC52xx_IRQ_L2_MASK; in mpc52xx_main_unmask()
246 int l2irq = irqd_to_hwirq(d) & MPC52xx_IRQ_L2_MASK; in mpc52xx_periph_mask()
252 int l2irq = irqd_to_hwirq(d) & MPC52xx_IRQ_L2_MASK; in mpc52xx_periph_unmask()
269 int l2irq = irqd_to_hwirq(d) & MPC52xx_IRQ_L2_MASK; in mpc52xx_sdma_mask()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/drivers/irqchip/
Dirq-renesas-rzg2l.c72 unsigned int hw_irq = irqd_to_hwirq(d) - IRQC_IRQ_START; in rzg2l_irq_eoi()
84 unsigned int hw_irq = irqd_to_hwirq(d) - IRQC_TINT_START; in rzg2l_tint_eoi()
97 unsigned int hw_irq = irqd_to_hwirq(d); in rzg2l_irqc_eoi()
110 unsigned int hw_irq = irqd_to_hwirq(d); in rzg2l_irqc_irq_disable()
130 unsigned int hw_irq = irqd_to_hwirq(d); in rzg2l_irqc_irq_enable()
151 unsigned int hw_irq = irqd_to_hwirq(d) - IRQC_IRQ_START; in rzg2l_irq_set_type()
189 unsigned int hwirq = irqd_to_hwirq(d); in rzg2l_tint_set_edge()
226 unsigned int hw_irq = irqd_to_hwirq(d); in rzg2l_irqc_set_type()
Dirq-ftintc010.c59 mask &= ~BIT(irqd_to_hwirq(d)); in ft010_irq_mask()
69 mask |= BIT(irqd_to_hwirq(d)); in ft010_irq_unmask()
77 writel(BIT(irqd_to_hwirq(d)), FT010_IRQ_CLEAR(f->base)); in ft010_irq_ack()
83 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()
/linux-6.1.9/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()
/linux-6.1.9/arch/powerpc/platforms/embedded6xx/
Dflipper-pic.c48 int irq = irqd_to_hwirq(d); in flipper_pic_mask_and_ack()
59 int irq = irqd_to_hwirq(d); in flipper_pic_ack()
68 int irq = irqd_to_hwirq(d); in flipper_pic_mask()
76 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()
/linux-6.1.9/drivers/gpio/
Dgpio-hisi.c95 hisi_gpio_write_reg(chip, HISI_GPIO_PORTA_EOI_WX, BIT(irqd_to_hwirq(d))); in hisi_gpio_set_ack()
102 hisi_gpio_write_reg(chip, HISI_GPIO_INTMASK_SET_WX, BIT(irqd_to_hwirq(d))); in hisi_gpio_irq_set_mask()
109 hisi_gpio_write_reg(chip, HISI_GPIO_INTMASK_CLR_WX, BIT(irqd_to_hwirq(d))); in hisi_gpio_irq_clr_mask()
115 unsigned int mask = BIT(irqd_to_hwirq(d)); in hisi_gpio_irq_set_type()
168 hisi_gpio_write_reg(chip, HISI_GPIO_INTEN_SET_WX, BIT(irqd_to_hwirq(d))); in hisi_gpio_irq_enable()
176 hisi_gpio_write_reg(chip, HISI_GPIO_INTEN_CLR_WX, BIT(irqd_to_hwirq(d))); in hisi_gpio_irq_disable()
Dgpio-ftgpio010.c59 writel(BIT(irqd_to_hwirq(d)), g->base + GPIO_INT_CLR); in ftgpio_gpio_ack_irq()
69 val &= ~BIT(irqd_to_hwirq(d)); in ftgpio_gpio_mask_irq()
71 gpiochip_disable_irq(gc, irqd_to_hwirq(d)); in ftgpio_gpio_mask_irq()
80 gpiochip_enable_irq(gc, irqd_to_hwirq(d)); in ftgpio_gpio_unmask_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()
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-sifive.c64 int offset = irqd_to_hwirq(d); in sifive_gpio_irq_set_type()
78 irq_hw_number_t hwirq = irqd_to_hwirq(d); in sifive_gpio_irq_enable()
106 irq_hw_number_t hwirq = irqd_to_hwirq(d); in sifive_gpio_irq_disable()
119 int offset = irqd_to_hwirq(d) % SIFIVE_GPIO_MAX; in sifive_gpio_irq_eoi()
167 *parent = irqd_to_hwirq(d); in sifive_gpio_child_to_parent_hwirq()
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-realtek-otto.c186 irq_hw_number_t line = irqd_to_hwirq(data); in realtek_gpio_irq_ack()
194 unsigned int line = irqd_to_hwirq(data); in realtek_gpio_irq_unmask()
208 unsigned int line = irqd_to_hwirq(data); in realtek_gpio_irq_mask()
222 unsigned int line = irqd_to_hwirq(data); in realtek_gpio_irq_set_type()
276 unsigned int line = irqd_to_hwirq(data); in realtek_gpio_irq_set_affinity()
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()
/linux-6.1.9/arch/powerpc/platforms/4xx/
Duic.c54 unsigned int src = irqd_to_hwirq(d); in uic_unmask_irq()
72 unsigned int src = irqd_to_hwirq(d); in uic_mask_irq()
86 unsigned int src = irqd_to_hwirq(d); in uic_ack_irq()
97 unsigned int src = irqd_to_hwirq(d); in uic_mask_ack_irq()
122 unsigned int src = irqd_to_hwirq(d); in uic_set_irq_type()
/linux-6.1.9/arch/powerpc/platforms/8xx/
Dcpm1-ic.c21 unsigned int cpm_vec = (unsigned int)irqd_to_hwirq(d); in cpm_mask_irq()
29 unsigned int cpm_vec = (unsigned int)irqd_to_hwirq(d); in cpm_unmask_irq()
37 unsigned int cpm_vec = (unsigned int)irqd_to_hwirq(d); in cpm_end_irq()
/linux-6.1.9/arch/powerpc/sysdev/xics/
Dics-rtas.c28 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_rtas_unmask_irq()
90 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_rtas_mask_irq()
103 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_rtas_set_affinity()
Dics-opal.c43 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_opal_unmask_irq()
85 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_opal_mask_irq()
98 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_opal_set_affinity()
/linux-6.1.9/arch/powerpc/platforms/cell/
Dspider-pic.c73 void __iomem *cfg = spider_get_irq_config(pic, irqd_to_hwirq(d)); in spider_unmask_irq()
81 void __iomem *cfg = spider_get_irq_config(pic, irqd_to_hwirq(d)); in spider_mask_irq()
89 unsigned int src = irqd_to_hwirq(d); in spider_ack_irq()
108 unsigned int hw = irqd_to_hwirq(d); in spider_set_irq_type()
/linux-6.1.9/arch/powerpc/platforms/powermac/
Dpic.c79 unsigned int src = irqd_to_hwirq(d); in pmac_mask_and_ack_irq()
101 unsigned int src = irqd_to_hwirq(d); in pmac_ack_irq()
147 unsigned int src = irqd_to_hwirq(d); in pmac_startup_irq()
164 unsigned int src = irqd_to_hwirq(d); in pmac_mask_irq()
175 unsigned int src = irqd_to_hwirq(d); in pmac_unmask_irq()
188 __pmac_retrigger(irqd_to_hwirq(d)); in pmac_retrigger()
/linux-6.1.9/drivers/mfd/
Dqcom-pm8xxx.c266 unsigned int pmirq = irqd_to_hwirq(d); in pm8xxx_irq_mask_ack()
278 unsigned int pmirq = irqd_to_hwirq(d); in pm8xxx_irq_unmask()
290 unsigned int pmirq = irqd_to_hwirq(d); in pm8xxx_irq_set_type()
322 unsigned int pmirq = irqd_to_hwirq(d); in pm8xxx_irq_get_irqchip_state()
400 unsigned int pmirq = irqd_to_hwirq(d); in pm8821_irq_mask_ack()
427 unsigned int pmirq = irqd_to_hwirq(d); in pm8821_irq_unmask()
449 int rc, pmirq = irqd_to_hwirq(d); in pm8821_irq_get_irqchip_state()

12345