Lines Matching refs:irq_chip
36 struct irq_chip chip;
44 struct exynos_irq_chip *irq_chip);
47 static inline struct exynos_irq_chip *to_exynos_irq_chip(struct irq_chip *chip) in to_exynos_irq_chip()
54 struct irq_chip *chip = irq_data_get_irq_chip(irqd); in exynos_irq_mask()
72 struct irq_chip *chip = irq_data_get_irq_chip(irqd); in exynos_irq_ack()
82 struct irq_chip *chip = irq_data_get_irq_chip(irqd); in exynos_irq_unmask()
111 struct irq_chip *chip = irq_data_get_irq_chip(irqd); in exynos_irq_set_type()
232 irq_set_chip_and_handler(virq, &b->irq_chip->chip, in exynos_eint_irq_map()
302 bank->irq_chip = devm_kmemdup(dev, &exynos_gpio_irq_chip, in exynos_eint_gpio_init()
303 sizeof(*bank->irq_chip), GFP_KERNEL); in exynos_eint_gpio_init()
304 if (!bank->irq_chip) { in exynos_eint_gpio_init()
308 bank->irq_chip->chip.name = bank->name; in exynos_eint_gpio_init()
342 struct irq_chip *chip = irq_data_get_irq_chip(irqd); in exynos_wkup_irq_set_wake()
359 struct exynos_irq_chip *irq_chip) in exynos_pinctrl_set_eint_wakeup_mask() argument
372 *irq_chip->eint_wake_mask_value); in exynos_pinctrl_set_eint_wakeup_mask()
374 regmap_write(pmu_regs, irq_chip->eint_wake_mask_reg, in exynos_pinctrl_set_eint_wakeup_mask()
375 *irq_chip->eint_wake_mask_value); in exynos_pinctrl_set_eint_wakeup_mask()
380 struct exynos_irq_chip *irq_chip) in s5pv210_pinctrl_set_eint_wakeup_mask() argument
394 __raw_writel(*irq_chip->eint_wake_mask_value, in s5pv210_pinctrl_set_eint_wakeup_mask()
395 clk_base + irq_chip->eint_wake_mask_reg); in s5pv210_pinctrl_set_eint_wakeup_mask()
476 struct irq_chip *chip = irq_desc_get_chip(desc); in exynos_irq_eint0_15()
500 struct irq_chip *chip = irq_desc_get_chip(desc); in exynos_irq_demux_eint16_31()
510 pend = readl(b->eint_base + b->irq_chip->eint_pend in exynos_irq_demux_eint16_31()
512 mask = readl(b->eint_base + b->irq_chip->eint_mask in exynos_irq_demux_eint16_31()
532 const struct exynos_irq_chip *irq_chip; in exynos_eint_wkup_init() local
542 irq_chip = match->data; in exynos_eint_wkup_init()
555 bank->irq_chip = devm_kmemdup(dev, irq_chip, sizeof(*irq_chip), in exynos_eint_wkup_init()
557 if (!bank->irq_chip) { in exynos_eint_wkup_init()
561 bank->irq_chip->chip.name = bank->name; in exynos_eint_wkup_init()
646 save->eint_mask = readl(regs + bank->irq_chip->eint_mask in exynos_pinctrl_suspend_bank()
658 struct exynos_irq_chip *irq_chip = NULL; in exynos_pinctrl_suspend() local
665 if (!irq_chip) { in exynos_pinctrl_suspend()
666 irq_chip = bank->irq_chip; in exynos_pinctrl_suspend()
667 irq_chip->set_eint_wakeup_mask(drvdata, in exynos_pinctrl_suspend()
668 irq_chip); in exynos_pinctrl_suspend()
691 readl(regs + bank->irq_chip->eint_mask in exynos_pinctrl_resume_bank()
700 writel(save->eint_mask, regs + bank->irq_chip->eint_mask in exynos_pinctrl_resume_bank()