Home
last modified time | relevance | path

Searched refs:irq_chip (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/drivers/gpio/
Dgpio-sl28cpld.c53 struct regmap_irq_chip *irq_chip; in sl28cpld_gpio_irq_init() local
64 irq_chip = devm_kzalloc(dev, sizeof(*irq_chip), GFP_KERNEL); in sl28cpld_gpio_irq_init()
65 if (!irq_chip) in sl28cpld_gpio_irq_init()
68 irq_chip->name = "sl28cpld-gpio-irq", in sl28cpld_gpio_irq_init()
69 irq_chip->irqs = sl28cpld_gpio_irqs; in sl28cpld_gpio_irq_init()
70 irq_chip->num_irqs = ARRAY_SIZE(sl28cpld_gpio_irqs); in sl28cpld_gpio_irq_init()
71 irq_chip->num_regs = 1; in sl28cpld_gpio_irq_init()
72 irq_chip->status_base = base + GPIO_REG_IP; in sl28cpld_gpio_irq_init()
73 irq_chip->mask_base = base + GPIO_REG_IE; in sl28cpld_gpio_irq_init()
74 irq_chip->mask_invert = true, in sl28cpld_gpio_irq_init()
[all …]
Dgpio-tqmx86.c37 struct irq_chip irq_chip; member
184 struct irq_chip *irq_chip = irq_desc_get_chip(desc); in tqmx86_gpio_irq_handler() local
189 chained_irq_enter(irq_chip, desc); in tqmx86_gpio_irq_handler()
201 chained_irq_exit(irq_chip, desc); in tqmx86_gpio_irq_handler()
282 struct irq_chip *irq_chip = &gpio->irq_chip; in tqmx86_gpio_probe() local
285 irq_chip->name = chip->label; in tqmx86_gpio_probe()
286 irq_chip->parent_device = &pdev->dev; in tqmx86_gpio_probe()
287 irq_chip->irq_mask = tqmx86_gpio_irq_mask; in tqmx86_gpio_probe()
288 irq_chip->irq_unmask = tqmx86_gpio_irq_unmask; in tqmx86_gpio_probe()
289 irq_chip->irq_set_type = tqmx86_gpio_irq_set_type; in tqmx86_gpio_probe()
[all …]
Dgpio-em.c29 struct irq_chip irq_chip; member
253 irq_set_chip_and_handler(irq, &p->irq_chip, handle_level_irq); in em_gio_irq_domain_map()
273 struct irq_chip *irq_chip; in em_gio_probe() local
323 irq_chip = &p->irq_chip; in em_gio_probe()
324 irq_chip->name = "gpio-em"; in em_gio_probe()
325 irq_chip->irq_mask = em_gio_irq_disable; in em_gio_probe()
326 irq_chip->irq_unmask = em_gio_irq_enable; in em_gio_probe()
327 irq_chip->irq_set_type = em_gio_irq_set_type; in em_gio_probe()
328 irq_chip->irq_request_resources = em_gio_irq_reqres; in em_gio_probe()
329 irq_chip->irq_release_resources = em_gio_irq_relres; in em_gio_probe()
[all …]
Dgpio-rda.c41 struct irq_chip irq_chip; member
181 struct irq_chip *ic = irq_desc_get_chip(desc); in rda_gpio_irq_handler()
249 rda_gpio->irq_chip.name = "rda-gpio", in rda_gpio_probe()
250 rda_gpio->irq_chip.irq_ack = rda_gpio_irq_ack, in rda_gpio_probe()
251 rda_gpio->irq_chip.irq_mask = rda_gpio_irq_mask, in rda_gpio_probe()
252 rda_gpio->irq_chip.irq_unmask = rda_gpio_irq_unmask, in rda_gpio_probe()
253 rda_gpio->irq_chip.irq_set_type = rda_gpio_irq_set_type, in rda_gpio_probe()
254 rda_gpio->irq_chip.flags = IRQCHIP_SKIP_SET_WAKE, in rda_gpio_probe()
257 girq->chip = &rda_gpio->irq_chip; in rda_gpio_probe()
Dgpio-altera.c34 struct irq_chip irq_chip; member
187 struct irq_chip *chip; in altera_gpio_irq_edge_handler()
215 struct irq_chip *chip; in altera_gpio_irq_leveL_high_handler()
282 altera_gc->irq_chip.name = "altera-gpio"; in altera_gpio_probe()
283 altera_gc->irq_chip.irq_mask = altera_gpio_irq_mask; in altera_gpio_probe()
284 altera_gc->irq_chip.irq_unmask = altera_gpio_irq_unmask; in altera_gpio_probe()
285 altera_gc->irq_chip.irq_set_type = altera_gpio_irq_set_type; in altera_gpio_probe()
286 altera_gc->irq_chip.irq_startup = altera_gpio_irq_startup; in altera_gpio_probe()
287 altera_gc->irq_chip.irq_shutdown = altera_gpio_irq_mask; in altera_gpio_probe()
290 girq->chip = &altera_gc->irq_chip; in altera_gpio_probe()
Dgpio-uniphier.c29 struct irq_chip irq_chip; member
287 &priv->irq_chip, priv); in uniphier_gpio_irq_domain_alloc()
344 struct irq_chip *irq_chip; in uniphier_gpio_probe() local
389 irq_chip = &priv->irq_chip; in uniphier_gpio_probe()
390 irq_chip->name = dev_name(dev); in uniphier_gpio_probe()
391 irq_chip->irq_mask = uniphier_gpio_irq_mask; in uniphier_gpio_probe()
392 irq_chip->irq_unmask = uniphier_gpio_irq_unmask; in uniphier_gpio_probe()
393 irq_chip->irq_eoi = irq_chip_eoi_parent; in uniphier_gpio_probe()
394 irq_chip->irq_set_affinity = irq_chip_set_affinity_parent; in uniphier_gpio_probe()
395 irq_chip->irq_set_type = uniphier_gpio_irq_set_type; in uniphier_gpio_probe()
Dgpio-rcar.c40 struct irq_chip irq_chip; member
440 struct irq_chip *irq_chip; in gpio_rcar_probe() local
491 irq_chip = &p->irq_chip; in gpio_rcar_probe()
492 irq_chip->name = "gpio-rcar"; in gpio_rcar_probe()
493 irq_chip->parent_device = dev; in gpio_rcar_probe()
494 irq_chip->irq_mask = gpio_rcar_irq_disable; in gpio_rcar_probe()
495 irq_chip->irq_unmask = gpio_rcar_irq_enable; in gpio_rcar_probe()
496 irq_chip->irq_set_type = gpio_rcar_irq_set_type; in gpio_rcar_probe()
497 irq_chip->irq_set_wake = gpio_rcar_irq_set_wake; in gpio_rcar_probe()
498 irq_chip->flags = IRQCHIP_SET_TYPE_MASKED | IRQCHIP_MASK_ON_SUSPEND; in gpio_rcar_probe()
[all …]
Dgpio-mt7621.c33 struct irq_chip irq_chip; member
244 rg->irq_chip.name = dev_name(dev); in mediatek_gpio_bank_probe()
245 rg->irq_chip.parent_device = dev; in mediatek_gpio_bank_probe()
246 rg->irq_chip.irq_unmask = mediatek_gpio_irq_unmask; in mediatek_gpio_bank_probe()
247 rg->irq_chip.irq_mask = mediatek_gpio_irq_mask; in mediatek_gpio_bank_probe()
248 rg->irq_chip.irq_mask_ack = mediatek_gpio_irq_mask; in mediatek_gpio_bank_probe()
249 rg->irq_chip.irq_set_type = mediatek_gpio_irq_type; in mediatek_gpio_bank_probe()
269 girq->chip = &rg->irq_chip; in mediatek_gpio_bank_probe()
Dgpio-pl061.c55 struct irq_chip irq_chip; member
219 struct irq_chip *irqchip = irq_desc_get_chip(desc); in pl061_irq_handler()
318 pl061->irq_chip.name = dev_name(dev); in pl061_probe()
319 pl061->irq_chip.irq_ack = pl061_irq_ack; in pl061_probe()
320 pl061->irq_chip.irq_mask = pl061_irq_mask; in pl061_probe()
321 pl061->irq_chip.irq_unmask = pl061_irq_unmask; in pl061_probe()
322 pl061->irq_chip.irq_set_type = pl061_irq_type; in pl061_probe()
323 pl061->irq_chip.irq_set_wake = pl061_irq_set_wake; in pl061_probe()
332 girq->chip = &pl061->irq_chip; in pl061_probe()
Dgpio-davinci.c44 typedef struct irq_chip *(*gpio_get_irq_chip_cb_t)(unsigned int irq);
324 static struct irq_chip gpio_irqchip = {
454 static struct irq_chip *davinci_gpio_get_irq_chip(unsigned int irq) in davinci_gpio_get_irq_chip()
463 static struct irq_chip *keystone_gpio_get_irq_chip(unsigned int irq) in keystone_gpio_get_irq_chip()
465 static struct irq_chip gpio_unbanked; in keystone_gpio_get_irq_chip()
495 struct irq_chip *irq_chip; in davinci_gpio_irq_setup() local
560 irq_chip = gpio_get_irq_chip(irq); in davinci_gpio_irq_setup()
561 irq_chip->name = "GPIO-AINTC"; in davinci_gpio_irq_setup()
562 irq_chip->irq_set_type = gpio_irq_type_unbanked; in davinci_gpio_irq_setup()
571 irq_set_chip(chips->irqs[gpio], irq_chip); in davinci_gpio_irq_setup()
/drivers/pinctrl/samsung/
Dpinctrl-exynos.c36 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()
301 bank->irq_chip = devm_kmemdup(dev, &exynos_gpio_irq_chip, in exynos_eint_gpio_init()
302 sizeof(*bank->irq_chip), GFP_KERNEL); in exynos_eint_gpio_init()
[all …]
/drivers/irqchip/
Dirq-ts4800.c29 struct irq_chip irq_chip; member
55 irq_set_chip_and_handler(irq, &data->irq_chip, handle_simple_irq); in ts4800_irqdomain_map()
70 struct irq_chip *chip = irq_desc_get_chip(desc); in ts4800_ic_chained_handle_irq()
96 struct irq_chip *irq_chip; in ts4800_ic_probe() local
117 irq_chip = &data->irq_chip; in ts4800_ic_probe()
118 irq_chip->name = dev_name(&pdev->dev); in ts4800_ic_probe()
119 irq_chip->irq_mask = ts4800_irq_mask; in ts4800_ic_probe()
120 irq_chip->irq_unmask = ts4800_irq_unmask; in ts4800_ic_probe()
Dirq-mvebu-pic.c32 struct irq_chip irq_chip; member
76 irq_set_chip_and_handler(virq, &pic->irq_chip, in mvebu_pic_irq_map()
92 struct irq_chip *chip = irq_desc_get_chip(desc); in mvebu_pic_handle_cascade_irq()
126 struct irq_chip *irq_chip; in mvebu_pic_probe() local
138 irq_chip = &pic->irq_chip; in mvebu_pic_probe()
139 irq_chip->name = dev_name(&pdev->dev); in mvebu_pic_probe()
140 irq_chip->irq_mask = mvebu_pic_mask_irq; in mvebu_pic_probe()
141 irq_chip->irq_unmask = mvebu_pic_unmask_irq; in mvebu_pic_probe()
142 irq_chip->irq_eoi = mvebu_pic_eoi_irq; in mvebu_pic_probe()
Dspear-shirq.c49 struct irq_chip *irq_chip; member
82 static struct irq_chip shirq_chip = {
92 .irq_chip = &shirq_chip,
108 .irq_chip = &dummy_irq_chip,
116 .irq_chip = &dummy_irq_chip,
124 .irq_chip = &dummy_irq_chip,
132 .irq_chip = &dummy_irq_chip,
158 .irq_chip = &dummy_irq_chip,
166 .irq_chip = &dummy_irq_chip,
174 .irq_chip = &dummy_irq_chip,
[all …]
Dirq-renesas-intc-irqpin.c66 struct irq_chip irq_chip; member
340 irq_set_chip_and_handler(virq, &p->irq_chip, handle_level_irq); in intc_irqpin_irq_domain_map()
379 struct irq_chip *irq_chip; in intc_irqpin_probe() local
508 irq_chip = &p->irq_chip; in intc_irqpin_probe()
509 irq_chip->name = "intc-irqpin"; in intc_irqpin_probe()
510 irq_chip->parent_device = dev; in intc_irqpin_probe()
511 irq_chip->irq_mask = disable_fn; in intc_irqpin_probe()
512 irq_chip->irq_unmask = enable_fn; in intc_irqpin_probe()
513 irq_chip->irq_set_type = intc_irqpin_irq_set_type; in intc_irqpin_probe()
514 irq_chip->irq_set_wake = intc_irqpin_irq_set_wake; in intc_irqpin_probe()
[all …]
Dirq-partition-percpu.c34 struct irq_chip *chip = irq_desc_get_chip(part->chained_desc); in partition_irq_mask()
45 struct irq_chip *chip = irq_desc_get_chip(part->chained_desc); in partition_irq_unmask()
58 struct irq_chip *chip = irq_desc_get_chip(part->chained_desc); in partition_irq_set_irqchip_state()
73 struct irq_chip *chip = irq_desc_get_chip(part->chained_desc); in partition_irq_get_irqchip_state()
86 struct irq_chip *chip = irq_desc_get_chip(part->chained_desc); in partition_irq_set_type()
98 struct irq_chip *chip = irq_desc_get_chip(part->chained_desc); in partition_irq_print_chip()
104 static struct irq_chip partition_irq_chip = {
116 struct irq_chip *chip = irq_desc_get_chip(desc); in partition_handle_irq()
Dirq-bcm2836.c57 static struct irq_chip bcm2836_arm_irqchip_timer = {
73 static struct irq_chip bcm2836_arm_irqchip_pmu = {
87 static struct irq_chip bcm2836_arm_irqchip_gpu = {
97 static struct irq_chip bcm2836_arm_irqchip_dummy = {
105 struct irq_chip *chip; in bcm2836_map()
155 struct irq_chip *chip = irq_desc_get_chip(desc); in bcm2836_arm_irqchip_handle_ipi()
194 static struct irq_chip bcm2836_arm_irqchip_ipi = {
Dirq-xtensa-mx.c29 struct irq_chip *irq_chip = d->host_data; in xtensa_mx_irq_map() local
30 irq_set_chip_and_handler_name(irq, irq_chip, in xtensa_mx_irq_map()
143 static struct irq_chip xtensa_mx_irq_chip = {
/drivers/mfd/
Dsprd-sc27xx-spi.c38 struct regmap_irq_chip irq_chip; member
172 ddata->irq_chip.name = dev_name(&spi->dev); in sprd_pmic_probe()
173 ddata->irq_chip.status_base = in sprd_pmic_probe()
175 ddata->irq_chip.mask_base = pdata->irq_base + SPRD_PMIC_INT_EN; in sprd_pmic_probe()
176 ddata->irq_chip.ack_base = 0; in sprd_pmic_probe()
177 ddata->irq_chip.num_regs = 1; in sprd_pmic_probe()
178 ddata->irq_chip.num_irqs = pdata->num_irqs; in sprd_pmic_probe()
179 ddata->irq_chip.mask_invert = true; in sprd_pmic_probe()
187 ddata->irq_chip.irqs = ddata->irqs; in sprd_pmic_probe()
193 &ddata->irq_chip, &ddata->irq_data); in sprd_pmic_probe()
Dqcom-pm8xxx.c67 struct irq_chip *irq_chip; member
176 struct irq_chip *irq_chip = irq_desc_get_chip(desc); in pm8xxx_irq_handler() local
180 chained_irq_enter(irq_chip, desc); in pm8xxx_irq_handler()
196 chained_irq_exit(irq_chip, desc); in pm8xxx_irq_handler()
238 struct irq_chip *irq_chip = irq_desc_get_chip(desc); in pm8821_irq_handler() local
242 chained_irq_enter(irq_chip, desc); in pm8821_irq_handler()
268 chained_irq_exit(irq_chip, desc); in pm8821_irq_handler()
362 static struct irq_chip pm8xxx_irq_chip = {
375 irq_domain_set_info(domain, irq, hwirq, chip->pm_irq_data->irq_chip, in pm8xxx_irq_domain_map()
478 static struct irq_chip pm8821_irq_chip = {
[all …]
Dmc13xxx-core.c447 mc13xxx->irq_chip.name = dev_name(dev); in mc13xxx_common_init()
448 mc13xxx->irq_chip.status_base = MC13XXX_IRQSTAT0; in mc13xxx_common_init()
449 mc13xxx->irq_chip.mask_base = MC13XXX_IRQMASK0; in mc13xxx_common_init()
450 mc13xxx->irq_chip.ack_base = MC13XXX_IRQSTAT0; in mc13xxx_common_init()
451 mc13xxx->irq_chip.irq_reg_stride = MC13XXX_IRQSTAT1 - MC13XXX_IRQSTAT0; in mc13xxx_common_init()
452 mc13xxx->irq_chip.init_ack_masked = true; in mc13xxx_common_init()
453 mc13xxx->irq_chip.use_ack = true; in mc13xxx_common_init()
454 mc13xxx->irq_chip.num_regs = MC13XXX_IRQ_REG_CNT; in mc13xxx_common_init()
455 mc13xxx->irq_chip.irqs = mc13xxx->irqs; in mc13xxx_common_init()
456 mc13xxx->irq_chip.num_irqs = ARRAY_SIZE(mc13xxx->irqs); in mc13xxx_common_init()
[all …]
Dtwl6030-irq.c112 struct irq_chip irq_chip; member
339 irq_set_chip_and_handler(virq, &pdata->irq_chip, handle_simple_irq); in twl6030_irq_map()
405 twl6030_irq->irq_chip = dummy_irq_chip; in twl6030_init_irq()
406 twl6030_irq->irq_chip.name = "twl6030"; in twl6030_init_irq()
407 twl6030_irq->irq_chip.irq_set_type = NULL; in twl6030_init_irq()
408 twl6030_irq->irq_chip.irq_set_wake = twl6030_irq_set_wake; in twl6030_init_irq()
Dda9063-irq.c173 const struct regmap_irq_chip *irq_chip; in da9063_irq_init() local
182 irq_chip = &da9063_irq_chip; in da9063_irq_init()
184 irq_chip = &da9063l_irq_chip; in da9063_irq_init()
189 da9063->irq_base, irq_chip, &da9063->regmap_irq); in da9063_irq_init()
/drivers/soc/fsl/qe/
Dqe_ic.c53 struct irq_chip hc_irq;
286 static struct irq_chip qe_ic_irq_chip = {
305 struct irq_chip *chip; in qe_ic_host_map()
369 struct irq_chip *chip = irq_desc_get_chip(desc); in qe_ic_cascade_low()
382 struct irq_chip *chip = irq_desc_get_chip(desc); in qe_ic_cascade_high()
395 struct irq_chip *chip = irq_desc_get_chip(desc); in qe_ic_cascade_muxed_mpic()
/drivers/pinctrl/
Dpinctrl-stmfx.c86 struct irq_chip irq_chip; member
680 pctl->irq_chip.name = dev_name(pctl->dev); in stmfx_pinctrl_probe()
681 pctl->irq_chip.irq_mask = stmfx_pinctrl_irq_mask; in stmfx_pinctrl_probe()
682 pctl->irq_chip.irq_unmask = stmfx_pinctrl_irq_unmask; in stmfx_pinctrl_probe()
683 pctl->irq_chip.irq_set_type = stmfx_pinctrl_irq_set_type; in stmfx_pinctrl_probe()
684 pctl->irq_chip.irq_bus_lock = stmfx_pinctrl_irq_bus_lock; in stmfx_pinctrl_probe()
685 pctl->irq_chip.irq_bus_sync_unlock = stmfx_pinctrl_irq_bus_sync_unlock; in stmfx_pinctrl_probe()
686 pctl->irq_chip.irq_request_resources = stmfx_gpio_irq_request_resources; in stmfx_pinctrl_probe()
687 pctl->irq_chip.irq_release_resources = stmfx_gpio_irq_release_resources; in stmfx_pinctrl_probe()
690 girq->chip = &pctl->irq_chip; in stmfx_pinctrl_probe()
[all …]

12345678910>>...14