Home
last modified time | relevance | path

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

123456

/linux-6.6.21/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.6.21/drivers/gpio/
Dgpio-hisi.c94 hisi_gpio_write_reg(chip, HISI_GPIO_PORTA_EOI_WX, BIT(irqd_to_hwirq(d))); in hisi_gpio_set_ack()
101 hisi_gpio_write_reg(chip, HISI_GPIO_INTMASK_SET_WX, BIT(irqd_to_hwirq(d))); in hisi_gpio_irq_set_mask()
102 gpiochip_disable_irq(chip, irqd_to_hwirq(d)); in hisi_gpio_irq_set_mask()
109 gpiochip_enable_irq(chip, irqd_to_hwirq(d)); in hisi_gpio_irq_clr_mask()
110 hisi_gpio_write_reg(chip, HISI_GPIO_INTMASK_CLR_WX, BIT(irqd_to_hwirq(d))); in hisi_gpio_irq_clr_mask()
116 unsigned int mask = BIT(irqd_to_hwirq(d)); in hisi_gpio_irq_set_type()
169 hisi_gpio_write_reg(chip, HISI_GPIO_INTEN_SET_WX, BIT(irqd_to_hwirq(d))); in hisi_gpio_irq_enable()
177 hisi_gpio_write_reg(chip, HISI_GPIO_INTEN_CLR_WX, BIT(irqd_to_hwirq(d))); in hisi_gpio_irq_disable()
Dgpio-ath79.c72 u32 mask = BIT(irqd_to_hwirq(data)); in ath79_gpio_irq_unmask()
75 gpiochip_enable_irq(&ctrl->gc, irqd_to_hwirq(data)); in ath79_gpio_irq_unmask()
84 u32 mask = BIT(irqd_to_hwirq(data)); in ath79_gpio_irq_mask()
90 gpiochip_disable_irq(&ctrl->gc, irqd_to_hwirq(data)); in ath79_gpio_irq_mask()
96 u32 mask = BIT(irqd_to_hwirq(data)); in ath79_gpio_irq_enable()
108 u32 mask = BIT(irqd_to_hwirq(data)); in ath79_gpio_irq_disable()
121 u32 mask = BIT(irqd_to_hwirq(data)); in ath79_gpio_irq_set_type()
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-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()
168 *parent = irqd_to_hwirq(d); in sifive_gpio_child_to_parent_hwirq()
Dgpio-mpc8xxx.c132 | mpc_pin2mask(irqd_to_hwirq(d))); in mpc8xxx_irq_unmask()
147 & ~mpc_pin2mask(irqd_to_hwirq(d))); in mpc8xxx_irq_mask()
158 mpc_pin2mask(irqd_to_hwirq(d))); in mpc8xxx_irq_ack()
173 | mpc_pin2mask(irqd_to_hwirq(d))); in mpc8xxx_irq_set_type()
181 & ~mpc_pin2mask(irqd_to_hwirq(d))); in mpc8xxx_irq_set_type()
196 unsigned long gpio = irqd_to_hwirq(d); in mpc512x_irq_set_type()
Dgpio-thunderx.c293 txgpio->register_base + intr_reg(irqd_to_hwirq(d))); in thunderx_gpio_irq_ack()
302 txgpio->register_base + intr_reg(irqd_to_hwirq(d))); in thunderx_gpio_irq_mask()
311 txgpio->register_base + intr_reg(irqd_to_hwirq(d))); in thunderx_gpio_irq_mask_ack()
320 txgpio->register_base + intr_reg(irqd_to_hwirq(d))); in thunderx_gpio_irq_unmask()
329 &txgpio->line_entries[irqd_to_hwirq(d)]; in thunderx_gpio_irq_set_type()
361 gpiochip_enable_irq(gc, irqd_to_hwirq(d)); in thunderx_gpio_irq_enable()
372 gpiochip_disable_irq(gc, irqd_to_hwirq(d)); in thunderx_gpio_irq_disable()
410 *parent = irqd_to_hwirq(irqd); in thunderx_gpio_child_to_parent_hwirq()
Dgpio-mlxbf2.c237 int offset = irqd_to_hwirq(irqd); in mlxbf2_gpio_irq_enable()
241 gpiochip_enable_irq(gc, irqd_to_hwirq(irqd)); in mlxbf2_gpio_irq_enable()
257 int offset = irqd_to_hwirq(irqd); in mlxbf2_gpio_irq_disable()
266 gpiochip_disable_irq(gc, irqd_to_hwirq(irqd)); in mlxbf2_gpio_irq_disable()
290 int offset = irqd_to_hwirq(irqd); in mlxbf2_gpio_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.c69 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()
164 u32 offset = irqd_to_hwirq(data); in rda_gpio_irq_set_type()
/linux-6.6.21/arch/powerpc/sysdev/
Dcpm2_pic.c80 unsigned int irq_nr = irqd_to_hwirq(d); in cpm2_mask_irq()
92 unsigned int irq_nr = irqd_to_hwirq(d); in cpm2_unmask_irq()
104 unsigned int irq_nr = irqd_to_hwirq(d); in cpm2_ack()
115 unsigned int irq_nr = irqd_to_hwirq(d); in cpm2_end_irq()
132 unsigned int src = irqd_to_hwirq(d); in cpm2_set_irq_type()
/linux-6.6.21/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.c180 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_irq_enable()
189 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_irq_disable()
198 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_shared_irq_enable()
209 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_shared_irq_disable()
220 int irq = p->irq[irqd_to_hwirq(d)].requested_irq; in intc_irqpin_irq_enable_force()
234 int irq = p->irq[irqd_to_hwirq(d)].requested_irq; in intc_irqpin_irq_disable_force()
263 return intc_irqpin_set_sense(p, irqd_to_hwirq(d), in intc_irqpin_irq_set_type()
270 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.6.21/arch/powerpc/platforms/85xx/
Dsocrates_fpga_pic.c108 unsigned int irq_line, hwirq = irqd_to_hwirq(d); in socrates_fpga_pic_ack()
123 unsigned int hwirq = irqd_to_hwirq(d); in socrates_fpga_pic_mask()
139 unsigned int hwirq = irqd_to_hwirq(d); in socrates_fpga_pic_mask_ack()
156 unsigned int hwirq = irqd_to_hwirq(d); in socrates_fpga_pic_unmask()
172 unsigned int hwirq = irqd_to_hwirq(d); in socrates_fpga_pic_eoi()
189 unsigned int hwirq = irqd_to_hwirq(d); in socrates_fpga_pic_set_type()
/linux-6.6.21/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.6.21/arch/powerpc/platforms/4xx/
Duic.c55 unsigned int src = irqd_to_hwirq(d); in uic_unmask_irq()
73 unsigned int src = irqd_to_hwirq(d); in uic_mask_irq()
87 unsigned int src = irqd_to_hwirq(d); in uic_ack_irq()
98 unsigned int src = irqd_to_hwirq(d); in uic_mask_ack_irq()
123 unsigned int src = irqd_to_hwirq(d); in uic_set_irq_type()
/linux-6.6.21/kernel/irq/
Dipi-mux.c33 atomic_andnot(BIT(irqd_to_hwirq(d)), &icpu->enable); in ipi_mux_mask()
39 u32 ibit = BIT(irqd_to_hwirq(d)); in ipi_mux_unmask()
57 u32 ibit = BIT(irqd_to_hwirq(d)); in ipi_mux_send_mask()
/linux-6.6.21/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.6.21/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.6.21/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()

123456