Home
last modified time | relevance | path

Searched refs:irqd (Results 1 – 15 of 15) sorted by relevance

/drivers/mfd/
Dlp8788-irq.c68 struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data); in lp8788_irq_enable() local
70 irqd->enabled[data->hwirq] = 1; in lp8788_irq_enable()
75 struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data); in lp8788_irq_disable() local
77 irqd->enabled[data->hwirq] = 0; in lp8788_irq_disable()
82 struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data); in lp8788_irq_bus_lock() local
84 mutex_lock(&irqd->irq_lock); in lp8788_irq_bus_lock()
89 struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data); in lp8788_irq_bus_sync_unlock() local
95 val = _irq_to_val(irq, irqd->enabled[irq]); in lp8788_irq_bus_sync_unlock()
97 lp8788_update_bits(irqd->lp, addr, mask, val); in lp8788_irq_bus_sync_unlock()
99 mutex_unlock(&irqd->irq_lock); in lp8788_irq_bus_sync_unlock()
[all …]
/drivers/pinctrl/samsung/
Dpinctrl-s3c64xx.c308 static inline void s3c64xx_gpio_irq_set_mask(struct irq_data *irqd, bool mask) in s3c64xx_gpio_irq_set_mask() argument
310 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(irqd); in s3c64xx_gpio_irq_set_mask()
312 unsigned char index = EINT_OFFS(bank->eint_offset) + irqd->hwirq; in s3c64xx_gpio_irq_set_mask()
324 static void s3c64xx_gpio_irq_unmask(struct irq_data *irqd) in s3c64xx_gpio_irq_unmask() argument
326 s3c64xx_gpio_irq_set_mask(irqd, false); in s3c64xx_gpio_irq_unmask()
329 static void s3c64xx_gpio_irq_mask(struct irq_data *irqd) in s3c64xx_gpio_irq_mask() argument
331 s3c64xx_gpio_irq_set_mask(irqd, true); in s3c64xx_gpio_irq_mask()
334 static void s3c64xx_gpio_irq_ack(struct irq_data *irqd) in s3c64xx_gpio_irq_ack() argument
336 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(irqd); in s3c64xx_gpio_irq_ack()
338 unsigned char index = EINT_OFFS(bank->eint_offset) + irqd->hwirq; in s3c64xx_gpio_irq_ack()
[all …]
Dpinctrl-exynos.c59 static void exynos_irq_mask(struct irq_data *irqd) in exynos_irq_mask() argument
61 struct irq_chip *chip = irq_data_get_irq_chip(irqd); in exynos_irq_mask()
63 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(irqd); in exynos_irq_mask()
72 mask |= 1 << irqd->hwirq; in exynos_irq_mask()
78 static void exynos_irq_ack(struct irq_data *irqd) in exynos_irq_ack() argument
80 struct irq_chip *chip = irq_data_get_irq_chip(irqd); in exynos_irq_ack()
82 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(irqd); in exynos_irq_ack()
86 writel(1 << irqd->hwirq, d->virt_base + reg_pend); in exynos_irq_ack()
89 static void exynos_irq_unmask(struct irq_data *irqd) in exynos_irq_unmask() argument
91 struct irq_chip *chip = irq_data_get_irq_chip(irqd); in exynos_irq_unmask()
[all …]
Dpinctrl-exynos5440.c847 static void exynos5440_gpio_irq_unmask(struct irq_data *irqd) in exynos5440_gpio_irq_unmask() argument
852 d = irq_data_get_irq_chip_data(irqd); in exynos5440_gpio_irq_unmask()
854 gpio_int |= 1 << irqd->hwirq; in exynos5440_gpio_irq_unmask()
858 static void exynos5440_gpio_irq_mask(struct irq_data *irqd) in exynos5440_gpio_irq_mask() argument
863 d = irq_data_get_irq_chip_data(irqd); in exynos5440_gpio_irq_mask()
865 gpio_int &= ~(1 << irqd->hwirq); in exynos5440_gpio_irq_mask()
/drivers/irqchip/
Dirq-eznps.c56 static void nps400_irq_mask(struct irq_data *irqd) in nps400_irq_mask() argument
59 unsigned int irq = irqd_to_hwirq(irqd); in nps400_irq_mask()
66 static void nps400_irq_unmask(struct irq_data *irqd) in nps400_irq_unmask() argument
69 unsigned int irq = irqd_to_hwirq(irqd); in nps400_irq_unmask()
76 static void nps400_irq_eoi_global(struct irq_data *irqd) in nps400_irq_eoi_global() argument
78 unsigned int __maybe_unused irq = irqd_to_hwirq(irqd); in nps400_irq_eoi_global()
88 static void nps400_irq_ack(struct irq_data *irqd) in nps400_irq_ack() argument
90 unsigned int __maybe_unused irq = irqd_to_hwirq(irqd); in nps400_irq_ack()
Dirq-sun4i.c39 static void sun4i_irq_ack(struct irq_data *irqd) in sun4i_irq_ack() argument
41 unsigned int irq = irqd_to_hwirq(irqd); in sun4i_irq_ack()
49 static void sun4i_irq_mask(struct irq_data *irqd) in sun4i_irq_mask() argument
51 unsigned int irq = irqd_to_hwirq(irqd); in sun4i_irq_mask()
61 static void sun4i_irq_unmask(struct irq_data *irqd) in sun4i_irq_unmask() argument
63 unsigned int irq = irqd_to_hwirq(irqd); in sun4i_irq_unmask()
Dirq-keystone.c39 struct irq_domain *irqd; member
107 virq = irq_find_mapping(kirq->irqd, src); in keystone_irq_handler()
179 kirq->irqd = irq_domain_add_linear(np, KEYSTONE_N_IRQ, in keystone_irq_probe()
181 if (!kirq->irqd) { in keystone_irq_probe()
193 irq_domain_remove(kirq->irqd); in keystone_irq_probe()
213 irq_dispose_mapping(irq_find_mapping(kirq->irqd, hwirq)); in keystone_irq_remove()
215 irq_domain_remove(kirq->irqd); in keystone_irq_remove()
Dirq-zevio.c43 static void zevio_irq_ack(struct irq_data *irqd) in zevio_irq_ack() argument
45 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(irqd); in zevio_irq_ack()
46 struct irq_chip_regs *regs = &irq_data_get_chip_type(irqd)->regs; in zevio_irq_ack()
/drivers/gpio/
Dgpio-dln2.c302 static void dln2_irq_unmask(struct irq_data *irqd) in dln2_irq_unmask() argument
304 struct gpio_chip *gc = irq_data_get_irq_chip_data(irqd); in dln2_irq_unmask()
306 int pin = irqd_to_hwirq(irqd); in dln2_irq_unmask()
311 static void dln2_irq_mask(struct irq_data *irqd) in dln2_irq_mask() argument
313 struct gpio_chip *gc = irq_data_get_irq_chip_data(irqd); in dln2_irq_mask()
315 int pin = irqd_to_hwirq(irqd); in dln2_irq_mask()
320 static int dln2_irq_set_type(struct irq_data *irqd, unsigned type) in dln2_irq_set_type() argument
322 struct gpio_chip *gc = irq_data_get_irq_chip_data(irqd); in dln2_irq_set_type()
324 int pin = irqd_to_hwirq(irqd); in dln2_irq_set_type()
349 static void dln2_irq_bus_lock(struct irq_data *irqd) in dln2_irq_bus_lock() argument
[all …]
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_mdss.c81 static void mdss_hw_mask_irq(struct irq_data *irqd) in mdss_hw_mask_irq() argument
83 struct msm_mdss *mdss = irq_data_get_irq_chip_data(irqd); in mdss_hw_mask_irq()
86 clear_bit(irqd->hwirq, &mdss->irqcontroller.enabled_mask); in mdss_hw_mask_irq()
90 static void mdss_hw_unmask_irq(struct irq_data *irqd) in mdss_hw_unmask_irq() argument
92 struct msm_mdss *mdss = irq_data_get_irq_chip_data(irqd); in mdss_hw_unmask_irq()
95 set_bit(irqd->hwirq, &mdss->irqcontroller.enabled_mask); in mdss_hw_unmask_irq()
/drivers/soc/qcom/
Dsmsm.c245 static void smsm_mask_irq(struct irq_data *irqd) in smsm_mask_irq() argument
247 struct smsm_entry *entry = irq_data_get_irq_chip_data(irqd); in smsm_mask_irq()
248 irq_hw_number_t irq = irqd_to_hwirq(irqd); in smsm_mask_irq()
270 static void smsm_unmask_irq(struct irq_data *irqd) in smsm_unmask_irq() argument
272 struct smsm_entry *entry = irq_data_get_irq_chip_data(irqd); in smsm_unmask_irq()
273 irq_hw_number_t irq = irqd_to_hwirq(irqd); in smsm_unmask_irq()
291 static int smsm_set_irq_type(struct irq_data *irqd, unsigned int type) in smsm_set_irq_type() argument
293 struct smsm_entry *entry = irq_data_get_irq_chip_data(irqd); in smsm_set_irq_type()
294 irq_hw_number_t irq = irqd_to_hwirq(irqd); in smsm_set_irq_type()
Dsmp2p.c238 static void smp2p_mask_irq(struct irq_data *irqd) in smp2p_mask_irq() argument
240 struct smp2p_entry *entry = irq_data_get_irq_chip_data(irqd); in smp2p_mask_irq()
241 irq_hw_number_t irq = irqd_to_hwirq(irqd); in smp2p_mask_irq()
246 static void smp2p_unmask_irq(struct irq_data *irqd) in smp2p_unmask_irq() argument
248 struct smp2p_entry *entry = irq_data_get_irq_chip_data(irqd); in smp2p_unmask_irq()
249 irq_hw_number_t irq = irqd_to_hwirq(irqd); in smp2p_unmask_irq()
254 static int smp2p_set_irq_type(struct irq_data *irqd, unsigned int type) in smp2p_set_irq_type() argument
256 struct smp2p_entry *entry = irq_data_get_irq_chip_data(irqd); in smp2p_set_irq_type()
257 irq_hw_number_t irq = irqd_to_hwirq(irqd); in smp2p_set_irq_type()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_irq.c487 static void amdgpu_irq_mask(struct irq_data *irqd) in amdgpu_irq_mask() argument
492 static void amdgpu_irq_unmask(struct irq_data *irqd) in amdgpu_irq_unmask() argument
/drivers/ide/
Dide-probe.c681 unsigned int irqd; in ide_probe_port() local
694 irqd = hwif->irq; in ide_probe_port()
695 if (irqd) in ide_probe_port()
715 if (irqd) in ide_probe_port()
716 enable_irq(irqd); in ide_probe_port()
/drivers/base/
Dplatform.c112 struct irq_data *irqd; in platform_get_irq()
114 irqd = irq_get_irq_data(r->start); in platform_get_irq()
115 if (!irqd) in platform_get_irq()
117 irqd_set_trigger_type(irqd, r->flags & IORESOURCE_BITS); in platform_get_irq()