Home
last modified time | relevance | path

Searched full:irqc (Results 1 – 25 of 62) sorted by relevance

123

/Linux-v5.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 …]
Dirq-renesas-rza1.c3 * Renesas RZ/A1 IRQC Driver
226 priv->chip.name = "rza1-irqc", in rza1_irqc_probe()
256 { .compatible = "renesas,rza1-irqc" },
283 MODULE_DESCRIPTION("Renesas RZ/A1 IRQC Driver");
Dirq-renesas-irqc.c3 * Renesas IRQC Driver
179 1, "irqc", handle_level_irq, in irqc_probe()
242 { .compatible = "renesas,irqc", },
270 MODULE_DESCRIPTION("Renesas IRQC Driver");
Dirq-ts4800.c146 { .compatible = "technologic,ts4800-irqc", },
155 .name = "ts4800-irqc",
DKconfig234 bool "Renesas R-Mobile APE6, R-Car Gen{2,3} and RZ/G{1,2} IRQC support" if COMPILE_TEST
242 bool "Renesas RZ/A1 IRQC support" if COMPILE_TEST
/Linux-v5.10/Documentation/devicetree/bindings/interrupt-controller/
Drenesas,irqc.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/renesas,irqc.yaml#
16 - renesas,irqc-r8a73a4 # R-Mobile APE6
17 - renesas,irqc-r8a7742 # RZ/G1H
18 - renesas,irqc-r8a7743 # RZ/G1M
19 - renesas,irqc-r8a7744 # RZ/G1N
20 - renesas,irqc-r8a7745 # RZ/G1E
21 - renesas,irqc-r8a77470 # RZ/G1C
22 - renesas,irqc-r8a7790 # R-Car H2
23 - renesas,irqc-r8a7791 # R-Car M2-W
24 - renesas,irqc-r8a7792 # R-Car V2H
[all …]
Drenesas,rza1-irqc.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/renesas,rza1-irqc.yaml#
26 - renesas,r7s72100-irqc # RZ/A1H
27 - renesas,r7s9210-irqc # RZ/A2M
28 - const: renesas,rza1-irqc
64 irqc: interrupt-controller@fcfef800 {
65 compatible = "renesas,r7s72100-irqc", "renesas,rza1-irqc";
Dtechnologic,ts4800.txt8 - compatible: should be "technologic,ts4800-irqc"
/Linux-v5.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()
201 irqc = ioremap(IRQC_BASE, PAGE_SIZE); in rcar_gen2_regulator_quirk()
202 if (!irqc) { in rcar_gen2_regulator_quirk()
207 mon = ioread32(irqc + IRQC_MONITOR); in rcar_gen2_regulator_quirk()
221 iounmap(irqc); in rcar_gen2_regulator_quirk()
/Linux-v5.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.c989 static int omap_gpio_chip_init(struct gpio_bank *bank, struct irq_chip *irqc) in omap_gpio_chip_init() argument
1041 irqc->irq_set_wake = NULL; in omap_gpio_chip_init()
1044 irq->chip = irqc; in omap_gpio_chip_init()
1373 struct irq_chip *irqc; in omap_gpio_probe() local
1386 irqc = devm_kzalloc(dev, sizeof(*irqc), GFP_KERNEL); in omap_gpio_probe()
1387 if (!irqc) in omap_gpio_probe()
1390 irqc->irq_startup = omap_gpio_irq_startup, in omap_gpio_probe()
1391 irqc->irq_shutdown = omap_gpio_irq_shutdown, in omap_gpio_probe()
1392 irqc->irq_ack = dummy_irq_chip.irq_ack, in omap_gpio_probe()
1393 irqc->irq_mask = omap_gpio_mask_irq, in omap_gpio_probe()
[all …]
/Linux-v5.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()
/Linux-v5.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()
/Linux-v5.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>;
Dimx51-ts4800.dts171 fpga_irqc: fpga-irqc@15000 {
172 compatible = "technologic,ts4800-irqc";
Dr8a7745-sk-rzg1e.dts68 interrupt-parent = <&irqc>;
Dr8a7743-sk-rzg1m.dts73 interrupt-parent = <&irqc>;
Dr7s9210.dtsi473 irqc: interrupt-controller@fcfef800 { label
474 compatible = "renesas,r7s9210-irqc",
475 "renesas,rza1-irqc";
/Linux-v5.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()
/Linux-v5.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()

123