Home
last modified time | relevance | path

Searched refs:irqc (Results 1 – 7 of 7) sorted by relevance

/drivers/irqchip/
Dirq-lpc32xx.c183 struct lpc32xx_irq_chip *irqc; in lpc32xx_of_ic_init() local
188 irqc = kzalloc(sizeof(*irqc), GFP_KERNEL); in lpc32xx_of_ic_init()
189 if (!irqc) in lpc32xx_of_ic_init()
192 irqc->base = of_iomap(node, 0); in lpc32xx_of_ic_init()
193 if (!irqc->base) { in lpc32xx_of_ic_init()
195 kfree(irqc); in lpc32xx_of_ic_init()
199 irqc->chip.irq_ack = lpc32xx_irq_ack; in lpc32xx_of_ic_init()
200 irqc->chip.irq_mask = lpc32xx_irq_mask; in lpc32xx_of_ic_init()
201 irqc->chip.irq_unmask = lpc32xx_irq_unmask; in lpc32xx_of_ic_init()
202 irqc->chip.irq_set_type = lpc32xx_irq_set_type; in lpc32xx_of_ic_init()
[all …]
DMakefile45 obj-$(CONFIG_RENESAS_IRQC) += irq-renesas-irqc.o
/drivers/gpio/
Dgpio-vf610.c37 u8 irqc[VF610_GPIO_PER_PORT]; member
144 u8 irqc; in vf610_gpio_irq_set_type() local
148 irqc = PORT_INT_RISING_EDGE; in vf610_gpio_irq_set_type()
151 irqc = PORT_INT_FALLING_EDGE; in vf610_gpio_irq_set_type()
154 irqc = PORT_INT_EITHER_EDGE; in vf610_gpio_irq_set_type()
157 irqc = PORT_INT_LOGIC_ZERO; in vf610_gpio_irq_set_type()
160 irqc = PORT_INT_LOGIC_ONE; in vf610_gpio_irq_set_type()
166 port->irqc[d->hwirq] = irqc; in vf610_gpio_irq_set_type()
191 vf610_gpio_writel(port->irqc[d->hwirq] << PORT_PCR_IRQC_OFFSET, in vf610_gpio_irq_unmask()
Dgpio-omap.c1043 static int omap_gpio_chip_init(struct gpio_bank *bank, struct irq_chip *irqc) in omap_gpio_chip_init() argument
1096 irqc->irq_ack = dummy_irq_chip.irq_ack; in omap_gpio_chip_init()
1098 irqc->irq_set_wake = NULL; in omap_gpio_chip_init()
1101 ret = gpiochip_irqchip_add(&bank->chip, irqc, in omap_gpio_chip_init()
1112 gpiochip_set_chained_irqchip(&bank->chip, irqc, bank->irq, NULL); in omap_gpio_chip_init()
1133 struct irq_chip *irqc; in omap_gpio_probe() local
1148 irqc = devm_kzalloc(dev, sizeof(*irqc), GFP_KERNEL); in omap_gpio_probe()
1149 if (!irqc) in omap_gpio_probe()
1152 irqc->irq_startup = omap_gpio_irq_startup, in omap_gpio_probe()
1153 irqc->irq_shutdown = omap_gpio_irq_shutdown, in omap_gpio_probe()
[all …]
/drivers/staging/greybus/
Dgpio.c42 struct irq_chip irqc; member
641 struct irq_chip *irqc; in gb_gpio_probe() local
669 irqc = &ggc->irqc; in gb_gpio_probe()
670 irqc->irq_mask = gb_gpio_irq_mask; in gb_gpio_probe()
671 irqc->irq_unmask = gb_gpio_irq_unmask; in gb_gpio_probe()
672 irqc->irq_set_type = gb_gpio_irq_set_type; in gb_gpio_probe()
673 irqc->irq_bus_lock = gb_gpio_irq_bus_lock; in gb_gpio_probe()
674 irqc->irq_bus_sync_unlock = gb_gpio_irq_bus_sync_unlock; in gb_gpio_probe()
675 irqc->name = "greybus_gpio"; in gb_gpio_probe()
702 ret = gb_gpio_irqchip_add(gpio, irqc, 0, in gb_gpio_probe()
/drivers/char/
Dppdev.c80 atomic_t irqc; member
286 atomic_inc(&pp->irqc); in pp_irq()
617 ret = atomic_read(&pp->irqc); in pp_do_ioctl()
620 atomic_sub(ret, &pp->irqc); in pp_do_ioctl()
702 atomic_set(&pp->irqc, 0); in pp_open()
779 if (atomic_read(&pp->irqc)) in pp_poll()
/drivers/pinctrl/sh-pfc/
Dpfc-r8a73a4.c2048 SH_PFC_FUNCTION(irqc),