Home
last modified time | relevance | path

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

123

/linux-6.12.1/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-starfive-jh8100-intc.c35 static void starfive_intc_bit_set(struct starfive_irq_chip *irqc, in starfive_intc_bit_set() argument
40 value = ioread32(irqc->base + reg); in starfive_intc_bit_set()
42 iowrite32(value, irqc->base + reg); in starfive_intc_bit_set()
45 static void starfive_intc_bit_clear(struct starfive_irq_chip *irqc, in starfive_intc_bit_clear() argument
50 value = ioread32(irqc->base + reg); in starfive_intc_bit_clear()
52 iowrite32(value, irqc->base + reg); in starfive_intc_bit_clear()
57 struct starfive_irq_chip *irqc = irq_data_get_irq_chip_data(d); in starfive_intc_unmask() local
59 raw_spin_lock(&irqc->lock); in starfive_intc_unmask()
60 starfive_intc_bit_clear(irqc, STARFIVE_INTC_SRC0_MASK, BIT(d->hwirq)); in starfive_intc_unmask()
61 raw_spin_unlock(&irqc->lock); in starfive_intc_unmask()
[all …]
Dirq-apple-aic.c811 static int __init aic_init_smp(struct aic_irq_chip *irqc, struct device_node *node) in aic_init_smp() argument
936 struct aic_irq_chip *irqc; in aic_of_ic_init() local
944 irqc = kzalloc(sizeof(*irqc), GFP_KERNEL); in aic_of_ic_init()
945 if (!irqc) { in aic_of_ic_init()
950 irqc->base = regs; in aic_of_ic_init()
956 irqc->info = *(struct aic_info *)match->data; in aic_of_ic_init()
958 aic_irqc = irqc; in aic_of_ic_init()
960 switch (irqc->info.version) { in aic_of_ic_init()
964 info = aic_ic_read(irqc, AIC_INFO); in aic_of_ic_init()
965 irqc->nr_irq = FIELD_GET(AIC_INFO_NR_IRQ, info); 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-6.12.1/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-6.12.1/drivers/gpio/
Dgpio-vf610.c36 u8 irqc[VF610_GPIO_PER_PORT]; member
201 u8 irqc; in vf610_gpio_irq_set_type() local
205 irqc = PORT_INT_RISING_EDGE; in vf610_gpio_irq_set_type()
208 irqc = PORT_INT_FALLING_EDGE; in vf610_gpio_irq_set_type()
211 irqc = PORT_INT_EITHER_EDGE; in vf610_gpio_irq_set_type()
214 irqc = PORT_INT_LOGIC_ZERO; in vf610_gpio_irq_set_type()
217 irqc = PORT_INT_LOGIC_ONE; in vf610_gpio_irq_set_type()
223 port->irqc[d->hwirq] = irqc; in vf610_gpio_irq_set_type()
252 vf610_gpio_writel(port->irqc[gpio_num] << PORT_PCR_IRQC_OFFSET, in vf610_gpio_irq_unmask()
/linux-6.12.1/drivers/staging/greybus/
Dgpio.c41 struct irq_chip irqc; member
512 struct irq_chip *irqc; in gb_gpio_probe() local
541 irqc = &ggc->irqc; in gb_gpio_probe()
542 irqc->irq_mask = gb_gpio_irq_mask; in gb_gpio_probe()
543 irqc->irq_unmask = gb_gpio_irq_unmask; in gb_gpio_probe()
544 irqc->irq_set_type = gb_gpio_irq_set_type; in gb_gpio_probe()
545 irqc->irq_bus_lock = gb_gpio_irq_bus_lock; in gb_gpio_probe()
546 irqc->irq_bus_sync_unlock = gb_gpio_irq_bus_sync_unlock; in gb_gpio_probe()
547 irqc->name = "greybus_gpio"; in gb_gpio_probe()
570 girq->chip = irqc; in gb_gpio_probe()
/linux-6.12.1/arch/arm/boot/dts/renesas/
Dr7s72100-rskrza1.dts81 interrupt-parent = <&irqc>;
89 interrupt-parent = <&irqc>;
97 interrupt-parent = <&irqc>;
Dr8a7792-blanche.dts227 interrupt-parent = <&irqc>;
339 interrupt-parent = <&irqc>;
381 interrupt-parent = <&irqc>;
Dr8a7745-sk-rzg1e.dts71 interrupt-parent = <&irqc>;
Dr8a7743-sk-rzg1m.dts76 interrupt-parent = <&irqc>;
Dr8a73a4.dtsi132 compatible = "renesas,irqc-r8a73a4", "renesas,irqc";
173 compatible = "renesas,irqc-r8a73a4", "renesas,irqc";
747 "irqc", "intc-sys", "iic5", "iic4", "iic3";
Dr7s9210.dtsi481 irqc: interrupt-controller@fcfef800 { label
482 compatible = "renesas,r7s9210-irqc",
483 "renesas,rza1-irqc";
Dr7s72100.dtsi697 irqc: interrupt-controller@fcfef800 { label
698 compatible = "renesas,r7s72100-irqc",
699 "renesas,rza1-irqc";
Dr7s9210-rza2mevb.dts58 interrupt-parent = <&irqc>;
/linux-6.12.1/arch/arm64/boot/dts/renesas/
Drzg2ul-smarc-som.dtsi9 #include <dt-bindings/interrupt-controller/irqc-rzg2l.h>
81 interrupt-parent = <&irqc>;
110 interrupt-parent = <&irqc>;
Dr9a07g043u.dtsi181 irqc: interrupt-controller@110a0000 { label
182 compatible = "renesas,r9a07g043u-irqc",
183 "renesas,rzg2l-irqc";
Dr9a08g045.dtsi192 interrupt-parent = <&irqc>;
201 irqc: interrupt-controller@11050000 { label
202 compatible = "renesas,r9a08g045-irqc", "renesas,rzg2l-irqc";
Drzg2l-smarc-som.dtsi9 #include <dt-bindings/interrupt-controller/irqc-rzg2l.h>
105 interrupt-parent = <&irqc>;
133 interrupt-parent = <&irqc>;
Drzg2lc-smarc-som.dtsi9 #include <dt-bindings/interrupt-controller/irqc-rzg2l.h>
85 interrupt-parent = <&irqc>;
/linux-6.12.1/drivers/char/
Dppdev.c76 atomic_t irqc; member
279 atomic_inc(&pp->irqc); in pp_irq()
615 ret = atomic_read(&pp->irqc); in pp_do_ioctl()
618 atomic_sub(ret, &pp->irqc); in pp_do_ioctl()
700 atomic_set(&pp->irqc, 0); in pp_open()
777 if (atomic_read(&pp->irqc)) in pp_poll()
/linux-6.12.1/arch/riscv/boot/dts/renesas/
Dr9a07g043f.dtsi57 irqc: interrupt-controller@110a0000 { label
58 compatible = "renesas,r9a07g043f-irqc";
/linux-6.12.1/Documentation/devicetree/bindings/interrupt-controller/
Dtechnologic,ts4800.txt8 - compatible: should be "technologic,ts4800-irqc"
/linux-6.12.1/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()
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/
Dimx51-ts4800.dts170 fpga_irqc: fpga-irqc@15000 {
171 compatible = "technologic,ts4800-irqc";

123