Home
last modified time | relevance | path

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

123

/linux-5.19.10/drivers/irqchip/
Dirq-xilinx-intc.c48 static void xintc_write(struct xintc_irq_chip *irqc, int reg, u32 data) in xintc_write() argument
51 iowrite32be(data, irqc->base + reg); in xintc_write()
53 iowrite32(data, irqc->base + reg); in xintc_write()
56 static u32 xintc_read(struct xintc_irq_chip *irqc, int reg) in xintc_read() argument
59 return ioread32be(irqc->base + reg); in xintc_read()
61 return ioread32(irqc->base + reg); in xintc_read()
66 struct xintc_irq_chip *irqc = irq_data_get_irq_chip_data(d); in intc_enable_or_unmask() local
76 xintc_write(irqc, IAR, mask); in intc_enable_or_unmask()
78 xintc_write(irqc, SIE, mask); in intc_enable_or_unmask()
83 struct xintc_irq_chip *irqc = irq_data_get_irq_chip_data(d); in intc_disable_or_mask() local
[all …]
Dirq-apple-aic.c914 static int __init aic_init_smp(struct aic_irq_chip *irqc, struct device_node *node) in aic_init_smp() argument
919 ipi_domain = irq_domain_create_linear(irqc->hw_domain->fwnode, AIC_NR_SWIPI, in aic_init_smp()
920 &aic_ipi_domain_ops, irqc); in aic_init_smp()
937 irqc->ipi_domain = ipi_domain; in aic_init_smp()
1051 struct aic_irq_chip *irqc; in aic_of_ic_init() local
1059 irqc = kzalloc(sizeof(*irqc), GFP_KERNEL); in aic_of_ic_init()
1060 if (!irqc) { in aic_of_ic_init()
1065 irqc->base = regs; in aic_of_ic_init()
1071 irqc->info = *(struct aic_info *)match->data; in aic_of_ic_init()
1073 aic_irqc = irqc; in aic_of_ic_init()
[all …]
Dirq-lpc32xx.c196 struct lpc32xx_irq_chip *irqc; in lpc32xx_of_ic_init() local
201 irqc = kzalloc(sizeof(*irqc), GFP_KERNEL); in lpc32xx_of_ic_init()
202 if (!irqc) in lpc32xx_of_ic_init()
205 irqc->addr = addr; in lpc32xx_of_ic_init()
206 irqc->base = of_iomap(node, 0); in lpc32xx_of_ic_init()
207 if (!irqc->base) { in lpc32xx_of_ic_init()
209 kfree(irqc); in lpc32xx_of_ic_init()
213 irqc->domain = irq_domain_add_linear(node, NR_LPC32XX_IC_IRQS, in lpc32xx_of_ic_init()
214 &lpc32xx_irq_domain_ops, irqc); in lpc32xx_of_ic_init()
215 if (!irqc->domain) { in lpc32xx_of_ic_init()
[all …]
/linux-5.19.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-5.19.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()
133 iounmap(irqc); in regulator_quirk_notify()
206 irqc = ioremap(IRQC_BASE, PAGE_SIZE); in rcar_gen2_regulator_quirk()
207 if (!irqc) { in rcar_gen2_regulator_quirk()
212 mon = ioread32(irqc + IRQC_MONITOR); in rcar_gen2_regulator_quirk()
226 iounmap(irqc); in rcar_gen2_regulator_quirk()
/linux-5.19.10/drivers/gpio/
Dgpio-vf610.c37 u8 irqc[VF610_GPIO_PER_PORT]; member
176 u8 irqc; in vf610_gpio_irq_set_type() local
180 irqc = PORT_INT_RISING_EDGE; in vf610_gpio_irq_set_type()
183 irqc = PORT_INT_FALLING_EDGE; in vf610_gpio_irq_set_type()
186 irqc = PORT_INT_EITHER_EDGE; in vf610_gpio_irq_set_type()
189 irqc = PORT_INT_LOGIC_ZERO; in vf610_gpio_irq_set_type()
192 irqc = PORT_INT_LOGIC_ONE; in vf610_gpio_irq_set_type()
198 port->irqc[d->hwirq] = irqc; in vf610_gpio_irq_set_type()
223 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
262 hlwd->irqc.name = dev_name(&pdev->dev); in hlwd_gpio_probe()
263 hlwd->irqc.irq_mask = hlwd_gpio_irq_mask; in hlwd_gpio_probe()
264 hlwd->irqc.irq_unmask = hlwd_gpio_irq_unmask; in hlwd_gpio_probe()
265 hlwd->irqc.irq_enable = hlwd_gpio_irq_enable; in hlwd_gpio_probe()
266 hlwd->irqc.irq_set_type = hlwd_gpio_irq_set_type; in hlwd_gpio_probe()
269 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
1042 irqc->irq_set_wake = NULL; in omap_gpio_chip_init()
1045 irq->chip = irqc; in omap_gpio_chip_init()
1379 struct irq_chip *irqc; in omap_gpio_probe() local
1392 irqc = devm_kzalloc(dev, sizeof(*irqc), GFP_KERNEL); in omap_gpio_probe()
1393 if (!irqc) in omap_gpio_probe()
1396 irqc->irq_startup = omap_gpio_irq_startup, in omap_gpio_probe()
1397 irqc->irq_shutdown = omap_gpio_irq_shutdown, in omap_gpio_probe()
1398 irqc->irq_ack = dummy_irq_chip.irq_ack, in omap_gpio_probe()
1399 irqc->irq_mask = omap_gpio_mask_irq, in omap_gpio_probe()
[all …]
/linux-5.19.10/drivers/staging/greybus/
Dgpio.c41 struct irq_chip irqc; member
505 struct irq_chip *irqc; in gb_gpio_probe() local
534 irqc = &ggc->irqc; in gb_gpio_probe()
535 irqc->irq_mask = gb_gpio_irq_mask; in gb_gpio_probe()
536 irqc->irq_unmask = gb_gpio_irq_unmask; in gb_gpio_probe()
537 irqc->irq_set_type = gb_gpio_irq_set_type; in gb_gpio_probe()
538 irqc->irq_bus_lock = gb_gpio_irq_bus_lock; in gb_gpio_probe()
539 irqc->irq_bus_sync_unlock = gb_gpio_irq_bus_sync_unlock; in gb_gpio_probe()
540 irqc->name = "greybus_gpio"; in gb_gpio_probe()
563 girq->chip = irqc; in gb_gpio_probe()
/linux-5.19.10/drivers/pinctrl/bcm/
Dpinctrl-iproc-gpio.c853 struct irq_chip *irqc; in iproc_gpio_probe() local
856 irqc = &chip->irqchip; in iproc_gpio_probe()
857 irqc->name = dev_name(dev); in iproc_gpio_probe()
858 irqc->irq_ack = iproc_gpio_irq_ack; in iproc_gpio_probe()
859 irqc->irq_mask = iproc_gpio_irq_mask; in iproc_gpio_probe()
860 irqc->irq_unmask = iproc_gpio_irq_unmask; in iproc_gpio_probe()
861 irqc->irq_set_type = iproc_gpio_irq_set_type; in iproc_gpio_probe()
862 irqc->irq_enable = iproc_gpio_irq_unmask; in iproc_gpio_probe()
863 irqc->irq_disable = iproc_gpio_irq_mask; in iproc_gpio_probe()
866 girq->chip = irqc; in iproc_gpio_probe()
Dpinctrl-nsp-gpio.c663 struct irq_chip *irqc; in nsp_gpio_probe() local
665 irqc = &chip->irqchip; in nsp_gpio_probe()
666 irqc->name = "gpio-a"; in nsp_gpio_probe()
667 irqc->irq_ack = nsp_gpio_irq_ack; in nsp_gpio_probe()
668 irqc->irq_mask = nsp_gpio_irq_mask; in nsp_gpio_probe()
669 irqc->irq_unmask = nsp_gpio_irq_unmask; in nsp_gpio_probe()
670 irqc->irq_set_type = nsp_gpio_irq_set_type; in nsp_gpio_probe()
686 girq->chip = irqc; in nsp_gpio_probe()
/linux-5.19.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>;
294 interrupt-parent = <&irqc>;
330 interrupt-parent = <&irqc>;
Dr8a7745-sk-rzg1e.dts71 interrupt-parent = <&irqc>;
Dr8a7743-sk-rzg1m.dts76 interrupt-parent = <&irqc>;
Dimx51-ts4800.dts171 fpga_irqc: fpga-irqc@15000 {
172 compatible = "technologic,ts4800-irqc";
Dr8a73a4.dtsi105 compatible = "renesas,irqc-r8a73a4", "renesas,irqc";
146 compatible = "renesas,irqc-r8a73a4", "renesas,irqc";
700 "irqc", "intc-sys", "iic5", "iic4", "iic3";
Dr7s9210.dtsi481 irqc: interrupt-controller@fcfef800 { label
482 compatible = "renesas,r7s9210-irqc",
483 "renesas,rza1-irqc";
Dr7s72100.dtsi682 irqc: interrupt-controller@fcfef800 { label
683 compatible = "renesas,r7s72100-irqc",
684 "renesas,rza1-irqc";
Dr7s9210-rza2mevb.dts58 interrupt-parent = <&irqc>;
/linux-5.19.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-5.19.10/drivers/mmc/host/
Dmeson-mx-sdio.c472 u32 irqc; in meson_mx_mmc_timeout() local
477 irqc = readl(host->base + MESON_MX_SDIO_IRQC); in meson_mx_mmc_timeout()
478 irqc &= ~MESON_MX_SDIO_IRQC_ARC_CMD_INT_EN; in meson_mx_mmc_timeout()
479 writel(irqc, host->base + MESON_MX_SDIO_IRQC); in meson_mx_mmc_timeout()

123