/linux-6.12.1/drivers/irqchip/ |
D | irq-xilinx-intc.c | 48 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 …]
|
D | irq-starfive-jh8100-intc.c | 35 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 …]
|
D | irq-apple-aic.c | 811 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 …]
|
D | irq-lpc32xx.c | 196 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/ |
D | regulator-quirk-rcar-gen2.c | 50 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/ |
D | gpio-vf610.c | 36 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/ |
D | gpio.c | 41 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/ |
D | r7s72100-rskrza1.dts | 81 interrupt-parent = <&irqc>; 89 interrupt-parent = <&irqc>; 97 interrupt-parent = <&irqc>;
|
D | r8a7792-blanche.dts | 227 interrupt-parent = <&irqc>; 339 interrupt-parent = <&irqc>; 381 interrupt-parent = <&irqc>;
|
D | r8a7745-sk-rzg1e.dts | 71 interrupt-parent = <&irqc>;
|
D | r8a7743-sk-rzg1m.dts | 76 interrupt-parent = <&irqc>;
|
D | r8a73a4.dtsi | 132 compatible = "renesas,irqc-r8a73a4", "renesas,irqc"; 173 compatible = "renesas,irqc-r8a73a4", "renesas,irqc"; 747 "irqc", "intc-sys", "iic5", "iic4", "iic3";
|
D | r7s9210.dtsi | 481 irqc: interrupt-controller@fcfef800 { label 482 compatible = "renesas,r7s9210-irqc", 483 "renesas,rza1-irqc";
|
D | r7s72100.dtsi | 697 irqc: interrupt-controller@fcfef800 { label 698 compatible = "renesas,r7s72100-irqc", 699 "renesas,rza1-irqc";
|
D | r7s9210-rza2mevb.dts | 58 interrupt-parent = <&irqc>;
|
/linux-6.12.1/arch/arm64/boot/dts/renesas/ |
D | rzg2ul-smarc-som.dtsi | 9 #include <dt-bindings/interrupt-controller/irqc-rzg2l.h> 81 interrupt-parent = <&irqc>; 110 interrupt-parent = <&irqc>;
|
D | r9a07g043u.dtsi | 181 irqc: interrupt-controller@110a0000 { label 182 compatible = "renesas,r9a07g043u-irqc", 183 "renesas,rzg2l-irqc";
|
D | r9a08g045.dtsi | 192 interrupt-parent = <&irqc>; 201 irqc: interrupt-controller@11050000 { label 202 compatible = "renesas,r9a08g045-irqc", "renesas,rzg2l-irqc";
|
D | rzg2l-smarc-som.dtsi | 9 #include <dt-bindings/interrupt-controller/irqc-rzg2l.h> 105 interrupt-parent = <&irqc>; 133 interrupt-parent = <&irqc>;
|
D | rzg2lc-smarc-som.dtsi | 9 #include <dt-bindings/interrupt-controller/irqc-rzg2l.h> 85 interrupt-parent = <&irqc>;
|
/linux-6.12.1/drivers/char/ |
D | ppdev.c | 76 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/ |
D | r9a07g043f.dtsi | 57 irqc: interrupt-controller@110a0000 { label 58 compatible = "renesas,r9a07g043f-irqc";
|
/linux-6.12.1/Documentation/devicetree/bindings/interrupt-controller/ |
D | technologic,ts4800.txt | 8 - compatible: should be "technologic,ts4800-irqc"
|
/linux-6.12.1/drivers/mmc/host/ |
D | meson-mx-sdio.c | 472 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/ |
D | imx51-ts4800.dts | 170 fpga_irqc: fpga-irqc@15000 { 171 compatible = "technologic,ts4800-irqc";
|