Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-xilinx-intc.c46 static void xintc_write(struct xintc_irq_chip *irqc, int reg, u32 data) in xintc_write() argument
49 iowrite32be(data, irqc->base + reg); in xintc_write()
51 iowrite32(data, irqc->base + reg); in xintc_write()
54 static u32 xintc_read(struct xintc_irq_chip *irqc, int reg) in xintc_read() argument
57 return ioread32be(irqc->base + reg); in xintc_read()
59 return ioread32(irqc->base + reg); in xintc_read()
64 struct xintc_irq_chip *irqc = irq_data_get_irq_chip_data(d); in intc_enable_or_unmask() local
74 xintc_write(irqc, IAR, mask); in intc_enable_or_unmask()
76 xintc_write(irqc, SIE, mask); in intc_enable_or_unmask()
81 struct xintc_irq_chip *irqc = irq_data_get_irq_chip_data(d); in intc_disable_or_mask() local
[all …]
Dirq-lpc32xx.c177 struct lpc32xx_irq_chip *irqc; in lpc32xx_of_ic_init() local
182 irqc = kzalloc(sizeof(*irqc), GFP_KERNEL); in lpc32xx_of_ic_init()
183 if (!irqc) in lpc32xx_of_ic_init()
186 irqc->base = of_iomap(node, 0); in lpc32xx_of_ic_init()
187 if (!irqc->base) { in lpc32xx_of_ic_init()
189 kfree(irqc); in lpc32xx_of_ic_init()
193 irqc->chip.irq_ack = lpc32xx_irq_ack; in lpc32xx_of_ic_init()
194 irqc->chip.irq_mask = lpc32xx_irq_mask; in lpc32xx_of_ic_init()
195 irqc->chip.irq_unmask = lpc32xx_irq_unmask; in lpc32xx_of_ic_init()
196 irqc->chip.irq_set_type = lpc32xx_irq_set_type; in lpc32xx_of_ic_init()
[all …]
DMakefile52 obj-$(CONFIG_RENESAS_IRQC) += irq-renesas-irqc.o
/kernel/linux/linux-5.10/arch/arm/mach-shmobile/
Dregulator-quirk-rcar-gen2.c50 static void __iomem *irqc; variable
86 mon = ioread32(irqc + IRQC_MONITOR); in regulator_quirk_notify()
117 mon = ioread32(irqc + IRQC_MONITOR); in regulator_quirk_notify()
132 iounmap(irqc); in regulator_quirk_notify()
204 irqc = ioremap(IRQC_BASE, PAGE_SIZE); in rcar_gen2_regulator_quirk()
205 if (!irqc) { in rcar_gen2_regulator_quirk()
210 mon = ioread32(irqc + IRQC_MONITOR); in rcar_gen2_regulator_quirk()
224 iounmap(irqc); in rcar_gen2_regulator_quirk()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-vf610.c36 u8 irqc[VF610_GPIO_PER_PORT]; member
171 u8 irqc; in vf610_gpio_irq_set_type() local
175 irqc = PORT_INT_RISING_EDGE; in vf610_gpio_irq_set_type()
178 irqc = PORT_INT_FALLING_EDGE; in vf610_gpio_irq_set_type()
181 irqc = PORT_INT_EITHER_EDGE; in vf610_gpio_irq_set_type()
184 irqc = PORT_INT_LOGIC_ZERO; in vf610_gpio_irq_set_type()
187 irqc = PORT_INT_LOGIC_ONE; in vf610_gpio_irq_set_type()
193 port->irqc[d->hwirq] = irqc; in vf610_gpio_irq_set_type()
218 vf610_gpio_writel(port->irqc[d->hwirq] << PORT_PCR_IRQC_OFFSET, in vf610_gpio_irq_unmask()
Dgpio-xgs-iproc.c233 struct irq_chip *irqc; in iproc_gpio_probe() local
236 irqc = &chip->irqchip; in iproc_gpio_probe()
237 irqc->name = dev_name(dev); in iproc_gpio_probe()
238 irqc->irq_ack = iproc_gpio_irq_ack; in iproc_gpio_probe()
239 irqc->irq_mask = iproc_gpio_irq_mask; in iproc_gpio_probe()
240 irqc->irq_unmask = iproc_gpio_irq_unmask; in iproc_gpio_probe()
241 irqc->irq_set_type = iproc_gpio_irq_set_type; in iproc_gpio_probe()
264 girq->chip = irqc; in iproc_gpio_probe()
Dgpio-hlwd.c51 struct irq_chip irqc; member
265 hlwd->irqc.name = dev_name(&pdev->dev); in hlwd_gpio_probe()
266 hlwd->irqc.irq_mask = hlwd_gpio_irq_mask; in hlwd_gpio_probe()
267 hlwd->irqc.irq_unmask = hlwd_gpio_irq_unmask; in hlwd_gpio_probe()
268 hlwd->irqc.irq_enable = hlwd_gpio_irq_enable; in hlwd_gpio_probe()
269 hlwd->irqc.irq_set_type = hlwd_gpio_irq_set_type; in hlwd_gpio_probe()
272 girq->chip = &hlwd->irqc; in hlwd_gpio_probe()
Dgpio-omap.c990 static int omap_gpio_chip_init(struct gpio_bank *bank, struct irq_chip *irqc) in omap_gpio_chip_init() argument
1042 irqc->irq_set_wake = NULL; in omap_gpio_chip_init()
1045 irq->chip = irqc; in omap_gpio_chip_init()
1382 struct irq_chip *irqc; in omap_gpio_probe() local
1395 irqc = devm_kzalloc(dev, sizeof(*irqc), GFP_KERNEL); in omap_gpio_probe()
1396 if (!irqc) in omap_gpio_probe()
1399 irqc->irq_startup = omap_gpio_irq_startup, in omap_gpio_probe()
1400 irqc->irq_shutdown = omap_gpio_irq_shutdown, in omap_gpio_probe()
1401 irqc->irq_ack = dummy_irq_chip.irq_ack, in omap_gpio_probe()
1402 irqc->irq_mask = omap_gpio_mask_irq, in omap_gpio_probe()
[all …]
/kernel/linux/linux-5.10/drivers/staging/greybus/
Dgpio.c41 struct irq_chip irqc; member
508 struct irq_chip *irqc; in gb_gpio_probe() local
537 irqc = &ggc->irqc; in gb_gpio_probe()
538 irqc->irq_mask = gb_gpio_irq_mask; in gb_gpio_probe()
539 irqc->irq_unmask = gb_gpio_irq_unmask; in gb_gpio_probe()
540 irqc->irq_set_type = gb_gpio_irq_set_type; in gb_gpio_probe()
541 irqc->irq_bus_lock = gb_gpio_irq_bus_lock; in gb_gpio_probe()
542 irqc->irq_bus_sync_unlock = gb_gpio_irq_bus_sync_unlock; in gb_gpio_probe()
543 irqc->name = "greybus_gpio"; in gb_gpio_probe()
566 girq->chip = irqc; in gb_gpio_probe()
/kernel/linux/linux-5.10/drivers/pinctrl/bcm/
Dpinctrl-iproc-gpio.c857 struct irq_chip *irqc; in iproc_gpio_probe() local
860 irqc = &chip->irqchip; in iproc_gpio_probe()
861 irqc->name = dev_name(dev); in iproc_gpio_probe()
862 irqc->irq_ack = iproc_gpio_irq_ack; in iproc_gpio_probe()
863 irqc->irq_mask = iproc_gpio_irq_mask; in iproc_gpio_probe()
864 irqc->irq_unmask = iproc_gpio_irq_unmask; in iproc_gpio_probe()
865 irqc->irq_set_type = iproc_gpio_irq_set_type; in iproc_gpio_probe()
866 irqc->irq_enable = iproc_gpio_irq_unmask; in iproc_gpio_probe()
867 irqc->irq_disable = iproc_gpio_irq_mask; in iproc_gpio_probe()
870 girq->chip = irqc; in iproc_gpio_probe()
Dpinctrl-nsp-gpio.c665 struct irq_chip *irqc; in nsp_gpio_probe() local
667 irqc = &chip->irqchip; in nsp_gpio_probe()
668 irqc->name = "gpio-a"; in nsp_gpio_probe()
669 irqc->irq_ack = nsp_gpio_irq_ack; in nsp_gpio_probe()
670 irqc->irq_mask = nsp_gpio_irq_mask; in nsp_gpio_probe()
671 irqc->irq_unmask = nsp_gpio_irq_unmask; in nsp_gpio_probe()
672 irqc->irq_set_type = nsp_gpio_irq_set_type; in nsp_gpio_probe()
688 girq->chip = irqc; in nsp_gpio_probe()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dr7s72100-rskrza1.dts39 interrupt-parent = <&irqc>;
47 interrupt-parent = <&irqc>;
55 interrupt-parent = <&irqc>;
Dr8a7792-blanche.dts46 interrupt-parent = <&irqc>;
286 interrupt-parent = <&irqc>;
322 interrupt-parent = <&irqc>;
Dr8a7745-sk-rzg1e.dts68 interrupt-parent = <&irqc>;
Dr8a7743-sk-rzg1m.dts73 interrupt-parent = <&irqc>;
Dimx51-ts4800.dts171 fpga_irqc: fpga-irqc@15000 {
172 compatible = "technologic,ts4800-irqc";
Dr8a73a4.dtsi149 compatible = "renesas,irqc-r8a73a4", "renesas,irqc";
190 compatible = "renesas,irqc-r8a73a4", "renesas,irqc";
744 "irqc", "intc-sys", "iic5", "iic4", "iic3";
Dr7s9210.dtsi473 irqc: interrupt-controller@fcfef800 { label
474 compatible = "renesas,r7s9210-irqc",
475 "renesas,rza1-irqc";
Dr7s9210-rza2mevb.dts37 interrupt-parent = <&irqc>;
Dr7s72100.dtsi674 irqc: interrupt-controller@fcfef800 { label
675 compatible = "renesas,r7s72100-irqc",
676 "renesas,rza1-irqc";
Dr8a7792-wheat.dts45 interrupt-parent = <&irqc>;
Dr8a7792.dtsi331 irqc: interrupt-controller@e61c0000 { label
332 compatible = "renesas,irqc-r8a7792", "renesas,irqc";
/kernel/linux/linux-5.10/drivers/char/
Dppdev.c76 atomic_t irqc; member
279 atomic_inc(&pp->irqc); in pp_irq()
608 ret = atomic_read(&pp->irqc); in pp_do_ioctl()
611 atomic_sub(ret, &pp->irqc); in pp_do_ioctl()
693 atomic_set(&pp->irqc, 0); in pp_open()
770 if (atomic_read(&pp->irqc)) in pp_poll()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Dtechnologic,ts4800.txt8 - compatible: should be "technologic,ts4800-irqc"
/kernel/linux/linux-5.10/drivers/mmc/host/
Dmeson-mx-sdio.c473 u32 irqc; in meson_mx_mmc_timeout() local
478 irqc = readl(host->base + MESON_MX_SDIO_IRQC); in meson_mx_mmc_timeout()
479 irqc &= ~MESON_MX_SDIO_IRQC_ARC_CMD_INT_EN; in meson_mx_mmc_timeout()
480 writel(irqc, host->base + MESON_MX_SDIO_IRQC); in meson_mx_mmc_timeout()

12