Home
last modified time | relevance | path

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

/linux-4.4.14/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 …]
Dmedia5200.c59 val |= 1 << (MEDIA5200_IRQ_SHIFT + irqd_to_hwirq(d)); in media5200_irq_unmask()
71 val &= ~(1 << (MEDIA5200_IRQ_SHIFT + irqd_to_hwirq(d))); in media5200_irq_mask()
/linux-4.4.14/arch/powerpc/sysdev/
Dmv64x60_pic.c81 int level2 = irqd_to_hwirq(d) & MV64x60_LEVEL2_MASK; in mv64x60_mask_low()
94 int level2 = irqd_to_hwirq(d) & MV64x60_LEVEL2_MASK; in mv64x60_unmask_low()
118 int level2 = irqd_to_hwirq(d) & MV64x60_LEVEL2_MASK; in mv64x60_mask_high()
131 int level2 = irqd_to_hwirq(d) & MV64x60_LEVEL2_MASK; in mv64x60_unmask_high()
155 int level2 = irqd_to_hwirq(d) & MV64x60_LEVEL2_MASK; in mv64x60_mask_gpp()
168 int level2 = irqd_to_hwirq(d) & MV64x60_LEVEL2_MASK; in mv64x60_mask_ack_gpp()
183 int level2 = irqd_to_hwirq(d) & MV64x60_LEVEL2_MASK; in mv64x60_unmask_gpp()
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()
Dxilinx_intc.c76 int irq = irqd_to_hwirq(d); in xilinx_intc_mask()
92 int irq = irqd_to_hwirq(d); in xilinx_intc_level_unmask()
117 int irq = irqd_to_hwirq(d); in xilinx_intc_edge_unmask()
125 int irq = irqd_to_hwirq(d); in xilinx_intc_edge_ack()
Duic.c57 unsigned int src = irqd_to_hwirq(d); in uic_unmask_irq()
75 unsigned int src = irqd_to_hwirq(d); in uic_mask_irq()
89 unsigned int src = irqd_to_hwirq(d); in uic_ack_irq()
100 unsigned int src = irqd_to_hwirq(d); in uic_mask_ack_irq()
125 unsigned int src = irqd_to_hwirq(d); in uic_set_irq_type()
Dmpc8xx_pic.c25 return 0x80000000 >> irqd_to_hwirq(d); in mpc8xx_irqd_to_bit()
54 if ((flow_type & IRQ_TYPE_EDGE_FALLING) && !(irqd_to_hwirq(d) & 1)) { in mpc8xx_set_irq_type()
Dipic.c526 unsigned int src = irqd_to_hwirq(d); in ipic_unmask_irq()
542 unsigned int src = irqd_to_hwirq(d); in ipic_mask_irq()
562 unsigned int src = irqd_to_hwirq(d); in ipic_ack_irq()
581 unsigned int src = irqd_to_hwirq(d); in ipic_mask_irq_and_ack()
604 unsigned int src = irqd_to_hwirq(d); in ipic_set_irq_type()
Dmpic.c669 unsigned int src = irqd_to_hwirq(d); in mpic_unmask_irq()
690 unsigned int src = irqd_to_hwirq(d); in mpic_mask_irq()
728 unsigned int src = irqd_to_hwirq(d); in mpic_unmask_ht_irq()
739 unsigned int src = irqd_to_hwirq(d); in mpic_startup_ht_irq()
750 unsigned int src = irqd_to_hwirq(d); in mpic_shutdown_ht_irq()
759 unsigned int src = irqd_to_hwirq(d); in mpic_end_ht_irq()
828 unsigned int src = irqd_to_hwirq(d); in mpic_set_affinity()
870 unsigned int src = irqd_to_hwirq(d); in mpic_set_irq_type()
Dcpm1.c61 unsigned int cpm_vec = (unsigned int)irqd_to_hwirq(d); in cpm_mask_irq()
68 unsigned int cpm_vec = (unsigned int)irqd_to_hwirq(d); in cpm_unmask_irq()
75 unsigned int cpm_vec = (unsigned int)irqd_to_hwirq(d); in cpm_end_irq()
Dfsl_msi.c73 irq_hw_number_t hwirq = irqd_to_hwirq(irqd); in fsl_msi_print_chip()
/linux-4.4.14/arch/powerpc/platforms/85xx/
Dsocrates_fpga_pic.c114 unsigned int irq_line, hwirq = irqd_to_hwirq(d); in socrates_fpga_pic_ack()
129 unsigned int hwirq = irqd_to_hwirq(d); in socrates_fpga_pic_mask()
145 unsigned int hwirq = irqd_to_hwirq(d); in socrates_fpga_pic_mask_ack()
162 unsigned int hwirq = irqd_to_hwirq(d); in socrates_fpga_pic_unmask()
178 unsigned int hwirq = irqd_to_hwirq(d); in socrates_fpga_pic_eoi()
195 unsigned int hwirq = irqd_to_hwirq(d); in socrates_fpga_pic_set_type()
/linux-4.4.14/arch/powerpc/platforms/embedded6xx/
Dflipper-pic.c52 int irq = irqd_to_hwirq(d); in flipper_pic_mask_and_ack()
63 int irq = irqd_to_hwirq(d); in flipper_pic_ack()
72 int irq = irqd_to_hwirq(d); in flipper_pic_mask()
80 int irq = irqd_to_hwirq(d); in flipper_pic_unmask()
Dhlwd-pic.c47 int irq = irqd_to_hwirq(d); in hlwd_pic_mask_and_ack()
57 int irq = irqd_to_hwirq(d); in hlwd_pic_ack()
65 int irq = irqd_to_hwirq(d); in hlwd_pic_mask()
73 int irq = irqd_to_hwirq(d); in hlwd_pic_unmask()
/linux-4.4.14/drivers/irqchip/
Dirq-sun4i.c42 unsigned int irq = irqd_to_hwirq(irqd); in sun4i_irq_ack()
52 unsigned int irq = irqd_to_hwirq(irqd); in sun4i_irq_mask()
64 unsigned int irq = irqd_to_hwirq(irqd); in sun4i_irq_unmask()
Dirq-renesas-intc-irqpin.c196 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_irq_enable()
205 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_irq_disable()
214 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_shared_irq_enable()
225 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_shared_irq_disable()
236 int irq = p->irq[irqd_to_hwirq(d)].requested_irq; in intc_irqpin_irq_enable_force()
250 int irq = p->irq[irqd_to_hwirq(d)].requested_irq; in intc_irqpin_irq_disable_force()
279 return intc_irqpin_set_sense(p, irqd_to_hwirq(d), in intc_irqpin_irq_set_type()
286 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_irq_set_wake()
Dirq-clps711x.c97 irq_hw_number_t hwirq = irqd_to_hwirq(d); in clps711x_intc_eoi()
104 irq_hw_number_t hwirq = irqd_to_hwirq(d); in clps711x_intc_mask()
115 irq_hw_number_t hwirq = irqd_to_hwirq(d); in clps711x_intc_unmask()
Dirq-armada-370-xp.c94 irq_hw_number_t hwirq = irqd_to_hwirq(d); in armada_370_xp_irq_mask()
106 irq_hw_number_t hwirq = irqd_to_hwirq(d); in armada_370_xp_irq_unmask()
264 irq_hw_number_t hwirq = irqd_to_hwirq(d); in armada_xp_set_affinity()
Dirq-renesas-irqc.c92 int hw_irq = irqd_to_hwirq(d); in irqc_irq_set_type()
111 int hw_irq = irqd_to_hwirq(d); in irqc_irq_set_wake()
/linux-4.4.14/drivers/gpio/
Dgpio-em.c91 em_gio_write(p, GIO_IDS, BIT(irqd_to_hwirq(d))); in em_gio_irq_disable()
98 em_gio_write(p, GIO_IEN, BIT(irqd_to_hwirq(d))); in em_gio_irq_enable()
105 if (gpiochip_lock_as_irq(&p->gpio_chip, irqd_to_hwirq(d))) { in em_gio_irq_reqres()
108 irqd_to_hwirq(d)); in em_gio_irq_reqres()
118 gpiochip_unlock_as_irq(&p->gpio_chip, irqd_to_hwirq(d)); in em_gio_irq_relres()
143 offset = irqd_to_hwirq(d); in em_gio_irq_set_type()
Dgpio-mpc8xxx.c220 setbits32(mm->regs + GPIO_IMR, mpc8xxx_gpio2mask(irqd_to_hwirq(d))); in mpc8xxx_irq_unmask()
233 clrbits32(mm->regs + GPIO_IMR, mpc8xxx_gpio2mask(irqd_to_hwirq(d))); in mpc8xxx_irq_mask()
243 out_be32(mm->regs + GPIO_IER, mpc8xxx_gpio2mask(irqd_to_hwirq(d))); in mpc8xxx_irq_ack()
256 mpc8xxx_gpio2mask(irqd_to_hwirq(d))); in mpc8xxx_irq_set_type()
263 mpc8xxx_gpio2mask(irqd_to_hwirq(d))); in mpc8xxx_irq_set_type()
278 unsigned long gpio = irqd_to_hwirq(d); in mpc512x_irq_set_type()
Dgpio-zx.c114 int offset = irqd_to_hwirq(d); in zx_irq_type()
185 u16 mask = BIT(irqd_to_hwirq(d) % ZX_GPIO_NR); in zx_irq_mask()
200 u16 mask = BIT(irqd_to_hwirq(d) % ZX_GPIO_NR); in zx_irq_unmask()
Dgpio-pl061.c123 int offset = irqd_to_hwirq(d); in pl061_irq_type()
231 u8 mask = BIT(irqd_to_hwirq(d) % PL061_GPIO_NR); in pl061_irq_mask()
244 u8 mask = BIT(irqd_to_hwirq(d) % PL061_GPIO_NR); in pl061_irq_unmask()
265 u8 mask = BIT(irqd_to_hwirq(d) % PL061_GPIO_NR); in pl061_irq_ack()
Dgpio-dln2.c306 int pin = irqd_to_hwirq(irqd); in dln2_irq_unmask()
315 int pin = irqd_to_hwirq(irqd); in dln2_irq_mask()
324 int pin = irqd_to_hwirq(irqd); in dln2_irq_set_type()
361 int pin = irqd_to_hwirq(irqd); in dln2_irq_bus_unlock()
Dgpio-lynxpoint.c153 u32 hwirq = irqd_to_hwirq(d); in lp_irq_type()
277 u32 hwirq = irqd_to_hwirq(d); in lp_irq_enable()
290 u32 hwirq = irqd_to_hwirq(d); in lp_irq_disable()
Dgpio-rcar.c90 gpio_rcar_write(p, INTMSK, ~BIT(irqd_to_hwirq(d))); in gpio_rcar_irq_disable()
99 gpio_rcar_write(p, MSKCLR, BIT(irqd_to_hwirq(d))); in gpio_rcar_irq_enable()
142 unsigned int hwirq = irqd_to_hwirq(d); in gpio_rcar_irq_set_type()
Dgpio-altera.c63 intmask |= BIT(irqd_to_hwirq(d)); in altera_gpio_irq_unmask()
81 intmask &= ~BIT(irqd_to_hwirq(d)); in altera_gpio_irq_mask()
Dgpio-dwapb.c197 if (gpiochip_lock_as_irq(&bgc->gc, irqd_to_hwirq(d))) { in dwapb_irq_reqres()
199 irqd_to_hwirq(d)); in dwapb_irq_reqres()
211 gpiochip_unlock_as_irq(&bgc->gc, irqd_to_hwirq(d)); in dwapb_irq_relres()
Dgpio-intel-mid.c189 u32 gpio = irqd_to_hwirq(d); in intel_mid_irq_type()
/linux-4.4.14/arch/powerpc/sysdev/xics/
Dics-rtas.c41 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_rtas_unmask_irq()
112 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_rtas_mask_irq()
125 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_rtas_set_affinity()
Dics-opal.c48 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_opal_unmask_irq()
101 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_opal_mask_irq()
114 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in ics_opal_set_affinity()
Dicp-hv.c81 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in icp_hv_eoi()
Dicp-native.c93 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in icp_native_eoi()
/linux-4.4.14/arch/powerpc/platforms/cell/
Dspider-pic.c85 void __iomem *cfg = spider_get_irq_config(pic, irqd_to_hwirq(d)); in spider_unmask_irq()
93 void __iomem *cfg = spider_get_irq_config(pic, irqd_to_hwirq(d)); in spider_mask_irq()
101 unsigned int src = irqd_to_hwirq(d); in spider_ack_irq()
120 unsigned int hw = irqd_to_hwirq(d); in spider_set_irq_type()
/linux-4.4.14/arch/powerpc/platforms/powermac/
Dpic.c81 unsigned int src = irqd_to_hwirq(d); in pmac_mask_and_ack_irq()
103 unsigned int src = irqd_to_hwirq(d); in pmac_ack_irq()
149 unsigned int src = irqd_to_hwirq(d); in pmac_startup_irq()
166 unsigned int src = irqd_to_hwirq(d); in pmac_mask_irq()
177 unsigned int src = irqd_to_hwirq(d); in pmac_unmask_irq()
190 __pmac_retrigger(irqd_to_hwirq(d)); in pmac_retrigger()
/linux-4.4.14/drivers/mfd/
Dpm8921-core.c188 unsigned int pmirq = irqd_to_hwirq(d); in pm8xxx_irq_mask_ack()
200 unsigned int pmirq = irqd_to_hwirq(d); in pm8xxx_irq_unmask()
212 unsigned int pmirq = irqd_to_hwirq(d); in pm8xxx_irq_set_type()
244 unsigned int pmirq = irqd_to_hwirq(d); in pm8xxx_irq_get_irqchip_state()
/linux-4.4.14/arch/powerpc/platforms/512x/
Dmpc5121_ads_cpld.c64 unsigned int cpld_irq = (unsigned int)irqd_to_hwirq(d); in cpld_mask_irq()
74 unsigned int cpld_irq = (unsigned int)irqd_to_hwirq(d); in cpld_unmask_irq()
/linux-4.4.14/arch/powerpc/sysdev/ge/
Dge_pic.c114 unsigned int hwirq = irqd_to_hwirq(d); in gef_pic_mask()
135 unsigned int hwirq = irqd_to_hwirq(d); in gef_pic_unmask()
/linux-4.4.14/arch/powerpc/platforms/82xx/
Dpq2ads-pci-pic.c44 int irq = NUM_IRQS - irqd_to_hwirq(d) - 1; in pq2ads_pci_mask_irq()
60 int irq = NUM_IRQS - irqd_to_hwirq(d) - 1; in pq2ads_pci_unmask_irq()
/linux-4.4.14/drivers/ssb/
Ddriver_gpio.c105 int gpio = irqd_to_hwirq(d); in ssb_gpio_irq_chipco_mask()
113 int gpio = irqd_to_hwirq(d); in ssb_gpio_irq_chipco_unmask()
302 int gpio = irqd_to_hwirq(d); in ssb_gpio_irq_extif_mask()
310 int gpio = irqd_to_hwirq(d); in ssb_gpio_irq_extif_unmask()
/linux-4.4.14/arch/arm/mach-pxa/
Dpxa_cplds_irqs.c54 unsigned int cplds_irq = irqd_to_hwirq(d); in cplds_irq_mask_ack()
66 unsigned int cplds_irq = irqd_to_hwirq(d); in cplds_irq_unmask()
Dirq.c70 irq_hw_number_t irq = irqd_to_hwirq(d); in pxa_mask_irq()
80 irq_hw_number_t irq = irqd_to_hwirq(d); in pxa_unmask_irq()
/linux-4.4.14/drivers/bcma/
Ddriver_gpio.c85 int gpio = irqd_to_hwirq(d); in bcma_gpio_irq_unmask()
96 int gpio = irqd_to_hwirq(d); in bcma_gpio_irq_mask()
/linux-4.4.14/arch/c6x/platforms/
Dmegamod-pic.c71 irq_hw_number_t src = irqd_to_hwirq(data); in mask_megamod()
82 irq_hw_number_t src = irqd_to_hwirq(data); in unmask_megamod()
/linux-4.4.14/drivers/pinctrl/intel/
Dpinctrl-baytrail.c241 u32 offset = irqd_to_hwirq(d); in byt_irq_type()
454 unsigned offset = irqd_to_hwirq(d); in byt_irq_ack()
467 unsigned offset = irqd_to_hwirq(d); in byt_irq_unmask()
503 byt_gpio_clear_triggering(vg, irqd_to_hwirq(d)); in byt_irq_mask()
Dpinctrl-intel.c657 unsigned pin = irqd_to_hwirq(d); in intel_gpio_irq_ack()
678 unsigned pin = irqd_to_hwirq(d); in intel_gpio_irq_mask_unmask()
717 unsigned pin = irqd_to_hwirq(d); in intel_gpio_irq_type()
772 unsigned pin = irqd_to_hwirq(d); in intel_gpio_irq_wake()
Dpinctrl-cherryview.c1244 int pin = chv_gpio_offset_to_pin(pctrl, irqd_to_hwirq(d)); in chv_gpio_irq_ack()
1261 int pin = chv_gpio_offset_to_pin(pctrl, irqd_to_hwirq(d)); in chv_gpio_irq_mask_unmask()
1306 unsigned offset = irqd_to_hwirq(d); in chv_gpio_irq_startup()
1338 unsigned offset = irqd_to_hwirq(d); in chv_gpio_irq_type()
/linux-4.4.14/arch/powerpc/sysdev/qe_lib/
Dqe_ic.c201 unsigned int src = irqd_to_hwirq(d); in qe_ic_unmask_irq()
217 unsigned int src = irqd_to_hwirq(d); in qe_ic_mask_irq()
/linux-4.4.14/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c446 unsigned gpio = irqd_to_hwirq(data); in bcm2835_gpio_irq_enable()
460 unsigned gpio = irqd_to_hwirq(data); in bcm2835_gpio_irq_disable()
566 unsigned gpio = irqd_to_hwirq(data); in bcm2835_gpio_irq_set_type()
592 unsigned gpio = irqd_to_hwirq(data); in bcm2835_gpio_irq_ack()
/linux-4.4.14/drivers/misc/cxl/
Dirq.c224 irq_hw_number_t hwirq = irqd_to_hwirq(irq_get_irq_data(irq)); in cxl_irq_afu()
/linux-4.4.14/include/linux/
Dirq.h302 static inline irq_hw_number_t irqd_to_hwirq(struct irq_data *d) in irqd_to_hwirq() function
/linux-4.4.14/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c560 irqd_to_hwirq(d)); in sunxi_pinctrl_irq_request_resources()
/linux-4.4.14/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.c801 irqd_to_hwirq(d)); in mtk_pinctrl_irq_request_resources()
/linux-4.4.14/drivers/pci/host/
Dpci-tegra.c1232 irq_hw_number_t hwirq = irqd_to_hwirq(d); in tegra_msi_teardown_irq()
/linux-4.4.14/drivers/pinctrl/
Dpinctrl-at91.c1613 at91_gpio->pioc_hwirq = irqd_to_hwirq(d); in at91_gpio_of_irq_setup()
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dpci-ioda.c2453 unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d); in pnv_ioda2_msi_eoi()